Commit graph

6 commits

Author SHA1 Message Date
Marc Durepos
4840d9ac9e delivery_carrier_partner_account: fix and refactoring
- Fix: partners can no longer have default carrier accounts that are
archived.
- Refactor: remove write/create overrides to replace them with
  computed/stored fields.
2025-07-03 07:18:05 -04:00
Marc Durepos
b627b1f57c new module sale_mandatory_customer_reference and small fix to delivery_carrier_partner_account 2025-07-03 07:18:05 -04:00
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
6e61c065a5 make sure carrier_account_ids is set before indexing at 0 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
34ec1a8230 new module delivery_carrier_partner_account started 2024-11-20 09:15:59 -05:00