mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] wizard invoice bill services-rooms
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user