Comments (4)
Similar for amenities...
[...]
File "/opt/odoo/openerp/models.py", line 3286, in _read_from_database
cr.execute(query_str, [tuple(sub_ids)] + where_params)
File "/opt/odoo/openerp/sql_db.py", line 158, in wrapper
return f(self, _args, *_kwargs)
File "/opt/odoo/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ProgrammingError: invalid reference to FROM-clause entry for table "product_product"
LINE 2: ... "hotel_room_amenities__room_categ_id"."id") AND ("product_p...
^
HINT: Perhaps you meant to reference the table alias "hotel_room_amenities__room_categ_id".
from odoohotelmanagementsystem.
@JayVora-SerpentCS, I saw this forum post:
https://www.odoo.com/forum/help-1/question/openerp-7-hotel-module-related-error-53947
and the error seems related to this same issue, but I saw in the code that kanban view is commented. As this is not a python error is being very difficult for me to debug. Could you please give a little hint to me in order to investigate it? perhaps I could contribute the solution..
Thanks a lot.
from odoohotelmanagementsystem.
same problem
2015-07-12 16:39:20,962 6783 ERROR Clinic openerp.sql_db: Programming error: invalid reference to FROM-clause entry for table "product_product"
LINE 2: ...product_id" = "hotel_room__product_id"."id") AND ("product_p...
^
HINT: Perhaps you meant to reference the table alias "hotel_room__product_id".
, in query SELECT product_product__product_tmpl_id."categ_id","hotel_room"."status","hotel_room"."capacity",product_product__product_tmpl_id."list_price","hotel_room"."id" FROM "hotel_room","product_product" as "hotel_room__product_id","product_template" as "product_product__product_tmpl_id"
WHERE "hotel_room".id IN %s AND ("hotel_room"."product_id" = "hotel_room__product_id"."id") AND ("product_product"."product_tmpl_id" = "product_product__product_tmpl_id"."id") ORDER BY "hotel_room"."id"
2015-07-12 16:39:20,962 6783 ERROR Clinic openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/home/inovativ/workspace/Odoo/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/inovativ/workspace/Odoo/openerp/http.py", line 567, in dispatch
result = self._call_function(*_self.params)
File "/home/inovativ/workspace/Odoo/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/inovativ/workspace/Odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/inovativ/workspace/Odoo/openerp/http.py", line 300, in checked_call
return self.endpoint(_a, *_kw)
File "/home/inovativ/workspace/Odoo/openerp/http.py", line 796, in call
return self.method(_args, *_kw)
File "/home/inovativ/workspace/Odoo/openerp/http.py", line 396, in response_wrap
response = f(_args, *_kw)
File "/home/inovativ/workspace/OdooRH/addons/web/controllers/main.py", line 875, in search_read
return self.do_search_read(model, fields, offset, limit, domain, sort)
File "/home/inovativ/workspace/OdooRH/addons/web/controllers/main.py", line 896, in do_search_read
request.context)
File "/home/inovativ/workspace/Odoo/openerp/http.py", line 900, in proxy
result = meth(cr, request.uid, _args, *_kw)
File "/home/inovativ/workspace/Odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/inovativ/workspace/Odoo/openerp/models.py", line 5130, in search_read
result = self.read(cr, uid, record_ids, fields, context=read_ctx)
File "/home/inovativ/workspace/Odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/inovativ/workspace/Odoo/openerp/models.py", line 3128, in read
result = BaseModel.read(records, fields, load=load)
File "/home/inovativ/workspace/Odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/inovativ/workspace/Odoo/openerp/models.py", line 3163, in read
self._read_from_database(stored, inherited)
File "/home/inovativ/workspace/Odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/inovativ/workspace/Odoo/openerp/models.py", line 3286, in _read_from_database
cr.execute(query_str, [tuple(sub_ids)] + where_params)
File "/home/inovativ/workspace/Odoo/openerp/sql_db.py", line 158, in wrapper
return f(self, _args, *_kwargs)
File "/home/inovativ/workspace/Odoo/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ProgrammingError: invalid reference to FROM-clause entry for table "product_product"
LINE 2: ...product_id" = "hotel_room__product_id"."id") AND ("product_p...
^
HINT: Perhaps you meant to reference the table alias "hotel_room__product_id".
from odoohotelmanagementsystem.
@Danisan Its resolved in Official Odoo. Please check odoo/odoo#5761.
from odoohotelmanagementsystem.
Related Issues (20)
- Duration in Days in set with '0' when save record HOT 1
- It works on Odoo 10? HOT 1
- Calculation of Duration in Days HOT 1
- Create Room Status HOT 1
- Stuck In "Draft Quotation" HOT 7
- Existing Deleted Record
- Restaurant (Taking Order) to Accounting
- Unchangeable UOM & Query about History in Reservation HOT 1
- Translation HOT 1
- Folio Button POS HOT 1
- Regarding importing this module HOT 3
- Print reservation HOT 1
- Reservation folio error HOT 2
- Version 11 HOT 2
- folio HOT 1
- Integration of Restaurant POS and Hotel Management System HOT 1
- POS Folio HOT 1
- Confirm reservation error
- How do I execute/run the project HOT 1
- How to manually check out before intended time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odoohotelmanagementsystem.