mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
* [REF] pms: refactor amenity type * [REF] pms: refactor amenity * [REF]Refactor amenity views and demo data * [WIP] master model 2nd day * [WIP] Master model refactor * [WIP] Refactor in tests * [WIP] Add mandatory sequence in pms_property at tests and fix create in folio, reservation and checkin * [WIP] Test refactor * [WIP]Refactor pms_room, pms_room_clousure_reason and pms_room_type * [WIP]review of guidelines in master models * [WIP]test refactor * [WIP]review guidelines in master models 2 * [WIP] fixed fields in pms_l10n_es * [WIP]Refactor product_product, product_template, res_company, res_partner and res_user * [IMP] Add common.py for tests * [WIP] Refactor fields in pms.folio and pms.reservation * [WIP] Review guidelines in pms.reservation, pms.reservation.line and rename availability models * [WIP] Rename availability models * [WIP] Refactor availability models * [WIP] Refactor availity models 2 * [WIP] Pms: add sequences creation in pms_property create * [WIP] Fix sequence creation in pmp.property * [REF] Refactor fields in res_partner and rename date_overnight * [REF] Refactoring master models tests * [FIX] Fix sequence create in pms.reservation * [REF] Refactor helps in master and availability models * [IMP] Extend test coverage in test_pms_reservation * [REF] Refactor fields in pms_reservation * [REF] Refactor fields in pms_reservation 2 * [REF] Refactor fields in service flow * [REF] Refactor pms_reservation * [REF] Refactor pms_reservation 2 * [REF] draft button removed from view * [REF] change no_show to arrival_delayed in field state of pms_reservation * [REF] Add compute_preferred_room_id in pms_reservation * [REF] Fix cache problem in test_reservation_action_checkout Co-authored-by: braisab <braisterbutalino@gmail.com> Co-authored-by: Sara Lago <saralago126@gmail.com> Co-authored-by: Brais Abeijón <>
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?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="Service">
|
|
<group colspan="4">
|
|
<group>
|
|
<field
|
|
name="pms_property_ids"
|
|
widget="many2many_tags"
|
|
options="{'no_create': True,'no_open': True}"
|
|
/>
|
|
<field name="is_extra_bed" />
|
|
<field name="daily_limit" />
|
|
</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>
|
|
|
|
<menuitem
|
|
name="Services"
|
|
id="menu_services_pms"
|
|
action="product.product_template_action"
|
|
sequence="15"
|
|
parent="pms.pms_services_menu"
|
|
/>
|
|
</odoo>
|