bemade-addons/delivery_carrier_partner_account/models
Marc Durepos a364a8f913 [FIX] delivery_carrier_partner_account - failing collect SO
Fixes a bug where sale orders with a partner_shipping_id not within the
same commercial entity as their partner_id could not have collect
carrier accounts set after being confirmed.

The issue stemmed from the fact that the sale order's recipient_id field
was being set to partner_id, while the created delivery order had
recipient_id set to its partner_id, which is the partner_shipping_id of
the sale order. In other words, the sale order recipient was incorrectly
set to the main partner instead of the shipping address.

This commit adds a test that was previously failing in this scenario. It
also properly sets the recipient_id on the transport selection wizard
and on sale orders themselves, fixing the issue.
2025-02-27 15:46:33 -05:00
..
__init__.py new module delivery_carrier_partner_account started 2024-11-20 09:15:59 -05:00
carrier_account_mixin.py debugging carrier account issue with logging 2025-02-27 15:22:19 -05:00
delivery_carrier_account.py Add better carrier linking for purchasing 2025-01-17 13:48:50 -05:00
res_partner.py new module sale_mandatory_customer_reference and small fix to delivery_carrier_partner_account 2025-02-12 12:10:09 -05:00
sales_order.py [FIX] delivery_carrier_partner_account - failing collect SO 2025-02-27 15:46:33 -05:00
stock_picking.py remove debug logging for delivery_carrier_partner_account 2025-01-22 13:54:26 -05:00