Reputation: 805
When I take the print of a qweb report, I want to add more space between the date field : Day - Month - Year
What to do ?
Current code :
<span t-field="o.con_date" t-field-options="{"format": "dd MM yyyy"}"></span>
Upvotes: 1
Views: 2222
Reputation: 805
This solved the problem. What I have done here is simple (haven't thought before).
I have seperated the dd
, mm
and yyyy
.
 
is used for creating spaces between them.
If you need extra spaces, you can just add more  
<span t-field="o.con_date" t-field-options="{"format": "dd "}"/> <span t-field="o.con_date" t-field-options="{"format": "MM "}"/> <span t-field="o.con_date" t-field-options="{"format": "yyyy "}"/> 
Upvotes: 1