If no payment mode is set on the account move, the partner bank is voided if already filled in.
I think this assertion is true for computed fields not stored... :
Now that partner_bank_id is a computed field, we shouldn't set its value
to False if the move is not a vendor bill or doesn't have a payment mode.