[MERGE] Merge from trunk-wms-loconopmerge2 + only keep good optims
[odoo/odoo.git] / addons / stock_account / wizard / stock_valuation_history.py
index 7657ac5..5856d89 100644 (file)
@@ -56,6 +56,7 @@ class stock_history(osv.osv):
     def _get_inventory_value(self, cr, uid, ids, name, attr, context=None):
         product_obj = self.pool.get("product.product")
         res = {}
+        #Browse takes an immense amount of time because it seems to reload the report
         for line in self.browse(cr, uid, ids, context=context):
             if line.product_id.cost_method == 'real':
                 res[line.id] = line.quantity * line.price_unit_on_quant