OCA / delivery-carrier

Odoo Carriers And Deliveries Management
https://odoo-community.org/psc-teams/logistics-18
GNU Affero General Public License v3.0
112 stars 351 forks source link

[16] delivery_auto_refresh doesn't update if customer is changed #873

Open Gelojr opened 1 month ago

Gelojr commented 1 month ago

Module

delivery_auto_refresh

Describe the bug

delivery_auto_refresh doesn't update if customer is changed

To Reproduce

Affected versions: 16 At least Steps to reproduce the behavior:

  1. Create a new SO
  2. Add a customer and save. The delivery method will be added if it is set in the customer.
  3. Modify the customer, add another customer with a different delivery method, and save. The delivery method will not be updated.

Expected behavior The delivery method should be updated if the customer is changed. Additional context https://www.loom.com/share/fc71fd79c4c84ea689bd73858ed6c405?sid=eb7b80ad-0401-4cb2-afa4-6e23709d86e0 @moduon MT-6943

Gelojr commented 1 month ago

https://youtu.be/l3rRGeNVoqc?si=R6KiVefQHqUc8Df6