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.
 
 
 
 
 

23 lines
1.0 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Product form page inherited to add the custom fields-->
<record id="product_template_only_form_view" model="ir.ui.view">
<field name="name">product.template.view.form.inherit.website.pre.booking</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="model">product.template</field>
<field name="arch" type="xml">
<xpath expr="//page[@name='general_information']" position="after">
<page string="Prebooking" name="prebooking">
<group string="Booking Configuration">
<group>
<field name="pre_book"/>
</group>
<group>
<field name="pre_max_quantity" invisible="pre_book != True"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>