Files
odoo_source/addons/sale_coupon/tests/__init__.py
T
Victor Feyens ee99603444 [FIX] sale_coupon: missing company_id check in domain
A check on the company_id field was forgotten in _get_applicable_programs.
To follow the logic of the following method _get_applicable_no_code_promo_program,
this condition is added to the domain, ensuring coupon programs from other
companies cannot be applied to a sales order.

X-original-commit: 559f1e96e17fadad82261eb32a5d02aa5fe91ca9
2020-10-19 14:49:12 +00:00

9 lines
308 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import test_program_without_code_operations
from . import test_program_with_code_operations
from . import test_program_rules
from . import test_program_numbers
from . import test_program_multi_company