Sorry, I also made a mistake :
domain = [('reconcile_id', '=', False), ('account_id.type', '=', payment.type)]#,('amount_to_pay', '<>', 0)]
should become
domain = [('reconcile_id', '=', False), ('account_id.type', '=', payment.type),('amount_to_pay', '<>', 0)]
« Back to merge proposal
Sorry, I also made a mistake :
domain = [('reconcile_id', '=', False), ('account_id.type', '=', payment. type)]# ,('amount_ to_pay' , '<>', 0)]
should become
domain = [('reconcile_id', '=', False), ('account_id.type', '=', payment. type),( 'amount_ to_pay' , '<>', 0)]