From 60096982cf41cd91ddcf6c2e90a638a125fc47ac Mon Sep 17 00:00:00 2001 From: nvi-openerp Date: Tue, 23 Nov 2010 15:47:12 +0100 Subject: [PATCH] [IMP] Removed useless feature. bzr revid: nicolas.vanhoren@openerp.com-20101123144712-s59yvzvp6czoq27n --- bin/addons/base/publisher_warranty/publisher_warranty.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bin/addons/base/publisher_warranty/publisher_warranty.py b/bin/addons/base/publisher_warranty/publisher_warranty.py index 5b47d7bb990..9c5b6be0628 100644 --- a/bin/addons/base/publisher_warranty/publisher_warranty.py +++ b/bin/addons/base/publisher_warranty/publisher_warranty.py @@ -150,15 +150,6 @@ class publisher_warranty_contract(osv.osv): "state": state, }) - if cron_mode and result["interval_type"] and result["interval_number"]: - modosv = self.pool.get("ir.model.data") - sched_id = modosv.get_object_reference(cr, uid, "base", "ir_cron_ping_scheduler")[1] - cronosv = self.pool.get("ir.cron") - cronosv.write(cr, uid, sched_id, { - "interval_type": result["interval_type"], - "interval_number": result["interval_number"], - }) - for message in result["messages"]: self.pool.get('res.log').create(cr, uid, {