Commit graph

7 commits

Author SHA1 Message Date
Marc Durepos
4563b8b8b1 Significant rework of delivery_carrier_account.
carrier_id, carrier_account_id and delivery_billing_mode fields are all computed and have a single inverse method that can be overriden by subclasses.
2025-07-03 07:18:05 -04:00
Marc Durepos
c8e492b481 delivery_carrier_partner_account: added some test cases and fixed some bugs relating default accounts 2025-07-03 07:18:05 -04:00
Marc Durepos
a273cde7ba delivery_carrier_partner_account: make default the first account added to a partner 2025-07-03 07:18:05 -04:00
Marc Durepos
c8bbeac919 [ENH] delivery_carrier_partner_account: Add ppc billing mode.
Adds a Prepaid & Charge billing mode to carrier.account.mixin and
overrides the stock.picking method that sets the shipping cost on sales
orders after shipping. This modifies the behaviour of "invoicing policy"
on delivery.carrier when a delivery billing mode is selected on the SO
or picking.
2024-11-21 16:36:48 -05:00
Marc Durepos
a365609f21 [ENH] delivery_carrier_partner_account: add delivery info to sale line
When adding transport charges to a sale order via the "Add Shipping"
button, the line's description now contains the delivery billing mode
and account number when applicable.

Fixes #112
2024-11-21 15:41:45 -05:00
Marc Durepos
9b882ec7f8 delivery_carrier_partner_account: add choose delivery wizard code and tests 2024-11-20 13:13:57 -05:00
Marc Durepos
34ec1a8230 new module delivery_carrier_partner_account started 2024-11-20 09:15:59 -05:00