Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
7727 Ansichten

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,

Avatar
Verwerfen
Beste Antwort

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.

Avatar
Verwerfen
Autor Beste Antwort

Hi,

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

Thanks,

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Okt. 22
5774
3
Juli 22
11722
7
März 22
41903
1
Nov. 16
4531
2
Apr. 16
11054