Hello every body ,
Please I want to generate report when I click on button from wizared form using webkite but I do not know how to make this technice ,
this report for Chart of account
Thank you for all
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
Hello every body ,
Please I want to generate report when I click on button from wizared form using webkite but I do not know how to make this technice ,
this report for Chart of account
Thank you for all
##################1st create report like this :#########################
     <report
                auto="False" 
                id="report_test_report"
                model="report.model"
                name="report_testing_model"
                file="report_testing/report/report_webkit.mako"
                string="Webkit report"
                report_type="webkit" 
                webkit_header=""/>
######################create a mako file like this...####################
<html>
<head>
</head>
    <body>
        <br><br>
        <table border="1.0" width="100%" >
                <tr>
                    <th>Name</th>
                    <th>Experience</th>
                    <th>Salary</th>
                </tr>
            %for obj in objects:
                <tr>
                    <td>${obj.name}</td>
                    <td>${obj.exp}</td>
                    <td>${obj.sal}</td>
                </tr>
                %endfor
            </table>
    </body>
</html>
##################atlast make your print button to do this###############
 return {
                    'type':'ir.actions.report.xml',
                    'report_name':'report_testing_model',
                    'datas':datas,
                    'context':context
}
this is sample...
u can get some more details here
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|  | 3 sept. 18  | 6156 | ||
|  | 0 févr. 16  | 4218 | ||
|  | 0 août 15  | 6172 | ||
|  | 1 mars 15  | 1119 | ||
| 
            
                Currency by defaults
            
            
                    Résolu
            
         |  | 3 mars 15  | 909 |