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

Hi all,

Il would like to create a button (on/off) on the product that react like :

Hide the product line on the template of quotation, sales order and bills if the button is flaged

アバター
破棄
最善の回答

HI Aravelli,

Instead of the button, you can go with Boolean field. 
Please add boolean field in the product template.
Now add the below domain on the product field of your product line on the template of quotation, sales order and bills fields.

domain = "[('your_boolean_field', '=', False)]"  

This will filtered your flagged products when you select it in the product lines product field.

Hope it will help you.

アバター
破棄
著作者

Thanks, it sounds great ;)
I now have to find where (in studio I suppose) i can fill in this domain syntax

関連投稿 返信 ビュー 活動
1
8月 23
2531
1
11月 22
2466
4
10月 21
6993
2
8月 19
34922
1
7月 15
12810