Is the any way to show in a form view a date field, only showing the selected week,
i cannot do it through settings -> Translations -> .... because is only this field who has to show the week of the year, the other date fields are standard format.
I can achieve the result in the qweb report, like this
t-esc="time.strftime('%W',time.strptime(o.requested_date,'%Y-%m-%d %H:%M:%S'))"
But i cannot do it in form wiew.
Any help.
Thanls in advance.
Kind regards.
Hi,
I guess, Odoo standard tools do not allow it. You should develop your own js widget. Have a look here: https://www.odoo.com/documentation/8.0/reference/javascript.html