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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
3
gru 24
|
2211 | ||
|
0
wrz 19
|
2666 | ||
|
1
lut 25
|
1174 | ||
|
1
cze 24
|
1835 | ||
|
3
cze 23
|
2221 |
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