summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data_export.js
diff options
context:
space:
mode:
authorRuchir Shukla <ruchir@bizzappdev.com>2014-06-21 11:48:42 +0530
committerMartin Trigaux <mat@openerp.com>2014-08-12 17:30:49 +0200
commitb2f1c764cd8f89ac6eeaec21c1827df6c4e817b9 (patch)
tree738caf4ca8708c592bcd216cc4163ee987df6d9b /addons/web/static/src/js/data_export.js
parent7a50b3b057e17b689d945870449a2adde2b444bb (diff)
[FIX] account_anglo_saxon: avoid duplication of price difference lines
When computing the price difference lines, in move_line_get of account_anglo_saxon, we loop on the result of super call for each lines (n * n times) to compute the price difference. The product_id was used to match the returned line and the original invoice line. This was wrong as we could get several lines with the same product_id (and then get n * n price difference lines). This patch adds the line id to the result of move_line_get (from account) so that account_anglo_saxon can filter more efficiently and only get one price difference per invoice line. Fixes #704
Diffstat (limited to 'addons/web/static/src/js/data_export.js')
0 files changed, 0 insertions, 0 deletions