Files
odoo_source/addons/coupon/models
Nicolas Lempereur ec0fc57462 [FIX] sale_coupon: prevent program w/o company
The company is used to compute currency of:

- discount_fixed_amount
- discount_max_amount
- rule_minimum_amount

If currently we don't set a company, we have an error when using the
company.

opw-2458950

note: forward-port in master set the company field as required setting
it as required in the view.

closes odoo/odoo#66231

X-original-commit: d260dddcdeddecd2bc0649d948f5e0cc30607e09
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2021-02-16 11:22:56 +00:00
..