Automated Actions with Timing conditions don't seem to fire
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 1 |
Bug Description
To reproduce:
1) Create an Automated Action (Sales > Configuration > Automated Actions > Automated Actions) with Object set to crm.lead, Trigger Date set to Creation Date and Delay After Trigger Date set to 1 minute. Set "Set State To" in the Actions tab to Open.
2) Create a new Lead.
3) Wait for at least one minute.
4) Manually run the 'Check Action Rules' scheduler action (Administration > Configuration > Scheduler > Scheduled Actions) by setting the 'Next Call Date' in the past and saving.
Expected result:
The created Lead to be in the Open state.
Actual result:
No change to the created Lead.
If you remove the Trigger Date settings, then the Lead will be set to the Open state as soon as it is created.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 147 lines (+55/-40)1 file modifiedbase_action_rule/base_action_rule.py (+55/-40)
- OpenERP Core Team: Pending requested
-
Diff: 177 lines (+32/-15)9 files modifiedcrm/crm.py (+13/-1)
crm/crm_meeting_view.xml (+1/-1)
crm/wizard/crm_add_note_view.xml (+1/-1)
l10n_ch/wizard/create_dta.py (+0/-1)
mrp/mrp.py (+1/-2)
project/wizard/project_task_close.py (+9/-3)
project/wizard/project_task_delegate.py (+4/-4)
project_planning/project_planning_demo.xml (+2/-2)
thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/tiny_xmlrpc.js (+1/-0)
- OpenERP Core Team: Pending requested
- Diff: 0 lines
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
milestone: | none → 6.0-rc2 |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
I'm not sure if this is a bug in crm.crm_action_rule or a bug in base_action_rule itself. I suspect the latter.