← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 667583] [NEW] Purchase order line on_change method ERROR

 

Public bug reported:


I'm using 6.0.0-rc1 code. -r4448

When create Purchase Order Line then getting following errors.

[2010-10-28 11:17:11,693][usierp] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/jacara/Pydev-workspace/usierp/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jacara/Pydev-workspace/usierp/osv/osv.py", line 141, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jacara/Pydev-workspace/usierp/osv/osv.py", line 131, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
TypeError: product_id_change() takes at most 11 arguments (15 given)

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
Purchase order line on_change method ERROR
https://bugs.launchpad.net/bugs/667583
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:

I'm using 6.0.0-rc1 code. -r4448

When create Purchase Order Line then getting following errors.

[2010-10-28 11:17:11,693][usierp] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/jacara/Pydev-workspace/usierp/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jacara/Pydev-workspace/usierp/osv/osv.py", line 141, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jacara/Pydev-workspace/usierp/osv/osv.py", line 131, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
TypeError: product_id_change() takes at most 11 arguments (15 given)





Follow ups

References