summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorHumberto Arocha <hbto@vauxoo.com>2015-10-10 04:17:24 -0430
committerDenis Ledoux <dle@odoo.com>2015-10-12 10:40:26 +0200
commit81418ec14eda89b0d6036bdbc6c7731b56972aff (patch)
tree8f5cbfbf7ddd8cae6f2b23e555eec6ceac9a2d13 /addons/analytic_user_function/analytic_user_function_view.xml
parentc862b2f37a09f5144802c117b8802371be73769f (diff)
[FIX] stock_landed_costs: avoid useless multiple writes
Initialise quant_dict inside for loop as doing outside loops renders to be a quadratic write of quant object due to the fact that previous quants are kept each time a new valuation line is read. In case of posting a Landed Cost record with a huge amount of cost_lines and huge amount of stock_move having several quants would result in a extra overhead. Closes #9005
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions