From 9b1bd95e54cf8ce4460f8f6ce373fb3a9b947a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Faure-Lacroix?= Date: Thu, 2 Apr 2015 23:20:35 +0300 Subject: [PATCH] Moved _name up --- .../models/bank_acc_rec_statement.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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',