diff options
| author | Goffin Simon <sig@odoo.com> | 2016-11-29 14:32:29 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-11-29 15:17:17 +0100 |
| commit | a5f186c1580b7a67cbf7c2d929533a7b06e144b6 (patch) | |
| tree | d718805528e8b93e0a9c0afccae4eea027c76f76 /addons/web/static/src/js/framework | |
| parent | a82055c9110ba0737cfdd477535397879a851c68 (diff) | |
[FIX] purchase: _get_stock_move_price_unit
valuation_price_unit must in the uom of the line.
Before the fix:
- Set "Use anglo-saxon accounting" True at company settings.
- Check that the "Account Properties" on product category are set (set a price difference account).
- Set costing method = Average price, Inventory valuation = Perpetual (automated).
- Create and confirm a PO (product purchased with unit of measure "Unit(s)" and purchase unit of measure "Dozen(s)")
- Validate shipment (Receive the product)
- Create and validate the supplier invoice
- View the accounting journal entries
Bug:
In the invoice journal entry, there were:
In the output account: debit=0.0 and credit=price unit of the PO line
In the price difference account: debit= (11/12)*price unit of the PO line and credit=0.0
In the input account: debit=(1/12)*price unit of the PO line and credit=0.0
Expected behavior:
In the output account: debit=0.0 and credit=price unit of the PO line
In the input account: debit=price unit of the PO line and credit=0.0
opw:694108
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions
