<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="product_template_view_form" model="ir.ui.view">
        <field name="name">view.product.template.form.inherited</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_form_view" />
        <field name="arch" type="xml">
            <xpath expr="//page[@name='sales']" position="before">
                <page string="Hotel Service">
                    <group colspan="4">
                        <group>
                            <field name="hotel_ids" widget="many2many_tags"
                                          options="{'no_create': True,'no_open': True}"/>
                            <field name="is_extra_bed" />
                            <field name="daily_limit" />
                            <field name="show_in_calendar" />
                        </group>
                        <group>
                            <field name="per_day" />
                            <field name="per_person" />
                            <field name="consumed_on" widget="radio"
                              attrs="{'invisible': [('per_day','!=',True)]}"/>
                        </group>
                    </group>
                </page>
            </xpath>
        </field>
    </record>

</odoo>
