Skip to content
Snippets Groups Projects
Commit 3a9b5633 authored by Dharmraj Jhala's avatar Dharmraj Jhala Committed by qsm-odoo
Browse files

[IMP] website_form: show warning while changing form parameters

If user changes the form-parameters (like targetted model), it removes
all the existing fields without any warning and re-renders a new form
according to changed parameters.

This commit improves above behavior to prevent accidental loss of a well
designed form. Now when user changes form parameters, a warging will be
shown to user before re-rendering the form if the model is not same.

Part of https://github.com/odoo/odoo/pull/30595
task-1874350
parent 03425f13
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment