Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
in openerp v7
I can't update the report PDF sale quotation, I open file /addons/sale/report/sale_order.rml but no change in pdf
I succeeded in updating the report PDF invoice, i open file /addons/account/report/account_print_invoice.rml
Can you help me ? How can we ensure that the file RML is the good one ?
I found solution :
1.Open pgAdmin. check your report id in ir_act_report_xml.
2.Open a query.
SELECT id FROM ir_act_report_xml WHERE model = 'sale.order';
3.put the id (ir_act_report_xml.id) result into place of your_id
update ir_act_report_xml SET report_rml_content_data = NULL WHERE id = your_id;
4.Run and enjoy the rml edition. :-)
Alternatively, you could create a module and make your changes in code. In your XML file, override the view like this:
<?xml version="1.0" encoding="utf-8"?>
<template id="your_new_so_body" inherit_id="sale.report_saleorder_document">
Here's a link to module building instructions.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/16/15, 5:47 AM|
|Seen: 1111 times|
|Last updated: 3/16/15, 8:10 AM|