From f86dbe5aa1f3e3e9b86aa291ec7d1e43fafe2f6a Mon Sep 17 00:00:00 2001 From: "Guewen Baconnier @ Camptocamp" Date: Thu, 20 Dec 2012 11:59:57 +0100 Subject: [PATCH] [FIX] remove the dependency on base_scheduler_creator, it doesn't work on webclient 6.1 (and is very optional for the usage of the module) --- account_easy_reconcile/__openerp__.py | 2 +- account_easy_reconcile/easy_reconcile.py | 3 +-- account_easy_reconcile/easy_reconcile.xml | 14 -------------- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/account_easy_reconcile/__openerp__.py b/account_easy_reconcile/__openerp__.py index 3d341325..d52b8482 100755 --- a/account_easy_reconcile/__openerp__.py +++ b/account_easy_reconcile/__openerp__.py @@ -22,7 +22,7 @@ { "name" : "Easy Reconcile", "version" : "1.1", - "depends" : ["account", "base_scheduler_creator" + "depends" : ["account", ], "author" : "Akretion,Camptocamp", "description": """ diff --git a/account_easy_reconcile/easy_reconcile.py b/account_easy_reconcile/easy_reconcile.py index 6a2899cd..8bab1e86 100644 --- a/account_easy_reconcile/easy_reconcile.py +++ b/account_easy_reconcile/easy_reconcile.py @@ -141,7 +141,6 @@ class account_easy_reconcile(Model): 'name': fields.char('Name', size=64, required=True), 'account': fields.many2one('account.account', 'Account', required=True), 'reconcile_method': fields.one2many('account.easy.reconcile.method', 'task_id', 'Method'), - 'scheduler': fields.many2one('ir.cron', 'scheduler', readonly=True), 'rec_log': fields.text('log', readonly=True), 'unreconciled_count': fields.function(_get_total_unrec, type='integer', string='Fully Unreconciled Entries'), @@ -152,7 +151,7 @@ class account_easy_reconcile(Model): def copy_data(self, cr, uid, id, default=None, context=None): if default is None: default = {} - default = dict(default, rec_log=False, scheduler=False) + default = dict(default, rec_log=False) return super(account_easy_reconcile, self).copy_data( cr, uid, id, default=default, context=context) diff --git a/account_easy_reconcile/easy_reconcile.xml b/account_easy_reconcile/easy_reconcile.xml index 1bd84c66..fecef540 100644 --- a/account_easy_reconcile/easy_reconcile.xml +++ b/account_easy_reconcile/easy_reconcile.xml @@ -15,7 +15,6 @@ - @@ -48,7 +47,6 @@ The lines should have the same amount (with the write-off) and the same partner - @@ -61,7 +59,6 @@ The lines should have the same amount (with the write-off) and the same partner account.easy.reconcile form tree,form - {'wizard_object' : 'account.easy.reconcile', 'function' : 'action_rec_auto', 'object_link' : 'account.easy.reconcile' } @@ -109,16 +106,5 @@ The lines should have the same amount (with the write-off) and the same partner - - - - - client_action_multi - account.easy.reconcile - Create a Scheduler - - - -