Browse Source

Jun 07: [FIX] Bug Fixed 'venue_booking_management'

pull/331/head
RisvanaCybro 11 months ago
parent
commit
301e68cbed
  1. 2
      venue_booking_management/__manifest__.py
  2. 5
      venue_booking_management/doc/RELEASE_NOTES.md
  3. 4
      venue_booking_management/static/src/js/website_venue_booking.js
  4. 1
      venue_booking_management/views/website_venue_booking_templates.xml

2
venue_booking_management/__manifest__.py

@ -21,7 +21,7 @@
############################################################################### ###############################################################################
{ {
'name': 'Venue / Event Booking Management', 'name': 'Venue / Event Booking Management',
'version': '17.0.1.0.2', 'version': '17.0.1.0.3',
'summary': 'Core Module for Managing Different Types of ' 'summary': 'Core Module for Managing Different Types of '
'Venue/ Event Booking.', 'Venue/ Event Booking.',
'description': 'Core Module for Managing Different Types of ' 'description': 'Core Module for Managing Different Types of '

5
venue_booking_management/doc/RELEASE_NOTES.md

@ -13,3 +13,8 @@
#### Version 17.0.1.0.2 #### Version 17.0.1.0.2
##### UPDT ##### UPDT
- Bug Fix-Updated the workflow of venue booking and cancellation - Bug Fix-Updated the workflow of venue booking and cancellation
#### 04.06.2024
#### Version 17.0.1.0.3
##### UPDT
- Bug Fix-Fixed the issues while booking a venue from Website

4
venue_booking_management/static/src/js/website_venue_booking.js

@ -44,7 +44,7 @@ publicWidget.registry.websiteLimit = publicWidget.Widget.extend({
]; ];
this.orm.call('venue.booking', 'search', [domain]) this.orm.call('venue.booking', 'search', [domain])
.then(function(result) { .then(function(result) {
if (result) { if (result.length>0) {
const open_deactivate_modal = true; const open_deactivate_modal = true;
const modalHTML = ` const modalHTML = `
<div class="modal ${open_deactivate_modal ? 'show d-block' : ''}" id="popup_error_message" tabindex="-1" role="dialog"> <div class="modal ${open_deactivate_modal ? 'show d-block' : ''}" id="popup_error_message" tabindex="-1" role="dialog">
@ -65,7 +65,7 @@ publicWidget.registry.websiteLimit = publicWidget.Widget.extend({
$("body").find("#popup_error_message").remove(); $("body").find("#popup_error_message").remove();
}); });
} else { } else {
this.el.querySelector('#customer').classList.remove("d-none"); self.el.querySelector('#customer').classList.remove("d-none");
} }
}); });
}, },

1
venue_booking_management/views/website_venue_booking_templates.xml

@ -60,7 +60,6 @@
</option> </option>
</select> </select>
</div> </div>
<button type="submit" id="next" class="button"> <button type="submit" id="next" class="button">
Next Next
</button> </button>

Loading…
Cancel
Save