openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13715
[Bug 1025538] Re: crash trying to close POS
Hello Crisitian,
Thanks for the reporting!
This issue has been committed on following manner.
branch: lp:~openerp-dev/openobject-addons/trunk-bug-1025538-amp
rev no: 7060
rev ID: amp@xxxxxxxxxxx-20120717065145-xgc7t1srh8q6jtk9
It will be merge with trunk soon.
Thanks again!
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
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/1025538
Title:
crash trying to close POS
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
With a fresh installation for point_of_sale module, sale a receipt and
try to close the session, i get this output error:
Client Traceback (most recent call last):
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/controllers/main.py", line 1039, in call_button
action = self.call_common(req, model, method, args, domain_id, context_id)
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/controllers/main.py", line 983, in call_common
return self._call_kw(req, model, method, args, {})
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/controllers/main.py", line 997, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/common/http.py", line 608, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/Users/ovnicraft/development/openerp/trunk/web-trunk/addons/web/common/http.py", line 593, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/Users/ovnicraft/development/openerp/trunk/server/openerp/netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/Users/ovnicraft/development/openerp/trunk/server/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/Users/ovnicraft/development/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/Users/ovnicraft/development/openerp/trunk/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/Users/ovnicraft/development/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/Users/ovnicraft/development/openerp/trunk/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/Users/ovnicraft/development/openerp/trunk/addons/point_of_sale/wizard/pos_close_statement.py", line 55, in close_statement
if not statement.journal_id.check_dtls:
File "/Users/ovnicraft/development/openerp/trunk/server/openerp/osv/orm.py", line 478, in __getattr__
raise AttributeError(e)
AttributeError: "Field 'check_dtls' does not exist in object 'browse_record(account.journal, 6)'"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1025538/+subscriptions
References