Selling price and Buying price permission for different profile

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



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+un…@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.
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?




On Tue, Apr 8, 2014 at 3:11 PM, aliosman20 <at...@gmail.com> wrote:
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



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+un…@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



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJ33fAvSD19J8RPcT9Gy0Xv17HX5XV4aPQkcSvF%2BewPfXB8iFg%40mail.gmail.com.

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

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

User email zi...@gmail.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


2014-04-08 14:06 GMT+03:00 Umair Sayyed <um...@iwebnotes.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?





On Tue, Apr 8, 2014 at 3:11 PM, aliosman20 <at…@gmail.com> wrote:

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



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+un…@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



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+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJ33fAvSD19J8RPcT9Gy0Xv17HX5XV4aPQkcSvF%2BewPfXB8iFg%40mail.gmail.com.

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



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CA%2B-d9uTo2Lb5N-CE141EK_EaRPGkou_2Z3a_87O1Ko0vLTgUZw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
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.


On Wed, Apr 9, 2014 at 12:57 PM, Ali Osman TEKKANAT <at...@gmail.com> wrote:
Hi Umair,

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

User email zi...@gmail.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


2014-04-08 14:06 GMT+03:00 Umair Sayyed <um...@iwebnotes.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?




On Tue, Apr 8, 2014 at 3:11 PM, aliosman20 <at…@gmail.com> wrote:

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



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+un…@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



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+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJ33fAvSD19J8RPcT9Gy0Xv17HX5XV4aPQkcSvF%2BewPfXB8iFg%40mail.gmail.com.

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



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+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CA%2B-d9uTo2Lb5N-CE141EK_EaRPGkou_2Z3a_87O1Ko0vLTgUZw%40mail.gmail.com.

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



--
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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJ33fAs6GusNoc%2BVuLLDohiFky2yjehuQBboYU3AEwT50z9mRg%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
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ı:
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.


On Wed, Apr 9, 2014 at 12:57 PM, Ali Osman TEKKANAT <at...@gmail.com> wrote:
Hi Umair,

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

User email zi...@gmail.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


2014-04-08 14:06 GMT+03:00 Umair Sayyed <um...@iwebnotes.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?




On Tue, Apr 8, 2014 at 3:11 PM, aliosman20 <at…@gmail.com> wrote:

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



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+un…@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



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+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAJ33fAvSD19J8RPcT9Gy0Xv17HX5XV4aPQkcSvF%2BewPfXB8iFg%40mail.gmail.com.

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



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+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CA%2B-d9uTo2Lb5N-CE141EK_EaRPGkou_2Z3a_87O1Ko0vLTgUZw%40mail.gmail.com.

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



--
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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5c0a1829-368c-4518-8e2c-6942b383d1ec%40googlegroups.com.

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

Umair, if you are still around, how might someone accomplish the exact same permission restriction in ERPNext v12? I need to restrict Sales User role from viewing Standard Buying Price List while allowing them to view Selling Price Lists. The permission system is different now and I can’t see how to set the “conditions”.

Ralph

Have you tried user permission? You can assign each user to different price lists. Sales user will be able to see only sales price lists.

Can you explain how to do this in v12. All I can figure out is how to restrict Price List (master) which then makes selling price lists also restricted from view.