Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

creating custome report with libreoffice or aeroo

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
4 Replies
10047 Rodiniai
Portretas
MoayadRayyan

greetings,

im trying to create new reports , but i don't know what is the best way to do it .

am using odoo 8 with ubuntu 12

i tried to add the report designer extension to the libreoffice 3.5 but i get this problem :

python-loader:<trype 'exceptions.importError'>;No module named com.sun.star.lang ,traceback follows couldn't find uno._uno_extract_printable_stacktrace

so i tried other module "Aeroo report " also with problem once i tried to add this module to my odoo

File "/opt/odoo/tierp/addons/report_aeroo/report_aeroo.py", line 38, in <module> from openerp.report.report_sxw import report_sxw, report_rml, browse_record_list ImportError: cannot import name browse_record_list

 

i really need help with this if any one can help me will be appreciated .

 

Best regards

 

1
Portretas
Atmesti
Portretas
Alejandro Perez Cosio
Best Answer

Hello MoayadRayyan,
Actually there is no way to create a custom report with Aeroo reports nor OpenOffice plugin with Odoo 8 and ubuntu.

  • Aeroo reports needs a python library (uno) which was deprecated and will not work without it, it works fine for pdf but it will not work for xls reports.
  • OpenOffice plugin doesn't work with Odoo 8

For Aeroo reports you will need to install some dependencies which are detailed in the project repository.

But there is a working alternative: 

  • Jasper reports

I personally use this last option + iReport designer and have no complains so far.

Cheers

2
Portretas
Atmesti
Portretas
Abdullah Sofan
Best Answer

@MoayyadRayan,

I have been struggling to figure how to make reports myself just a few days ago. I learned the basics of creating Qweb reports and this is what I have learned so far:

Let's say you want to create a report for your model named : moayad_model. and you want the report to display the fields: field_one and field_two.


1) Inside the folder of "moayad_model" create a new xml file (for example: moayad_report_view.xml) with this xml code in it:

<?xml version="1.0"?>
<openerp>
<data>

<!--#########################################################################
 Section 1: The below section specifies the paper format of the report you want 
 to create and its dimensions and orientation. 
 
##########################################################################--->

<record id="moayyadrayyn_paperformat_euro_lowmargin" model="report.paperformat">
        <field name="name">Moayyad's European A4 low margin</field>
        <field name="default" eval="True" />
        <field name="format">A4</field>
        <field name="page_height">0</field>
        <field name="page_width">0</field>
        <field name="orientation">Portrait</field>
        <field name="margin_top">5</field>
        <field name="margin_bottom">5</field>
        <field name="margin_left">5</field>
        <field name="margin_right">5</field>
        <field name="header_line" eval="False" />
        <field name="header_spacing">0</field>
        <field name="dpi">80</field>
    </record>

<!--#########################################################################
Section 2: In this section you specify the model you are creating this report for. in the
name and file attributes write them in this format:

the folder of your model.the name of the file of your report
 
##########################################################################--->

    <report 
        id="action_moayad_report"
        model="moayadmodel" 
        string="Moayad's Report"
        report_type="qweb-pdf"
        name="moayad_model.moayad_report" 
        file="moayad_model.moayad_report" 
    />
    
    
<!--#########################################################################
Section 3: This is the action record for the report. 
for record "id" use the id of the report you put in section 2 
for "ref" use the id of the paper format you put in section 1
 
##########################################################################--->    

    <record id="action_moayad_report" model="ir.actions.report.xml">
        <field name="paperformat_id" ref="moayyadrayyn_paperformat_euro_lowmargin"/>
    </record>

</data>
</openerp>


2) create another xml file called moayad_report.xml and place it inside your model directory (moayad_model) with the following code in it:

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <template id="moayad_report">
            <t t-call="report.html_container">
                <t t-foreach="docs" t-as="o">
                    <div class="col-xs-12">
                        <t t-call="report.external_layout">
                            <div class="page">
                            <!--################Start body of the report in HTML ###########-->
                            <!--################You can use simple HTML to add organize the fields as you wish
                                                them to appear in your report###########-->
                            <h2>Moayad Report Title</h2>
                                <table>
                                    <tr>
                                        <td>
                                                <h5 t-field="o.field_one"/>
                                                <h5 t-field="o.field_two"/>
                                        </td>
                                    </tr>
                                </table>
                            <!--################End body of the report in HTML###########-->
                            </div>
                        </t>
                    </div>
                </t>
            </t>
        </template>
    </data>
</openerp>

3) add both xml files you created to "update_xml" definition of the file  __openerp__.py 

That's it. Now after you install your module, the "print" drop down menu will be available for you to view.

I hope this helps you out. Again, I am just a newbi and I am sure someone here with more expertise would help you even more.

Salam

4
Portretas
Atmesti
Portretas
Mathias Neef
Best Answer

It is not for Libre-Office or Aeroo, but it is an interesting Tutorial for the actual standard way to create reports in Odoo:
http://blog.emiprotechnologies.com/create-qweb-report-odoo/

 

0
Portretas
Atmesti
Portretas
MoayadRayyan
Autorius Best Answer

ok can you please provide any helpfull taturial or links ? google is not that enought yet i can't find help .

0
Portretas
Atmesti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registracija
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now