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)
11 lines
419 B
XML
11 lines
419 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="0">
|
|
<record model="ir.rule" id="sale_team_comp_rule">
|
|
<field name="name">Sales Team multi-company</field>
|
|
<field name="model_id" ref="model_crm_team"/>
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|