diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-05-05 15:58:15 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2017-05-08 14:18:02 +0200 |
| commit | 65136589576f46a9469de8d522ed7a1b41ca5495 (patch) | |
| tree | 3ce38d3a8551ffd0a4f6dda0b80c46648fb2e586 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 20facf5cf93faad4c8f03304540103f19adb9a16 (diff) | |
[FIX] account: account_invoice_report: make the calculation of product_qty right
Before this commit product quantity was computed as if the uom on the product represented the *unit* in which a product was sold
Hence, in the report, it produced something like this:
I sell 10 packages of something, which is sold essentially by 10 itself = which makes a total unitary quantity of 100
This wrong behavior has been introduced in 10.0 by 9c5d4cd60cc414a52c52b0f3d0048be535769838
After this commit, the computation is done to match the *standard* unit of measure in which a product quantity is *represented*
OPW 741745
Closes #16834
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
