This commit adds a many2one between barcode.nomenclature and res.company and removes Many2one pointing toward a nomenclature record. This aims to improve the usability and allows using nomenclature in inventory adjustment where a `nomenclature_id` field was set.
18 lines
463 B
Python
18 lines
463 B
Python
{
|
|
'name': 'Barcode',
|
|
'version': '2.0',
|
|
'category': 'Extra Tools',
|
|
'summary': 'Barcodes Scanning and Parsing',
|
|
'depends': ['web'],
|
|
'data': [
|
|
'data/barcodes_data.xml',
|
|
'views/barcodes_view.xml',
|
|
'security/ir.model.access.csv',
|
|
'views/barcodes_templates.xml',
|
|
'views/res_company.xml',
|
|
],
|
|
'installable': True,
|
|
'auto_install': False,
|
|
'post_init_hook': '_assign_default_nomeclature_id',
|
|
}
|