Files
odoo_source/addons/product/tests/__init__.py
T
Victor Feyens d888d2953f [FIX] product: correct currency for default pricelist
If an inactive currency is given as company currency write values,
it is unarchived, but before the company update.

Therefore, if the unarchiving of the currency enables the multi-currency,
a default pricelist will be created for the company, but with the wrong
currency since it still wasn't updated.

This commit postpones the automatic creation of pricelists after the update
of the company, making sure the currency of the pricelist is the expected one.

opw-3423706

closes odoo/odoo#128958

X-original-commit: f7c90e4e1c5b6a3335e7c9b9e209a786d4238434
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2023-07-18 21:48:39 +02:00

13 lines
390 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import test_barcode
from . import test_common
from . import test_name
from . import test_pricelist
from . import test_pricelist_auto_creation
from . import test_product_attribute_value_config
from . import test_product_pricelist
from . import test_seller
from . import test_variants