I'm using ubuntu 12.04 and opeerp 7.0-20130828-231133. I have created a simple module, added data, clicked on the form view only edit, create, more buttons appeared, shouldn't there be a print button as well?
Nope, you have to add at least a report to your new module to enable it.
<?xml version="1.0" encoding="utf-8"?> <openerp> <data> <report id="sale.report_sale_order" name="sale.order.webkit" auto="False" model="sale.order" file="sale_order_webkit/report/sale_order.mako" string="Quotation - Order" webkit_header="base_headers_webkit.base_reports_portrait_header" report_type="webkit"/> </data> </openerp>
This automatically adds a link on the Print Menu. It's based on the model.
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: 9/10/13, 12:26 AM|
|Seen: 1506 times|
|Last updated: 3/16/15, 8:10 AM|