Hello,
I have the system configured that the client can add "customer reference" (eg. order 12/01) in the last step of shopping cart, after he pays he gets an email with confirmation. I would like to show the "customer reference" in the topic of the email.
Right now the the topic is:
{{ object.company_id.name }} {{ (object.get_portal_last_transaction().state == 'pending') and 'Pending Order' or 'Order' }} (Ref {{ object.name or 'n/a' }})
It should be:
{{ object.company_id.name }} {{ (object.get_portal_last_transaction().state == 'pending') and 'Pending Order' or 'Order' }} (Ref {{ object.name or 'n/a' }}) (order 12/01)
resolved: I added ({{ object.client_order_ref or 'n/a' }})
Regards,
Piotr