Commit graph

13 commits

Author SHA1 Message Date
Marc Durepos
558313211c changes to delivery_carrier_partner_account 2025-01-19 10:17:21 -05:00
Marc Durepos
12274002fd Add better carrier linking for purchasing
delivery_carrier_partner_account and purchase_delivery_carrier
2025-01-17 13:48:50 -05:00
Marc Durepos
064983d18a purchase_delivery_carrier: integrate with delivery_carrier_partner_account 2025-01-16 16:02:03 -05:00
Marc Durepos
2a1be1885e delivery_carrier_partner_account: added some test cases and fixed some bugs relating default accounts 2025-01-15 10:13:52 -05:00
Marc Durepos
5e4a818fc1 make sure carrier_account_ids is set before indexing at 0 2025-01-15 10:04:50 -05:00
Marc Durepos
27b0df3649 delivery_carrier_partner_account: make default the first account added to a partner 2025-01-15 10:03:55 -05: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
15aee61953 [ENH] delivery_carrier_partner_account: add active field to accounts
Fixes #111
2024-11-21 14:40:26 -05:00
Marc Durepos
01c424c485 [ENH] delivery_carrier_partner_account: company_id + view all from menu
Add the ability to view all the transporter accounts from the sales
configuration menu.

Add company_id to delivery.carrier.account model as a related field
to delivery.carrier. Also constrain the delivery.carrier and res.partner
associated to an account to be linked to the same company.

Fixes #113
2024-11-21 14:39:20 -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
d99acaa3ec delivery_carrier_partner_account: added views and action 2024-11-20 11:17:35 -05:00
Marc Durepos
34ec1a8230 new module delivery_carrier_partner_account started 2024-11-20 09:15:59 -05:00