Merge pull request #202 from vrenaville/fix_related_currency_field

[FIX] multicompany
This commit is contained in:
Alexandre Fayolle
2015-07-31 13:24:51 +02:00

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):