diff --git a/account_banking_reconciliation/models/bank_acc_rec_statement.py b/account_banking_reconciliation/models/bank_acc_rec_statement.py index 1d2fbcd3c..5395bf3b0 100644 --- a/account_banking_reconciliation/models/bank_acc_rec_statement.py +++ b/account_banking_reconciliation/models/bank_acc_rec_statement.py @@ -33,6 +33,8 @@ class bank_acc_rec_statement(orm.Model): """Bank account rec statement.""" + _name = "bank.acc.rec.statement" + def check_group(self, cr, uid, ids, context=None): """ Check if following security constraints are implemented for groups. @@ -755,7 +757,6 @@ class bank_acc_rec_statement(orm.Model): return res - _name = "bank.acc.rec.statement" _columns = { 'name': fields.char( 'Name',