In a form view, the default state for a new statement line is 'draft'.
However, once it's saved is automatically posted.
Remove if merged: https://github.com/odoo/odoo/pull/188675
TT51834
And add an icon to allow users to navigate to the statement lines.
Currently it's not possible to open the statement form view. When editing the
view an error occurs, related with the recomputation of running balances.
Before this commit, when a user clicked the "New Transaction" button, an error was raised. After this commit, statement lines are displayed to create new records.