diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-03-12 07:50:42 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-03-23 08:08:01 +0000 |
| commit | c0ccf6f103a4744daeaf248feb1caf2c2745f1fa (patch) | |
| tree | f2f8896a269b61ca241a4a4929162fe58eebe0aa /addons/project/views | |
| parent | c71658bb8c295959c7ca9b4483683d3285970ed0 (diff) | |
[FIX] purchase_stock, stock_landed_costs: bill after LC
1. Create a product with a category AVCO + Automated and set a price
difference account
2. Create a Purchase Order for 1 unit at a value of 1000,
3. Stock entry at receipt
D C
Stock interim received 1000
Stock valuation 1000
4. Create a vendor bill for a Landed cost, post it
D C
Stock interim received 100
5. Create the landed cost from the bill and apply it on the receipt of
point 3
D C
Stock valuation 100
Stock interim received 100
6. Create the vendor bill for the initial PO
Current entry is not correct:
D C
Stock interim received 1000
Price difference account 100 --> Shouldn't take place
Stock interim received 100 --> Shouldn't take place
This happens because the valuation layers of the landed cost are taken
into account when computing the unit price of the product.
This shouldn't be the case: when computing the price difference between
the invoice price and the stock move price, LC should be filtered out.
opw-2183511
closes odoo/odoo#47804
X-original-commit: 9bd3feb7f8778ba65e1974ef012ca3a4608878b1
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/project/views')
0 files changed, 0 insertions, 0 deletions
