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: Use default Cost Center of the Company for additional discount #37234

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

vr-greycube
Copy link
Contributor

@vr-greycube vr-greycube commented Sep 25, 2023

Problem:
When Discount Accounting in enabled in Selling Settings, in Sales Invoice the company Default Cot Center is not picked up for the GL entry for the discount amount.

Solution:
use the Company Default Cost Center while making GL entries for additional discount

Closes #37233

When Discount Accounting in enabled in Selling Settings, use Company default Cost Center while making GL entries for additional_discount_account
@github-actions github-actions bot added accounts needs-tests This PR needs automated unit-tests. labels Sep 25, 2023
@deepeshgarg007 deepeshgarg007 merged commit 4ada5a4 into frappe:develop Sep 27, 2023
@deepeshgarg007 deepeshgarg007 added the backport version-14-hotfix backport to version 14 label Sep 27, 2023
mergify bot pushed a commit that referenced this pull request Sep 27, 2023
…37234)

fix: Set cost center as default company cost center

When Discount Accounting in enabled in Selling Settings, use Company default Cost Center while making GL entries for additional_discount_account

(cherry picked from commit 4ada5a4)
deepeshgarg007 added a commit that referenced this pull request Sep 27, 2023
…-37234

fix: Use default Cost Center of the Company for additional discount (backport #37234)
frappe-pr-bot pushed a commit that referenced this pull request Oct 4, 2023
# [14.42.0](v14.41.2...v14.42.0) (2023-10-04)

### Bug Fixes

* add only float row values for total ([020aedb](020aedb))
* currency symbol in the Supplier Quotation Comparison report ([#37337](#37337)) ([82e8606](82e8606))
* Description field for the 'Ignore Available Stock' ([#37293](#37293)) ([7f1483a](7f1483a))
* do not consider submitted Work Orders in the Production Plan Res… ([#37343](#37343)) ([c3aeb2d](c3aeb2d))
* ignore user permissions for `Source Warehouse` (backport [#37313](#37313)) ([#37314](#37314)) ([04f0dfb](04f0dfb))
* incorrect qty for material request in Production Plan ([#37270](#37270)) ([8fe4a4d](8fe4a4d))
* Not unique table/alias: 'tabTask' (backport [#37285](#37285)) ([#37298](#37298)) ([95e0bf5](95e0bf5))
* party format in test ([28756bf](28756bf))
* PCV posting issues ([#37029](#37029)) ([92eabe3](92eabe3))
* process soa filter for multiselect ([4962b67](4962b67))
* query for multiselect filter ([6d7aa2a](6d7aa2a))
* set route filter values for AP ([49f0f1c](49f0f1c))
* set route filter values for AR ([2b30727](2b30727))
* summary report filters ([403ff69](403ff69))
* trial balance report freezes when adding filters (backport [#37264](#37264)) ([#37265](#37265)) ([6a8146b](6a8146b))
* Use default Cost Center of the Company for additional discount ([#37234](#37234)) ([e483b4a](e483b4a))
* validation message for valuation rate ([#37301](#37301)) ([643bb05](643bb05))

### Features

* asset salvage_value_percentage (backport [#37302](#37302)) ([#37334](#37334)) ([6daea6c](6daea6c))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accounts backport version-14-hotfix backport to version 14 needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Company Default Cost Center not used in Discount Accounting
2 participants