openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10270
[Bug 960012] Re: Hotel managment
Hello guys,
I have the same error with 6.1.
I did exactly what you said on the previous post but i still get the
error.
I tried to put the hotel module on the server (addons) but i still get
this error:
Client Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1004, in call_button
action = self.call_common(req, model, method, args, domain_id, context_id)
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 948, in call_common
return self._call_kw(req, model, method, args, {})
File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 962, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/opt/openerp/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 572, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/server/openerp/addons/base/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/opt/openerp/server/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/opt/openerp/server/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/opt/openerp/server/openerp/modules/loading.py", line 338, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/opt/openerp/server/openerp/modules/loading.py", line 253, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/opt/openerp/server/openerp/modules/loading.py", line 165, in load_module_graph
load_openerp_module(package.name)
File "/opt/openerp/server/openerp/modules/module.py", line 409, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/opt/openerp/server/openerp/modules/module.py", line 139, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/openerp/server/openerp/addons/hotel/__init__.py", line 21, in <module>
import hotel
File "/opt/openerp/server/openerp/addons/hotel/hotel.py", line 24, in <module>
import ir
ImportError: No module named ir
Is the web client.
It's been a so painfull for me this last two weeks, because i've tried
everything but no success.
If you could give me a tip to help me solve this i'll be very thankful.
Best Regards,
Edson Teixeira
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/960012
Title:
Hotel managment
Status in OpenERP Addons (modules):
Fix Released
Bug description:
I have installed V 6.1 which is mentioned as stable,
But when i installed hotel managment module it get install and works properly accept
Generate Folio under All Folio Menu,
It gives OpenERP Web error on getting form view for this
Error IS mentioned as below:
"""""
Client Traceback (most recent call last):
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/controllers/main.py", line 1215, in load
return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/controllers/main.py", line 1099, in fields_view_get
self.process_view(req.session, fvg, context, transform, (view_type == 'kanban'))
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/controllers/main.py", line 1133, in process_view
self.process_view(session, view, None, transform)
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/controllers/main.py", line 1119, in process_view
xml = self.transform_view(arch, session, evaluation_context)
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/controllers/main.py", line 1188, in transform_view
self.parse_domains_and_contexts(elem, session)
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/controllers/main.py", line 1210, in parse_domains_and_contexts
elem.set(el, parse_context(context_string, session))
File "/home/maulik/Downloads/OpenERP-New Releases/openerp-6.2dev-20120316-000101/openerp/addons/web/controllers/main.py", line 1246, in parse_context
return ast.literal_eval(context)
File "/usr/lib/python2.6/ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python2.6/ast.py", line 37, in parse
return compile(expr, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 1
partner_id=parent.partner_id,quantity=product_uom_qty,pricelist=parent.pricelist_id,shop=parent.shop_id,uom=product_uom
^
SyntaxError: invalid syntax
"""""""""""""
So please help for this issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/960012/+subscriptions
References