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: add regional support to extend purchase gl entries #37595

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

vorasmit
Copy link
Collaborator

@vorasmit vorasmit commented Oct 19, 2023

Changes Made

  • Regional overrides to update GL Entry in Purchase Receipt and Stock Controller
  • Fallback for cost-center for fixed assets for consistency
  • Introduced doc hooks before_gl_preview and before_sl_preview
  • Filters as frappe._dict to avoid errors where dot notation was used in the report
  • Removed load_from_db for Purchase receipt as it was no longer required

image_2023-10-19_19-01-23

Additional Fix

Earlier existing doc was updated from update_billed_amount_based_on_po using set_value requiring load_from_db. Now trying to update the existing doc with db_set.

@github-actions github-actions bot added needs-tests This PR needs automated unit-tests. stock labels Oct 19, 2023
@vorasmit vorasmit marked this pull request as ready for review October 19, 2023 17:11
@deepeshgarg007 deepeshgarg007 merged commit 2a7d1c4 into frappe:develop Oct 20, 2023
11 of 12 checks passed
@vorasmit vorasmit deleted the purchase-gl branch October 20, 2023 11:53
@deepeshgarg007 deepeshgarg007 added the backport version-14-hotfix backport to version 14 label Oct 25, 2023
deepeshgarg007 added a commit that referenced this pull request Oct 25, 2023
…-37595

fix: add regional support to extend purchase gl entries (#37595)
deepeshgarg007 added a commit that referenced this pull request Oct 26, 2023
fix: add regional support to extend purchase gl entries (#37595)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 19, 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 needs-tests This PR needs automated unit-tests. stock
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants