2018-01-16 13:51:36 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Part of flectra. See LICENSE file for full copyright and licensing details.
|
|
|
|
|
|
|
|
{
|
|
|
|
'name': 'Branch & Company Mixin',
|
|
|
|
'version': '1.0',
|
|
|
|
'category': 'Discuss',
|
|
|
|
'author': ['Flectra'],
|
|
|
|
'sequence': 25,
|
|
|
|
'summary': 'Include Branch & Company support',
|
|
|
|
'description': """
|
|
|
|
Branch & Company
|
|
|
|
================
|
|
|
|
|
|
|
|
Main Features
|
|
|
|
-------------
|
|
|
|
* Include Branch & Company in all objects
|
|
|
|
* Just need to inherit ir.branch.company.mixin in your object
|
|
|
|
* And in your xml file add below 2 lines in your Views
|
|
|
|
<field name="branch_id" />
|
|
|
|
<field name="company_id" />
|
|
|
|
""",
|
|
|
|
'website': '',
|
|
|
|
'depends': ['base'],
|
|
|
|
'data': [
|
2018-01-18 10:57:39 +01:00
|
|
|
'demo/branch_data.xml',
|
2018-02-12 12:43:43 +01:00
|
|
|
'wizard/branch_config_view.xml',
|
2018-01-16 13:51:36 +01:00
|
|
|
'security/branch_security.xml',
|
|
|
|
'security/ir.model.access.csv',
|
|
|
|
'views/res_branch_view.xml',
|
2018-02-12 12:43:43 +01:00
|
|
|
'views/res_branch_config_view.xml',
|
2018-01-16 13:51:36 +01:00
|
|
|
],
|
|
|
|
'demo': [
|
|
|
|
'demo/branch_demo.xml',
|
|
|
|
],
|
|
|
|
'installable': True,
|
|
|
|
'auto_install': True
|
|
|
|
}
|