Reputation: 137
please, how do I display the month in the form? example: 07/04/2019 i want to change it in 07 april, 2019 Thank you in advance
Upvotes: 1
Views: 131
Reputation: 19
@Navi asked how to do it in the code so here are 2 way to do it:
If you want to get this in the code, you can edit the file odoo/addons/base/data/res.lang.csv
You can also update it in the code with
self.env['res.lang']._lang_get(self.env.user.lang).date_format = '%d %A, %Y'
or
<record id="base.lang_fr" model="res.lang">
<field name="date_format">%d %A, %Y</field>
</record>
However you really shouldn't do it in the code.
Upvotes: 2
Reputation: 11143
Try with following steps:
Upvotes: 2