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

I know about running model functions when I install or update a module, by leveraging the function tag:


Can I do this with a Server Action?  I am not sure how to go about defining which action to search for.  This is what I have:

<function name="run" model="ir.actions.server">
      <function name="search" model="ir.actions.server">
        <value eval="[('name','=','MY_SERVER_ACTION')]"/>
      </function>
    </function>

I just get what appears to be an infinite loop of "install the module", "install the module" until the server times out.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 24
1188
1
ديسمبر 22
44729
1
يونيو 17
3426
0
مارس 15
5466
1
يوليو 25
360