Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
6a5ef142 by Cédric Krier at 2023-08-21T15:30:53+02:00
Reuse shipment cost readonly to set carriage cost readonly
- - - - -
b1d0590c by Cédric Krier at 2023-08-21T15:34:26+02:00
Deduce sold shipment cost from shipment once sale is shipped

When the shipment cost method is by order, the sold shipment cost is
dispatched between shipments once the sale is shipped.
The amount is stored on the shipment for each sale (in case the shipments have
been grouped) and deduced from the shipment cost when it is set on the stock
moves.

Closes #12506
- - - - -
eb9d2a12 by Cédric Krier at 2023-08-21T15:58:05+02:00
Convert shipment costs in company currency when they have been generated

For shipment cost from the shipment, the effective date of the shipment is
used.
And for shipment cost from the sale order, the sale date is used.
- - - - -


6 changed files:

- modules/carrier_carriage/__init__.py
- modules/carrier_carriage/sale.py
- modules/carrier_carriage/stock.py
- modules/sale_shipment_cost/__init__.py
- modules/sale_shipment_cost/sale.py
- modules/sale_shipment_cost/stock.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/685de7d55b0723526b5e5b3731e4d29f169007f3...eb9d2a1206605e45f4a585257486df92bb685cc2

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/685de7d55b0723526b5e5b3731e4d29f169007f3...eb9d2a1206605e45f4a585257486df92bb685cc2
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to