← Back to team overview

openerp-india team mailing list archive

[Bug 1004381] Re: [6.1] base_action_rule ir.cron inherits with method _poolJobs does nothing

 

Hi Jignesh,

I don't see where the bug is.... You didn't explain any issue but just an observation.
Please try to be clear in your explanation and try to put them in the good section.
This can be put in section "Question" but it has nothing to do with a bug.
The base_action_rule is currently in development so I close this bug report.

Tanks anyways and good luck,

Arnaud Pineux

** Changed in: openobject-addons
       Status: Confirmed => Invalid

-- 
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):
  Invalid

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


References