[FIX] wizard invoice bill services-rooms

This commit is contained in:
Darío Lodeiros
2021-01-22 14:09:01 +01:00
parent f3813b5aa4
commit e140668dd8
2 changed files with 7 additions and 7 deletions

View File

@@ -9,15 +9,15 @@ odoo.define("pms.group.reservation.wizard", function (require) {
var ReservationWizard = {
start: function () {
// Define a unique uploadId and a callback method
this.fileUploadID = _.uniqueId("account_bill_file_upload");
$(window).on(this.fileUploadID, this._onFileUploaded.bind(this));
// this.fileUploadID = _.uniqueId("account_bill_file_upload");
// $(window).on(this.fileUploadID, this._onFileUploaded.bind(this));
return this._super.apply(this, arguments);
},
_onNewReservationGroup: function (event) {
var self = this;
return this.do_action("pms.pms_reservation_view_tree", {
return this.do_action("pms.action_wizard_folio", {
on_close: function () {
self.reload();
},

View File

@@ -449,8 +449,8 @@
decoration-success="is_board_service == True"
>
<field name="is_board_service" invisible="1" />
<field name="company_id" invisible="0" />
<field name="pms_property_id" invisible="0" />
<field name="company_id" invisible="1" />
<field name="pms_property_id" invisible="1" />
<button
type="object"
class="oe_stat_button"
@@ -490,8 +490,8 @@
<field name="price_unit" />
<field name="discount" />
<field name="tax_ids" widget="many2many_tags" />
<field name="price_subtotal" />
<field name="price_tax" />
<field name="price_subtotal" optional="show" />
<field name="price_tax" optional="show" />
<field name="price_total" />
<field name="service_line_ids" invisible="1">
<tree string="Days">