summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2016-11-16 12:45:49 +0100
committerGoffin Simon <sig@odoo.com>2016-11-21 10:50:12 +0100
commitab279d9ceaf46fc0f00cfb41303362e0916a612e (patch)
tree717848b4c27db0df6a23764f8694b188e2bc98ab /addons/web/static/src/js/framework
parent4e7eda8b85a862849f4e03fe5cefa83e44ac258a (diff)
[FIX] stock_account: _get_anglo_saxon_price_unit
When getting the price from a account.move.line, the uom set on the line must be taken into account. Before the fix: -Set anglo-saxon accounting -Create two units of measure Box and Mot where 1Mot = 10Box -Create a stockable product with Box as unit of reference and set with real price and perpetual -Create a SO with a Mot of this product -Confirm the SO and create the invoice -Validate the invoice Bug: In the journal of entries, only one box was counted for the debit and the credit instead of 10. NB: The function _get_anglo_saxon_price_unit must return the price unit of the product in the unit of measure of the account.invoice.line. opw:693075
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions