コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
8855 ビュー

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

アバター
破棄
最善の回答

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 -- > |

アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
1
10月 24
1139
1
5月 16
5725
2
3月 15
8501
3
1月 25
12911
0
7月 22
2351