Use cost method from shipment instead of sale
In #10774 (closed) we added cost method on the shipment (for grouping) but now as we have this field we should use its value to create or not an invoice line and also to compute shipment cost.
In #10774 (closed) we added cost method on the shipment (for grouping) but now as we have this field we should use its value to create or not an invoice line and also to compute shipment cost.