Statement line party should be required if account has requires party
It's possible to leave empty the party field of a statement line with an account that requires the party field to be informed. This causes a required error when posting the statement as the party field of the move line is empty.
We should make the party required if the account requires a party to force the user to enter the value before posting the statement.