Power Email Expression

Bug #428568 reported by Mantavya Gajjar (Open ERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Power Email
Fix Released
Wishlist
Sharoon Thomas http://openlabs.co.in

Bug Description

Hello,

it would be great if PowerMail follows the OpenERP Expression format, so that all OpenERP User / Developer can understand easily and some times they can write a email configuration (with Expression) them self

Dear ${peobject.partner_order_id.title or ' '} => Dear [[ object.partner_order_id.title or ' ' ]]

This is the same format as OpenERP Reports / Server Action Emails

Regards,
M Gajjar

Related branches

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

Currently poweremail uses mako for templating which is why it has ${ } format.

Sir, is the upcoming version being released with mako templates? then this problem is not there.

However peobject can be changed to just 'object' with effect from next release

Changed in poweremail:
assignee: nobody → Sharoon Thomas (openlabs.co.in) (sharoonthomas)
importance: Undecided → Wishlist
milestone: none → 0.7
status: New → Confirmed
security vulnerability: yes → no
visibility: private → public
Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

The expression has been changed to ${object.xx} from ${peobject.xx}.
Backward compatibility is retained, so all previous templates with ${peobject} will continue to work.

Please suggest if ${} has to be replaced by [[]] as ${} will be used by mako templates.

Changed in poweremail:
status: Confirmed → In Progress
Changed in poweremail:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.