Cannot mark project completed Ver 12

On 12.0.8 for both frappe and erpnext. Change project status to Completed, save. Says Saved, adds message in comments: “You changed value of Actual Time (in Hours) from 0 to “”, Total Costing Amount (via Timesheets) from 0 to “”, Total Expense Claim (via Expense Claims) from 0 to “” – a minute ago”, but Status stays as Open.

Update: still issue on ERPnext 12.1.1 and frappe 12.0.11.

New issue: comments now show html: You changed value of Actual Time (in Hours) from 0 to “”, Total Costing Amount (via Timesheets) from 0 to “”, Total Expense Claim (via Expense Claims) from 0 to “” – a minute ago

Check the property of % Complete Method

We had always set task completion, but never created tasks as we use projects ONLY to track profitability by order. Before if no tasks were created, it could be marked complete. Now if no tasks are created it shows % completed as 0 (though that is not correct as there are NO uncompleted tasks).

In fact if create a single task and mark the task as completed, project self changes to completed which may be incorrect as there may be other tasks for project just have not been created yet.

We had wanted a workflow that auto marked projects as completed when all sales orders and purchase orders for the project are invoiced, but could not figure how to do a multi-doctype workflow that compared invoices against orders per project.

Where would we go to allow completed to be done manually even if NO tasks exist. Can it be done through custom scripts in Projects or Project Update? Selecting a different property for $ Complete method would not help as all are Task based. I tried to trick it by adding ‘Manual’ as an option, but still will not allow marking project as complete.

Thanks in advance

1 Like

Hi all,

I confirm the issue, if you set Task > Percentage to 100%, then save, you will get

Status cannot be "Completed". It should be one of "Open", "Working", "Pending Review", "Overdue", "Closed", "Done", "Cancelled", "Archiv", "Fertig"

You one can manually add new status “Completed”, but this should be working out of the box…

PR created use task status closed instead of completed by lasalesi · Pull Request #19149 · frappe/erpnext · GitHub

1 Like