Using several sales team and the new dashboards is now the only behavior about sales team. The unique sales team mode is therefore removed, leading to some update in the various addons that hide the team_id field when not in multi sales team mode. [DEMO] cleaned demo data (removed marketing sales team because it should not exist)
27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="product_template_public" model="ir.rule">
|
|
<field name="name">Public product template</field>
|
|
<field name="model_id" ref="product.model_product_template"/>
|
|
<field name="domain_force">[('website_published', '=', True), ("sale_ok", "=", True)]</field>
|
|
<field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_unlink" eval="False"/>
|
|
</record>
|
|
|
|
<record id="product_supplierinfo_public" model="ir.rule">
|
|
<field name="name">Public product supplierinfo</field>
|
|
<field name="model_id" ref="product.model_product_supplierinfo"/>
|
|
<field name="domain_force">[('product_tmpl_id.website_published','=',True)]</field>
|
|
<field name="groups" eval="[(4, ref('base.group_public')), (4, ref('base.group_portal'))]"/>
|
|
<field name="perm_read" eval="True"/>
|
|
<field name="perm_write" eval="False"/>
|
|
<field name="perm_create" eval="False"/>
|
|
<field name="perm_unlink" eval="False"/>
|
|
</record>
|
|
</data>
|
|
</openerp>
|