I want to restrict creation and modification of contact titles when modifying a contact via the res.partner.form view with a self written module.
I already tried to set access_rules, but they seem to have no impact, to my understanding its because you cannot revoke access to something via a custom module?
Furthermore I created a new model to inherit res.partner.title and set access control on it, however there is still the option to edit and create Titles via Drop-Down.
It is not strictly required to solve this with access_rules, as long as there is no option to create new titles via the form view the problem would be solved.
Any tips and hints are appreciated!