Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
8860 Prikazi

Hello, I 've made some custom fields in account invoice form, and i want to make them required or not depended on journal_id. As far {'required':[('journal_id', '=', 1)]} works, but its only for 1 condition. i want to make something like {'required':[('journal_id', '=', 1), ('journal_id', '=', 12)]} but nothing happens. Also I 've tried {'required':['I', ('journal_id', '=', 1), ('journal_id', '=', 12)]} but then it says that "I" is not in the domain. Any ideas?

Also I want to know if there is a way to invoice products without delivery order and manage quantity on hand.

Thanks in advance

Avatar
Opusti
Best Answer

That's because you mistakenly used an "I" to place or. But it's not an L or an i. It's a bar. |. Use this bar -- > |

Avatar
Opusti
Avtor

LOL. Thank you very much. You saved me from some more hours of dumb research. :)

Related Posts Odgovori Prikazi Aktivnost
1
okt. 24
1144
1
maj 16
5745
2
mar. 15
8531
3
jan. 25
12918
0
jul. 22
2369