Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
rml
1 Odgovori
5255 Prikazi
Avatar
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
Avatar
Opusti
JulienB
Avtor

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

JulienB
Avtor

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.

Avatar
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
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
[SOLVED] Where is possible to modify rml files Solved
rml
Avatar
Avatar
Avatar
Avatar
4
dec. 23
12667
RML editor error "'ascii' codec can't encode character u'\xb0' in position 11235: ordinal not in range(128)" on OpenERP 7
rml
Avatar
0
okt. 16
3483
RML not formatting, printing <b> </b> instead
rml
Avatar
Avatar
4
okt. 15
4448
How to rotate image in RML report ?
rml
Avatar
0
sep. 15
5131
How can i use <storyPlace> element in RML on OpenERP7? Solved
rml
Avatar
Avatar
1
avg. 15
5121
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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