【发布时间】:2021-09-01 11:36:03
【问题描述】:
正如标题中提到的,我需要在新窗口中打开一份报告。我知道我们可以使用 target 和 act_window 来做到这一点,但我不知道如何实现它来打开报告。
<template id="myTemplate">
<!--template-->
</template>
<report
id="my_report_partner"
string="Graphe"
model="res.partner"
report_type="qweb-html"
file="myModule.myTemplate"
name="myModule.myTemplate"
/>
按钮:
<button name="%(myModule.my_report_partner)d" type='action' string="open graph"/>
【问题讨论】: