← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 689897] Re: [6.0-RC1] warning purchase_order_line call

 

I get the same error.

In a purchase order, when I enter the product, I get the error:
Traceback (most recent call last):
  File "/mnt/data/usr/local/src/openerp6/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/mnt/data/usr/local/src/openerp6/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/mnt/data/usr/local/src/openerp6/server/bin/addons/base_module_record/base_module_record.py", line 41, in execute
    res = super(recording_objects_proxy, self).execute(*args, **argv)
  File "/mnt/data/usr/local/src/openerp6/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/mnt/data/usr/local/src/openerp6/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/mnt/data/usr/local/src/openerp6/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
TypeError: product_id_change() takes at most 11 arguments (15 given)

I am using the trunk version dated about 1 week old.  I did have the
warning module installed, and as soon as I de-installed that module the
error goes away.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/689897

Title:
  [6.0-RC1] warning purchase_order_line call

Status in OpenObject Addons Modules:
  Incomplete

Bug description:
  try to use warning and inherit product_id_change in purchase_order_line.
In purchase module, purchase_order_line have a function product_id_change with 15 parameters.
In warning module, purchase_order_line surcharge product_id_change but only with 11 parameters.

When i try to make my product_id_change version, no way to pass 15 parameters because of warning definition.





References