[FIX] wrong field name

This commit is contained in:
Guewen Baconnier
2013-01-14 09:36:40 +01:00
parent 70811a9d2d
commit 01ebea67a6

View File

@@ -68,7 +68,7 @@ class AccountMoveLine(orm.Model):
(_check_currency_and_amount, (_check_currency_and_amount,
"You cannot create journal items with a secondary currency " "You cannot create journal items with a secondary currency "
"without recording both 'currency' and 'amount currency' field.", "without recording both 'currency' and 'amount currency' field.",
['currency_id','amountount_currency'] ['currency_id','amount_currency']
), ),
(_check_currency_amount, (_check_currency_amount,
"The amount expressed in the secondary currency must be positive " "The amount expressed in the secondary currency must be positive "