Selling price and Buying price permission for different profile

50 views
Skip to first unread message

aliosman20

unread,
Apr 8, 2014, 5:41:41 AM4/8/14
to erpnext-dev...@googlegroups.com
Hi,

I want one profile can edit or see only selling prices for items and another profile can only edit or see buying price for items.

I tried permission manager and gave item price doc type for purchase master manager role read, edit, make new and report permissions. But this profile still see item prices on "item prices list" and "Report: Item Price - Item-wise Price List Rate". 

How can I manage this profile to see only buying prices for items? Or for another profile to see only selling prices for items?

Do you have any advice to handle this situation?

Thanks,

Ali

Umair Sayyed

unread,
Apr 8, 2014, 7:06:51 AM4/8/14
to erpnext-dev...@googlegroups.com
Ali,

Setting restriction for Item Price based on Price List should be helpful.

After setting condition in Permission Manager for user's Role, you should create User Property and define which user can access which Price List.

Can you share image of permission restriction setting via via http://imgur.com?




--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/50808dfa-f4ff-40fb-ae84-ec9a189c30f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks and Regards,
Umair Sayyed
www.erpnext.com

Ali Osman TEKKANAT

unread,
Apr 9, 2014, 3:27:54 AM4/9/14
to erpnext-dev...@googlegroups.com
Hi Umair,

I tried your suggestion but no success. You can find permission restriction setting in  http://imgur.com.

User role is Sales Master manager
 I want that user only see,edit and add new price Standart Selling prices not buying price.  


Thanks,

Ali

Ali Osman Tekkanat


Umair Sayyed

unread,
Apr 9, 2014, 7:37:11 AM4/9/14
to erpnext-dev...@googlegroups.com
Hello Ali,

From what I understand, you need to restrict Sales Master Manager from checking Buying Prices of an item. For this, you should:

  • Set Condition on Item Price
  • Based on Price List
  • For Sales Master Manager role.
http://imgur.com/EvW5xxj

And then set User Property, where Price List will be defined for Sales Master Manager User.

http://imgur.com/26nFRpG
http://imgur.com/7gbeKXl

Based on this restriction, user will be able to see Item Prices and Report only for Selling Price List.

http://imgur.com/m2LTt1L&X20D7WT&Qnr6z17
http://imgur.com/m2LTt1L&X20D7WT&Qnr6z17#1

However, he will be able to see Price List for Buying, but Price List master as such doesn't carry any information which should be restricted/hidden. Also, bydesign, Buying Price List is not selectable in the selling transactions. Hence, restriction on Item Price should be suffice.

Hope this helps.



For more options, visit https://groups.google.com/d/optout.

aliosman20

unread,
Apr 9, 2014, 8:49:27 AM4/9/14
to erpnext-dev...@googlegroups.com
Hi Umair,

This is what I need and working perfect with your suggestion.

Thanks for your quick and valuable reply.

Sincerely,

Ali 

9 Nisan 2014 Çarşamba 14:37:11 UTC+3 tarihinde Umair Sayyed yazdı:

Ali Osman Tekkanat


To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
--
Thanks and Regards,
Umair Sayyed
www.erpnext.com

--
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-forum+unsub...@googlegroups.com.

--
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-forum+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages