mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
70 lines
2.4 KiB
XML
70 lines
2.4 KiB
XML
<?xml version="1.0" ?>
|
|
<odoo>
|
|
<record id="product_pricelist_view_form" model="ir.ui.view">
|
|
<field name="model">product.pricelist</field>
|
|
<field name="inherit_id" ref="product.product_pricelist_view" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='country_group_ids']" position="before">
|
|
<field
|
|
name="pms_property_ids"
|
|
widget="many2many_tags"
|
|
options="{'no_create': True,'no_open': True}"
|
|
/>
|
|
<field name="pricelist_type" />
|
|
<field name="cancelation_rule_id" />
|
|
<field name="availability_plan_id" />
|
|
<field name="pms_sale_channel_ids" widget="many2many_tags" />
|
|
</xpath>
|
|
<xpath
|
|
expr="//field[@name='item_ids']/tree/field[@name='base']"
|
|
position="after"
|
|
>
|
|
<field name="date_start_consumption" />
|
|
<field name="date_end_consumption" />
|
|
<field
|
|
name="pms_property_ids"
|
|
widget="many2many_tags"
|
|
options="{'no_create': True,'no_open': True}"
|
|
/>
|
|
</xpath>
|
|
|
|
|
|
<xpath
|
|
expr="//field[@name='item_ids']/tree/field[@name='name']"
|
|
position="after"
|
|
>
|
|
<field
|
|
name="board_service_room_type_id"
|
|
options="{'no_create': True, 'no_open': True}"
|
|
/>
|
|
</xpath>
|
|
|
|
|
|
|
|
<xpath expr="//widget[@name='web_ribbon']" position="after">
|
|
<div class="oe_button_box " name="button_box">
|
|
<button
|
|
name="open_massive_changes_wizard"
|
|
type="object"
|
|
class="oe_stat_button mr-5"
|
|
icon="fa-magic"
|
|
>
|
|
<label
|
|
for="open_massive_changes_wizard"
|
|
string="Massive changes"
|
|
/>
|
|
</button>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<menuitem
|
|
name="Pricelists"
|
|
id="pricelist_menu"
|
|
action="product.product_pricelist_action2"
|
|
sequence="15"
|
|
parent="pms.revenue_management_menu"
|
|
/>
|
|
</odoo>
|