Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
7049 Vistas

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

Avatar
Descartar

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

Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
dic 24
2168
0
sept 19
2622
1
feb 25
1100
1
jun 24
1727
3
jun 23
2164