Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] product_multi_company: Migration to 9.0
- Loading branch information
1 parent
381e937
commit 8b9e9eb
Showing
8 changed files
with
58 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Serv. Tecnol. Avanzados - Pedro M. Baeza | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import test_product_multi_company |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<openerp> | ||
<data> | ||
<odoo> | ||
|
||
<record model="ir.ui.view" id="product_template_form_view"> | ||
<field name="name">Product template form view (with multi-company)</field> | ||
<field name="model">product.template</field> | ||
<field name="inherit_id" ref="product.product_template_form_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="company_id" position="attributes"> | ||
<attribute name="invisible">1</attribute> | ||
</field> | ||
<field name="company_id" position="after"> | ||
<field name="company_ids" | ||
groups="base.group_multi_company" | ||
widget="many2many_tags" | ||
options="{'no_create': True}" | ||
/> | ||
</field> | ||
<record model="ir.ui.view" id="product_template_form_view"> | ||
<field name="name">Product template form view (with multi-company)</field> | ||
<field name="model">product.template</field> | ||
<field name="inherit_id" ref="product.product_template_form_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="company_id" position="attributes"> | ||
<attribute name="invisible">1</attribute> | ||
</field> | ||
</record> | ||
<field name="company_id" position="after"> | ||
<field name="company_ids" | ||
groups="base.group_multi_company" | ||
widget="many2many_tags" | ||
options="{'no_create': True}" | ||
/> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> | ||
</odoo> |