Match criteria

Hello All,

   I have to match two different values for a profile in doctype how can i implement it. I have added properties region and company for partner role.
in sales order doctype i have to match partner role for region and company I have given two same permission for partner with two mach but it filters for only one value.

example of sales oder doctype

lavel       role        match
0            partner    region
0            partner    comapny 

In report it shows "showing only for region = north &  comapny=mtn " 
but it shows list of sales order mtn company and all region



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/DhYaF7tHhh8J.

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

 

 

Hi gangadhar


The permissions work based on OR logic.

The list is showing
- all records with region North
- all records with company mtn

That message is a bit misleading. We will change it.

As far as I know, there isn't a way to have AND logic permission combination as of today.

Thanks,
Anand.

Sent from my phone


On Sun, Mar 17, 2013 at 3:31 PM, gangadhar kadam <em...@gmail.com> wrote:

Hello All,

I have to match two different values for a profile in doctype how can i implement it. I have added properties region and company for partner role.
in sales order doctype i have to match partner role for region and company I have given two same permission for partner with two mach but it filters for only one value.

example of sales oder doctype

lavel role match
0 partner region
0 partner comapny

In report it shows "showing only for region = north & comapny=mtn "
but it shows list of sales order mtn company and all region



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/DhYaF7tHhh8J.

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







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 post to this group, send email to er...@googlegroups.com.

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