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

i have written the code in static->src->xml->and then the xml file

الصورة الرمزية
إهمال
أفضل إجابة

please try this,

<button type="action"

string="String"

groups="Groups"

name="%(your module.your sub menu action ID)d"

/>

or you can return the action params from your button function in your script

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 16
4987
0
أبريل 17
2803
Why XML in odoo ? تم الحل
3
مارس 25
956
Odoo action error تم الحل
1
أكتوبر 24
5293
0
ديسمبر 22
1856