summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2016-11-24 16:26:46 +0100
committerGoffin Simon <sig@odoo.com>2016-11-28 10:20:38 +0100
commit043aa0b158be4fb0c97fb951bd7f4d346e0f15fc (patch)
tree7ffea8d6ebbd4fb17224c7f73ad21239240a20a5 /addons/web/static/src/js/framework/session_instance.js
parentd2b4f0e7862a0a95706e33024ee259068d4031dc (diff)
[FIX] stock_account: _get_anglo_saxon_price_unit
Backport of ab279d9ceaf46fc0f00cfb41303362e0916a612e 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/session_instance.js')
0 files changed, 0 insertions, 0 deletions