|
@ -39,7 +39,7 @@ |
|
|
<field name="last_printed" /> |
|
|
<field name="last_printed" /> |
|
|
</group> |
|
|
</group> |
|
|
<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}" context="{'default_eater' : 'eater', 'default_customer' : True}"/> |
|
|
<group> |
|
|
<group> |
|
|
<button string="New Eater" name="%(action_eater_wizard)d" |
|
|
<button string="New Eater" name="%(action_eater_wizard)d" |
|
|
type="action" /> |
|
|
type="action" /> |
|
@ -72,6 +72,10 @@ |
|
|
<button name="toggle_active" position="attributes"> |
|
|
<button name="toggle_active" position="attributes"> |
|
|
<attribute name="groups" /> |
|
|
<attribute name="groups" /> |
|
|
</button> |
|
|
</button> |
|
|
|
|
|
<!-- Temporary fix for the partner_view --> |
|
|
|
|
|
<xpath expr="//field[@name='customer']" position='before'> |
|
|
|
|
|
<field name="is_company" invisible="True"/> |
|
|
|
|
|
</xpath> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|