Skip to content
Snippets Groups Projects
Commit 5be43f8c authored by Benjamin Vray's avatar Benjamin Vray
Browse files

[FIX] stock_sms: add order number in sms

Add order number in the sms wich indicates
that the order has been shipped

task-id: 2070836
parent 39f49200
Branches
Tags
No related merge requests found
......@@ -4,10 +4,16 @@
<record id="sms_template_data_stock_delivery" model="sms.template">
<field name="name">Delivery: Send by SMS Text Message</field>
<field name="model_id" ref="stock.model_stock_picking"/>
<field name="body">${object.company_id.name}: We are glad to inform you that your order has been shipped.
%if object.carrier_tracking_ref:
Your tracking reference is ${object.carrier_tracking_ref}.
%endif</field>
<field name="body">
%if object.origin:
${object.company_id.name}: We are glad to inform you that your order n° ${object.origin} has been shipped.
%else:
${object.company_id.name}: We are glad to inform you that your order has been shipped.
%endif
%if object.carrier_tracking_ref:
Your tracking reference is ${object.carrier_tracking_ref}.
%endif
</field>
</record>
</data>
</odoo>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment