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: incorrect rate in BOM exploded items #31513

Merged
merged 7 commits into from
Aug 17, 2022

Conversation

s-aga-r
Copy link
Contributor

@s-aga-r s-aga-r commented Jul 4, 2022

Exploded Item rate showing incorrect value in the saved state.

Screen.Recording.2022-07-04.at.2.56.06.PM.mov

@s-aga-r
Copy link
Contributor Author

s-aga-r commented Jul 4, 2022

Failing tests are not related #88e2b04

@s-aga-r s-aga-r requested a review from marination July 8, 2022 01:22
@marination marination self-assigned this Jul 11, 2022
@marination marination removed their assignment Jul 20, 2022
@marination
Copy link
Collaborator

@s-aga-r You can make the rate field read only and add a test to change qty in items table and check reflected changes in the exploded items table on save.
2 things to get this PR merged

@s-aga-r s-aga-r force-pushed the fix/bom/exploded-items/rate branch from 88e2b04 to 00c1317 Compare July 28, 2022 05:35
@codecov
Copy link

codecov bot commented Jul 28, 2022

Codecov Report

Merging #31513 (98e71fd) into develop (538cd6f) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop   #31513      +/-   ##
===========================================
+ Coverage    63.10%   63.21%   +0.10%     
===========================================
  Files          813      813              
  Lines        57530    57530              
===========================================
+ Hits         36307    36366      +59     
+ Misses       21223    21164      -59     
Impacted Files Coverage Δ
erpnext/manufacturing/doctype/bom/bom.py 87.95% <100.00%> (+0.15%) ⬆️
.../report/delayed_item_report/delayed_item_report.py 60.78% <0.00%> (-35.30%) ⬇️
...t/product_bundle_balance/product_bundle_balance.py 79.54% <0.00%> (-15.91%) ⬇️
erpnext/accounts/party.py 77.43% <0.00%> (-4.46%) ⬇️
erpnext/assets/doctype/asset/depreciation.py 85.23% <0.00%> (-2.69%) ⬇️
erpnext/stock/report/stock_ledger/stock_ledger.py 75.79% <0.00%> (-2.55%) ⬇️
...t/accounts/report/sales_register/sales_register.py 73.68% <0.00%> (-1.76%) ⬇️
erpnext/crm/doctype/lead/lead.py 70.51% <0.00%> (-0.86%) ⬇️
...ype/account/chart_of_accounts/chart_of_accounts.py 76.87% <0.00%> (-0.69%) ⬇️
...xt/e_commerce/doctype/website_item/website_item.py 48.36% <0.00%> (-0.41%) ⬇️
... and 20 more

@s-aga-r s-aga-r merged commit 313625c into frappe:develop Aug 17, 2022
mergify bot pushed a commit that referenced this pull request Aug 17, 2022
mergify bot pushed a commit that referenced this pull request Aug 17, 2022
(cherry picked from commit 313625c)

