mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-26 20:12:05 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="hr_employee_ppe_report" model="ir.actions.report">
|
||||
<field name="name">Receipt of Personal protection Equipment</field>
|
||||
<field name="model">hr.personal.equipment.request</field>
|
||||
<field name="report_type">qweb-pdf</field>
|
||||
<field
|
||||
name="report_name"
|
||||
>hr_employee_ppe.hr_employee_ppe_report_template</field>
|
||||
<field
|
||||
name="report_file"
|
||||
>hr_employee_ppe.hr_employee_ppe_report_template</field>
|
||||
<field name="binding_model_id" eval="False" />
|
||||
<field name="binding_type">report</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template id="hr_employee_ppe_report_template">
|
||||
<t t-call="web.html_container">
|
||||
<t t-foreach="docs" t-as="doc" t-if="doc.contains_ppe">
|
||||
<t t-call="web.external_layout">
|
||||
<div class="page">
|
||||
<h3
|
||||
class="text-center"
|
||||
>Receipt of Personal Protection Equipment</h3>
|
||||
<br />
|
||||
<div name="employee_name">
|
||||
<span
|
||||
t-field="doc.employee_id.company_id.name"
|
||||
/> is providing <u>
|
||||
<span t-field="doc.employee_id.name" />
|
||||
</u> with the following Personal Protection Equipment (PPE):
|
||||
</div>
|
||||
<br />
|
||||
<table class="table table-condensed">
|
||||
<tbody>
|
||||
<div>
|
||||
<t>
|
||||
<tr>
|
||||
<th>
|
||||
Product
|
||||
</th>
|
||||
<th>
|
||||
Quantity
|
||||
</th>
|
||||
<th>
|
||||
Indications
|
||||
</th>
|
||||
</tr>
|
||||
<tr
|
||||
t-foreach="doc.line_ids"
|
||||
t-as="line"
|
||||
t-if="line.is_ppe"
|
||||
>
|
||||
<td>
|
||||
<t t-out="line.product_id.name" />
|
||||
</td>
|
||||
<td>
|
||||
<t t-out="line.quantity" />
|
||||
</td>
|
||||
<td>
|
||||
<t t-out="line.indications" />
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</div>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
I, the undersigned accept the PPE that my employer is providing to me. I further acknowledge that I have been instructed
|
||||
in how to wear and maintain it. If it is lost or damaged, I will report the same to my employer promptly for replacement.
|
||||
</p>
|
||||
<p>
|
||||
I agree to wear the equipment when facing the exposure it is designed to protect against.
|
||||
I acknowledge that my failure to do so may subject me to disciplinary action.
|
||||
</p>
|
||||
<div class="row">
|
||||
<div class="col-4 text-left">
|
||||
<span>Signature:</span>
|
||||
</div>
|
||||
<div class="col-4 text-right">
|
||||
<span>Date:</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue