forked from OCA/sale-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] pricelist_share_companies - retab xml views
- Loading branch information
Showing
3 changed files
with
36 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<data> | ||
|
||
<record id="company_form_price_fields" model="ir.ui.view"> | ||
<field name="name">res.company.form.inherit</field> | ||
<field name="model">res.company</field> | ||
<field name="inherit_id" ref="base.view_company_form"/> | ||
<field name="arch" type="xml"> | ||
<data> | ||
<page string="Configuration" position="inside"> | ||
<separator string="Prices Fields"/> | ||
<group> | ||
<field name="standard_price_field"/> | ||
</group> | ||
</page> | ||
</data> | ||
</field> | ||
</record> | ||
<record id="company_form_price_fields" model="ir.ui.view"> | ||
<field name="name">res.company.form.inherit</field> | ||
<field name="model">res.company</field> | ||
<field name="inherit_id" ref="base.view_company_form"/> | ||
<field name="arch" type="xml"> | ||
<data> | ||
<page string="Configuration" position="inside"> | ||
<separator string="Prices Fields"/> | ||
<group> | ||
<field name="standard_price_field"/> | ||
</group> | ||
</page> | ||
</data> | ||
</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> | ||
</data> | ||
</openerp> |
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,17 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<data> | ||
|
||
<record id="product_price_type_view" model="ir.ui.view"> | ||
<field name="name">product.price.type.form</field> | ||
<field name="model">product.price.type</field> | ||
<field name="inherit_id" ref="product.product_price_type_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="currency_id" position="after"> | ||
<field name="company_id" widget="selection"/> | ||
</field> | ||
</field> | ||
</record> | ||
<record id="product_price_type_view" model="ir.ui.view"> | ||
<field name="name">product.price.type.form</field> | ||
<field name="model">product.price.type</field> | ||
<field name="inherit_id" ref="product.product_price_type_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="currency_id" position="after"> | ||
<field name="company_id" widget="selection"/> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
</data> | ||
</data> | ||
</openerp> |
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,13 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data noupdate="1"> | ||
<data noupdate="1"> | ||
|
||
<record id="product_pricetype_comp_rule" model="ir.rule"> | ||
<field name="name" >Product price type multi-company</field> | ||
<field name="model_id" ref="model_product_price_type"/> | ||
<field name="global" eval="True"/> | ||
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field> | ||
<field name="name" >Product price type multi-company</field> | ||
<field name="model_id" ref="model_product_price_type"/> | ||
<field name="global" eval="True"/> | ||
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field> | ||
</record> | ||
|
||
</data> | ||
</data> | ||
</openerp> |