تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
836 أدوات العرض

Hi Odoo devs, 

Suppose I have a Orders model containing the following 3 fields:

  • order_id
  • order_date
  • group_id

I have a button that triggers a wizard which calls a function to take a date entered by the user to retrieve all the orders of that date, and assign a group_id to each order by grouping them with custom logic. The function returns
{

          'type': 'ir.actions.client',

          'tag': 'reload'

}
to trigger client side reload.

Following the reload, i want to immediately add a filter of order_date = the date the user entered and a group by the group_id to the search bar in the tree view. Would appreciate any input.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 24
1741
0
سبتمبر 24
727
0
يونيو 24
984
3
يناير 23
29714
1
مارس 15
5317