Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

creating custome report with libreoffice or aeroo

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
4 Vastaukset
10050 Näkymät
Avatar
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
Avatar
Hylkää
Avatar
Alejandro Perez Cosio
Paras vastaus

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
Avatar
Hylkää
Avatar
Abdullah Sofan
Paras vastaus

@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
Avatar
Hylkää
Avatar
Mathias Neef
Paras vastaus

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
Avatar
Hylkää
Avatar
MoayadRayyan
Tekijä Paras vastaus

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

0
Avatar
Hylkää
Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Tavaramerkki
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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