-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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: dont update RM items table if not required #31408
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
accounts
needs-tests
This PR needs automated unit-tests.
labels
Jun 20, 2022
ankush
added
buying
subcontracting
and removed
accounts
needs-tests
This PR needs automated unit-tests.
labels
Jun 20, 2022
ankush
requested review from
deepeshgarg007,
nextchamp-saqib,
rohitwaghchaure and
marination
as code owners
June 20, 2022 13:45
ankush
force-pushed
the
subcontracting_update_item_rate
branch
2 times, most recently
from
June 20, 2022 13:51
9e93358
to
44462fd
Compare
Currently on PO update RM item table is auto computed again and again, if there was any transfer/consumption against that then it will be lost. This change: 1. Disables updating RM table if no change in qty of FG was made. Since RM table can't possibly be different with same FG qty. 2. Blocks update completely if qty is changed and RM items are already transferred.
ankush
force-pushed
the
subcontracting_update_item_rate
branch
from
June 21, 2022 11:40
64a9684
to
1af36ed
Compare
Codecov Report
@@ Coverage Diff @@
## develop #31408 +/- ##
===========================================
- Coverage 63.88% 63.82% -0.06%
===========================================
Files 984 984
Lines 67725 67741 +16
===========================================
- Hits 43266 43238 -28
- Misses 24459 24503 +44
|
mergify bot
pushed a commit
that referenced
this pull request
Jun 27, 2022
Currently on PO update RM item table is auto computed again and again, if there was any transfer/consumption against that then it will be lost. This change: 1. Disables updating RM table if no change in qty of FG was made. Since RM table can't possibly be different with same FG qty. 2. Blocks update completely if qty is changed and RM items are already transferred. (cherry picked from commit dd11f26) # Conflicts: # erpnext/controllers/accounts_controller.py
ankush
added a commit
that referenced
this pull request
Jun 27, 2022
Currently on PO update RM item table is auto computed again and again, if there was any transfer/consumption against that then it will be lost. This change: 1. Disables updating RM table if no change in qty of FG was made. Since RM table can't possibly be different with same FG qty. 2. Blocks update completely if qty is changed and RM items are already transferred. (cherry picked from commit dd11f26)
ankush
added a commit
that referenced
this pull request
Jun 27, 2022
Currently on PO update RM item table is auto computed again and again, if there was any transfer/consumption against that then it will be lost. This change: 1. Disables updating RM table if no change in qty of FG was made. Since RM table can't possibly be different with same FG qty. 2. Blocks update completely if qty is changed and RM items are already transferred. (cherry picked from commit dd11f26)
ankush
added a commit
that referenced
this pull request
Jun 28, 2022
…1457) fix: dont update RM items table if not required (#31408) Currently on PO update RM item table is auto computed again and again, if there was any transfer/consumption against that then it will be lost. This change: 1. Disables updating RM table if no change in qty of FG was made. Since RM table can't possibly be different with same FG qty. 2. Blocks update completely if qty is changed and RM items are already transferred. (cherry picked from commit dd11f26) Co-authored-by: Ankush Menat <ankush@frappe.io>
frappe-pr-bot
pushed a commit
that referenced
this pull request
Jun 28, 2022
## [13.34.2](v13.34.1...v13.34.2) (2022-06-28) ### Bug Fixes * add UOM validation for planned-qty ([559bde3](559bde3)) * dont update RM items table if not required (backport [#31408](#31408)) ([#31457](#31457)) ([8155306](8155306)) * General Ledger and TB opening entries mismatch issues ([a0c5c73](a0c5c73)) * Monthly depreciation using WDV method ([e7659a1](e7659a1)) * Quotation and Sales Order item sync ([2219132](2219132)) * Respect system precision for user facing balance qty values ([#30837](#30837)) ([642b9c5](642b9c5)) * **Salary Slip:** Components not updated when amount evaluates to 0 due to payment days ([#31425](#31425)) ([abfe926](abfe926)) * translation for filter status on report ([736f206](736f206)) * update ru translate (backport [#31404](#31404)) ([#31417](#31417)) ([8b78a12](8b78a12))
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Currently, on PO update RM item table is auto computed again and again,
if there was any transfer/consumption against that then it will be lost.
This change:
RM table can't possibly be different with same FG qty. This allows
safely updating FG rates without fiddling with qty.
transferred.
ref: ISS-22-23-00670