İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
8954 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eki 24
1340
1
May 16
5973
2
Mar 15
8740
3
Oca 25
13152
0
Tem 22
2564