Open moerazem opened 9 years ago
Hi,
In the module base, the action window _base.action_resusers has no value defined for the field domain. In smile_access_control, we set a value for this field on this record. Uninstalling a module don't empty fields which were not set, so you have to manually update the action window to empty the field domain.
Hi, I had the same issue and get field domain empty as you said, Now the problem is that the user form view is limited, I have access to only few parameters now, like just phone and e-mail...
Hi,
That's another problem caused by uninstallation... In smile_access_control, we override native actions of module base:
<record id="base.action_res_users" model="ir.actions.act_window">
<field name="domain">[('user_profile', '=', False)]</field>
</record>
<record id="base.action_res_users_view2" model="ir.actions.act_window.view">
<field name="view_id" ref="view_res_user_form"/>
</record>
When you uninstall, the view smile_access_control.view_res_user_form is deleted, so the "view_id" of the action can't be found anymore. Odoo search the first form view for res.users and he opens it. You can edit this action and assign "view_id" with the view "res.users.form" (base.view_users_form).
Hi, Thanks for your answer, I set the view_id according to your answer and the problem's still here..!
Under developer tools,
Go to technical in settings,
windows actions --> then filter name by users.
you will find user_profile in actions, remove the domain value and you'll be fine.
Hi,
I install Access Control module for a test. I then uninstalled it and i get this error: