Look at my last comment in bug#689576: The message error (SyntaxError: invalid syntax) appeared because you have to embed all emails with double quotes:
-- 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): Confirmed 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 _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

