← Back to team overview

openerp-india team mailing list archive

[Bug 944197] Re: Action Rules don't work right after server is started

 

I everybody,

This bug is now fixed but is waiting for a review. To resolve this issues we add a step after the loading of the database which execute the _register_hook method on every installed model. The _register_hook method belongs now to every openERP model. In addition to resolving this problem, we changed the way to define action_rule's conditions. 
Define a action rule condition can be done with a precondition filter and postcondition filter in addition to the condition on timing.
This fix and improvement will be soon released.

Good luck,

Arnaud Pineux

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

-- 
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/944197

Title:
  Action Rules don't work right after server is started

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Automated Actions that are run on write will only run after the
  scheduled "Check actions" runs for the first time.

  To repeat:
  - Create an automated action, with no conditions (it will fire on every save)
  - Save and test it: it will run correctly.
  - Restart the server and test it again immediatly after it's available: nothhing will happen (!)
  - Wait until the scheduler runs "Check Action Rules" and then test again: now it will work correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/944197/+subscriptions


References