Skip to content
Snippets Groups Projects
Commit 59efbf39 authored by Ivàn Todorovich's avatar Ivàn Todorovich
Browse files

[FIX] (sale_)coupon: properly handle empty rule_products_domain


Also simplify _is_valid_product method to make use of _get_valid_products.
As it uses filtered_domain is more efficient than a search_count.

closes odoo/odoo#84107

Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
parent a7fc9368
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment