In the overview of warehouse, I want to have an entry under the button 'Print', which appears when selecting one or more delivery orders. It should allow me to select multiple deliveries, and print them all at once, instead of printing one by one.....
In the various questions, they tell you to make a report in an XML file, which points to the report you want to use. I want to use the default report, so I think I should not change anything regarding the RML file or the parser.
When copying from production the report for account.invoice (/addons/account/account_report.xml), I do get another entry under the print button, with the string I specified. But when I copy the report for the delivery order (/addons/delivery/delivery_report.xml), I do not see another entry under the print button.
When checking the reports at Settings -> Actions -> Reports, I do see an entry with my title.
The log file does show it is reading/loading the file which contains my reports, so I know it is read.
What did I forget to do or change?
The xml-definition file, with the invoices first (which do show up under the print button) and the Delivery orders as second report.
<?xml version="1.0"?> <openerp> <data> <report id="account_invoices" string="Invoices Testing" model="account.invoice" name="account.invoice" rml="account/report/account_print_invoice.rml" auto="False" usage="default" /> <report id="report_shipping" model="stock.picking" name="sale.shipping" multi="True" rml="delivery/report/shipping.rml" string="Delivery order Testing" /> </data> </openerp>
you do not need to do any enhacement to standard OpenERP in order to acheive what to are trying. All you have to do is first select the delivery orders you want to print and then click on the layout you need on the print select button. This will then generate a single pdf but all of the selected delivery orders are contained within this pdf on seperate pages.
hope this helps
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/11/13, 10:18 AM|
|Seen: 2300 times|
|Last updated: 8/15/15, 10:33 AM|