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

I need to create a button in a form view that print a report, i’ve seen some options but needs to edit  code

Is there any way to create this button  editing only the view xml file?
الصورة الرمزية
إهمال

This customization tips will help you: https://goo.gl/8HgnCF

أفضل إجابة

Hi,

You can add a new button to the view by the editing the view from the user interface using the developer mode. But to print the report on clicking the button you need to have a python function, see how to print report on button click: How To Print PDF Report In A Button Click Odoo

To Edit the view, activate the developer mode, click the debugged button on top right of screen and click Edit: View Form

Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 23
1908
invoice print error تم الحل
1
أكتوبر 21
3233
1
سبتمبر 19
3497
3
مارس 24
8741
4
مايو 24
12623