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',
|
2018-06-29 11:57:41 +02:00
|
|
|
'version': '1.1',
|
2018-01-16 13:51:36 +01:00
|
|
|
'category': 'Discuss',
|
2018-04-09 09:17:03 +02:00
|
|
|
'author': 'FlectraHQ',
|
2018-01-16 13:51:36 +01:00
|
|
|
'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': '',
|
2018-05-03 14:53:27 +02:00
|
|
|
'depends': ['base', 'base_setup'],
|
2018-01-16 13:51:36 +01:00
|
|
|
'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
|
|
|
|
}
|