Error in account_analytic_default : Unexpected keyword argument 'partner_bank'

Bug #614776 reported by Heber Gonçalves
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

I got the following error : "TypeError: onchange_partner_id() got an unexpected keyword argument 'partner_bank'" while pushing on the button "Financial Managemet/Supplier Invoice/ New Supplier Invoice" in a invoice.
Here is the trace:

Environment Information :
System : Linux-2.6.32-21-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-21-generic
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : pt_BR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.12
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/warning/warning.py", line 143, in onchange_partner_id
    date_invoice=False, payment_term=False, partner_bank=False)
TypeError: onchange_partner_id() got an unexpected keyword argument 'partner_bank'

Occurred after I installed the module account_analytic_default

Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Heber Gonçalves,

I have thoroughly checked it.

The error does not come on normal circumstances.

It seems you are using some of the uncertified modules from extra-addons.

We are correcting few modules on extra-addons.

I hope it helps.

Thanks.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Heber,

This has already been fixed.
Kindly have an update of modules.

Let us know if still the error persists.
Thanks.

Changed in openobject-addons:
milestone: none → 5.0.13
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.