I have assigned colors for my Purchase Order Approval workflow but it seems that it is not working. The Workflow States do change but the colors do not (just grey). Can anyone check on this and give me advise on what to do? Thanks!
–Aaron
I have assigned colors for my Purchase Order Approval workflow but it seems that it is not working. The Workflow States do change but the colors do not (just grey). Can anyone check on this and give me advise on what to do? Thanks!
–Aaron
from where you assigned colors ?[quote=“airzoink, post:1, topic:16615”]
I have assigned colors for my Purchase Order Approval workflow but it seems that it is not working.
[/quote]
Check indicator.js
From Workflow State->Style. I did not touch any code. It was working fine before i did updates. I also changed the Workflow State Field to workflow_states. I previously changed the labels from my old records and the labels worked fine. Just the color that are not changing.
Hello,
I’m having the same issue here on v7.1 develop, all the status are shown in grey color, no code was modified, and it was working fine before this week updates like @airzoink said.
@applepipe and @airzoink
indicator color for your workflow state depends on your style given for that state.
Style represents the button color: Success - Green, Danger - Red, Inverse - Black, Primary - Dark Blue, Info - Light Blue, Warning - Orange
why ?
It is configured as you described, in this case Primary:
But in list view this is the result:
I did not change the name or anything related to workflow.
It was configured as Primary like the screenshot in my previous post, changed to success but no luck, no matter what style I choose the status is always in grey.
So that my label indicators would update.
We were also facing same issue, I have created issue on github, please leave comment on that if you are also facing same issue.
fixed in latest release via https://github.com/frappe/frappe/commit/0d8528486b5666ffb864b9506ad8a8780b44100a
Thank you, it solved the problem!
do you know how can i customize more color for workflow state?