Public bug reported:
On addons/base_action_rule/base_action_rule.py ir.cron inherited model have
following method:
def _poolJobs(self, db_name, check=False):
if not self._init_done:
self._init_done = True
try:
db = pooler.get_db(db_name)
except:
return False
cr = db.cursor()
try:
next = datetime.now().strftime('%Y-%m-%d %H:00:00')
# Putting nextcall always less than current time in order to
call it every time
cr.execute('UPDATE ir_cron set nextcall = \'%s\' where
numbercall<>0 and active and model=\'base.action.rule\' ' % (next))
finally:
cr.commit()
cr.close()
super(ir_cron, self)._poolJobs(db_name, check=check)
But this is has only 6.0. And now 6.1 does not have this method
anywhere.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1004381
Title:
[6.1] base_action_rule ir.cron inherits with method _poolJobs does
nothing
Status in OpenERP Addons (modules):
New
Bug description:
On addons/base_action_rule/base_action_rule.py ir.cron inherited model have
following method:
def _poolJobs(self, db_name, check=False):
if not self._init_done:
self._init_done = True
try:
db = pooler.get_db(db_name)
except:
return False
cr = db.cursor()
try:
next = datetime.now().strftime('%Y-%m-%d %H:00:00')
# Putting nextcall always less than current time in order to
call it every time
cr.execute('UPDATE ir_cron set nextcall = \'%s\' where
numbercall<>0 and active and model=\'base.action.rule\' ' % (next))
finally:
cr.commit()
cr.close()
super(ir_cron, self)._poolJobs(db_name, check=check)
But this is has only 6.0. And now 6.1 does not have this method
anywhere.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1004381/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help : https://help.launchpad.net/ListHelp