Previously, product barcodes uniqueness was enforced by a SQL constraint, resulting in a generic error message. The SQL constraint has been replaced by a Python check, which allows the listing of conflicting barcodes in the error message, including those resulting from batch edits. Task: 2654703-7 Part-of: odoo/odoo#84056
11 lines
321 B
Python
11 lines
321 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_name
|
|
from . import test_variants
|
|
from . import test_pricelist
|
|
from . import test_product_pricelist
|
|
from . import test_seller
|
|
from . import test_product_attribute_value_config
|
|
from . import test_barcode
|