🎉 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,110 @@
<?xml version="1.0"?>
<odoo>
<record id="query_deluxe_view_tree" model="ir.ui.view">
<field name="name">Type a query tree</field>
<field name="model">querydeluxe</field>
<field name="arch" type="xml">
<tree>
<field name="name" string="Query"/>
</tree>
</field>
</record>
<record id="query_deluxe_view_form" model="ir.ui.view">
<field name="name">Type a query form</field>
<field name="model">querydeluxe</field>
<field name="arch" type="xml">
<form>
<header>
<button name="print_result" string="Print PDF" type="object" class="oe_highlight" attrs="{'invisible':[('raw_output','in',['',[],False])]}"/>
</header>
<sheet>
<group string="Examples">
<label string="Examples :" for="tips"/>
<div class="o_row">
<field name="tips" widget="selection"/>
<button name="copy_query" type="object" class="btn-danger" string="Copy" attrs="{'invisible':[('tips','=',False)]}"/>
</div>
<field name="tips_description" attrs="{'invisible':[('tips','=',False)]}"/>
</group>
<group string="Type a query">
<label string="Query :" for="name"/>
<div class="o_row">
<field name="name" placeholder="SELECT * FROM res_partner" style="border-bottom: 1px solid blue"/>
</div>
</group>
<group>
<button name="execute" type="object" string="Execute" class="oe_highlight"/>
</group>
<group>
<label string=" " for="rowcount"/>
<div class="o_row">
<field name="rowcount" readonly="1" nolabel="1"/>
</div>
</group>
<group>
<field name="html" readonly="1" nolabel="1"/>
</group>
<group>
<field name="show_raw_output"/>
<field name="raw_output" attrs="{'invisible':[('show_raw_output','=',False)]}"/>
</group>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="activity_ids" widget="mail_activity"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</sheet>
</form>
</field>
</record>
<record model='ir.actions.act_window' id='query_deluxe_submenu_querydeluxe_action'>
<field name="name">Queries</field>
<field name="res_model">querydeluxe</field>
<field name="type">ir.actions.act_window</field>
<field name="view_mode">tree,form</field>
</record>
<record id="tips_queries_view_tree" model="ir.ui.view">
<field name="name">Memorize a query tree</field>
<field name="model">tipsqueries</field>
<field name="arch" type="xml">
<tree editable="bottom">
<field name="name" string="Query"/>
<field name="description" string="Description"/>
</tree>
</field>
</record>
<record id="tips_queries_view_search" model="ir.ui.view">
<field name="name">Search a query</field>
<field name="model">tipsqueries</field>
<field name="arch" type="xml">
<search string="Search">
<field name="name"/>
<field name="description"/>
</search>
</field>
</record>
<record model='ir.actions.act_window' id='query_deluxe_submenu_tipsqueries_action'>
<field name="name">Examples</field>
<field name="res_model">tipsqueries</field>
<field name="type">ir.actions.act_window</field>
<field name="view_mode">tree</field>
</record>
<menuitem id="query_deluxe_menu" name="Query Deluxe" sequence="-1" groups="query_deluxe.group_query_deluxe" web_icon="query_deluxe,static/description/icon.png"/>
<menuitem id="query_deluxe_submenu_querydeluxe" parent="query_deluxe.query_deluxe_menu" action="query_deluxe.query_deluxe_submenu_querydeluxe_action" sequence="-1" groups="query_deluxe.group_query_deluxe"/>
<menuitem id="query_deluxe_submenu_tipsqueries" parent="query_deluxe.query_deluxe_menu" action="query_deluxe.query_deluxe_submenu_tipsqueries_action" sequence="10" groups="query_deluxe.group_query_deluxe"/>
</odoo>