Following https://discuss.tryton.org/t/about-include-more-cost-to-compute-margin/3313.
I propose to add a new module stock_shipment_cost which will add the shipment cost to a new field on the outgoing moves.
Also the sale_shipment_cost is adapted to allow to not invoice the shipment cost to the customer and in this case, the cost will be added to the shipment cost.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
I reuse the same design as for production. By default there is no guarantee that we will have the weight of each product. But I could use the same design as for landed cost but I do not think we should set the method on each shipment but only with a global configuration.