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#46150closesodoo/odoo#46552
X-original-commit: 88104afaa07f80261d3198abd71b7bea7c1cf3f4
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>