I´m writing a custom module that had models that inherits from res.users to create custom users with some new filds.
I´m using delegation inheritance type to have another table for the fields of my custom users.
The schema is similar to: res.partner-->res.users-->custom_users.
I named the custom users "progenitor_tutor". I can access fields of res.users and res.partners like email or login from my custom view, but the problem is that when I´m trying to create a new custom user from the custom user view, a pop up appears and says:
Odoo Server Error - Validation Error
And the res.partner, res.users, and progenitor_tutor (the custom user) datas are not created.
This is the code of my custom view and the custom model:
------------------------
</odoo>
---------------------------
format your code