summaryrefslogtreecommitdiff
path: root/addons/procurement/procurement.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-06-14 19:22:21 +0200
committerChristophe Simonis <chs@odoo.com>2016-06-14 19:22:21 +0200
commitbfbe2d6e6d181da3877acebfee1a701cbd6493fc (patch)
treedabfd94f516d3a4796f0bb2440723d00e92d9654 /addons/procurement/procurement.py
parentc12c097655a4f770281dfdf5bb35657080abcd7b (diff)
parentdf95b1fc9d971137c1b73a5125c69f42c8531603 (diff)
[MERGE] forward port of branch saas-6 up to df95b1f
The changes in `l10n_es` [1] have been ignored. They will be ported to the new accouting later. [1] See 730890f3696e8117eec429bc302e5b67bee69fa0 and e3e5cfe82c43d9701858bd643e02df390f5f6f66
Diffstat (limited to 'addons/procurement/procurement.py')
-rw-r--r--addons/procurement/procurement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py
index 6c53bd5d545..f403565f3a0 100644
--- a/addons/procurement/procurement.py
+++ b/addons/procurement/procurement.py
@@ -136,7 +136,7 @@ class procurement_order(osv.osv):
unlink_ids.append(s['id'])
else:
raise UserError(_('Cannot delete Procurement Order(s) which are in %s state.') % s['state'])
- return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)
+ return super(procurement_order, self).unlink(cr, uid, unlink_ids, context=context)
def create(self, cr, uid, vals, context=None):
context = context or {}