[cgscop #217] archivage contact depuis la coopérative

parent bde649ec
......@@ -127,10 +127,10 @@
</field>
<xpath expr='//form/sheet/group/group[2]' position="replace">
<group name="partner_segment_info" attrs="{'invisible': [('is_company', '=', False)]}">
<field name="segment_1_nb" invisible="1"/>
<field name="segment_2_nb" invisible="1"/>
<field name="segment_3_nb" invisible="1"/>
<field name="segment_4_nb" invisible="1"/>
<field name="segment_1_nb" invisible="1"/>
<field name="segment_2_nb" invisible="1"/>
<field name="segment_3_nb" invisible="1"/>
<field name="segment_4_nb" invisible="1"/>
<field name="certification_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_create': True}" attrs="{'invisible': [('is_company', '=', False)]}"/>
<field name="segment_1_id" widget="many2many_tags" options="{'color_field': 'color', 'no_create': True}" domain="[('ur_id', '=', ur_id)]" attrs="{'invisible':[('segment_1_nb', '=', 0)]}" />
......@@ -773,6 +773,11 @@
<field name="arch" type="xml">
<form string="Contact Dirigeant">
<sheet>
<div class="oe_button_box" name="button_box">
<button name="toggle_active" type="object" class="oe_stat_button" icon="fa-archive">
<field name="active" widget="boolean_button" options="{'terminology': 'archive'}"/>
</button>
</div>
<field name="parent_id_onchange" invisible="1"/>
<field name="parent_id" invisible="1"/>
<group col="2">
......@@ -826,6 +831,11 @@
<field name="arch" type="xml">
<form string="Contacts / Addresses">
<sheet>
<div class="oe_button_box" name="button_box">
<button name="toggle_active" type="object" class="oe_stat_button" icon="fa-archive">
<field name="active" widget="boolean_button" options="{'terminology': 'archive'}"/>
</button>
</div>
<field name="type" required="1" widget="radio" options="{'horizontal': true}"/>
<field name="parent_id_onchange" invisible="1"/>
<field name="parent_id" invisible="1"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment