Sunday, October 1, 2023
2 changes · master
Miscellaneous changes
To reproduce ============ - fill in the salary configurator with a birthdate = 02/02/0090 -> sign the contract - on the applicant try then to go to the employee - consequence: it prevent the applicants to resign his salary and the HR cannot go to the employee to fix the data Problem ======= there is no validation on Birthdate Field, even if `min="1900-01-01"` is present, it limits the date range selection from the widget but we still can type by keyboard an older date and still be a
Original PR description
To reproduce ============ - fill in the salary configurator with a birthdate = 02/02/0090 -> sign the contract - on the applicant try then to go to the employee - consequence: it prevent the applicants to resign his salary and the HR cannot go to the employee to fix the data Problem ======= there is no validation on Birthdate Field, even if `min="1900-01-01"` is present, it limits the date range selection from the widget but we still can type by keyboard an older date and still be accepted. Solution ======== when creating the Employee record, check the Birthdate's validity, if it's not valid we leave it blank opw-3508457 Forward-Port-Of: odoo/enterprise#47551
…sue directly Having the reference of the error in the message was confusing and customers have trouble providing all informations directly when opening an issue with Odoo. To speed up the process of handling issues, directly propose when an error occurs, the possibility to open a new issue with Odoo. This is done using a redirectWarning that will open a new issue with the summary and description already filled with all the informations needed by the functional support to analyze the issue
Original PR description
…sue directly Having the reference of the error in the message was confusing and customers have trouble providing all informations directly when opening an issue with Odoo. To speed up the process of handling issues, directly propose when an error occurs, the possibility to open a new issue with Odoo. This is done using a redirectWarning that will open a new issue with the summary and description already filled with all the informations needed by the functional support to analyze the issue Task: 2823656 X-original-commit: 04dcdc584ddf665f0614f0994b9018cb0bbd6596 Forward-Port-Of: odoo/enterprise#48140