I need to set the order status of rights, I want my company's finances, in order to modify the state, only chekout option, for example: paid.
and more
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | status.PNG | 73.14 KB | joray |
I need to set the order status of rights, I want my company's finances, in order to modify the state, only chekout option, for example: paid.
and more
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | status.PNG | 73.14 KB | joray |
Comments
Comment #1
rszrama commentedHmm, I'm struggling to understand your actual feature request here. Can you just edit the default Orders View to get what you need?
Comment #2
pcambraI'll try to do a little translation :)
I think that the feature requested is to be able to restrict permissions per state/status.
Say your clerks can update an order status to paid but only management staff can push it to completed.
Comment #3
rszrama commentedHmm, ok. If that's the case, there's no feature to be added to core. Instead a module would have to be developed that plugs into the entity access system to grant particular users access by order status / state.
Comment #4
pcambraI'd say that actually the feature is some users not being able to update an order to a given state/status, nothing to do with viewing the order, but updating only to a subset of states/statuses.
https://skitch.com/pcambra/gmb5g/fullscreen
Can we restrict that using entity access?
Anyways I might be wrong as the initial message is not clear enough.
Comment #5
joray commentedOur company is to release an online ordering system, hope to achieve this function,
By role permission to access the order status, and can only update a state, is just a state, different departments in different order status update
Comment #6
joray commentedThis means that
Comment #7
rszrama commentedChanging the title and making this a contrib request. This would be easily doable through a contrib using hook_form_alter() and a custom settings form.
Comment #8
tonylegrone commentedI was recently presented with this same need for a client and was able to build a solution that may fit for this issue.
I have created a sandbox module for everyone to test here: https://drupal.org/sandbox/tonylegrone/2217873
I'm currently using that in one production site, but I 'm not 100% sure if any negative side effects will be caused by it yet. So, please use with care.