Git Product home page Git Product logo

Comments (5)

seanboyce avatar seanboyce commented on July 28, 2024

Hello, I also experienced this issue.

I went opened up hotel_reservation/static/src/js/hotel_room_summary.js and commented out the 2 instances where the function this.destroy_content() is called.

The result is that the reservations summary screen no longer raises an error. It doesn't seem to work properly either -- but when the reservations summary is opened via the Hotel FrontDesk Board it DOES work for me, without errors!

Previously, it worked from the Hotel FrontDesk Board, but would raise an error, I would lose the ability to log out of odoo, and the reservations summary data would be 'stuck' behind every screen loaded thereafter. Fixing this previously required a reset of odoo from the command line, going to the top level page (domain.com:8069) logging out from there, and then logging in again.

So not really a fix but did resolve some of the more serious issues I had. Looking at hotel_room_summary.js, it really looks like there is no function called destroy_content defined or included though. I tried to guess what it would do and implement it but my knowledge in this area is not very good and I didn't meet any success.

from odoohotelmanagementsystem.

KrishnaPrajapati-SerpentCS avatar KrishnaPrajapati-SerpentCS commented on July 28, 2024

this.destroy_content() is called when quick hotel reservation summary view and It shows free room and assigned room by the customer

room reservations summary odoo

from odoohotelmanagementsystem.

JayVora-SerpentCS avatar JayVora-SerpentCS commented on July 28, 2024

With the latest source code, it is fixed. Would you please recheck?
Thanks.

from odoohotelmanagementsystem.

seanboyce avatar seanboyce commented on July 28, 2024

Hello,
I tried with the latest source code and can confirm that the issue is resolved.
Previously I had downloaded your application from: https://www.odoo.com/apps/modules/10.0/hotel/
Thank you for your time and an excellent application!

from odoohotelmanagementsystem.

JayVora-SerpentCS avatar JayVora-SerpentCS commented on July 28, 2024

Thank you @seanboyce , can I have your email Id to communicate with you?

from odoohotelmanagementsystem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.