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
    • Siivoustarvikkeet
    • 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
    • Tutoriaalit
    • 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

Want to manually edit rml, but which file

Tilaa

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

Tämä kysymys on merkitty
invoicermlreport
2 Vastaukset
10231 Näkymät
Avatar
Julian Isaac
/usr/lib/pymodules/python2.7/openerp-server/addons/account_invoice_layout/report/special_message_invoice.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/account_invoice_layout/report/report_account_invoice_layout.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/account/report/account_print_invoice.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/report_intrastat/report/invoice.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/hr_timesheet_invoice/report/cost_ledger.rml
/usr/lib/pymodules/python2.7/openerp-server/addons/hr_timesheet_invoice/report/account_analytic_profit.rml
/usr/share/pyshared/openerp-server/addons/account_invoice_layout/report/special_message_invoice.rml
/usr/share/pyshared/openerp-server/addons/account_invoice_layout/report/report_account_invoice_layout.rml
/usr/share/pyshared/openerp-server/addons/account/report/account_print_invoice.rml
/usr/share/pyshared/openerp-server/addons/report_intrastat/report/invoice.rml
/usr/share/pyshared/openerp-server/addons/hr_timesheet_invoice/report/cost_ledger.rml
/usr/share/pyshared/openerp-server/addons/hr_timesheet_invoice/report/account_analytic_profit.rml

I'd like to work on a better layout for our invoices, but unsure which file to change. Above I've searched for *.rml and then filtered through a grep for 'invoice'. Which of these files would be the one I need to change and do I need to do anything additional after editing the file (compile, build... ??)?

1
Avatar
Hylkää
Avatar
patrick
Paras vastaus

You might want to keep your modified file separate from the default ones.

Procedure you want to follow:

  • Create new module, with your report
  • upload module to /addons directory
  • install the module within openERP
  • change the path for the specific document/report at:

    • Settings -> Actions -> Reports
    • Search for the document you changed and click on it
    • Click on the button 'Edit'
    • Modify the text behind 'Report File'.

    Example: The location is addons/my_module/report/myrep.rml. So you type my_module/report/myrep.rml

Hopefully the above procedures are clear enough for you to fix your issue.

1
Avatar
Hylkää
Julian Isaac
Tekijä

Thanks Patrick, but it's still not clear to me whether I should be starting from the addons folder under "/usr/share/pyshared/openerp-server/" or the one under "/usr/lib/pymodules/python2.7/openerp-server/". It doesn't look like one is a link to the other...

Andreas Maertens

Seems like you should take that one from: /usr/share/. The other one is for libarys (/usr/lib/)

patrick

I use the addon from /usr/lib/.... All my own modules are placed there, and I don't have any issues. Just use sudo cp -r <source>/ /usr/lib/pymodules/python2.7/openerp/addons/ to copy your own module there.

Julian Isaac
Tekijä

OK, well I tried putting the new module into the /usr/lib... path and it didn't show up. Added the module to /usr/share... path and it appeared after updating the module list. So I guess the answer to the first part of the question (for me at least) is create the new module dir under "/usr/share/pyshared/openerp-server/addons"

Andreas Maertens

So is my solution correct? Please mark it to help other users find the right things quicker. ;)

Chris Dennis

Does anyone have a complete example of a very simple new module that they can share? One that just has a modified report would be ideal. I've looked at what documentation I can find, and learning how to create an add-on seems like a lot of work just to change the text of a report.

Avatar
Andreas Maertens
Paras vastaus

The one you search for is: /usr/share/pyshared/openerp-server/addons/account/report/account_print_invoice.rml

As patrik said it is better to create a new addon.

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
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Proper way to customize Invoice reports on Odoo 7
invoice rml report
Avatar
Avatar
Avatar
2
maalisk. 15
9943
Replace invoice template with my own rml file
invoice rml report template
Avatar
4
jouluk. 23
15800
[18.0] invoice report looks OK when previewing but fonts scaled up and sections overlap when printed Ratkaistu
invoice report
Avatar
Avatar
Avatar
2
kesäk. 25
3172
How to print the doc no. (Purchase Order no. or invoice no.) on each page of PDF report Ratkaistu
rml report
Avatar
Avatar
Avatar
3
heinäk. 24
9332
Group Invoice Lines by Sales Order
invoice report
Avatar
Avatar
Avatar
Avatar
Avatar
4
toukok. 24
6852
Yhteisö
  • Tutoriaalit
  • 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