[FIX] mrp: format date in user format

Instead of hardcoded YYYY-MM-DD
t-options was introduced in 10.0

Fixes #12341
This commit is contained in:
Martin Trigaux
2017-05-29 14:00:41 +02:00
parent a0ea3304d1
commit 014f9e96b1
@@ -40,7 +40,8 @@
</div>
<div class="col-xs-3">
<strong>Printing date:</strong><br/>
<span t-esc="time.strftime('%Y-%m-%d')"/>
<span t-esc="time.strftime('%Y-%m-%d')"
t-options='{"widget": "date"}'/>
</div>
<div class="col-xs-3" t-if="'sale_ref' in o">
<strong>Partner Ref:</strong><br/>