Button and TimeDelta field bug in production_work
I have two problems with the production_work module. In a production.work record:
- I press start and a cycle is added
- I open the cycle by clicking twice on the line
- I fill in the duration field, I click somewhere else to update and the done button stays readonly
- I empty the duration field and the button is still readonly.
This is a minor problem, because I can still save the lines with the duration I want, but I should be able to click the done button in the cycle when I set the duration.
The other problem only happens in Spanish client, it doesn't happen with the English client.
When I open a cycle in done status with a duration and click on the duration field, the timedelta value is changed, if I close it, it is also updated. For example the duration 00:00:08.537717 is changed and 3M 1S 1d 19:35:17 appears.