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

How to make a custom domain such as on my sales order line i want to restrain my final user to the children of my customer?

アバター
破棄
著作者 最善の回答

1) Add a field M20 in the list and form view of my sale order line

2) Place the field customer (order_partner_id) in the sale order line form. If it is not the case, the domain will never work.

3) Make a domain on my field in 1. Pay attention, because studio will only write [["partner_id","=","order_partner_id"]] but it should [["partner_id","=",order_partner_id]]
So in order to change 3 part of the domain, you have to adapt that manually in the sale order line form.

アバター
破棄
関連投稿 返信 ビュー 活動
1
2月 23
3055
1
9月 21
3551
1
2月 24
3179
1
4月 21
8174
2
10月 24
2949