Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
7564 Переглядів

How do I create a new split method of landed cost in v15?

Аватар
Відмінити

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

Найкраща відповідь

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/documentation/15.0/applications/inventory_and_mrp/inventory/management/reporting/integrating_landed_costs.html

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 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
груд. 24
2475
0
вер. 19
2845
1
лют. 25
1454
1
черв. 24
2159
3
черв. 23
2485