From e808baf4d6928b4ff80d38173548060e530e8c22 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 13 Sep 2012 13:54:46 +0200 Subject: [PATCH] [FIX] account_analytic_analysis: reminder should report consumed hours using the correct field As the hours_quantity field is used to flag an account as `to renew`, it should be used as well when reporting the consumed quantity. bzr revid: odo@openerp.com-20120913115446-ed9jrq2bode3kboq --- .../account_analytic_analysis/cron_account_analytic_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_analytic_analysis/cron_account_analytic_account.py b/addons/account_analytic_analysis/cron_account_analytic_account.py index 23202ff973a..7368cfaa2c5 100644 --- a/addons/account_analytic_analysis/cron_account_analytic_account.py +++ b/addons/account_analytic_analysis/cron_account_analytic_account.py @@ -28,7 +28,7 @@ Here is the list of contracts to renew: % for account in accounts: - Name: ${account.name} % if account.quantity_max != 0.0: - - Quantity: ${account.quantity}/${account.quantity_max} hours + - Quantity: ${account.hours_quantity}/${account.quantity_max} hours % endif - Dates: ${account.date_start} to ${account.date and account.date or '???'} - Contacts: