Initial commit

This commit is contained in:
gsinghpal
2026-02-22 01:22:18 -05:00
commit 5200d5baf0
2394 changed files with 386834 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_report_pdf_print_preview" model="ir.actions.report">
<field name="name">Pdf print preview</field>
<field name="model">res.users</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">pdf_print_preview.report_error_catcher</field>
</record>
</odoo>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="report_error_catcher">
<t t-set="company" t-value="env.company"/>
<t t-call="web.html_container">
<t t-call="web.internal_layout">
<div class="page">
<h5><b>Oops</b> Something went wrong when we printing the PDF:</h5>
<br/>
<div class="alert alert-danger">
<p><t t-esc="error" /></p>
</div>
</div>
</t>
</t>
</template>
</data>
</odoo>