mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[IMP] Improve error message for account_journal_period_close
This commit is contained in:
@@ -43,7 +43,7 @@ class AccountJournalPeriod(orm.Model):
|
||||
|
||||
_sql_constraints = [
|
||||
('journal_period_uniq', 'unique(period_id, journal_id)',
|
||||
'You can not add both same journal in a period.'),
|
||||
'You can not add same journal in the same period twice.'),
|
||||
]
|
||||
|
||||
def _check(self, cr, uid, ids, context=None):
|
||||
|
||||
Reference in New Issue
Block a user