Browse Source

hide eater section for eaters

pull/34/head
robinkeunen 7 years ago
parent
commit
e43f664868
  1. 3
      beesdoo_base/views/partner.xml

3
beesdoo_base/views/partner.xml

@ -54,6 +54,8 @@
<field name="last_printed" /> <field name="last_printed" />
</group> </group>
</group> </group>
<group attrs="{'invisible': ['|', ('customer', '=', False), ('eater', '!=', 'worker_eater')]}">
<separator string="Eaters" /> <separator string="Eaters" />
<field name="child_eater_ids" widget="many2many_tags" <field name="child_eater_ids" widget="many2many_tags"
options="{'no_create': True}" options="{'no_create': True}"
@ -77,6 +79,7 @@
<button string="New Card" <button string="New Card"
name="%(action_membercard_wizard)d" type="action" /> name="%(action_membercard_wizard)d" type="action" />
</group> </group>
</group>
</page> </page>
</xpath> </xpath>

Loading…
Cancel
Save