Custom Permission to value depending on Doctype

Following is the scenario :-
Branch 1 , 2 , 3
User A permitted to branch 1
while making payment entry
user A needs permission to select all the branches in payment entry
How can this be achieved ?

In the Payment Entry, for the Branch field, enable property “Ignore User Permission” from customize form.

1 Like