Wednesday, October 2, 2024
3 changes · saas-17.2
Miscellaneous changes
## Steps to reproduce: 1. Create a new batch picking (in the Inventory app) 2. Set an operation type and save 3. Open the batch picking in the barcode application ## Before this commit: Because the batch picking has an operation type, Odoo will try to load it from the cache, but since the batch picking is empty, the backend did not send any `stock.picking.type`. ## After this commit: Load the `stock.picking.type` in the frontend cache. opw-4175883 Forward-Port-Of: odoo/enterprise#
Original PR description
## Steps to reproduce: 1. Create a new batch picking (in the Inventory app) 2. Set an operation type and save 3. Open the batch picking in the barcode application ## Before this commit: Because the batch picking has an operation type, Odoo will try to load it from the cache, but since the batch picking is empty, the backend did not send any `stock.picking.type`. ## After this commit: Load the `stock.picking.type` in the frontend cache. opw-4175883 Forward-Port-Of: odoo/enterprise#70400
In #167973 (merged in 17.0+), we enabled the audit trail by default when loading the German localization. TSB requested that we indicate this explicitly in the manifest. task-none Forward-Port-Of: odoo/odoo#182295
Original PR description
In #167973 (merged in 17.0+), we enabled the audit trail by default when loading the German localization. TSB requested that we indicate this explicitly in the manifest. task-none Forward-Port-Of: odoo/odoo#182295
This issue occurs only in frontend debug (which I initially missed but odony caught), the problem is that the `InputConfirmationDialog` used for the creation dialog has a required `onInput` callback in its props but none is provided by the "new api key" button case. Props are (I assume) only validated in debug mode, so that's the only situation in which the error appears... and blocks users. While `onInput` seems like a useful hooks for input validation and stuff, it doesn't seem necessary to
Original PR description
This issue occurs only in frontend debug (which I initially missed but odony caught), the problem is that the `InputConfirmationDialog` used for the creation dialog has a required `onInput` callback in its props but none is provided by the "new api key" button case. Props are (I assume) only validated in debug mode, so that's the only situation in which the error appears... and blocks users. While `onInput` seems like a useful hooks for input validation and stuff, it doesn't seem necessary to mandate it, and the code specifically checks if it's unchecked (and ignores it in that case). OPW-4194305 Forward-Port-Of: odoo/odoo#182285