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.

44 lines
1.6 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <record id="tree_res_partner_tab" model="ir.ui.view">
  4. <field name="model">res.partner.tab</field>
  5. <field type="xml" name="arch">
  6. <tree>
  7. <field name="code" />
  8. <field name="name" />
  9. </tree>
  10. </field>
  11. </record>
  12. <record id="form_res_partner_tab" model="ir.ui.view">
  13. <field name="model">res.partner.tab</field>
  14. <field type="xml" name="arch">
  15. <form>
  16. <group colspan="6" col="4">
  17. <group
  18. id="tab_group_general" string="General"
  19. colspan="2" col="2"
  20. >
  21. <field name="code" />
  22. <field name="name" />
  23. </group>
  24. <group
  25. id="tab_group_target"
  26. string="Select partner type and category for tab"
  27. colspan="2" col="2"
  28. >
  29. <field name="contact_type" />
  30. <field name="partner_category_id" />
  31. </group>
  32. <separator
  33. colspan="2"
  34. string="Select specific partners to have this tab"
  35. />
  36. <field name="partner_ids" colspan="2" nolabel="1"/>
  37. </group>
  38. </form>
  39. </field>
  40. </record>
  41. </odoo>