abort_event.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_abort_event_tree" model="ir.ui.view">
  5. <field name="name">abort_event.tree</field>
  6. <field name="model">farm.abort.event</field>
  7. <field name="mode">primary</field>
  8. <field name="inherit_id" ref="view_abstract_event_import_mixin_tree" />
  9. <field name="arch" type="xml">
  10. <field name="lot" position="after">
  11. <field name="female_cycle" />
  12. </field>
  13. </field>
  14. </record>
  15. <record id="view_abort_event_form" model="ir.ui.view">
  16. <field name="name">abort_event.form</field>
  17. <field name="model">farm.abort.event</field>
  18. <field name="mode">primary</field>
  19. <field name="inherit_id" ref="view_abstract_event_import_mixin_form" />
  20. <field name="arch" type="xml">
  21. <field name="state" position="after">
  22. <h1>Abort Event</h1>
  23. </field>
  24. <field name="farm" position="after">
  25. <field name="female_cycle" attrs="{'readonly': True}"/>
  26. </field>
  27. </field>
  28. </record>
  29. </data>
  30. </openerp>