After Completing the Invoice user cannot see the Invoice in any menu [For example]. But from the Recent documents user able to open the record and edit it. To avoid this either have to Disable Recent Documents and or make the record read-only.
Coming to Recent Views, sometimes we disabling Menus under certain Roles but user still able to open those menus from Recent Views and perform the actions.
Expecting any configuration changes that might disable these troublesome features without doing any changes to the Core.
I have checked the official documentation.I haven't found the option to disable to recent documents.
Alternatives:-
1)Mark the role as portal user. Corns:-User won't have access to any of the menu's.Access should be given using a widget.
2)Using a trigger which will override the recent documents will null
I tried using the business event handler to block the recent documents but system is not allowing.So i went with trigger approach.
Use the below trigger it will erase all the recent documents.(Only once ther user is logged out)