Skip to Content
Menu
This question has been flagged
3 Replies
2260 Views

hi i am adding a domain on a field and it works fine

have a look at my code



  domain="[('fee_type','=','academic')]"
what i want is that i have to add on the name "additional" too? that is "fee_type=academic and additional"
 what is the syntax
Avatar
Discard

Hi,   try this domain="[('fee_type', 'in', ['academic', 'additional'])]"

Best Answer
domain="[('fee_type','=','academic'), ('fee_type','=','additional')]"
or
domain="[('fee_type', 'in', ['academic', 'additional'])]" ​


Avatar
Discard
Author Best Answer

thanks to both of you,,its working

Avatar
Discard