Skip to content
Snippets Groups Projects
Commit 7b061ae8 authored by jordan's avatar jordan
Browse files

[fix] clean view

parent f321ed41
Branches
No related tags found
No related merge requests found
......@@ -14,9 +14,9 @@
<xpath expr="//sheet" position="before">
<header>
<field name="related_commerce_status" widget="statusbar" clickable="0"
<field name="commerce_status_id" widget="statusbar" clickable="1"
attrs="{'invisible': [('type_id', 'not in', (%(etic_partner.type_shop)d, %(etic_partner.type_supplier)d))]}"/>
<field name="related_essaimage_status" widget="statusbar" clickable="0"
<field name="essaimage_status_id" widget="statusbar" clickable="1"
attrs="{'invisible': [('type_id', 'not in', (%(etic_partner.type_essaimage)d))]}"/>
</header>
</xpath>
......@@ -54,12 +54,11 @@
<xpath expr="//page[@name='sales_purchases']" position="after">
<page name='commerce' string="Commerce"
attrs="{'invisible': [('type_id', 'not in', (%(etic_partner.type_shop)d, %(etic_partner.type_supplier)d))]}">
attrs="{'invisible': [('type_id', '!=', (%(etic_partner.type_shop)d))]}">
<group col="2">
<group>
<field name="commerce_type_id" options="{'no_open': True, 'no_create': True}"/>
<field name="legal_status_id" options="{'no_open': True, 'no_create': True}"/>
<field name="commerce_status_id" options="{'no_open': True, 'no_create': True}"/>
<field name="prescripteur_id" options="{'no_open': True, 'no_create': True}"/>
<field name="gt_commerce_participation" widget="boolean_toggle"/>
</group>
......@@ -113,7 +112,6 @@
<page name='essaimage' string="Essaimage"
attrs="{'invisible': [('type_id', '!=', (%(etic_partner.type_essaimage)d))]}">
<group>
<field name="essaimage_status_id" options="{'no_open': True, 'no_create': True}"/>
<field name="convention_date1"/>
<field name="convention_date2"/>
<field name="exchange_summary"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment