← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 676482] [NEW] RML headers option has no effect (v6)

 

Public bug reported:

Add RML headers option in Low level Object->Actions->Reports option has
not effect when changed when printing the report.

EG. 
Create new company with sales management module added.
Go print a Sales order report. (Notice RML header or Company logo on report)
Now: find Quotation / order under Low level Object->Actions->Reports , change  to false or empty. (reload view and print sales order report. no change)

I find that when creating a new customized report, you cannot change the Company rml headers to be viewed later on through the clients.
Also: elements such as: [[ company.rml_footer1 ]] or [[ company.rml_footer2 ]] do not render when creating a new form which does not have Corporate Header enabled in its xml file.

here is an example.
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
    	
    	<!-- Declare an extra quote rml -->
    	<report id = "add_quotation"
            model = "sale.order"        
            name = "report.sale"
            rml = "quotation_extend/report/quotation1.rml"
            string="Quote inc Fitting" 
            header="False"
            keyword="client_print_multi"
            />
    </data>
</openerp>

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
RML headers option has no effect (v6)
https://bugs.launchpad.net/bugs/676482
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
Add RML headers option in Low level Object->Actions->Reports option has not effect when changed when printing the report.

EG. 
Create new company with sales management module added.
Go print a Sales order report. (Notice RML header or Company logo on report)
Now: find Quotation / order under Low level Object->Actions->Reports , change  to false or empty. (reload view and print sales order report. no change)

I find that when creating a new customized report, you cannot change the Company rml headers to be viewed later on through the clients.
Also: elements such as: [[ company.rml_footer1 ]] or [[ company.rml_footer2 ]] do not render when creating a new form which does not have Corporate Header enabled in its xml file.

here is an example.
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
    	
    	<!-- Declare an extra quote rml -->
    	<report id = "add_quotation"
            model = "sale.order"        
            name = "report.sale"
            rml = "quotation_extend/report/quotation1.rml"
            string="Quote inc Fitting" 
            header="False"
            keyword="client_print_multi"
            />
    </data>
</openerp>





Follow ups

References