I try to create a report on OpenERP. There is several methods to do this task (openoffice plugin, XML files, RML files, etc.)
What's the quickest way to do that (and/or the most beautiful) ?
I've only used the RML files and I've been happy with the result. I haven't tried the OpenOffice method, but it seems like the conversion step from SXW to RML would be more hassle. When I edit an RML file, I just save it and click on the report button in the client to try it out. No compilation or conversion necessary. OpenOffice might be useful if I wanted to let business users make minor changes to reports, but I suspect that all the weird data extraction code would confuse them.
I haven't tried the XML report technique, so I can't comment on it.
I assume you've seen the documentation on writing reports. I just noticed a section that talks about changing the corporate default headers, and it only seems to be described for XML reports. I haven't looked any further, but that might be a reason to use XML instead of RML. I know we would like to get rid of the corporate headers for some internal documents.
Web kit Report is the easiest way to make a Report, to install webkit report
sudo apt-get install wkhtmltopdf
and install report_webkit module in OpenERP, it will show the tab in the company, within company you can make simple report using OpenERP GUI,
for Advance report You must learn the maco template,
Thanks..!!
If you know html then webkit report using mako. Webkit reports are very easy to create compare to rml.
For simple reports I prefer using rml reports, by creating an sxw file first and then convert it to rml using the script in the openerp module base_report_designer.
For complex report and also for making the report more beautiful, I prefer to use jasper_reports module. With the help of iReport we can generate beautiful reports. We can also use jdbc datasource which can be connect to our database and pull the data. Subreport is also possible using jasper_reports
There are also other reporting tools like aeroo reports,using xsl file, openoffice plugin etc.
jasper report can be used to create OpenERP report using sql query.
Here is a way I have shown in my post which describes creating a report based on SQL query in OpenERP 7. Please follow this link for the details. Hope this will help others.
http://sajjadhossain.com/2013/06/30/openerp-7-creating-report-using-sql-query/
the most easiest and simple and quickest way to edit,customize and create your own report is editing the .rml files knowledge from experience so far
Related
I am working on a NopCommerce website and have quite a bit of site-wide customization so I have created a plugin to handle it all but not sure on how to handle the localization. I see there are a couple of ways of updating the Localization strings, one way I have found is in the Plugin's Install() method:
this.AddOrUpdatePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.AdditionalFee", "Additional fee");
This looks like it only adds new resource strings for the plugin, is there a similar way to update the other resources via the Install() method like:
Admin.Catalog.Products.List.DownloadPDF
I found that there is a way to export the entire language to a language_pack.xml file, would it be better to just create an entire language pack instead? Is there a way to add a new language pack from the plugins Install() method?
I guess I could simply open the language_pack.xml file and add each resource found using the AddOrUpdatePluginLocaleResource, I was hoping that there was a built-in way of doing this using NopCommernce functionality.
Thanks!
As #Raphael suggested in a comment, provide a language pack along with plugin file to the end users, and give an option to upload required resource file within your plugin configuration page.
As per as I know, there is no inbuilt way to add language pack on plugin installation, but you can do some code on plugin install method to find language pack file(s) from plugin folder and install it, not quite sure, you can take reference of inbuilt methods.
I was hopping to have an easy way to customize the display behavior of the Grails fields plugin after reading its docs, but I just realized that it demands an enormous effort as there is no available templates to start from.
I can see the display functionality is hard-coded in FormFieldsTagLib (from methods like renderDefaultInput() ) but I think it is imperative to have the templates themselves (or a way to generate them, somewhat like generating static scaffolding in Grails).
I can see no consistent (and reasonable) way to customize display behaviors for the Grails fields plugin without that. Am I missing something?
Imagine the use case where someone wants to change the boolean default rendering just to display the field label after (and not before) the checkbox, and keep it available to all the boolean fields within its application. Which concerns will he need to handle regarding if the field is required, has errors, prefix and so on? When all he needed was just moving two divs around.
Grails version: 2.5.4, fields-plugin version: 1.5.1
You aren't missing something. You'd have to re-create the existing implementation of each field type rendering in a template for use with the plugin. There isn't a way to generate a file to start with (like scaffolding).
I won't bore you with the historical reason as to why this is the case, but if you do create a set of base templates it would be a good idea to contribute back to the plugin.
I had an issue with the <f:table> tag, and found this post, which led me to find the base or default template inside the plugin repo.
Take a look at
https://github.com/grails3-plugins/fields/tree/master/grails-app/views
That may help you finding some default templates, along with the official doc and this answer on where to put the override.
Hope it helps you.
I have no background printing reports others than when I use to use crystal report in small Visual Basic applications, now I am starting using grails and I need to print some reports in some pages with fixed constraints like receipt, I search in plug-ins but I do not know which one is the recommended one in this scenario
thanks for your time and help
The Rendering plugin can create PDF files from gsp code. The PDFs can then be saved or printed as a report.
http://grails.org/plugin/rendering
Also a Jasper Reports plugin exists but I have not used that but that might fit your needs better.
http://grails.org/plugin/jasper
I've been "playing" with ReportViewer and I need to know how to do the following things:
Print report without creating a ReportViewer. Why? I don't want to show it, just print. ReportViewer is too slow.
Allow users to edit report design. The idea is to allow users to drag and drop TextBoxes to fit a pre-printed form. For example: to print invoices in a pre-printed form.
Thanks in advance.
You CAN print a report without a report viewer.
http://msdn.microsoft.com/en-us/library/ms252091.aspx
Also I have seen a post somewhere that creates a class that inherits from PrintDocument and you can pass the report into. It was in C# and I converted it to VB and it works fine.
Edit: Here is the post that detials the ReportPrintDocument class. Code linked on bottom of post
http://blogs.msdn.com/b/brianhartman/archive/2009/02/27/manually-printing-a-report.aspx
For the first part of the question: you can not print report without using reportViewer control. But you can print thre report from reportViewer control without actually showing the report. Here is similar question explaining how to do printing of report whout preview Link .For the second part of the question there are several ways to edit report desing. First is to use report designer in visual studio. Which is not good for users becaouse most user dont have VS or knowlege how to use it.Another way is to edit the xml of thr rdlc file by hand which is difficult to do even by programers. What i can suggest is using ReportBuilder. But this possible only if you use report server not reports in local mode.If thre is something not clear please ask.
Best Regards,
Iordan
Is there any way of persisting my F# session or serializing it into a file? i.e. so I can hand it to a friend and say "run this" and they will be at the same place I was? I know forth had this ability but I can't find any way of doing this.
An alternative would be a log file or something of similar ilk, but ideally it would strip the output and just give me the code I wrote.
On the topic of user questions, is there a config file for F# so I can add some "always includes" or alter the defaults?
There is no way to serialize the F# Interactive session or create some log of commands automatically.
The typical user interaction is that you write all your code in F# Script File (.fsx extension) and evaluate code by selecting lines and sending them to F# Interactive using Alt+Enter. If you work like this, then the F# Script File is a bit like log of your work - and you can easily send it to other people.
The good thing about this approach is that you can edit the file - if you write something wrong, you can correct it and the wrong version will not appear in the log. The bad thing is that you need some additional effort to keep the source file correct.
Regarding automatic inclusions - you can specify options for fsi.exe in Visual Studio Options (F# Tools). The --load command line parameter can be used to load some F# source at startup.