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

Hi everyone,

i have a Wizard under the "More" Button. It does something on a Button click. Is ist possible that i call the action direct instead of opening the wizard an then call the action on button click. I want the same behavior like the behavior of the reports under the print button. Click the under menu and directly call an action to be done.


Greets Flo

الصورة الرمزية
إهمال

If I'm understanding correctly, you have an action that opens a simple wizard, and this simple wizard is no more than a button, "Do Something". You want to get the "Do Something" function tied directly to the More dropdown action? That's traditionally not now the More menu works with actions, so I'm tempted to say you'll need to do some web interface tweaking to get a new executable function to run from that menu when you're viewing a certain object. Unfortunately I'm not as familiar with QWeb. I could be wrong about requiring QWeb/Javascript changes to get that working.

الكاتب

Yeah, that's exactly what i wanna do. Sorry for the bit difficult description

أفضل إجابة

Really interested in! I'm try to do something similar whit reprint function on pos order (ir.actions.report.xml,388) and I would like to create a pdf automatically after validating the pos order on pos UI but I didn't figured out how to implement the server action on the pos workflow. 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 22
1547
1
يوليو 25
824
0
يوليو 25
2
0
يوليو 25
5
0
يوليو 25
105