fix: set debit transaction currency in gl entry (backport #44327) #44389
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue:
Payment Entry gl entry doesn't have debit transaction currency when there is payment is made against an invoice
ref: 25193
Before:
![Screenshot 2024-11-26_00-00-04](https://private-user-images.githubusercontent.com/47534423/389658477-9c09a241-e560-46e8-a4d5-fbb7d2c30a01.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTU0NDYsIm5iZiI6MTczOTkxNTE0NiwicGF0aCI6Ii80NzUzNDQyMy8zODk2NTg0NzctOWMwOWEyNDEtZTU2MC00NmU4LWE0ZDUtZmJiN2QyYzMwYTAxLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIxNDU0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI5ODI2ZWVkMjEyZWRlMGE4YmYyMDFhMDVmZjQ3Mzc4NWI2MTI3MTY4M2ExZWY3ZThmYWVmM2ZkM2YwZGZhNDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZiGKhGUyivZYVxC60CzGsVvaPV1pTLNcKZeyaZktti4)
After:
![Screenshot 2024-11-26_00-01-38](https://private-user-images.githubusercontent.com/47534423/389658515-1cee342d-f3e6-4650-b45a-4cbf2199da17.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTU0NDYsIm5iZiI6MTczOTkxNTE0NiwicGF0aCI6Ii80NzUzNDQyMy8zODk2NTg1MTUtMWNlZTM0MmQtZjNlNi00NjUwLWI0NWEtNGNiZjIxOTlkYTE3LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIxNDU0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1YTkyNGUxODc4YzYzOGY1OTgzNjNjMjMwNDI1N2RmN2E0M2I0ZDJlOGNkYjkxNDk5NDczNjcwYjM4NTBlNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.FP3K3_ht9DiUHhtzywr-ugpupD069zFZZbl1i_2c-os)
Backport needed: v15
This is an automatic backport of pull request #44327 done by Mergify.