From 01ebea67a6667844f86dbf7374edd8716418f28b Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Mon, 14 Jan 2013 09:36:40 +0100 Subject: [PATCH] [FIX] wrong field name --- account_constraints/account_constraints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_constraints/account_constraints.py b/account_constraints/account_constraints.py index b9153e4b4..861005daa 100644 --- a/account_constraints/account_constraints.py +++ b/account_constraints/account_constraints.py @@ -68,7 +68,7 @@ class AccountMoveLine(orm.Model): (_check_currency_and_amount, "You cannot create journal items with a secondary currency " "without recording both 'currency' and 'amount currency' field.", - ['currency_id','amountount_currency'] + ['currency_id','amount_currency'] ), (_check_currency_amount, "The amount expressed in the secondary currency must be positive "