[Menu] there is several problem when "Rooms" clicked

Bug #1308276 reported by AgusSalim
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Hotel Management System
Confirmed
Undecided
Serpent Consulting Services
base (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

i have problem when i clicked Rooms menu on HMS, here is the error notifications:
Client Traceback (most recent call last):
  File "/home/agussalim/Documents/openerp/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/agussalim/Documents/openerp/openerp/addons/web/controllers/main.py", line 1128, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/home/agussalim/Documents/openerp/openerp/addons/web/controllers/main.py", line 1120, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/agussalim/Documents/openerp/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/home/agussalim/Documents/openerp/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/agussalim/Documents/openerp/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/home/agussalim/Documents/openerp/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/agussalim/Documents/openerp/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/agussalim/Documents/openerp/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/agussalim/Documents/openerp/openerp/osv/osv.py", line 190, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/agussalim/Documents/openerp/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/agussalim/Documents/openerp/openerp/osv/osv.py", line 199, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/agussalim/Documents/openerp/openerp/osv/osv.py", line 187, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/agussalim/Documents/openerp/openerp/osv/orm.py", line 2689, in read_group
    cr.execute('SELECT min(%s.id) AS id, count(%s.id) AS %s_count' % (self._table, self._table, group_count) + (flist and ',') + flist + ' FROM ' + from_clause + where_clause + gb + limit_str + offset_str, where_clause_params)
  File "/home/agussalim/Documents/openerp/openerp/sql_db.py", line 161, in wrapper
    return f(self, *args, **kwargs)
  File "/home/agussalim/Documents/openerp/openerp/sql_db.py", line 226, in execute
    res = self._obj.execute(query, params)
ProgrammingError: invalid reference to FROM-clause entry for table "product_product"
LINE 1: ...("hotel_room__product_id"."active" = 'True') AND ("product_p...
                                                             ^
HINT: Perhaps you meant to reference the table alias "hotel_room__product_id".

Changed in hotel-management-system:
assignee: nobody → Serpent Consulting Services (serpent-consulting-services)
Revision history for this message
ahmed (ah-mnasri) wrote :

I have a same broblem

Revision history for this message
Lorenzo Battistini (elbati) wrote :

A workaround is to remove the 'kanban' mode from the views of the 'Hotel Room' action

Changed in hotel-management-system:
status: New → Confirmed
Revision history for this message
AgusSalim (agussalim87) wrote :

yup, the kanban view is the problem..

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in base (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.