About include more cost to compute margin

To extend the feature of the margin computation based on the stock moves.
I’m wondering if it makes sense to add extra cost in the computation. Such extra cost could be for example the shipping cost if it is not invoiced to the customer, the packaging cost for the handling.
So the idea would be that the customer shipment we compute a cost (like in production) in standard only shipping cost if not invoiced. This cost is distributed to the outgoing moves based on their value (like in production) when it is done. This is stored in a separate extra cost field. This column is added in the report to the cost computation. Idem for customer return shipment.

What do you think?

1 Like

I think it makes sense and can be a useful feature.

Here is Issue 9740: Add shipment cost to outgoing moves - Tryton issue tracker