|
@ -25,17 +25,17 @@ |
|
|
<field name="parent_eater_id" attrs="{'invisible' : [('eater', '!=', 'eater')]}" /> |
|
|
<field name="parent_eater_id" attrs="{'invisible' : [('eater', '!=', 'eater')]}" /> |
|
|
</field> |
|
|
</field> |
|
|
<xpath expr="//notebook" position="inside"> |
|
|
<xpath expr="//notebook" position="inside"> |
|
|
<page string="Carte de Membre" |
|
|
|
|
|
|
|
|
<page string="Member Cards" |
|
|
attrs="{'invisible': ['|', ('customer', '=', False), ('eater', '!=', 'worker_eater')]}"> |
|
|
attrs="{'invisible': ['|', ('customer', '=', False), ('eater', '!=', 'worker_eater')]}"> |
|
|
<separator string="Printing" /> |
|
|
<separator string="Printing" /> |
|
|
<group> |
|
|
<group> |
|
|
<field name="member_card_to_be_printed" /> |
|
|
<field name="member_card_to_be_printed" /> |
|
|
<field name="last_printed" /> |
|
|
<field name="last_printed" /> |
|
|
</group> |
|
|
</group> |
|
|
<separator string="Mangeurs" /> |
|
|
|
|
|
|
|
|
<separator string="Eaters" /> |
|
|
<field name="child_eater_ids" widget="many2many_tags" /> |
|
|
<field name="child_eater_ids" widget="many2many_tags" /> |
|
|
<separator string="Cartes" /> |
|
|
|
|
|
<field string="Cartes" name="member_card_ids"> |
|
|
|
|
|
|
|
|
<separator string="Cards" /> |
|
|
|
|
|
<field string="Cards" name="member_card_ids"> |
|
|
<tree editable="bottom"> |
|
|
<tree editable="bottom"> |
|
|
<field name="barcode" /> |
|
|
<field name="barcode" /> |
|
|
<field name="create_date" /> |
|
|
<field name="create_date" /> |
|
@ -46,7 +46,7 @@ |
|
|
</tree> |
|
|
</tree> |
|
|
</field> |
|
|
</field> |
|
|
<group> |
|
|
<group> |
|
|
<button string="Nouvelle Carte" name="%(action_membercard_wizard)d" |
|
|
|
|
|
|
|
|
<button string="New Card" name="%(action_membercard_wizard)d" |
|
|
type="action" /> |
|
|
type="action" /> |
|
|
</group> |
|
|
</group> |
|
|
</page> |
|
|
</page> |
|
|