diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-10-20 14:02:23 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-10-21 13:18:32 +0000 |
| commit | 2c60ebd89c1c4a18e663b7c5b2dd7ca34d2a37e9 (patch) | |
| tree | 00d2849eb02a5bfd04a7b4e02f420f81e8f56f15 /setup | |
| parent | 3229239c2a738cc99820dba0fce1bd1c2a3536ea (diff) | |
[FIX] website_form: Required hidden field is not saved
Issue
- Install "Website" app
- Go to "Contact us" page on website
- Edit Page, then click on submit button to
edit form style
- Alter 'Recipient Email' then save
- Edit Page and click on submit button
'Recipient Email' have default value.
Cause
If a field is required, the default value is set without
checking if a value is already set.
Solution
Set current value if available, else default value.
opw-2361169
closes odoo/odoo#60452
X-original-commit: e29d2818abf0e7902feb26c9e0b4809c9a3351c6
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'setup')
0 files changed, 0 insertions, 0 deletions
