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 Material Transferred for Manufacturing qty #44823

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

rohitwaghchaure
Copy link
Collaborator

Steps to replicate issue

  • Make work order with BOM having single operation and qty 2
  • Keep the "Transfer Material Against" as "Job Card"
  • Against the job card make a stock entry for 2 quantity
  • While finishing the job card keep the completed qty as 1 and process loss qty as 1
  • Now try to make finish good entry, system will not add the finished good.

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Dec 22, 2024
@rohitwaghchaure rohitwaghchaure added backport version-15-hotfix and removed needs-tests This PR needs automated unit-tests. labels Dec 22, 2024
@rohitwaghchaure rohitwaghchaure merged commit fe0036e into frappe:develop Dec 23, 2024
13 checks passed
mergify bot pushed a commit that referenced this pull request Dec 23, 2024
(cherry picked from commit fe0036e)

# Conflicts:
#	erpnext/manufacturing/doctype/job_card/job_card.py
rohitwaghchaure added a commit that referenced this pull request Dec 23, 2024
…44823) (#44832)

* fix: incorrect Material Transferred for Manufacturing qty (#44823)

(cherry picked from commit fe0036e)

# Conflicts:
#	erpnext/manufacturing/doctype/job_card/job_card.py

* chore: fix conflicts

---------

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
frappe-pr-bot pushed a commit that referenced this pull request Dec 25, 2024
# [15.47.0](v15.46.2...v15.47.0) (2024-12-25)

### Bug Fixes

* 'str' object has no attribute 'get_sql' ([8b810f5](8b810f5))
* add `Stock UOM` when adding new item in POS list ([#44780](#44780)) ([96cc9e2](96cc9e2))
* Add hooks for repost allowed doctypes ([b5596d9](b5596d9))
* added docs.frappe.io in documentation_url ([#44776](#44776)) ([0fd7792](0fd7792))
* asset field precision check ([516a325](516a325))
* avg. buying amount for product bundle item with serial and batch no in gross profit report ([2edb6f3](2edb6f3))
* better indicator base amount for Tax Witholding in Journal Entry ([218e777](218e777))
* buying rate for service item in gross profit report ([a55aaea](a55aaea))
* closing stock balance permissions (backport [#44791](#44791)) ([#44793](#44793)) ([cdeec8d](cdeec8d))
* correct args for get_advance_payment_entries_for_regional ([875797e](875797e))
* correct tds rate with lower deduction certificate ([5ca60f3](5ca60f3))
* do not set cost_center update_voucher_balance as it is set in init_voucher_balance ([19a8ea2](19a8ea2))
* do not validate qc for scrap item (backport [#44844](#44844)) ([#44853](#44853)) ([8092d58](8092d58))
* Duplicate entry ' EF1DE8B2E1B6' for key 'PRIMARY' (backport [#44809](#44809)) ([#44814](#44814)) ([16b013f](16b013f))
* fetch tax withholding category from the voucher ([8f8dd1c](8f8dd1c))
* incoming rate should be zero for rejected items (backport [#44857](#44857)) ([#44859](#44859)) ([0969877](0969877))
* incorrect Material Transferred for Manufacturing qty (backport [#44823](#44823)) ([#44832](#44832)) ([497029f](497029f))
* Ledger repost support for extending app doctypes ([d137f78](d137f78))
* Paid + Write Off Amount issue in Sales Invoice (backport [#44763](#44763)) ([#44874](#44874)) ([ca7c229](ca7c229))
* permissions for marking Quotation as lost ([e6390bf](e6390bf))
* POS Closing entry issue (backport [#44772](#44772)) ([#44781](#44781)) ([2032422](2032422))
* posting_time issue ([#44870](#44870)) ([7a5c30f](7a5c30f))
* Remove typo ([13a3c81](13a3c81))
* set project in GL from the SLE (backport [#44879](#44879)) ([#44885](#44885)) ([57e6ed4](57e6ed4))
* show profit and loss after period closing ([771632a](771632a))
* slow posting datetime update (backport [#44799](#44799)) ([#44805](#44805)) ([ad57e33](ad57e33))
* stock entry not fetching expired batches (backport [#44863](#44863)) ([#44868](#44868)) ([d6001e5](d6001e5))
* Stock Entry uses incorrect company when generated from Pick List ([#44679](#44679)) ([58e8467](58e8467))
* Swedish tax templates ([cc1834b](cc1834b))
* test case correction ([ddfead2](ddfead2))
* typerror on TDS payable monthly report (backport [#37707](#37707)) ([db9a319](db9a319))
* update correct cost center in Accounts Receivable Report ([4c5540a](4c5540a))
* update query ([3ab4acf](3ab4acf))
* use utility method to generate url ([75aee42](75aee42))
* **ux:** purchase invoice link in error message ([#44797](#44797)) ([01c1ed9](01c1ed9))
* Warehouse wise Stock Value chart roles (backport [#44865](#44865)) ([#44867](#44867)) ([f32cf84](f32cf84))

### Features

* add difference_posting_date field ([bec1f97](bec1f97))
* **subcontracting:** Added provision to create multiple Subcontracting Orders against a single Purchase Order (backport [#44711](#44711)) ([#44782](#44782)) ([8f81172](8f81172))
* swedish COA ([98cc79d](98cc79d))
* use difference_posting_date for journal entry posting_date ([7498cdf](7498cdf))

### Performance Improvements

* SABB (backport [#44764](#44764)) ([#44789](#44789)) ([b706a82](b706a82))
* slow query related to stock ledger entry (backport [#44861](#44861)) ([#44862](#44862)) ([3f3df7e](3f3df7e))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant