match criteria

15 views
Skip to first unread message

gangadhar kadam

unread,
Mar 17, 2013, 6:01:03 AM3/17/13
to erpnext-dev...@googlegroups.com
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

Anand Doshi

unread,
Mar 17, 2013, 6:06:30 AM3/17/13
to erpnext-dev...@googlegroups.com, erpnext-dev...@googlegroups.com

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


--
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 post to this group, send email to erpnext-dev...@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.
 
 

Reply all
Reply to author
Forward
0 new messages