[MIG][web_widget_char_size]: Migration to 19.0 - #3647
jmanuelmendozacoronado-hoverture wants to merge 10 commits into
Conversation
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
Only functional review!
tarteo
left a comment
There was a problem hiding this comment.
Please reword the migration commit from
[MIG][web_widget_char_size] Migration to 19.0
to
[MIG] web_widget_char_size: Migration to 19.0
Tested on runboat works but only for simple char fields, website (with widget url) doesn't work, although this is also the case in 18.0
cce16f0 to
cf0335e
Compare
cf0335e to
73789dd
Compare
Hello! I've updated the commit message as requested. I've also fixed the issue where the module wasn't working with other char fields like url, phone, and email/website. It should now apply the size limit correctly to all of them. |
|
I'm on leave atm (until October), so please continue if I don't reply |
[MIG] web_widget_char_size: Migration to 19.0
Description
This PR migrates the
web_widget_char_sizemodule to Odoo 19.0.This technical module allows developers to add a
sizeoption toCharfields in the web client (e.g.,<field name="ref" options="{'size': 5}"/>), which restricts the input to the specified number of characters at the UI level.Changes
19.0.1.0.0in__manifest__.py.CharField.prototypeandextractPropsremains fully compatible with the Odoo 19 web framework without requiring structural changes.README.mdin the list of available addons.(Note: As documented in previous versions, this extension applies strictly to the base
CharFieldand does not affect fields that utilize specialized wrappers or autocomplete widgets, such asEmailFieldor thevatcombobox).