Action Rules don't work right after server is started
Bug #944197 reported by
Daniel Reis
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 1 | ||
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned | ||
OpenERP Community Backports (Addons) |
Fix Released
|
Medium
|
Yann Papouin | ||
6.1 |
Fix Released
|
Undecided
|
Unassigned | ||
OpenERP Community Backports (Server) |
Fix Released
|
Medium
|
Yann Papouin | ||
6.1 |
Fix Released
|
Undecided
|
Unassigned |
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.
Related branches
lp:~openerp-dev/openobject-addons/trunk-base-action-rule-api
- Olivier Dony (Odoo): Pending requested
- qdp (OpenERP): Pending requested
- Diff: 0 lines
lp:~openerp-dev/openobject-server/trunk-base-action-rule-api
- Raphael Collet (OpenERP) (community): Approve
- Olivier Dony (Odoo): Pending requested
- qdp (OpenERP): Pending requested
-
Diff: 29 lines (+9/-0)2 files modifiedopenerp/modules/loading.py (+5/-0)
openerp/osv/orm.py (+4/-0)
lp:~yann-papouin/openobject-server/6.1-bug-944197-register-hook-server-start
Ready for review
for merging
into
lp:openobject-server/6.1
- OpenERP Core Team: Pending requested
-
Diff: 39 lines (+11/-1)2 files modifiedopenerp/modules/loading.py (+6/-0)
openerp/osv/orm.py (+5/-1)
lp:~yann-papouin/openobject-addons/6.1-bug-944197-action-rule-register-hook
Ready for review
for merging
into
lp:openobject-addons/6.1
- OpenERP Core Team: Pending requested
-
Diff: 26 lines (+4/-1)1 file modifiedbase_action_rule/base_action_rule.py (+4/-1)
lp:~yann-papouin/ocb-addons/6.1-bug-944197-action-rule-register-hook
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Approve
-
Diff: 26 lines (+4/-1)1 file modifiedbase_action_rule/base_action_rule.py (+4/-1)
lp:~yann-papouin/ocb-server/6.1-bug-944197-register-hook-server-start
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Approve
-
Diff: 39 lines (+11/-1)2 files modifiedopenerp/modules/loading.py (+6/-0)
openerp/osv/orm.py (+5/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Confirmed |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Changed in openobject-server: | |
status: | New → Fix Released |
Changed in ocb-server: | |
assignee: | nobody → Yann Papouin (yann-papouin) |
Changed in ocb-addons: | |
assignee: | nobody → Yann Papouin (yann-papouin) |
Changed in ocb-addons: | |
importance: | Undecided → Medium |
Changed in ocb-server: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in ocb-addons: | |
status: | New → Fix Committed |
Changed in ocb-addons: | |
status: | Fix Committed → Fix Released |
Changed in ocb-server: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Daniel,
I have faced the same problem at my end.
First time the Automated Action runs correctly as per your scenario (at the creation time) , when I am restart the server then Automated Action doesn't runs perfectly It will run when the action is called.
I have attached the video for this which will describe the problem reported on lp:943410 and the video is also showing also this problem.
Thanks