mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<?xml version="1.0" ?>
|
|
<odoo>
|
|
|
|
<record model="ir.ui.view" id="view_hotel_massive_price_change_wizard">
|
|
<field name="name">hotel.wizard.massive.price.reservation.days</field>
|
|
<field name="model">hotel.wizard.massive.price.reservation.days</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Massive Price Change" >
|
|
<group>
|
|
<field name="change_price"/>
|
|
<field name="new_price" required="1"
|
|
attrs="{'readonly':[('change_price','=', False)]}" />
|
|
</group>
|
|
<group>
|
|
<field name="change_discount"/>
|
|
<field name="new_discount" required="1"
|
|
attrs="{'readonly':[('change_discount','=', False)]}" />
|
|
</group>
|
|
<footer>
|
|
<button name="massive_price_change_days" string="Massive Change" type="object"
|
|
class="oe_highlight" />
|
|
or
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_hotel_massive_price_change_reservation_days" model="ir.actions.act_window">
|
|
<field name="name">Massive Price Change</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">hotel.wizard.massive.price.reservation.days</field>
|
|
<field name="view_id" ref="view_hotel_massive_price_change_wizard"/>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
</odoo>
|