Unable to enter timesheet lines from sao
When entering timesheet lines from Timesheet -> Enter Timesheet sao fails with the following error:
TypeError: date.format is not a function
return date.format(Sao.common.moment_format(date_format));
After trying to save a new record from the tree view.
When using the form view, the following error is raised:
TypeError: value.year is not a function
'year': value.year(),
I tested on demo.tryton.org and version 4.0 is also affected.