Issue 10757

Title
Amount to pay of invoice when using amount_payment_clearing is wrong when the paid line is unreconciled
Priority
bug
Status
in-progress
Nosy list
nicoe, reviewbot
Assigned to
nicoe
Keywords
review

Created on 2021-09-16.17:50:44 by nicoe, last changed 9 hours ago by reviewbot.

Messages

Author: [hidden] (nicoe) Tryton committer
Date: 2021-09-16.17:50:44

When using account_payment_clearing, the amount to pay of an invoice can be wrongly computed in the following scenario:

  • Create an invoice
  • Pay it using a payment with a journal doing a clearing move
  • Unreconcile the paid line
  • Reconcile the line with another invoice

In this case the amount to pay should take into account the payment amount which is not the case currently.

History
Date User Action Args
2021-10-18 14:32:33reviewbotsetmessages: + msg71081
2021-10-18 12:28:29reviewbotsetmessages: + msg71077
2021-10-01 16:39:57reviewbotsetmessages: + msg70545
2021-09-30 12:29:48reviewbotsetmessages: + msg70522
2021-09-29 16:11:14reviewbotsetmessages: + msg70511
2021-09-21 09:28:19reviewbotsetmessages: + msg70239
2021-09-20 19:28:44reviewbotsetmessages: + msg70238
2021-09-17 12:00:03reviewbotsetmessages: + msg70176
2021-09-17 11:02:06reviewbotsetmessages: + msg70165
2021-09-16 17:59:38reviewbotsetmessages: + msg70150
nosy: + reviewbot

Showing 10 items. Show all history (warning: this could be VERY long)