Files
odoo_source/addons/delivery/models
Nathaniel (naja) 607b390917 [FIX] delivery: ignore free_over when rule based
Problem:
when configuring a provider (from the form view) in shipping methods, after:
* setting the provider to "Fixed Price"
* setting the `free_over` / `amount` field
* changing the provider to "Based on Rules"
the `free_over` / `amount` still applies even though the field becomes
hidden.

Desired behavior after:
When the provider is "Based on Rules", ignore the `free_over` / `amount`
if it is set (but don't unset it, still hide it in the view).

Fix of merge conflict

opw-3852858

closes odoo/odoo#162980

X-original-commit: ac12bf394bf34265e2ee5a089a122236fcc486bf
Signed-off-by: Nathaniel Jacques (naja) <naja@odoo.com>
2024-04-24 11:16:05 +00:00
..