# Conflicts:
#	erpnext/manufacturing/doctype/bom_item/bom_item.json
s-aga-r added a commit that referenced this pull request Aug 17, 2022
fix: incorrect rate in BOM exploded items (#31513)

(cherry picked from commit 313625c)

Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com>
s-aga-r added a commit that referenced this pull request Aug 17, 2022
* fix: incorrect rate in BOM exploded items (#31513)

(cherry picked from commit 313625c)

# Conflicts:
#	erpnext/manufacturing/doctype/bom_item/bom_item.json

* chore: conflicts

Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com>
frappe-pr-bot pushed a commit that referenced this pull request Aug 18, 2022
## [13.36.4](v13.36.3...v13.36.4) (2022-08-18)

### Bug Fixes

* check item_code in all rows of po_items (backport [#31741](#31741)) ([#31843](#31843)) ([ba8dc89](ba8dc89))
* conflicts ([41b8563](41b8563))
* contact search in request for quotation (backport [#31828](#31828)) ([#31841](#31841)) ([2a615af](2a615af))
* incorrect produced-qty in production-plan-item (backport [#31706](#31706)) ([#31862](#31862)) ([7ddb332](7ddb332))
* incorrect rate in BOM exploded items (backport [#31513](#31513)) ([#31865](#31865)) ([3274e76](3274e76))
* Make expense account editable in Purchase Receipt Item (backport [#31730](#31730)) ([#31879](#31879)) ([4775c42](4775c42))
* not able to issue expired batches ([7ee75ff](7ee75ff))
* set `billing_address` for purchases in `get_party_details` ([a7d66fa](a7d66fa))
* set `company_address` for purchases in `party.js` ([d1de4b0](d1de4b0))
* Transit filter for Default Target Warehouse in SE (backport [#31839](#31839)) ([#31874](#31874)) ([b0917aa](b0917aa))
* use old style for `_dict.update` ([15654aa](15654aa))
frappe-pr-bot pushed a commit that referenced this pull request Aug 18, 2022
## [14.0.1](v14.0.0...v14.0.1) (2022-08-18)

### Bug Fixes

* add asset repair to accounting dimension list ([65bb1d8](65bb1d8))
* Add dimension section in subcontracting doctypes (backport [#31849](#31849)) ([#31877](#31877)) ([50ad612](50ad612))
* check item_code in all rows of po_items (backport [#31741](#31741)) ([#31842](#31842)) ([82f1dd2](82f1dd2))
* contact search in request for quotation (backport [#31828](#31828)) ([#31840](#31840)) ([74664a3](74664a3))
* delete custom fields on deletion of inventory dimension ([354a9d6](354a9d6))
* **ecommerce:** remove query to non-existing field (backport [#31771](#31771)) ([#31773](#31773)) ([8737c10](8737c10))
* getting error to show sales invoice group or print rep… (backport [#31756](#31756)) ([#31767](#31767)) ([53b9d61](53b9d61))
* incorrect produced-qty in production-plan-item (backport [#31706](#31706)) ([#31861](#31861)) ([010a0ca](010a0ca))
* incorrect rate in BOM exploded items (backport [#31513](#31513)) ([#31864](#31864)) ([abe1894](abe1894))
* intercompany SO throws exception ([1d1f12f](1d1f12f))
* linter (backport [#31763](#31763)) ([#31766](#31766)) ([3092131](3092131))
* Make expense account editable in Purchase Receipt Item (backport [#31730](#31730)) ([#31878](#31878)) ([b637d4d](b637d4d))
* Make expense account editable in Subcontracting Receipt Item (backport [#31848](#31848)) ([#31870](#31870)) ([aa5aaa1](aa5aaa1))
* not able to issue expired batches ([ce5fc5b](ce5fc5b))
* posting_date of linked vouchers should not affect outstanding ([0faa7b0](0faa7b0))
* **projects:** Add missing comma ([623f56a](623f56a))
* set `billing_address` for purchases in `get_party_details` ([5a28ba8](5a28ba8))
* set `company_address` for purchases in `party.js` ([4c82533](4c82533))
* specify allowed doctype in queries (backport [#31761](#31761)) ([#31764](#31764)) ([6dce122](6dce122))
* Transit filter for Default Target Warehouse in SE (backport [#31839](#31839)) ([#31873](#31873)) ([04d3571](04d3571))
@s-aga-r s-aga-r added bug and removed backport version-14-hotfix backport to version 14 labels Sep 21, 2022
developmentforpeople pushed a commit to Ayuda-Efectiva/erpnext that referenced this pull request Jan 26, 2023
…appe#31865)

* fix: incorrect rate in BOM exploded items (frappe#31513)

(cherry picked from commit 313625c)

# Conflicts:
#	erpnext/manufacturing/doctype/bom_item/bom_item.json

* chore: conflicts

Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com>
developmentforpeople pushed a commit to Ayuda-Efectiva/erpnext that referenced this pull request Jan 26, 2023
## [13.36.4](frappe/erpnext@v13.36.3...v13.36.4) (2022-08-18)

### Bug Fixes

* check item_code in all rows of po_items (backport [frappe#31741](frappe#31741)) ([frappe#31843](frappe#31843)) ([ba8dc89](frappe@ba8dc89))
* conflicts ([41b8563](frappe@41b8563))
* contact search in request for quotation (backport [frappe#31828](frappe#31828)) ([frappe#31841](frappe#31841)) ([2a615af](frappe@2a615af))
* incorrect produced-qty in production-plan-item (backport [frappe#31706](frappe#31706)) ([frappe#31862](frappe#31862)) ([7ddb332](frappe@7ddb332))
* incorrect rate in BOM exploded items (backport [frappe#31513](frappe#31513)) ([frappe#31865](frappe#31865)) ([3274e76](frappe@3274e76))
* Make expense account editable in Purchase Receipt Item (backport [frappe#31730](frappe#31730)) ([frappe#31879](frappe#31879)) ([4775c42](frappe@4775c42))
* not able to issue expired batches ([7ee75ff](frappe@7ee75ff))
* set `billing_address` for purchases in `get_party_details` ([a7d66fa](frappe@a7d66fa))
* set `company_address` for purchases in `party.js` ([d1de4b0](frappe@d1de4b0))
* Transit filter for Default Target Warehouse in SE (backport [frappe#31839](frappe#31839)) ([frappe#31874](frappe#31874)) ([b0917aa](frappe@b0917aa))
* use old style for `_dict.update` ([15654aa](frappe@15654aa))
@barredterra barredterra mentioned this pull request Mar 7, 2023
@s-aga-r s-aga-r deleted the fix/bom/exploded-items/rate branch April 15, 2023 10:01
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants