12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <record id="view_farrowing_event_tree" model="ir.ui.view">
- <field name="name">farrowing_event.tree</field>
- <field name="model">farm.farrowing.event</field>
- <field name="inherit_id" ref="view_abstract_event_import_mixin_tree" />
- <field name="mode">primary</field>
- <field name="arch" type="xml">
- <field name="lot" position="after">
- <field name="produced_group" />
- </field>
- </field>
- </record>
- <record id="view_farrowing_event_form" model="ir.ui.view">
- <field name="name">farrowing_event.form</field>
- <field name="model">farm.farrowing.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>Farrowing Event</h1>
- </field>
- <field name="farm" position="after">
- <field name="live"/>
- <field name="stillborn"/>
- <field name="mummified"/>
- <field name="dead" />
- <field name="produced_group" attrs="{'readonly': True}"/>
- <field name="female_cycle"/>
- <field name="move"/>
- <field name="problem"/>
- </field>
- </field>
- </record>
- <record id="view_farrowing_event_female_cycle_tree" model="ir.ui.view">
- <field name="name">farrowing_event_female_cycle.tree</field>
- <field name="model">farm.farrowing.event_female_cycle</field>
- <field name="type">tree</field>
- <field name="arch" type="xml">
- <tree>
- <field name="event" />
- </tree>
- </field>
- </record>
- <record id="view_farrowing_event_female_cycle_form" model="ir.ui.view">
- <field name="name">farrowing_event_female_cycle.form</field>
- <field name="model">farm.farrowing.event_female_cycle</field>
- <field name="type">form</field>
- <field name="arch" type="xml">
- <form string="Farrowing Event - Female Cycle">
- <group>
- <field name="event" />
- </group>
- </form>
- </field>
- </record>
- <record id="view_farrowing_event_animal_group_form" model="ir.ui.view">
- <field name="name">farrowing_event_animal_group.form</field>
- <field name="model">farm.farrowing.event_group</field>
- <field name="type">form</field>
- <field name="arch" type="xml">
- <field name="animal_group" />
- </field>
- </record>
- </data>
- </openerp>
|