[FIX] According with the decorator change on super method (@api.model -> @api.multi)

This commit is contained in:
Adrien Peiffer (ACSONE)
2015-07-29 13:28:31 +02:00
parent d806ded277
commit 4ce30d0927
2 changed files with 4 additions and 4 deletions

View File

@@ -27,8 +27,8 @@ class payment_order_create(orm.TransientModel):
_inherit = 'payment.order.create'
def extend_payment_order_domain(
self, cr, uid, payment_order, domain, context=None):
self, cr, uid, ids, payment_order, domain, context=None):
super(payment_order_create, self).extend_payment_order_domain(
cr, uid, payment_order, domain, context=context)
cr, uid, ids, payment_order, domain, context=context)
domain += [('blocked', '!=', True)]
return True