Monday, October 28, 2024
3 changes
2 changes
Enhancements to existing features
The timesheet leaderboard now labels totals with the relevant month abbreviation, making it clearer which period the figures refer to. This small wording improvement helps users interpret leaderboard results more quickly and reduces ambiguity.
Original PR description
- Change "total" to "timesheets [month abbreviation]". task-3906433
This update renames an internal controller setting from “json” to “jsonrpc” to better reflect how Odoo web requests work. It does not change how users or integrations call these features, but it reduces confusion for developers and helps prevent future misconfiguration.
Original PR description
1 change
Enhancements to existing features
The event badge printing setup now keeps only the supported 96x82mm Epson badge format and removes the unsupported 96x134mm option. Printed badge notifications also show the badge type, such as VIP or Standard, making it clearer which badge was produced.
Original PR description
in this [PR](https://github.com/odoo/odoo/pull/179903) configured two badge formats for the EPSON C4000e printer: - 96x82mm, - 96x134mm. As we don't have a dedicated proper template for the 96x134mm format, we remove it. In addition, we added the badge type (e.g. VIP, Standard, ...) in the notification displayed once a badge is printed. Tasks: 4231455, 4229143
The json type is actually Odoo-RPC over Json-RPC. The "type='json'" name has been a source of confusion for years now. Fix it. It changes nothing to the way those controller are called. It only changes the way those controllers should be defined in the source code. New occurences of `@route(type='json')` are going to raise an error for an unknown controller type. If you want a cross-version compatible thing you can do: ```py @route(type='json' if odoo.release.version_info < (18, 0) else 'jsonrpc') ``` or ```py @route(type=odoo.http.JsonRPCDispatcher.routing_type) ``` A upgrade-code script exists '18.1-02-route-jsonrpc.py', use it via the new command line: ./odoo-bin code_upgrade. task-4257153