> Hi Guewen
>
> Regarding the fix you should change the line 10 with :
>
> payment_move_lines = self._get_payment(cr, uid, invoice, context=context)
>
> Note : the _get_payment method will retrieve the correct move_line (the aim is
> to be able to extend the reconciliation for purchase order too, a real case is
> for the incoming invoice, prepaid in checkmo before validating the purchase
> order)
>
> After this change it will be ok for me
> Hi Guewen payment( cr, uid, invoice, context=context)
>
> Regarding the fix you should change the line 10 with :
>
> payment_move_lines = self._get_
>
> Note : the _get_payment method will retrieve the correct move_line (the aim is
> to be able to extend the reconciliation for purchase order too, a real case is
> for the incoming invoice, prepaid in checkmo before validating the purchase
> order)
>
> After this change it will be ok for me
Thanks for reviewing! Done