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

Changes to .RML files won't show up on reports

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
rml
1 Atsakyti
5384 Rodiniai
Portretas
JulienB

My colleagues wanted some changes in our reports. So I edited the .RML files with the text editor and restarted the service openerp-server.

And my changes were never applied to the PDF reports.

So I read the documentation specific to version 5.0 on the odoo  web site, I read the Q/A on this forum, and... except from a consensus about the option " Reload from attachment ".. nobody seems to have problems with .RML files modifications not being applied to the resulting .PDF files.

The facts :

  • The RML report contains very specific text that only belongs to one .RML file (so the file to edit is obvious)

  • OpenERP 5.0 / linux Ubuntu 16.04.3 LTS

  • Columns `report_sxw_content_data` and `report_rml_content_data` in database table `public.ir_act_report_xml` are null

  • attachment_use is false  : Reload from attachment is unticked

The things I tried so far :

  • Restart openerp-server after .RML file modification (no changes)

  • Removed or changed report lines from ir_act_report_xml (crashed odoo)

  • Check that Reload from attachment is unticked

  • Set the values `report_sxw_content_data` and `report_rml_content_data`to null (no changes, in fact they were already null)

Does anybody have a clue about the correct method to update a .RML report ?

0
Portretas
Atmesti
JulienB
Autorius

@ray does it means I should stop the service and run ./openerp-server.py -u custom_module ?

JulienB
Autorius

As recommended by @raycarnes I stopped the open-erp server, backed-up the database and ran

./openerp-server.py --update=custom_module -d db_101209 --stop-after-init

Odoo actually tried to update the module and choked on a xml syntax error somewhere else (a previous contractor made the syntax error 3 years ago, and the module has not been updated in the last 3 years, probably). The resulting database was impossible to use..

So now either I fix the prevous guy's mistakes, or I find another way to update the .RML definitions for open-erp. There MUST be another way.. last year I upgraded the operating system and made a few minor fixes in the .RML files layout.. these changes were accepted into openerp without module updates.

Portretas
Ray Carnes
Best Answer

RML files, among others, are loaded into the Odoo database when the database is created.

Odoo then retrieves the RML from the database field(s) - never the file on disk.

You need to update the database to re-load the RML files into the database (or at least upgrade the modules containing those RML files).

This is the same for other files - such as XML. You need to update those modules to re-load the XML into the database.


1
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
Related Posts Replies Rodiniai Veikla
[SOLVED] Where is possible to modify rml files Solved
rml
Portretas
Portretas
Portretas
Portretas
4
gruod. 23
12828
RML editor error "'ascii' codec can't encode character u'\xb0' in position 11235: ordinal not in range(128)" on OpenERP 7
rml
Portretas
0
spal. 16
3483
RML not formatting, printing <b> </b> instead
rml
Portretas
Portretas
4
spal. 15
4585
How to rotate image in RML report ?
rml
Portretas
0
rugs. 15
5225
How can i use <storyPlace> element in RML on OpenERP7? Solved
rml
Portretas
Portretas
1
rugp. 15
5245
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