Code review comment for lp:~camptocamp/e-commerce-addons/7.0-sale_automatic_workflow-reconcile-error

Revision history for this message
S├ębastien BEAU - (sebastien.beau) wrote :

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

review: Needs Fixing (code review, no tests)

« Back to merge proposal