Odoo Help


how to add print report in OpenERP 7 using aeroo?

on 1/13/14, 3:35 AM 3,694 views

i created a form and it should generate multi-report. Hence, I expect to see the Print button in tree view like in Invoice Form but do not see anything. Just the More button. I have used the OpenERP 6 code. I don't know the code for OpenERP 7 for adding aeroo report in form.

OpenERP 6 code:

    <record id="pcf_report_id" model="ir.actions.report.xml">
        <field name="name">Print Document</field>
        <field name="type">ir.actions.report.xml</field>
        <field name="model">model.name</field>
        <field name="report_name">Report</field>
        <field name="report_type">aeroo</field>
        <field name="tml_source">file</field>
        <field name="in_format">oo-odt</field>
        <field name="out_format" eval="ref('report_aeroo_ooo.report_mimetypes_pdf_odt')"></field>
        <field name="parser_loc">module/parser/parser.py</field>
        <field name="report_rml">module/report/report.odt</field>
        <field name="parser_state">loc</field>

    <field eval="'action'" name="key"/>
    <field eval="'client_print_multi'" name="key2"/>
    <field eval="['model.name']" name="models"/>
    <field name="name">Report</field>
    <field eval="'ir.actions.report.xml,'+str(pcf_report_id)" name="value"/>
    <field eval="True" name="isobject"/>
    <field eval="True" name="replace"/>

Can anybody help me? Please.

On 10/16/14, 11:23 AM

It seems that the ir_set does not work anymore with 7.0, but you can achieve the same by creating an ir.values with a record statement <record model="ir.values" id="whatsoever"> and the same fields inside.



About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 1/13/14, 3:35 AM
Seen: 3694 times
Last updated: 3/16/15, 8:10 AM