Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: account payable currency and value #36859

Merged

Conversation

RitvikSardana
Copy link
Member

Accounts payable was showing incorrect value when filtered by party.

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Aug 29, 2023
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #36859 (76ce048) into develop (e92d4e9) will increase coverage by 0.12%.
Report is 14 commits behind head on develop.
The diff coverage is 90.90%.

@@             Coverage Diff             @@
##           develop   #36859      +/-   ##
===========================================
+ Coverage    65.42%   65.54%   +0.12%     
===========================================
  Files          794      795       +1     
  Lines        62194    62640     +446     
===========================================
+ Hits         40689    41059     +370     
- Misses       21505    21581      +76     
Files Changed Coverage
erpnext/accounts/test/accounts_mixin.py 84.61%
.../report/accounts_receivable/accounts_receivable.py 100.00%

@ruthra-kumar ruthra-kumar self-assigned this Aug 31, 2023
@ruthra-kumar
Copy link
Member

@RitvikSardana Can you add basic test cases on filters for the Payable report? You can copy test_accounts_receivable.py and modify as needed

ruthra-kumar
ruthra-kumar previously approved these changes Aug 31, 2023
@ruthra-kumar ruthra-kumar removed the needs-tests This PR needs automated unit-tests. label Sep 2, 2023
@ruthra-kumar ruthra-kumar merged commit e599f75 into frappe:develop Sep 2, 2023
12 checks passed
@ruthra-kumar ruthra-kumar added the backport version-14-hotfix backport to version 14 label Sep 2, 2023
mergify bot pushed a commit that referenced this pull request Sep 2, 2023
* fix: account payable currency and value

* fix: added party_type and party in accounts payable report

* chore: code cleanup

* fix: customer group test case failure

* fix: added test case of the issue

* fix: filter toggle for party_type

* fix: filter toggle for party_type

* chore: fix typo

---------

Co-authored-by: ruthra kumar <[email protected]>
(cherry picked from commit e599f75)
ruthra-kumar added a commit that referenced this pull request Sep 2, 2023
…-36859

fix: account payable currency and value (backport #36859)
frappe-pr-bot pushed a commit that referenced this pull request Sep 6, 2023
# [14.38.0](v14.37.1...v14.38.0) (2023-09-06)

### Bug Fixes

* account payable currency and value ([#36859](#36859)) ([98c2640](98c2640))
* added ignore_user_permissions to parent field of tree doctypes ([451cc7b](451cc7b))
* added validation for unique serial numbers in pos invoice ([#36302](#36302)) ([1192736](1192736))
* allow payment_account of loan repayment to be edited ([#36948](#36948)) ([09e2f24](09e2f24))
* ask for asset related accounts only when needed (backport [#36960](#36960)) ([#36971](#36971)) ([58163d5](58163d5))
* calcuate received/paid amount on rate change in PE ([0a63266](0a63266))
* deduplicate gain/loss JE creation for journals as payment ([9168b3b](9168b3b))
* difference amount in UI should not be calculated ([9bc2b41](9bc2b41))
* fetch discount amount for gle in base currency ([a8b5880](a8b5880))
* ignore mandatory fields while saving WO (backport [#36954](#36954)) ([#36970](#36970)) ([c125dea](c125dea))
* index error on Receivable report based on payment terms ([#36963](#36963)) ([e3d64fc](e3d64fc))
* invalid gain/loss JE created on base currency Expense Claim ([068f1b5](068f1b5))
* only show "Unreconcile" if reconciled ([61752ac](61752ac))
* prorate factor for subscription plan ([#36953](#36953)) ([fc79af5](fc79af5))
* reduce threshold for bg job fn ([5a226a8](5a226a8))
* remove withholding category from common fields ([18f8f7f](18f8f7f))
* Set the default filter in All Trends Report ([132957f](132957f))
* Set the default filter in All Trends Report ([420536c](420536c))
* when create doc from item dashboard default uom (buying or selling) is not correctly selected (backport [#36892](#36892)) ([#36928](#36928)) ([5c8bee0](5c8bee0))

### Features

* **RFQ:** optionally send document print ([#36363](#36363)) ([345c608](345c608))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants