Closed markuskirch closed 1 year ago
@AjmalCybro please review.
We are using this module in our Odoo environment, and it throws an error because the new Odoo16 decorator "@api.model_create_multi" decorator is required for res.user inheritance.
I fixed the issue for you.
Cheers
@jiaulislam @markuskirch
Thanks for the update. Will review and update soon.
The module throws an error in the logs, because in Odoo 16 the re.users model uses batch creation of records:
The model odoo.addons.hide_menu_user.models.res_user is not overriding the create method in batch
Steps to fix: