Hi all,
am looking for a solution to print report after clicking validate button. for eg: there is a button called 'Validate' inside 'stock.picking', after validating the state becomes done. in this situation i need to print an pdf report. (automatically print when you click validate button).
Please tell me a good solution for this issue.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Hi,
You can refer the following app which helps to trigger more than one action on ActionManager, you can find the way of using the app in its index.
https://apps.odoo.com/apps/modules/12.0/web_ir_actions_act_multi/
Regards
Hii Adith Sankar,
If i am not wrong then this link maybe helpful to you.
https://www.odoo.com/forum/help-1/how-to-print-report-using-button-in-odoo-12-148255
you just need to return the report action in validate button method.
in your case:
return self.env.ref('stock.action_report_delivery').report_action(self)
pass this in override method of button validate.
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
พ.ค. 20
|
2744 | ||
|
4
เม.ย. 24
|
6766 | ||
|
0
มี.ค. 21
|
2020 | ||
How to Add images in the pdf reports
แก้ไขแล้ว
|
|
2
ก.ค. 20
|
24920 | |
|
0
พ.ค. 20
|
2807 |