[FIX] related_sudo=False in order to get currency with the current user not admin

This commit is contained in:
vrenaville
2015-07-29 09:56:02 +02:00
parent d806ded277
commit cf1f117362

View File

@@ -26,7 +26,8 @@ class AccountBankStatementLine(models.Model):
currency_symbol = fields.Char(
string='Journal Currency',
related='statement_id.currency.symbol', readonly=True)
related='statement_id.currency.symbol',
related_sudo=False, readonly=True)
class AccountBankStatement(models.Model):