[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)
[FIX] orm: do not drop foreign keys of transient models

During the update of a module, the f