pregnancy_diagnosis_event.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_pregnancy_diagnosis_event_tree" model="ir.ui.view">
  5. <field name="name">pregnancy_diagnosis_event.tree</field>
  6. <field name="model">farm.pregnancy_diagnosis.event</field>
  7. <field name="mode">primary</field>
  8. <field name="inherit_id" ref="view_abstract_event_tree"/>
  9. <field name="arch" type="xml">
  10. <field name="lot" position="after">
  11. <field name="result"/>
  12. <field name="timestamp"/>
  13. </field>
  14. </field>
  15. </record>
  16. <record id="view_pregnancy_diagnosis_event_form" model="ir.ui.view">
  17. <field name="name">pregnancy_diagnosis.form</field>
  18. <field name="model">farm.pregnancy_diagnosis.event</field>
  19. <field name="mode">primary</field>
  20. <field name="inherit_id" ref="view_abstract_event_form"/>
  21. <field name="arch" type="xml">
  22. <field name="state" position="after">
  23. <h1>Pregnanci Diagnosis Event</h1>
  24. </field>
  25. <field name="lot" position="after">
  26. <group>
  27. <field name="result" />
  28. <field name="female_cycle" attrs="{'readonly' : True}"/>
  29. </group>
  30. </field>
  31. </field>
  32. </record>
  33. </data>
  34. </openerp>