Monday, August 11, 2025
4 changes · 17.0
Resolved issues and error corrections
The system now shows a clear user-facing error when a sequence prefix or suffix contains an invalid placeholder. This prevents confusing technical crashes when users create records such as sales orders with incorrectly configured numbering rules.
Original PR description
Currently, an error is raised when a sequence is generated with an invalid legend in the prefix or suffix. **Steps to reproduce:** - Install Sales module. - Update the sale order sequence prefix to S%(days)s. - Create a new sale order. **Error:** `KeyError - 'days'` **Cause:** An error occurs when the user provides an invalid suffix in `ir_sequence` and the system tries to generate that sequence at [1]. [1] - https://github.com/odoo/odoo/blob/18da9b6dfc9dc376700cd948a09ae201bf897990/odoo/addons/base/models/ir_sequence.py#L235-L236 **Fix:** To resolve the issue, raise a user error for an invalid sequence. **Ref:** https://github.com/odoo/odoo/commit/18cac1caa21149d70009aa50f3e90dfbc18456a3 Sentry - 6684586181
A calendar test was corrected to use valid default record information, ensuring it checks the intended fallback behavior accurately. This helps keep automated quality checks reliable and reduces the risk of calendar-related regressions reaching users.
Original PR description
Use valid res_model/res_id in context defaults runbot-235289 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The default Swiss contractual 13th month salary rate was adjusted from 8.33% to 8.3333%. This improves payroll accuracy for Swiss employees by aligning the calculation more closely with the expected annual proportion.
Original PR description
-changed the default contractual thirteen month rate for Switzerland from 8.33 to 8.3333
Scheduled e-signature reminders now handle requests that do not have an expiration date. This prevents the reminder job from crashing and helps ensure signing reminders continue to be sent reliably.
Original PR description
The cron can fetch record with no validity date,
so the check request.validity < today
raise
```
Traceback (most recent call last):
File "/home/odoo/src/odoo/saas-18.3/odoo/tools/safe_eval.py", line 397, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ir.actions.server(5136,)", line 3, in <module>
File "/home/odoo/src/enterprise/saas-18.3/sign/models/sign_request.py", line 437, in _cron_reminder
if request.validity < today:
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'bool' and 'datetime.date'
```