From 4ecf20ea604bde9986975827a6daed6e3e09df0c Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Fri, 3 Feb 2012 14:53:02 +0100 Subject: [PATCH] [FIX] currency_rate_update - change on_changes in non private methods (lp:c2c-addons/6.1 rev 18) --- currency_rate_update/company.py | 4 ++-- currency_rate_update/company_view.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/currency_rate_update/company.py b/currency_rate_update/company.py index 7646d3e0f..1b8976cb4 100644 --- a/currency_rate_update/company.py +++ b/currency_rate_update/company.py @@ -56,7 +56,7 @@ class res_company(osv.osv): return True - def _on_change_auto_currency_up(self, cr, uid, id, value): + def on_change_auto_currency_up(self, cr, uid, id, value): """handle the activation of the currecny update on compagnies. There are two ways of implementing multi_company currency, the currency is shared or not. The module take care of the two @@ -117,7 +117,7 @@ class res_company(osv.osv): return {} - def _on_change_intervall(self, cr, uid, id, interval) : + def on_change_intervall(self, cr, uid, id, interval) : ###Function that will update the cron ###freqeuence self.pool.get('currency.rate.update').save_cron( diff --git a/currency_rate_update/company_view.xml b/currency_rate_update/company_view.xml index 7f424115e..c7afffa96 100755 --- a/currency_rate_update/company_view.xml +++ b/currency_rate_update/company_view.xml @@ -8,8 +8,8 @@ - - + +