İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
7200 Görünümler

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

Avatar
Vazgeç

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

En İyi Yanıt

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


Avatar
Vazgeç
En İyi Yanıt

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 

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Ara 24
2247
0
Eyl 19
2687
1
Şub 25
1236
1
Haz 24
1866
3
Haz 23
2292