Odoo Help

Welcome!

This community 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.

0

Paperformat in Qweb

By
Umashankar Subramani
on 1/21/15, 4:06 AM 939 views

Can anybody give me suggestion for this error, I have used paperformat in Qweb report and i dont know why i got this error please give some guidelines....

<record id="paperformat_custom" model="report.paperformat">
            <field name="name">Custom format</field>
            <field name="default" eval="True" />
            <field name="format">custom</field>
            <field name="page_height">90</field>
            <field name="page_width">180</field>
            <field name="orientation">Portrait</field>
            <field name="margin_top">30</field>
            <field name="margin_bottom">30</field>
            <field name="margin_left">10</field>
            <field name="margin_right">10</field>
            <field name="header_line" eval="False" />
            <field name="header_spacing">20</field>
            <field name="dpi">100</field>
        </record>

ParseError: "report.paperformat" while parsing /home/umashankar/Uma/Odoo8.0/openerp/addons/b_supplier_report/paperformat.xml:4, near

 

The format "custom" does not exist in your system. You should use an existing paper format or create a new one through XML.

Yenthe
on 1/21/15, 4:20 AM
0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 1/21/15, 9:59 AM

You add in your module, in __openerp__.py

  'depends': ['report'],

0

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
996
| 5 3 6
Rajkot, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 1/21/15, 4:13 AM

Hello Umashankar,

use this link may be help you https://www.odoo.com/forum/help-1/question/creating-custome-report-with-libreoffice-or-aeroo-69617

if you find this answer helpful, please give me a thumbs up vote

Regards,

Ankit H Gandhi

poooooooooooooooooi

aci aisha
on 1/21/15, 5:03 AM

Thanks ankit

Umashankar Subramani
on 1/21/15, 5:06 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/21/15, 4:06 AM
Seen: 939 times
Last updated: 3/16/15, 8:10 AM