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(Material Request): consider project for item details #37215

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

barredterra
Copy link
Collaborator

@barredterra barredterra commented Sep 23, 2023

Problem

Material Request didn't consider the Project while fetching item details. For example, when creating a Material Request from a Project, you'd expect the project's Default Cost Center to be used. However, the Material Request didn't consider the selected Project, which resulted in the company's Default Cost Center being set.

Solution

Pass the selected Project to get_item_details.

@barredterra barredterra changed the title fix(Material Request): project in item details fix(Material Request): consider project for item details Sep 23, 2023
@barredterra barredterra added the backport version-14-hotfix backport to version 14 label Sep 23, 2023
@s-aga-r s-aga-r merged commit 7c4ebe2 into frappe:develop Sep 24, 2023
8 checks passed
@barredterra barredterra deleted the mr-project-item-details branch September 24, 2023 15:41
mergify bot pushed a commit that referenced this pull request Sep 24, 2023
fix(Material Request): project in item details

(cherry picked from commit 7c4ebe2)
s-aga-r pushed a commit that referenced this pull request Sep 24, 2023
…7215) (#37221)

fix(Material Request): consider project for item details (#37215)

fix(Material Request): project in item details

(cherry picked from commit 7c4ebe2)

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
frappe-pr-bot pushed a commit that referenced this pull request Sep 27, 2023
# [14.41.0](v14.40.0...v14.41.0) (2023-09-27)

### Bug Fixes

* allow to select parent warehouse in the website item (backport [#37047](#37047)) ([#37173](#37173)) ([56657b6](56657b6))
* AP & AR summary filters to match AR  (backport [#37248](#37248)) ([#37261](#37261)) ([1dc58b3](1dc58b3))
* apply gl report filters ([b4bc44d](b4bc44d))
* german translation of Sales and Purchase Invoice ([#37122](#37122)) ([8236814](8236814))
* incorrect `Parent Task` getting set for 2nd to nth child Task (backport [#37230](#37230)) ([#37240](#37240)) ([279f21d](279f21d))
* labels for `Stock Ledger Invariant Check` report (backport [#37150](#37150)) ([#37176](#37176)) ([f2bcfb5](f2bcfb5))
* **Material Request:** consider project for item details (backport [#37215](#37215)) ([#37221](#37221)) ([25f800d](25f800d))
* reserved qty for production plan ([#37251](#37251)) ([0a0d5b3](0a0d5b3))
* serial number decimal issue ([#37242](#37242)) ([78ab201](78ab201))
* set customer currency in pos_invoice if exists ([e0da8d2](e0da8d2))
* Update `advance_paid` in SO/PO after unlinking from advance entry ([1181dcf](1181dcf))
* validate duplicate serial no on submit in DN ([#37243](#37243)) ([70e2093](70e2093))

### Features

* `Stock Ledger Variance` report (backport [#37165](#37165)) ([#37183](#37183)) ([02fc67c](02fc67c))
* Toggle net values in Trial Balance report ([57c82c1](57c82c1))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants