summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2020-02-27 14:18:13 +0000
committerjvm-odoo <jvm@odoo.com>2020-02-28 12:22:22 +0000
commite29e2e31f6d07830852c51735cd8b8c4e05af0ae (patch)
tree5b6dcd4b0c83ff15bb79cc79bc4359d70acb2513 /addons/web
parent7fa9aa9f7d25d518f4356ab4bd7a93203456a69d (diff)
[FIX] hr_holidays: fix traceback when clicking schedule next activity
Issue - Time Off - Managers > All > Time Off - Any form > Schedule Activity > Any activity > Schedule - Mark as Done > Done & Schedule Next Traceback "field can_reset does not exist" Cause In ir.ui.view the postprocess_and_fields tries to return an architecture and a description of all the fields of mail model (with view=False) but as we have a context key 'form_view_ref' with value hr_holidays.hr_leave_view_form_manager It loads the field of this view's model too and then it compare them to the mail model fields. Solution Move the view ref into view_ids OPW-2205031 closes #46150 closes odoo/odoo#46552 X-original-commit: 88104afaa07f80261d3198abd71b7bea7c1cf3f4 Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions