You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As a Purchase Order sometimes has to be closed manually the same applies to the Subcontrating Order.
For instance this might be the case when the order can or should not be delivered completly for any reason.
Currently you can close the PO. The SCO stays still open until completely delivered. The items are still shown as "to receive" in the reports and you can even submit further SCRs against the SCO.
Describe the solution you'd like
Close the SCO automatically in case the PO gets closed by the User. Also reopen it automatically in case the PO gets reopened by the user.
Describe alternatives you've considered
Add the option to close the SCO manually as it is done for the PO. Also add the option to reopen the SCO if closed.
Additional context
Minor error observed:
The status of the SCO is set to "Closed" by the code in a specific situation.
Is your feature request related to a problem? Please describe.
As a Purchase Order sometimes has to be closed manually the same applies to the Subcontrating Order.
For instance this might be the case when the order can or should not be delivered completly for any reason.
Currently you can close the PO. The SCO stays still open until completely delivered. The items are still shown as "to receive" in the reports and you can even submit further SCRs against the SCO.
Describe the solution you'd like
Close the SCO automatically in case the PO gets closed by the User. Also reopen it automatically in case the PO gets reopened by the user.
Describe alternatives you've considered
Add the option to close the SCO manually as it is done for the PO. Also add the option to reopen the SCO if closed.
Additional context
Minor error observed:
The status of the SCO is set to "Closed" by the code in a specific situation.
erpnext/erpnext/subcontracting/doctype/subcontracting_order/subcontracting_order.py
Line 292 in b562b4c
The status "Closed" is not defined for the SCO in the subcontracting_order.json. https://github.com/frappe/erpnext/blob/b562b4cf99e68108a0d7ba3a90e60ef3d7d01b0f/erpnext/subcontracting/doctype/subcontracting_order/subcontracting_order.json#L373C4-L373C123
The text was updated successfully, but these errors were encountered: