Submit project?

I have a question: I want the projects and tasks function to not be edited after the status is completed. I created a project + From an existing Template with 3 tasks. So how can I do that when a validation task is completed it can no longer be edited? How to do the same with the project?

Projects don’t have a “Submitted” state by default, but you could create one with a Workflow.

I know. And I created 1 workflow for testing. However, the problem occurs: " Insufficient Permission for Project (submit )". Even though that user has this right.

@LeTienIT only project manager has access to submit this document.because project manager value is selected for only allow edit for

Yes, I understand that only an account with the Projects Manager role is allowed to perform the action. However, I used an account with Projects Manager permissions to log in, then created a project and tried to take action to complete it. However, the returned result is the above error: " Insufficient Permission for Project (submit )";

Does the Project Manager also have submit permissions in the Role Permission Manager?

@LeTienIT we have to make project doctype as submittable.i tried using custom docperm but it not work.

How? Can there be samples?

1 Like

Have you ever tried it? Can there be instructions? Looks like the project hasn’t been submitted?

@LeTienIT


we can’t assign submit permission without making project doctype as submittable

The document cannot be edited, so it cannot be submitted

Hi @LeTienIT,

Project is not a submittable doctype. When setting up a workflow for the project, you can only define it at the draft level, which means the document status can be up to zero only. You cannot add a workflow for submitting and canceling at this stage. If you want to create a submittable doctype, you have to go to the doctype and check the “Is Submittable” option. This will solve the issue.

1 Like

The problem is I can’t choose which projects can be submitted? Does it have anything to do with production mode and development mode? Please provide more information.

That for, you have to enable the developer mode.

write this command and start developer mode

frappe-bench/sites/{your site}/site_config.json

bench set-config -g developer_mode 1
1 Like

Hi @LeTienIT

Doc Status for Save document is 0
Doc Status for Submitted document → 0 is “Saved”, 1 is “Submitted”, 2 is “Cancelled”

Project is the save document.

Now, You make it as submit for some users by workflow.

Check above screenshot. All time the doc status will be 0

In transition, Once a document gone in to next state then it will be not edit able for previous user.
Like, Once Elite REC User take action as “Submit For Approval” then Elite REC User will no access to edit it.

Next, Role manager will able to take action and edit it.

Thanks

But I want it to not be edited after approval, just like submitting a document. I am trying the way of enabling develop mode from which I get the " This site is running in developer mode. Any change made here will be updated in code.
If you just want to customize for your site, use [Customize Form] instead." notification and can select
Is Submitted. So does it have any effect? Can you give me more information about this?