[FIX] tools: restrict available attributes
[FIX] web: backport of ebb826a and 2372d30

Fixing breadcrumb not being displayed after some action button (e.g. validate invoice, opw 612763)