12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <record id="view_semen_extraction_event_tree" model="ir.ui.view">
- <field name="name">semen_extraction_event.tree</field>
- <field name="model">farm.semen_extraction.event</field>
- <field name="mode">primary</field>
- <field name="inherit_id" ref="view_abstract_event_tree"/>
- <field name="arch" type="xml">
- <field name="lot" position="after">
- <field name="semen_lot"/>
- <field name="semen_qty"/>
- <field name="dose_bom"/>
- </field>
- </field>
- </record>
- <record id="view_semen_extraction_event_form" model="ir.ui.view">
- <field name="name">semen_extraction_event.form</field>
- <field name="model">farm.semen_extraction.event</field>
- <field name="mode">primary</field>
- <field name="inherit_id" ref="view_abstract_event_form"/>
- <field name="arch" type="xml">
- <field name="state" position="after">
- <button name="calculate_doses" state="draft"
- string="Calc. Doses" id="calc_doses"
- type="object" />
- <button name="confirm" state="draft"
- string="Confirm Order" id="draft_confirm"
- type="object" />
- <h1>Semen Extraction Event</h1>
- </field>
- <field name="lot" position="after">
- <group>
- <field name="semen_product"/>
- <field name="untreated_semen_qty"/>
- <field name="formula_result"/>
- <field name="solvent_calculated_qty"/>
- <field name="semen_calculated_qty"/>
- <field name="semen_qty"/>
- <field name="semen_lot"
- attrs="{'readonly': True}"/>
- <field name="semen_move"
- attrs="{'readonly': True}"/>
- <field name="dose_location"/>
- <field name="dose_bom"/>
- <field name='dose_calculated_units'/>
- <field name="doses" attrs="{'readonly': True}"/>
- <field name="doses_semen_qty"/>
- <field name="semen_remaining_qty"/>
- </group>
- </field>
- </field>
- </record>
- <record model="ir.ui.view" id="view_dose_tree">
- <field name="name">dose.tree</field>
- <field name="model">farm.semen_extraction.dose</field>
- <field name="type">tree</field>
- <field name="arch" type="xml">
- <tree string="Dose">
- <field name="sequence" />
- <field name="lot" />
- </tree>
- </field>
- </record>
- <record model="ir.ui.view" id="view_dose_form">
- <field name="name">dose.form</field>
- <field name="model">farm.semen_extraction.dose</field>
- <field name="type">form</field>
- <field name="arch" type="xml">
- <form string="Dose">
- <header>
- <field name="state" widget="statusbar"/>
- </header>
- <sheet>
- <group col="4" colspam="2">
- <field name="specie" />
- <field name="bom" />
- <field name="quantity" />
- <field name="semen_qty" />
- <field name="dose_product" />
- </group>
- <group col="4" colspam="2">
- <field name="production" />
- <field name="lot" />
- </group>
- </sheet>
- </form>
- </field>
- </record>
- </data>
- </openerp>
|