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

refactor: split ple creation function into two #32598

Conversation

ruthra-kumar
Copy link
Member

Refactor create_payment_ledger_entry function. PLE map generation is separated out into a new function.

@github-actions github-actions bot added accounts needs-tests This PR needs automated unit-tests. labels Oct 13, 2022
@ruthra-kumar ruthra-kumar marked this pull request as ready for review October 14, 2022 03:46
refactor create_payment_ledger_entry function into 2.
one for generating ple map and one for DB entry creation
@ruthra-kumar ruthra-kumar force-pushed the refactor_create_payment_ledger_function branch from 5ba8f63 to 9b50221 Compare October 17, 2022 12:33
@codecov
Copy link

codecov bot commented Oct 17, 2022

Codecov Report

Merging #32598 (9b50221) into develop (d794b83) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #32598   +/-   ##
========================================
  Coverage    63.67%   63.68%           
========================================
  Files          816      816           
  Lines        58252    58260    +8     
========================================
+ Hits         37093    37101    +8     
  Misses       21159    21159           
Impacted Files Coverage Δ
erpnext/accounts/utils.py 73.30% <100.00%> (+0.31%) ⬆️
erpnext/stock/doctype/serial_no/serial_no.py 88.96% <0.00%> (-0.24%) ⬇️
...xt/accounts/doctype/sales_invoice/sales_invoice.py 81.90% <0.00%> (+0.08%) ⬆️

@ruthra-kumar ruthra-kumar merged commit aab325e into frappe:develop Oct 17, 2022
@ruthra-kumar
Copy link
Member Author

@Mergifyio backport version-14-hotfix

@mergify
Copy link
Contributor

mergify bot commented Oct 17, 2022

backport version-14-hotfix

✅ Backports have been created

deepeshgarg007 added a commit that referenced this pull request Oct 18, 2022
…-32598

refactor: split ple creation function into two (backport #32598)
@ruthra-kumar ruthra-kumar deleted the refactor_create_payment_ledger_function branch June 14, 2023 16:05
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accounts needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant