🎉 Initial commit - Hazard Odoo 16 project

- Custom modules: hazard_shopify, hazard_inventory_report, hazard_website
- Third-party modules: bi_sql_editor, query_deluxe, sql_request_abstract, l10n_mx_sat_sync_itadmin_ee
- Docker setup: Odoo 16 + PostgreSQL 17
- Utility scripts: backup_hazard.sh, update_module.py
- Agent configuration: .agents/AGENTS.md
- Security: Enterprise modules, credentials, backups and production data excluded via .gitignore
This commit is contained in:
2026-06-30 06:12:35 -06:00
commit 28d9e56f47
350 changed files with 99832 additions and 0 deletions
@@ -0,0 +1,73 @@
<?xml version="1.0"?>
<odoo>
<template id="pdf">
<t t-call="web.html_container">
<!-- <div class="header"/>-->
<div class="article">
<div style="text-align:center">
<t t-esc="query_name"/>
</div>
<div>
<table style="text-align: center">
<thead style="background-color: lightgrey">
<tr>
<th style='background-color:white'/>
<t t-foreach="headers" t-as="header">
<th style='border: 1px solid black'>
<t t-esc="str(header)"/>
</th>
</t>
</tr>
</thead>
<tbody>
<t t-foreach="bodies" t-as="body">
<tr t-att-style="'background-color: {0}'.format('cyan' if body_index%2==1 else 'white')">
<td style='border-right: 3px double; border-bottom: 1px solid black; background-color: yellow'>
<t t-esc="1+body_index"/>
</td>
<t t-foreach="body" t-as="value">
<td style="border: 1px solid black">
<t t-esc="str(value) if (value is not None) else ''"/>
</td>
</t>
</tr>
</t>
</tbody>
</table>
</div>
</div>
<!-- <div class="footer"/>-->
</t>
</template>
<record id="paperformat" model="report.paperformat">
<field name="name">Paperformat query deluxe</field>
<field name="default" eval="False"/>
<field name="format">A4</field>
<field name="page_height">0</field>
<field name="page_width">0</field>
<field name="orientation">Landscape</field>
<field name="margin_top">3</field>
<field name="margin_bottom">3</field>
<field name="margin_left">3</field>
<field name="margin_right">3</field>
<field name="header_line" eval="False"/>
<field name="header_spacing">3</field>
<field name="dpi">80</field>
</record>
<record id="action_print_pdf" model="ir.actions.report">
<field name="name">Query result</field>
<field name="model">pdforientation</field>
<field name="report_name">query_deluxe.pdf</field>
<field name="report_type">qweb-pdf</field>
<field name="paperformat_id" ref="query_deluxe.paperformat"/>
</record>
</odoo>