[IMP] crm : Added a filter to hide/show sales team.
bzr revid: mdi@tinyerp.com-20120706045804-yfm538md87i8beqv
This commit is contained in:
parent
4f6872fe6c
commit
6172655884
|
@ -24,7 +24,7 @@
|
|||
<field eval="18" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="phone" position="after">
|
||||
<field name="section_id" completion="1"/>
|
||||
<field name="section_id" completion="1" invisible="context.get('invisible_section', True)"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
@ -37,11 +37,16 @@
|
|||
<field eval="18" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="category_id" position="after">
|
||||
<field name="section_id" completion="1" widget="selection"/>
|
||||
<field name="section_id" completion="1" widget="selection" context="{'invisible_section': False}"/>
|
||||
</field>
|
||||
<xpath expr="//field[@name='user_id']" position="after">
|
||||
<field name="country_id"/>
|
||||
</xpath>
|
||||
<xpath expr="//group[@string='Group By...']" position="after">
|
||||
<group string="Display">
|
||||
<filter string="Show Sales Team" icon="terp-personal+" context="{'invisible_section': False}" help="Show Sales Team"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
Loading…
Reference in New Issue