Email actions sends outdated data
Bug #801540 reported by
Yann Papouin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 1 |
Bug Description
With OpenERP 6.0.2 and automated actions from CRM module.
I planned to automatically send an email after each record changes.
When i click on "Save" an email is sent with my object data at state "n-1".
For example with a crm.helpdesk object named "Record number one"
I change its name property with "Record number two" and click on "Save" then an email is sent, and in this one the [[object]] is always at the "n" state so the [[object.name]] property shows "Record number one".
It looks like the mail is sent before the database update.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-801540-dbr
- Bhumika Shrimali (community): Approve
- DBR (OpenERP) (community): Needs Resubmitting
-
Diff: 93 lines (+26/-20)1 file modifiedbase_action_rule/base_action_rule.py (+26/-20)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello Yann,
I have checked your bug report. But I did not get totally it.
How you configure your base action rule?
So would you please provide me a proper steps on this or provide me a more information.
Thanks and waiting for your reply!