mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
FIX access rights issue when user was not accounting manager
This commit is contained in:
committed by
Florian da Costa
parent
746c7a7330
commit
ac391f2ae4
@@ -75,7 +75,7 @@ class AccountCheckDeposit(models.Model):
|
||||
required=True, states={'done': [('readonly', '=', True)]})
|
||||
journal_default_account_id = fields.Many2one(
|
||||
'account.account', related='journal_id.default_debit_account_id',
|
||||
string='Default Debit Account of the Journal')
|
||||
string='Default Debit Account of the Journal', readonly=True)
|
||||
currency_id = fields.Many2one(
|
||||
'res.currency', string='Currency', required=True,
|
||||
states={'done': [('readonly', '=', True)]})
|
||||
|
||||
Reference in New Issue
Block a user