ledger123 / runmyaccounts

SQL-Ledger Customizations by Run My Accounts
GNU General Public License v2.0
16 stars 9 forks source link

Credit Note shows positive instead of negative #311

Closed sweitmann closed 2 years ago

sweitmann commented 2 years ago

Hi Armaghan,

If you create an 'AR--Credit Note' and then look for it in 'Cash--Receipt' it will show up as a positive amount instead of negative. And if you book it using the 'Cash--Receipt' module the payment goes in the wrong direction.

If instead you look for it in 'Cash--Receipts' it will show correctly as negative amount. And if you book it using the 'Cash--Receipts' module everything works fine.

So this bug is only in 'Cash-Receipt' module.

Regards

ledger123 commented 2 years ago

Hi Sebastian,

This is fixed and pushed to github in the linked commit/311_ branch to this ticket. This was a bug during posting of the transaction when it did not save fxamount with correct sign and must be affecting other reports too. Very strange that it went unnoticed for so long. May be people don't use credit note that much.

Regards

phkroll commented 2 years ago

merged to dev