Cannot delete purchase orders (trunk)

Bug #319172 reported by Dukai Gábor
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned
OpenERP
Invalid
Undecided
Unassigned

Bug Description

Hi!
Trunk version.
Please review purchase_order.unlink(self, cr, uid, ids) because it needs a different argument list. Trying to delete a purchase order the following error appears:

Traceback (most recent call last):
  File "path/bin/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "path/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "path/bin/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
TypeError: unlink() takes exactly 4 arguments (5 given)

Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

This has been fixed already.
Make sure you are using latest version.

Thank you.

Changed in openerp:
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.