跳至內容
選單
此問題已被標幟
2 回覆
7566 瀏覽次數

Hi Everybody,

I have created a new aeroo report which I can print by clicking on the action button on the right panel of the form. But I want to print it too via the 'print' button at the bottom on the form.

It seems I cannot do that in the configuration panel of the actions/reports. I have looked on the xml file, but I don't know how to change.

Can anyone help my please ?

Regards,

頭像
捨棄
最佳答案

You can do it by set value multi="False" and key2="client_print_multi".

Set multi="False" in aeroo report record in report xml file like this:

<record model='ir.actions.report.xml' id='your_record_id'>
    ...
    ...
    <field name='multi' eval='False'/>
    ...
    ...
</record>

Then set client_print_multi like this:

<ir_set>
    ...
    ...
    <field eval="'client_print_multi'" name="key2"/>
    ...
    ...
</ir_set>

You can find some more things about Linking Action to Event.

頭像
捨棄
作者 最佳答案

Hi,

I am still looking for an answer :( Any idea ?

Thanks,

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 22
5665
3
7月 22
11500
7
3月 22
41730
1
11月 16
4378
2
4月 16
10893