diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
| commit | 1ca3b3df3421961caec3b747a364071c80f5c7da (patch) | |
| tree | 6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /hrms_dashboard/report/broadfactor.xml | |
| parent | b57188be371d36d96caac4b8d65a40745c0e972c (diff) | |
initial commit
Diffstat (limited to 'hrms_dashboard/report/broadfactor.xml')
| -rw-r--r-- | hrms_dashboard/report/broadfactor.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/hrms_dashboard/report/broadfactor.xml b/hrms_dashboard/report/broadfactor.xml new file mode 100644 index 0000000..032a8dc --- /dev/null +++ b/hrms_dashboard/report/broadfactor.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="report_broadfactor"> + <t t-call="web.html_container"> + <t t-call="web.external_layout"> + <div class="page"> + <h2>Broad Factor Report</h2> + <table class="table table-condensed"> + <thead> + <tr> + <th>Employee</th> + <th></th> + <th class="text-right">Broad Factor</th> + </tr> + </thead> + <tbody> + <tr t-foreach="lines" t-as="line"> + <t t-if="line['broad_factor']"> + <t t-set="broad_factor" t-value="line['broad_factor']"/> + </t> + <t t-if="not line['broad_factor']"> + <t t-set="broad_factor" t-value="0"/> + </t> + <td> + <span t-esc="line['name']"/> + </td> + <td></td> + <td class="text-right"> + <span t-esc="broad_factor"/> + </td> + </tr> + </tbody> + </table> + </div> + </t> + </t> + </template> + + <report + id="action_report_broad_factor" + model="hr.employee.broad.factor" + string="Broad Factor" + report_type="qweb-pdf" + name="hrms_dashboard.report_broadfactor" + file="hrms_dashboard.report_broadfactor" + /> +</odoo> |
