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
2.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_nutrition_information" model="ir.ui.view">
<field name="name">Partner Contact Nutrition</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='sales_purchases']" position="before">
<page name="nutrition" string="Nutrition">
<group>
<group name="intake" string="Intake">
<label for="caloric_intake"/>
<div>
<field name='caloric_intake' class="oe_inline"/>
<field name='caloric_intake_uom'
class="oe_inline"
placeholder="UoM"/>
</div>
<label for="carbohydrate_intake"/>
<div>
<field name='carbohydrate_intake' class="oe_inline"/>
<field name='carbohydrate_intake_uom'
class="oe_inline"
placeholder="UoM"/>
</div>
<label for="fat_intake"/>
<div>
<field name='fat_intake' class="oe_inline"/>
<field name='fat_intake_uom'
class="oe_inline"
placeholder="UoM"/>
</div>
<label for="protein_intake"/>
<div>
<field name='protein_intake' class="oe_inline"/>
<field name='protein_intake_uom'
class="oe_inline"
placeholder="UoM"/>
</div>
</group>
<group name="other_info" string="Other info"/>
</group>
</page>
</xpath>
</field>
</record>
</odoo>