foster_event.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_foster_event_tree" model="ir.ui.view">
  5. <field name="name">foster_event.tree</field>
  6. <field name="model">farm.foster.event</field>
  7. <field name="inherit_id" ref="view_abstract_event_import_mixin_tree" />
  8. <field name="arch" type="xml">
  9. <field name="lot" position="after">
  10. <field name="farrowing_group" />
  11. </field>
  12. </field>
  13. </record>
  14. <record id="view_foster_event_form" model="ir.ui.view">
  15. <field name="name">foster_event.form</field>
  16. <field name="model">farm.foster.event</field>
  17. <field name="mode">primary</field>
  18. <field name="inherit_id" ref="view_abstract_event_import_mixin_form" />
  19. <field name="arch" type="xml">
  20. <field name="state" position="after">
  21. <h1>Foster Event</h1>
  22. </field>
  23. <field name="farm" position="after">
  24. <field name="pair_female"/>
  25. <field name="pair_event" attrs="{'readonly': True}"/>
  26. <field name="female_cycle" attrs="{'readonly': True}"/>
  27. <field name="farrowing_group" attrs="{'readonly': True}"/>
  28. <field name="quantity"/>
  29. <field name="move" attrs="{'readonly': True}"/>
  30. </field>
  31. </field>
  32. </record>
  33. </data>
  34. </openerp>