summaryrefslogtreecommitdiff
path: root/odoo/addons/base
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2021-05-14 09:04:22 +0000
committerLaurent Smet <las@odoo.com>2021-05-14 14:23:07 +0000
commit87f6a2fd3f86d13ebe320c058336d752362b8f44 (patch)
tree3d3a8b15a9e263879456ab744f4981b812c18b15 /odoo/addons/base
parentdc296afac29a5a716b162ecef7d4a296399c2da3 (diff)
[FIX] account: Fix corner cases of https://github.com/odoo/odoo/pull/70303
Original issue: Create a payment like follow: Payment type: receive money Partner type: customer Destination account: whatever receivable Amount: define an amount (i.e. 90.00) On Save, open the draft jounral entry created. Lower the liquidity or counterpart amount and add a writeoff Go back to the payment, change the amount and save. The journal entry writeoff will swap from debit to credit at every change made to the amount. This occur also when changing currency on the payment opw-2475223 Otherwise, this fix is not covering all cases: inbound with write-off in debit inbound with write-off in credit outbound with write-off in debit outbound with write-off in credit closes odoo/odoo#70807 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'odoo/addons/base')
0 files changed, 0 insertions, 0 deletions