From f715e5dcb22b8064892c67f724b061bc07998937 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 22 Jan 2015 10:08:18 +0100 Subject: [PATCH] [FIX] Don't break inheritance chain --- account_direct_debit/models/account_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_direct_debit/models/account_invoice.py b/account_direct_debit/models/account_invoice.py index f000607c4..ed3ea98f4 100644 --- a/account_direct_debit/models/account_invoice.py +++ b/account_direct_debit/models/account_invoice.py @@ -135,6 +135,7 @@ class AccountInvoice(orm.Model): Maybe apply a similar trick when overriding the buttons' 'states' attributes in the form view, manipulating the xml in fields_view_get(). """ + super(AccountInvoice, self)._register_hook(cr) self._columns['state'].selection.append( ('debit_denied', 'Debit denied'))