trytond-farm_breeding/view/analytic_account_form.xml

24 lines
960 B
XML

<?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>
<xpath expr="/form/notebook/page[@id='general']/field[@name='mandatory']"
position="after">
<label name="is_breeding"/>
<field name="is_breeding"/>
</xpath>
<xpath expr="/form/notebook/page[@id='general']" position="after">
<page id="breeding_accounts" string="Breeding"
states="{'invisible': Not(Eval('is_breeding', False))}">
<label name="animals_account"/>
<field name="animals_account"/>
<label name="feed_account"/>
<field name="feed_account"/>
<label name="medications_account"/>
<field name="medications_account"/>
<separator name="animal_groups" colspan="4"/>
<field name="animal_groups" colspan="4"/>
</page>
</xpath>
</data>