openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14011
[Bug 1029198] [NEW] [6.1] product_extended error when compute standard price
Public bug reported:
Hi all:
When I try to compute the price of a product via BOM, the next error
occurs:
Environment Information :
System : Linux-3.2.0-27-generic-x86_64-with-Ubuntu-12.04-precise
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Operating System Release : 3.2.0-27-generic
Operating System Version : #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012
Operating System Architecture : 64bit
Operating System Locale : es_DO.UTF-8
Python Version : 2.7.3
OpenERP-Client Version : 6.1-20120709-233338
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/netrpc_server.py", line 64, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/home/dna1/openerp-6.1-20120711-233320/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/web_services.py", line 617, in dispatch
res = fn(db, uid, *params)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/web_services.py", line 641, in exp_execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/web_services.py", line 623, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/wizard/__init__.py", line 185, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/wizard/__init__.py", line 90, in execute_cr
res['action'] = result_def['action'](self, cr, uid, data, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/addons/product_extended/wizard/wizard_price.py", line 31, in _compute_price
bom.product_id.compute_price(cr, uid, bom.product_id.id)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/osv/orm.py", line 368, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
TypeError: compute_price() got an unexpected keyword argument 'context'
Can you help me??
Best regards
DG
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1029198
Title:
[6.1] product_extended error when compute standard price
Status in OpenERP Addons (modules):
New
Bug description:
Hi all:
When I try to compute the price of a product via BOM, the next error
occurs:
Environment Information :
System : Linux-3.2.0-27-generic-x86_64-with-Ubuntu-12.04-precise
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Operating System Release : 3.2.0-27-generic
Operating System Version : #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012
Operating System Architecture : 64bit
Operating System Locale : es_DO.UTF-8
Python Version : 2.7.3
OpenERP-Client Version : 6.1-20120709-233338
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/netrpc_server.py", line 64, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/home/dna1/openerp-6.1-20120711-233320/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/web_services.py", line 617, in dispatch
res = fn(db, uid, *params)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/web_services.py", line 641, in exp_execute
return self._execute(db, uid, wiz_id, datas, action, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/service/web_services.py", line 623, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/wizard/__init__.py", line 185, in execute
res = self.execute_cr(cr, uid, data, state, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/wizard/__init__.py", line 90, in execute_cr
res['action'] = result_def['action'](self, cr, uid, data, context)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/addons/product_extended/wizard/wizard_price.py", line 31, in _compute_price
bom.product_id.compute_price(cr, uid, bom.product_id.id)
File "/home/dna1/openerp-6.1-20120711-233320/openerp/osv/orm.py", line 368, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
TypeError: compute_price() got an unexpected keyword argument 'context'
Can you help me??
Best regards
DG
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1029198/+subscriptions
Follow ups
References