diff options
| author | Goffin Simon <sig@odoo.com> | 2016-11-16 12:45:49 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-11-21 10:50:12 +0100 |
| commit | ab279d9ceaf46fc0f00cfb41303362e0916a612e (patch) | |
| tree | 717848b4c27db0df6a23764f8694b188e2bc98ab /addons/website/static/src/xml | |
| parent | 4e7eda8b85a862849f4e03fe5cefa83e44ac258a (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/website/static/src/xml')
0 files changed, 0 insertions, 0 deletions
