How do I create a new split method of landed cost in v15?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Think of the split methods as "templates".
The allocations are calculated based on one of the standard methods - equal, by quantity, by current cost, by weight, by volume - but you can modify the valuation adjustments before validating the Landed Cost if you would like to modify the amounts each product will increase in value by because you have a custom landed cost split method.
Writing a new split method involves making a custom module for Odoo, by overriding the logic in compute_landed_cost with your own.
You can take a look at the code for the existing methods and go from there:
https://github.com/odoo/odoo/blob/15.0/addons/stock_landed_costs/models/stock_landed_cost.py#L243
Additional resources:
https://www.odoo.com/slides/slide/integrate-landed-costs-662
https://hibou.io/docs/inventory-24/landed-costs-6
HI
Through Inventory Module , insert the Operation - Landed Cost
Select the Inventory transfer , Vendor bill and add Landed cost service ( Transportation for example)
validate the landed cost will be added on Products cost ( Should make the product category Costing method FIFO , Avco) the Inventory Valuation automated
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Dec 24
|
2183 | ||
|
0
Sep 19
|
2636 | ||
|
1
Feb 25
|
1123 | ||
|
1
Jun 24
|
1774 | ||
|
3
Jun 23
|
2188 |
Hi,
Refer this documentation
The Split Method will decide how to split this landed cost to the products mentioned in the transfer receipt. It can be set as Equal, By Quantity, By Current Cost, By Weight, and By Volume as per your company policy. We can select the split method as Equal in this case.
https://www.cybrosys.com/odoo/odoo-books/odoo-book-v16/inventory/landed-cost/#:~:text=The%20Split%20Method%20will%20decide,as%20Equal%20in%20this%20case.
https://www.cybrosys.com/blog/how-to-calculate-landed-cost-in-odoo-16-inventory-module
Hope it helps