Skip to Content
Menu
This question has been flagged
2 Replies
4900 Views

Hello,

we would like to customize our "Sales Order - Send by Email" template.

What we would include is the ordered product to be displayed as well as the total amount according to system settings. 

The total amount is displayed by standard via the following code:

<strong>${object.amount_total} ${object.pricelist_id.currency_id.name}

Unfortunately, the amount will not be displayed according to system settings, this means no decimals and the currency sign has to be put infront of the amount.

Does anyone have a suggestion how to display the total amount according to our currency settings as well as a hint on how I can retrieve the product infos out of the system?

Thank you.

Best regards,

Mike

Avatar
Discard

can you specify, in which format you want to display amount? and if you are talking about product info for products in sale order lines, then you can retrieve that info by iterating order_lines.

Author Best Answer

Thank you for your answer.

The amount should be displayed as follows: "¥ XX.XXX" (no decimals).


Could you please give an example regarding the order_lines? That´s basically what I´d like to achieve.

Thank you

Avatar
Discard