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

feat: provision to close the Work Order #28150

Merged

Conversation

anupamvs
Copy link
Contributor

@anupamvs anupamvs commented Oct 29, 2021

Added a provision to permanently close a Work Order. It can not be restarted once it is closed.
work-order

[no-docs]

@codecov
Copy link

codecov bot commented Oct 29, 2021

Codecov Report

Merging #28150 (092936d) into develop (0e8e7e2) will increase coverage by 16.06%.
The diff coverage is 39.28%.

@@             Coverage Diff              @@
##           develop   #28150       +/-   ##
============================================
+ Coverage    39.13%   55.19%   +16.06%     
============================================
  Files         1117     1117               
  Lines        66494    66520       +26     
============================================
+ Hits         26021    36715    +10694     
+ Misses       40473    29805    -10668     
Impacted Files Coverage Δ
erpnext/stock/stock_balance.py 50.00% <ø> (ø)
...ext/manufacturing/doctype/work_order/work_order.py 71.90% <17.64%> (+28.32%) ⬆️
erpnext/manufacturing/doctype/job_card/job_card.py 64.67% <72.72%> (+50.86%) ⬆️
...wise_balance_history/batch_wise_balance_history.py 68.96% <0.00%> (-22.42%) ⬇️
.../report/stock_projected_qty/stock_projected_qty.py 88.15% <0.00%> (-1.32%) ⬇️
...ype/account/chart_of_accounts/chart_of_accounts.py 77.24% <0.00%> (-0.69%) ⬇️
.../report/accounts_receivable/accounts_receivable.py 67.83% <0.00%> (-0.44%) ⬇️
erpnext/setup/doctype/company/company.py 71.71% <0.00%> (+0.32%) ⬆️
...next/accounts/doctype/pricing_rule/pricing_rule.py 64.85% <0.00%> (+0.36%) ⬆️
...cturing/doctype/production_plan/production_plan.py 69.44% <0.00%> (+0.59%) ⬆️
... and 308 more

@rohitwaghchaure
Copy link
Collaborator

rohitwaghchaure commented Oct 30, 2021

@anupamvs please add description and fix sider issues

@anupamvs anupamvs force-pushed the manufacturing-work-order-stop branch from 048f774 to e290fe0 Compare October 31, 2021 09:12
@ankush
Copy link
Member

ankush commented Oct 31, 2021

Now list view should hide closed WOs by default?

@anupamvs
Copy link
Contributor Author

@Mergifyio backport version-13-pre-release

@anupamvs
Copy link
Contributor Author

@Mergifyio backport version-13-hotfix

@mergify
Copy link
Contributor

mergify bot commented Oct 31, 2021

backport version-13-pre-release

🟠 Waiting for conditions to match

  • merged [:pushpin: backport requirement]

@mergify
Copy link
Contributor

mergify bot commented Oct 31, 2021

backport version-13-hotfix

🟠 Waiting for conditions to match

  • merged [:pushpin: backport requirement]

@rohitwaghchaure rohitwaghchaure added the needs-tests This PR needs automated unit-tests. label Nov 1, 2021
@anupamvs anupamvs force-pushed the manufacturing-work-order-stop branch from 6ed4d81 to 530a0f4 Compare November 2, 2021 07:09
@anupamvs anupamvs force-pushed the manufacturing-work-order-stop branch from 84cda62 to 59e4fd9 Compare November 2, 2021 07:16
@anupamvs anupamvs force-pushed the manufacturing-work-order-stop branch from ac94a44 to e36da4d Compare November 2, 2021 07:23
@anupamvs anupamvs force-pushed the manufacturing-work-order-stop branch from 9b063e9 to 9c0906f Compare November 2, 2021 15:13
@anupamvs anupamvs force-pushed the manufacturing-work-order-stop branch from 756c235 to 9b4c7e4 Compare November 3, 2021 07:58
@anupamvs anupamvs force-pushed the manufacturing-work-order-stop branch from 4ee3ad9 to ba47bd0 Compare November 3, 2021 08:11
@anupamvs anupamvs removed the needs-tests This PR needs automated unit-tests. label Nov 3, 2021
@rohitwaghchaure rohitwaghchaure added the CI-failing Unit tests or patch tests are failing. label Nov 7, 2021
@rohitwaghchaure rohitwaghchaure added the squash Meant to tell reviewers that this PR should be squashed into a single commit while merging. label Nov 9, 2021
rohitwaghchaure
rohitwaghchaure previously approved these changes Nov 9, 2021
@anupamvs anupamvs removed the CI-failing Unit tests or patch tests are failing. label Nov 9, 2021
@rohitwaghchaure rohitwaghchaure merged commit f57538b into frappe:develop Nov 9, 2021
@mergify
Copy link
Contributor

mergify bot commented Nov 9, 2021

backport version-13-pre-release

✅ Backports have been created

@mergify
Copy link
Contributor

mergify bot commented Nov 9, 2021

backport version-13-hotfix

✅ Backports have been created

rohitwaghchaure added a commit that referenced this pull request Nov 9, 2021
…se/pr-28150

feat: provision to close the Work Order (backport #28150)
rohitwaghchaure added a commit that referenced this pull request Nov 9, 2021
…-28150

feat: provision to close the Work Order (backport #28150)
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
…-release/pr-28150

feat: provision to close the Work Order (backport frappe#28150)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
squash Meant to tell reviewers that this PR should be squashed into a single commit while merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants