1234567891011121314151617181920212223242526272829303132333435 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <record id="view_insemination_event_tree" model="ir.ui.view">
- <field name="name">insemination_event.tree</field>
- <field name="model">farm.insemination.event</field>
- <field name="mode">primary</field>
- <field name="inherit_id" ref="view_abstract_event_import_mixin_tree" />
- <field name="arch" type="xml">
- <field name="lot" position="after">
- <field name="dose_product" />
- <field name="female_cycle" />
- </field>
- </field>
- </record>
- <record id="view_insemination_event_form" model="ir.ui.view">
- <field name="name">insemination_event.form</field>
- <field name="model">farm.insemination.event</field>
- <field name="mode">primary</field>
- <field name="inherit_id" ref="view_abstract_event_import_mixin_form" />
- <field name="arch" type="xml">
- <field name="state" position="after">
- <h1>Insemination Event</h1>
- </field>
- <field name="lot" position="after">
- <field name="female_cycle" attrs="{'readonly': True}"/>
- <field name="dose_bom" />
- <field name="dose_product" />
- <field name="dose_lot" domain="[('product_id', '=', dose_product)]"/>
- <field name="move" attrs="{'readonly': True, }"/>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|