c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29441
[Bug 801540] Re: Email actions sends outdated data
Install CRM Modules + Helpdesk
Create a new automated action and just fill following fields
1 - Tab "Conditions"
Rule name : "My game, my rules"
Object : "Helpdesk"
2 - Tab "Email Actions"
Email From : "support@xxxxxxxxxxxxx" (nb: double quotes are mandatory here)
Email To : "myusername@xxxxxxxxxxxxx" (nb: double quotes are mandatory here)
Body : Fill text data with keywords
3 - Create a new helpdesk report with query text set to "My request 001"
Check your mail box, you should receive an email with data of the object (state n)
4 - Edit the same helpdesk and change the query text to "My request 002"
Check your mail box, you should receive an email with OLD data of the object (My request 001) (state n-1)
5 - Edit the same helpdesk and just press SAVE
Check your mail box, you should receive an email with OLD data of the object (My request 002) (state n-1)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/801540
Title:
Email actions sends outdated data
Status in OpenERP Modules (addons):
Incomplete
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/801540/+subscriptions
References