Account statement doesn't work with "party required" Journal account
How to reproduce:
- Create a statement Journal with a "party required" account
- Create a statement, that use the journal defined above, and try to go in the validation state
Results:
Tryton will show "A value is required for field "party" in "Account Move Line"" error, and abort the state change.
Possible solution:
- Limit the account selection so the user can not select a "party required" account
- Possibly change the code to support all account type (maybe by add the party value here: https://hg.tryton.org/modules/account_statement/file/tip/statement.py#l604)