4844

How to Get reports in odt format from rml files in openerp

I have an RML file that generates a report in PDF format, but how can I generate the same report in ODT format?

Answer1:

Under the Administration menu, go to Low Level Objects: Actions: Report Xml. Open the entry for that report, and change the type from pdf to odt.

Just to make this programming related so it doesn't get shuffled off to superuser.com, here's how to configure the report's XML file with this change. Add the type attribute to your report declaration:

<report id="report_location_overview_all" type="odt" model="stock.location" name="lot.stock.overview_all" string="Location Content (With children)" rml="stock/report/lot_overview_all.rml"/>

Recommend

  • How to uninstall deprecated Oracle Data Provider?
  • JPG, png and gif “This file type is not supported” in joomla 3.2.1
  • AES encryption with plain text key using bash openssl
  • Rspec doesn't reload changed password attribute - why?
  • Adding new column to DataFrame with values dependent on index ref
  • Safari PHP form submission -file upload hangs
  • Pythons argparse default value doesn't work
  • SQL query to group by maximal sets of a column having inner consecutive distances below a threshold
  • Unix Network Programming Clarification
  • How to display the images in listview
  • AWS-SES: Handling Bounces for Invalid ISPs
  • Fully customized Python Help Usage
  • can variables be set randomly when declaring them again?
  • sweetalert2 inputoptions from file in select example
  • Get the number 18437736874454810627
  • Django model for a Postgres view
  • C# - Most efficient way to iterate through multiple arrays/list
  • Is there a way to dynamically embed PDF Files in a JSP pulled from the file system?
  • Creating PDF from TIFF image using iText
  • Switch to popup in python using selenium
  • Is it possible to open regedit and navigate to straight to a specific key using process.start?
  • Insert new calendar with SyncAdapter- Calendar API Android
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • Debug.DrawLine not showing in the GameView
  • Play WS (2.2.1): post/put large request
  • CSS Linear-gradient formatting issue accross different browsers
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • How to extract text from Word files using C#?
  • Deserializing XML into class C#
  • Can I make an Android app that runs a web view in Chrome 39?
  • What do the 'size' numbers mean in the windbg !heap output?
  • Calling of Constructors in a Java
  • Is there a mandatory requirement to switch app.yaml?
  • Traverse Array and Display in markup
  • Transpose CSV data with awk (pivot transformation)
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • LevelDB C iterator
  • Linking SubReports Without LinkChild/LinkMaster
  • How to Embed XSL into XML
  • Python/Django TangoWithDjango Models and Databases