Our zaber_purchase module contains some changes to the purchase order report required by the user. This is to replace the purchase_report.xml file of the standard report with our standard report.
< report
auto="False"
id="purchase.report_purchase_order"
model="purchase.order"
name="purchase.order.zaber"
rml ="zaber_purchase/report/order.rml"
string="Purchase Order"
usage="default"/>
Since it is not an inheritance but a replacement report, you must copy the entire report in your version. The ID of your report must match the ID of the original report, including the module name. In the example above, the original The id of the report is report_purchase_order, which is part of the purchase module, so your report ID must be purchase.report_purchase_order to replace it. The name must match the name in your version parser file, and the rml attribute must point to your version RML file.
Sense Xie Mihai explained most of the content in the OpenERP forum.
I want to change the purchase order report in OpenERP 6.1. Do I have to enter and make changes to the purchase module, or Can I create a new module to inherit the standard report and overwrite some details.
You cannot completely inherit other reports and only cover some details, but you can replace the standard report And make all existing links start a new report.
Our zaber_purchase module contains some changes to the purchase order report required by the user. This is to replace the purchase_report of the standard report with our standard report .xml file.
< br />auto="False"
id="purchase.report_purchase_order"
model="purchase.order"
name="purchase.order.zaber"< br /> rml="zaber_purchase/report/order.rml"
string="Purchase Order"
usage="default"/>
Since it is not an inheritance but a replacement report, you must copy the entire report in your version. The ID of your report must match the ID of the original report, including the module name. In the above In the example, the id of the original report is report_purchase_order, which is part of the purchase module, so your report ID must be purchase.report_purchase_order to replace it. The name must match the name in your version parser file, and the rml attribute must Point to your version of the RML file.
Thanks to mihai for explaining most of the content in the OpenERP forum.
p>