You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_partner_id_numbers_form" model="ir.ui.view">
  5. <field name="name">res.partner.id_number.form</field>
  6. <field name="model">res.partner.id_number</field>
  7. <field name="type">form</field>
  8. <field name="arch" type="xml">
  9. <form string="Partner ID Numbers">
  10. <group>
  11. <field name="category_id" />
  12. <field name="name" />
  13. <field name="partner_issued_id" />
  14. <field name="date_issued" />
  15. <field name="valid_from" />
  16. <field name="valid_until" />
  17. </group>
  18. <separator colspan="4" string="Notes"/>
  19. <field name="comment" colspan="4" nolabel="1"/>
  20. </form>
  21. </field>
  22. </record>
  23. <record id="view_partner_id_numbers_tree" model="ir.ui.view">
  24. <field name="name">res.partner.id_number.tree</field>
  25. <field name="model">res.partner.id_number</field>
  26. <field name="type">tree</field>
  27. <field name="arch" type="xml">
  28. <tree string="Partner ID Numbers">
  29. <field name="category_id" />
  30. <field name="name" />
  31. <field name="partner_issued_id" />
  32. <field name="date_issued" />
  33. <field name="valid_from" />
  34. <field name="valid_until" />
  35. </tree>
  36. </field>
  37. </record>
  38. <record id="action_partner_id_numbers_form" model="ir.actions.act_window">
  39. <field name="name">Partner ID Numbers</field>
  40. <field name="res_model">res.partner.id_number</field>
  41. <field name="view_type">form</field>
  42. <field name="view_mode">tree,form</field>
  43. </record>
  44. </data>
  45. </openerp>