c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33391
Re: [Bug 856501] Re: ValueError: No references to point_of_sale.group_pos_user
Hi Vishal,
Please see the trace back as below:
Environment Information :
System : Linux-2.6.38-11-generic-i686-with-Ubuntu-11.04-natty
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
Operating System Release : 2.6.38-11-generic
Operating System Version : #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF8
Python Version : 2.7.1+
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent
call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-server/netsvc.py",
line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth,
params)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/service/web_services.py",
line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py",
line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py",
line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py",
line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/addons/base/module/wizard/base_module_upgrade.py",
line 98, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/pooler.py",
line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status,
update_module=update_module)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/pooler.py",
line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/addons/__init__.py",
line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status,
report=report, skip_modules=processed_modules))
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/addons/__init__.py",
line 752, in load_module_graph
load_demo_xml(cr, m, idref, mode)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/addons/__init__.py",
line 656, in load_demo_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, noupdate=True,
**kwargs)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/tools/convert.py",
line 975, in convert_xml_import
obj.parse(doc.getroot())
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/tools/convert.py",
line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/tools/convert.py",
line 832, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model,
self.module, res, rec_id or False, not self.isnoupdate(data_node),
noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/addons/base/ir/ir_model.py",
line 691, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/orm.py",
line 3696, in create
self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/orm.py",
line 3790, in _store_set_values
result = self._columns[val[0]].get(cr, self, ids, val, 1,
context=context)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/osv/fields.py", line
802, in get
res = self._fnct(cr, obj._table, ids, name, self._arg, context)
File
"/usr/local/lib/python2.7/dist-packages/openerp-server/addons/point_of_sale/point_of_sale.py",
line 599, in _amount_line_all
account_tax_obj = self.pool.get('account.tax')
File "/usr/local/lib/python2.7/dist-packages/openerp-server/sql_db.py",
line 78, in wrapper
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/sql_db.py",
line 237, in __getattr__
return getattr(self._obj, name)
AttributeError: 'cursor' object has no attribute 'pool'
Thanks
Amit
On Wed, Sep 28, 2011 at 4:43 AM, Vishal Parmar(Open ERP) <
856501@xxxxxxxxxxxxxxxxxx> wrote:
> Hello Amit Sharma,
>
> Would you please provide me your end trace back which you have faced.
>
> Thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/856501
>
> Title:
> ValueError: No references to point_of_sale.group_pos_user
>
> Status in OpenERP Addons (modules):
> Invalid
>
> Bug description:
> Trying to install latest trunk version of the POS. Earlier i had
> installed POS 6.0 version which was working fine. But since the trunk
> version seems to have latest and more features so thought to upgrade
> to it. But when i install this one, get following error:
>
> raise ValueError('No references to %s.%s' % (module, xml_id))
> ValueError: No references to point_of_sale.group_pos_user
>
> Looked the code:
> view.xml has some 2 entries for group_pos_manager, group_pos_user.
> But .py file doesn't have any reference to it.
>
> Is it the reason of the error? How can we resolve it.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/856501/+subscriptions
>
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/856501
Title:
ValueError: No references to point_of_sale.group_pos_user
Status in OpenERP Addons (modules):
Invalid
Bug description:
Trying to install latest trunk version of the POS. Earlier i had
installed POS 6.0 version which was working fine. But since the trunk
version seems to have latest and more features so thought to upgrade
to it. But when i install this one, get following error:
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to point_of_sale.group_pos_user
Looked the code:
view.xml has some 2 entries for group_pos_manager, group_pos_user.
But .py file doesn't have any reference to it.
Is it the reason of the error? How can we resolve it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/856501/+subscriptions
References