Browse Source
This exception is raised, when: ``` rslt = super().write(vals) File "/custom_addons/hide_menu_user/models/res_users.py", line 37, in write menu.restrict_user_ids = [fields.Command.link(self.id)] File "/opt/prod-odoo17/odoo/fields.py", line 5140, in __get__ raise ValueError("Expected singleton: %s" % record) ValueError: Expected singleton: res.users(2, 46, 41, 43, 44, 48, 8, 40, 39, 47, 7, 49, 6, 45, 42, 9) ```pull/317/head
committed by
GitHub
1 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue