ERPNext Conference 2019* ERPNext.com Blog

Cannot mark project completed Ver 12

v12

#1

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.


#2

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


#3

Check the property of % Complete Method


#4

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