Store triggers for payment_type field on account_move_line and PEP8

if type in ('in_invoice', 'in_refund'):