List permitted items only

42 views
Skip to first unread message

HF

unread,
Oct 3, 2013, 7:32:52 AM10/3/13
to erpnext-dev...@googlegroups.com
Hi;

I need to list only the items with item group x for user who is a part of the Role y which permits only items with group x on sales orders.

But when I check this when I am on the item field in the Sales Order Item part it lists all items when I type % 

I need it only to display the permitted items for this user.


Akhilesh Darjee

unread,
Oct 3, 2013, 7:58:29 AM10/3/13
to erpnext-dev...@googlegroups.com
Hi,

For setting up permissions, follow this http://erpnext.org/docs.user.setup.permissions.html


--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Regards,
Akhilesh Darjee

HF

unread,
Oct 3, 2013, 8:23:16 AM10/3/13
to erpnext-dev...@googlegroups.com
Hi  Akhilesh;

I think this is the normal permissions, but what I need is different.

Anand Doshi

unread,
Oct 3, 2013, 8:51:49 AM10/3/13
to erpnext-dev...@googlegroups.com
Hi HF,

Say you have a role: Cola Manager and he/she should be able to see only items with Item Group Cola, then you need to have at least a Read permission for Role Cola Manager with Match condition as Item Group=Cola and make sure Cola Manager does not have any other lose permission which undermines the one with the match condition.

Thanks,
Anand.

HF

unread,
Oct 3, 2013, 10:16:26 AM10/3/13
to erpnext-dev...@googlegroups.com
Hi Anand;

I mean when the user put his mouse on the item code field in the screen and type % the system only show him his permitted items and not all items.


Anand Doshi

unread,
Oct 3, 2013, 10:20:26 AM10/3/13
to erpnext-dev...@googlegroups.com
Hi HF,

Are you using the latest version? Autosuggest in the latest version honours permissions.

Thanks,
Anand.

HF

unread,
Oct 3, 2013, 10:29:25 AM10/3/13
to erpnext-dev...@googlegroups.com
Hi Anand;

I have both versions one is last updated on December 2012, and the other on April 20, 2013
And the same problem with both versions.


Anand Doshi

unread,
Oct 25, 2013, 1:37:13 AM10/25/13
to erpnext-dev...@googlegroups.com
Hi HF,

This was fixed after June 2013. You will have to update to the new version to have this missing feature.

Thanks,
Anand.

--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to a topic in the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/SrFYqLK_Mjw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to erpnext-developer...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages