openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07633
[Bug 936176] Re: 6.1: account_analytic_default TypeError: product_id_change() got an unexpected keyword argument 'company_id'
sorry, this was a bug in another module.
** Changed in: openobject-addons
Status: New => Invalid
--
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/936176
Title:
6.1: account_analytic_default TypeError: product_id_change() got an
unexpected keyword argument 'company_id'
Status in OpenERP Addons (modules):
Invalid
Bug description:
post install of this module, I go to purchase invoices, start a new
invoice and when I try to add an invoice line I get the below error.
Just for the record, I have quite a few modules installed to do with
mrp, stock etc and I dont get this error if I just install the this
module with basic accounting modules.
Python Version : 2.6.5
OpenERP-Client Version : 6.1dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/opt/openerp/trunk/server/trunk/openerp/service/netrpc_server.py", line 62, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/opt/openerp/trunk/server/trunk/openerp/netsvc.py", line 324, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/trunk/server/trunk/openerp/service/web_services.py", line 591, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/trunk/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/trunk/server/trunk/openerp/osv/osv.py", line 175, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/trunk/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/trunk/addons/trunk/account/account_invoice.py", line 1418, in uos_id_change
res = self.product_id_change(cr, uid, ids, product, uom, qty, name, type, partner_id, fposition_id, price_unit, address_invoice_id, currency_id, context=context)
File "/opt/openerp/trunk/addons/trunk/account_analytic_default/account_analytic_default.py", line 77, in product_id_change
res_prod = super(account_invoice_line, self).product_id_change(cr, uid, ids, product, uom, qty, name, type, partner_id, fposition_id, price_unit, address_invoice_id, currency_id=currency_id, context=context, company_id=company_id)
TypeError: product_id_change() got an unexpected keyword argument 'company_id'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/936176/+subscriptions
References