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.

47 lines
2.2 KiB

8 years ago
8 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_nutrition_information" model="ir.ui.view">
  4. <field name="name">Partner Contact Nutrition</field>
  5. <field name="model">res.partner</field>
  6. <field name="inherit_id" ref="partner_contact_personal_information_page.personal_information"/>
  7. <field name="arch" type="xml">
  8. <xpath expr="//page[@name='personal_information_page']" position="inside">
  9. <group name="group_nutrition" string="Nutrition">
  10. <group name="intake" string="Intake">
  11. <label for="caloric_intake"/>
  12. <div>
  13. <field name='caloric_intake' class="oe_inline"/>
  14. <field name='caloric_intake_uom'
  15. class="oe_inline"
  16. placeholder="UoM"/>
  17. </div>
  18. <label for="carbohydrate_intake"/>
  19. <div>
  20. <field name='carbohydrate_intake' class="oe_inline"/>
  21. <field name='carbohydrate_intake_uom'
  22. class="oe_inline"
  23. placeholder="UoM"/>
  24. </div>
  25. <label for="fat_intake"/>
  26. <div>
  27. <field name='fat_intake' class="oe_inline"/>
  28. <field name='fat_intake_uom'
  29. class="oe_inline"
  30. placeholder="UoM"/>
  31. </div>
  32. <label for="protein_intake"/>
  33. <div>
  34. <field name='protein_intake' class="oe_inline"/>
  35. <field name='protein_intake_uom'
  36. class="oe_inline"
  37. placeholder="UoM"/>
  38. </div>
  39. </group>
  40. <group name="other_info" string="Other info"/>
  41. </group>
  42. </xpath>
  43. </field>
  44. </record>
  45. </odoo>