12345678910111213141516171819202122232425262728293031323334353637 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <record id="view_removal_event_tree" model="ir.ui.view">
- <field name="name">removal_event.tree</field>
- <field name="model">farm.removal.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="removal_type"/>
- </field>
- </field>
- </record>
- <record id="view_removal_event_form" model="ir.ui.view">
- <field name="name">removal_event.form</field>
- <field name="model">farm.removal.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">
- <h1>Removal Event</h1>
- <button name="confirm" states="draft"
- string="Confirm Order" id="draft_confirm"
- type="object" />
- </field>
- <field name="lot" position="after">
- <field name="from_location"/>
- <field name="quantity"/>
- <field name="removal_type"/>
- <field name="reason"/>
- <field name="move" attrs="{'readonly': True}"/>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|