Add flag indication to tree views where form buttons have rules engaged and perhaps issue email notifications

as indicated here (add counter (flag indication) to tree views where form buttons have rules engaged (#10113) · Issues · Tryton / Tryton · GitLab) we’ve been using button rules to give only certain users the privilege to complete some operations such as posting invoices or confirming customer orders.
Unfortunately left at that, one gets no feedback that operations are pending before opening individually the form and noticing a counter on the button on the bottom of the form.

Minimally we’d like to experiment with email_notification to inform the ‘privileged’ users that which operations are outstanding.

It doesn’t seem immediately intuitive as to how such notification would be set up.

Additionally, it would be useful to indicate on the tree view which records are awaiting completion, either by a flag, or perhaps by a colour, but it isn’t readily evident how to ‘find’ such records with ir.model.button*

Thanks in advance for some insight, cheers

ps: probably the same problematic exists for record rules

I’m wondering if it will be a good idea to add a visual indicator on records that have a click record in for the same state as they are.

But as buttons are not linked to the state, this is not possible. So we need a flexible way to link the button with the state.

I should mention that we use the button rules as it seemed (at the time) the easiest way to implement approvals at that level.

Unfortunately, as indicated on protecting 'credit' on invoices (#12048) · Issues · Tryton / Tryton · GitLab, there are other operations (actions) that are not form buttons that could use the rules as well.

Perhaps there is a different approach to accomplish these tasks with a more robust means to ensure the operations cross user communication…