Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7698 มุมมอง

Friends,

How to set the following domain filter as default?

                 <filter string="file numbers" domain="[('file_no','ilike','TN%')]"/>

Thanks...

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

you can create a record rule for you module if you are using multi company 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

           

1.provide name to filter
   <filter string="file numbers" name="file_numbers"  domain="[('file_no','ilike','TN%')]"/>


2. pass the filter in the context like this to the action window

<field name="context">{"search_default_file_numbersl":1}</field>

--->Hope this helps you

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 16
4284
1
พ.ย. 22
102
3
ก.ย. 25
470
1
ก.ย. 25
1878
1
ส.ค. 25
344