summaryrefslogtreecommitdiff
path: root/addons/website/controllers/main.py
diff options
context:
space:
mode:
authorRim BEN DHAOU <rim.bendhaou@savoirfairelinux.com>2019-04-15 22:17:46 +0000
committerNans Lefebvre <len@odoo.com>2019-06-03 11:15:08 +0000
commit58d414ec1c0c1559435eb3fc9ebdc5cf549efa4f (patch)
tree5239ec8f61c5cb546d8c612a09d644e33c901ed4 /addons/website/controllers/main.py
parentdea93a683b2d827d1cd26f754524cee0406e2d71 (diff)
[FIX] calendar: fix required conditions for subfields of recurrent events
For recurrent events, many fields are set to define the recurrency; these fields are invisible unless (recurrency', '=', True). However there are fields that depend on fields to define the recurrency, which are required in some cases. However in case where recurrency is later set to False, no onchange cleans up the intermediary values (this is taken care of in the create), but the 'required' on the non-relevant fields might prevent from saving. We fix these cases by adding the recurrency in the list of requirements. opw 2002181 closes odoo/odoo#32698 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/website/controllers/main.py')
0 files changed, 0 insertions, 0 deletions