Files
odoo_source/addons
Jason Van Malder cf2f53e4cf [FIX] web_editor: fix required html fields
Issue

    - Studio
    - Add an required html field
    - Create new record
    - Leave it empty

    It is saved

Cause

    The isSet function of FieldHtml widget, have a "/" in the <br> tag
    and summernote empty = <p><br></p>. If you add a space, the value
    becomes <p>&nbsp;&nbsp;   <p>.

Solution

    Remove the "/" and the spaces, check if value != <p></p> &&
    <p><br></p>

OPW-2183687

closes odoo/odoo#44427

X-original-commit: c984b1b1210cea1e63f3bc66cec2120554c76c2a
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-01-31 17:20:34 +00:00
..
2020-01-28 13:58:05 +00:00
2020-01-02 12:09:30 +00:00
2020-01-06 08:26:28 +00:00
2020-01-21 06:56:14 +00:00
2020-01-13 09:50:04 +00:00
2020-01-31 12:38:33 +00:00
2020-01-28 13:58:05 +00:00
2020-01-31 13:43:20 +00:00