mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD] partner_id field on reservation and folio form
This commit is contained in:
@@ -570,6 +570,8 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree
|
<tree
|
||||||
string="Folio"
|
string="Folio"
|
||||||
|
multi_edit="1"
|
||||||
|
sample="1"
|
||||||
create="false"
|
create="false"
|
||||||
class="o_sale_order"
|
class="o_sale_order"
|
||||||
decoration-info="state == 'draft'"
|
decoration-info="state == 'draft'"
|
||||||
@@ -581,7 +583,7 @@
|
|||||||
decoration-info="reservation_type == 'staff'"
|
decoration-info="reservation_type == 'staff'"
|
||||||
decoration-bf="reservation_type == 'out'"
|
decoration-bf="reservation_type == 'out'"
|
||||||
/>
|
/>
|
||||||
<field name="partner_id" invisible="1" />
|
<field name="partner_id" />
|
||||||
<field name="partner_name" select="1" />
|
<field name="partner_name" select="1" />
|
||||||
<field name="date_order" select="1" />
|
<field name="date_order" select="1" />
|
||||||
<field name="user_id" widget="many2one_avatar_user" optional="show" />
|
<field name="user_id" widget="many2one_avatar_user" optional="show" />
|
||||||
|
|||||||
@@ -360,7 +360,7 @@
|
|||||||
string="General Info"
|
string="General Info"
|
||||||
name="contact_details"
|
name="contact_details"
|
||||||
>
|
>
|
||||||
<field name="partner_id" invisible="1" />
|
<field name="partner_id" />
|
||||||
<field
|
<field
|
||||||
name="document_type"
|
name="document_type"
|
||||||
attrs="{'invisible':[('reservation_type','in',('out'))]}"
|
attrs="{'invisible':[('reservation_type','in',('out'))]}"
|
||||||
@@ -747,7 +747,6 @@
|
|||||||
sample="1"
|
sample="1"
|
||||||
class="o_sale_order"
|
class="o_sale_order"
|
||||||
decoration-warning="splitted"
|
decoration-warning="splitted"
|
||||||
decoration-bf="splitted"
|
|
||||||
js_class="pms_booking_engine_request_tree"
|
js_class="pms_booking_engine_request_tree"
|
||||||
>
|
>
|
||||||
<field name="reservation_type" invisible="1" />
|
<field name="reservation_type" invisible="1" />
|
||||||
@@ -777,6 +776,8 @@
|
|||||||
<field name="to_assign" invisible="1" />
|
<field name="to_assign" invisible="1" />
|
||||||
<field name="checkin_partner_pending_count" invisible="1" />
|
<field name="checkin_partner_pending_count" invisible="1" />
|
||||||
<field name="tax_ids" invisible="1" />
|
<field name="tax_ids" invisible="1" />
|
||||||
|
<field name="agency_id" optional="show" />
|
||||||
|
<field name="channel_type_id" optional="show" />
|
||||||
<field name="price_subtotal" invisible="1" />
|
<field name="price_subtotal" invisible="1" />
|
||||||
<field name="price_total" />
|
<field name="price_total" />
|
||||||
<field name="folio_pending_amount" string="Folio Pending Amount" />
|
<field name="folio_pending_amount" string="Folio Pending Amount" />
|
||||||
|
|||||||
Reference in New Issue
Block a user