c0ccf6f103a4744daeaf248feb1caf2c2745f1fa
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>
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%