Continuing the discussion from Session Start Failed - Notification Settings :
after upgrading the ERP version from 12 to 13 we facing the above issues for some users after logging into the ERP
@rmehta is this bug? or need to update any user permission here?
@all is there any solution for this or any one faced this before?
solutions welcome
Thanks in advance
1 Like
skanel
September 17, 2022, 10:59am
2
first, you need to delete this user and re-creat that user.
The problem may be that you have direct changed the database field.
Hope this can help.
Umar
September 28, 2022, 10:48am
3
This actually happens when create_notification_settings(self.name) doesnβt execute when a user is created.
Please check if you have overridden any User method in your custom app like after_insert . and make sure that when a user is created its notification_settings is also created.
hsrai
August 25, 2024, 2:58am
4
Got the same error for newly created user after upgrading V15 to lates Frapee v15.39.0 (version-15).
I have not overridden any mehtod.
How to investigate it and resolve it, rather than manually creating notification setting.
You can fix this by running this SQL:
DELETE FROM tabPatch Log
WHERE patch
LIKE β%create_notification_settings_for_user%β;
Then
bench --site [site-name] migrate
this will create notifications settings for each user.