Files
odoo_source/addons/uom/__manifest__.py
T
Christophe Monniez 44af06132e [FIX] uom: move product_uom_dozen back to data
In commit ab76c421c2 the Dozens unit of measure was moved to demo data.
Unfortunately, this data is used in enterprise module product_unspc in a
post init hook.

As a consequence, when installing this module without demo data, the
initialization crashes.

With this commit, the Dozens uom is moved back to regular data.

closes odoo/odoo#63120

X-original-commit: e194c39e044710cbf314427d77bd2b87795c34ff
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-12-10 06:53:31 +00:00

22 lines
588 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Units of measure',
'version': '1.0',
'category': 'Sales/Sales',
'depends': ['base'],
'description': """
This is the base module for managing Units of measure.
========================================================================
""",
'data': [
'data/uom_data.xml',
'security/uom_security.xml',
'security/ir.model.access.csv',
'views/uom_uom_views.xml',
],
'installable': True,
'auto_install': False,
}