I have a button in form which show a wizard has a button to print specific report template, i want to show a template data directly in this wizard without click to print and call a template. is there any way to do this?
i try to but this directly but data is not showed.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
3
回覆
2939
瀏覽次數
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
7月 24
|
1480 | ||
|
1
9月 23
|
2044 | ||
|
1
6月 23
|
3190 | ||
|
1
3月 24
|
4556 | ||
|
1
12月 22
|
3396 |
You can create a o2m field in the wizard and can show your report data to o2m field when wizard is opened.
this report data is not always the same, so i can't create pre-fields for them.
Data pre-filling will be dynamical. You can fill up the data into o2m from default_get/your custom (called from button) method of the wizard and add your logic in the method.