How to bound any user for projects?

hi nabin,

as you said:

To restrict project search result, you have to add condition for Project doctype (based on link field available in Project) and using User Properties for that link field.

so how can i do this thing... can you tell me about it. Please

Thanks & Regards
CA Mahaveer Somani



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.

    For more options, visit https://groups.google.com/groups/opt_out.
Hey my friend,

as you said to me: 
 
But the user can only save the stock entry with the project mentioned in User Properties. Also user will be able to search stock entries with relevant project.


yes you are right....the user can not make a new entry for those projects which are not in his user property...awesome dear...

I am really thank ful to you....

This thread is solved now....

Thanks again to both of you My friends....

But
one query will always remains that user should not seen project which are not in his user property.....
 

Thanks
Regards
CA Mahaveer Somani



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.

    For more options, visit https://groups.google.com/groups/opt_out.
But
one query will always remains that user should not seen project which are not in his user property.....

We have added the issue in our to-do-list (https://github.com/webnotes/wnframework/issues/254)

On 06-Sep-2013, at 6:24 PM, Mahaveer Somani wrote:

Hey my friend,

as you said to me: 
 
But the user can only save the stock entry with the project mentioned in User Properties. Also user will be able to search stock entries with relevant project.


yes you are right....the user can not make a new entry for those projects which are not in his user property...awesome dear...

I am really thank ful to you....

This thread is solved now....

Thanks again to both of you My friends....

But
one query will always remains that user should not seen project which are not in his user property.....
 

Thanks
Regards
CA Mahaveer Somani



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.

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



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.

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