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
9 lines
308 B
Python
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
|