From d2f8934a539079ca558aca575dac23faaa2fd346 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Tue, 12 May 2026 19:15:21 -0400 Subject: [PATCH] feat(nexa_coa_setup): product categories, partner records, bank reconcile rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 7 — 14 product categories under Services/Resale parents, each wired to the appropriate default income (and expense for Resale) accounts. Phase 8 — RP-Associated partner tag + Westin Healthcare Inc + Divine Mobility Inc partner records, both as Customer+Vendor, both tagged RP-Associated, both with CA-Ontario fiscal position pre-applied. Phase 9 — 8 bank reconciliation rules for common vendors (AWS, Hetzner, DigitalOcean, Cloudflare, GitHub, Microsoft, Stripe fee, Google Ads) that auto-suggest the correct category account when reconciling bank statement lines. Uses Odoo 19's 'trigger' field (replaces old 'rule_type'). Co-Authored-By: Claude Opus 4.7 (1M context) --- nexa_coa_setup/data/07_product_category.xml | 83 ++++++++++++++ .../data/08_res_partner_category.xml | 7 ++ nexa_coa_setup/data/09_res_partner.xml | 27 +++++ .../data/10_account_reconcile_model.xml | 105 ++++++++++++++++++ 4 files changed, 222 insertions(+) diff --git a/nexa_coa_setup/data/07_product_category.xml b/nexa_coa_setup/data/07_product_category.xml index 7faba267..902fd017 100644 --- a/nexa_coa_setup/data/07_product_category.xml +++ b/nexa_coa_setup/data/07_product_category.xml @@ -1,5 +1,88 @@ + + + Services + + + + SaaS Subscription + + + + + + Hosting + + + + + + Support Contract + + + + + + Setup Fee + + + + + + Custom Software Development + + + + + + Custom Web App Development + + + + + + Custom Website Development + + + + + + ERP Implementation + + + + + + Consulting & Advisory + + + + + + Training + + + + + + Resale + + + + Software Resale + + + + + + + Hardware Resale + + + + + diff --git a/nexa_coa_setup/data/08_res_partner_category.xml b/nexa_coa_setup/data/08_res_partner_category.xml index 7faba267..0e44f94f 100644 --- a/nexa_coa_setup/data/08_res_partner_category.xml +++ b/nexa_coa_setup/data/08_res_partner_category.xml @@ -1,5 +1,12 @@ + + + RP-Associated + 3 + + + diff --git a/nexa_coa_setup/data/09_res_partner.xml b/nexa_coa_setup/data/09_res_partner.xml index 7faba267..6bbe878a 100644 --- a/nexa_coa_setup/data/09_res_partner.xml +++ b/nexa_coa_setup/data/09_res_partner.xml @@ -1,5 +1,32 @@ + + + Westin Healthcare Inc + + company + 1 + 1 + + + + + Associated corporation under common control with Nexa Systems Inc (Gurpreet, owner). Intercompany transactions must be priced at fair market value (ITA s.247). Shared SBD limit per ITA s.125(5.1). + + + + Divine Mobility Inc + + company + 1 + 1 + + + + + Associated corporation under common control with Nexa Systems Inc (Gurpreet, owner). See Westin Healthcare Inc for compliance notes. + + diff --git a/nexa_coa_setup/data/10_account_reconcile_model.xml b/nexa_coa_setup/data/10_account_reconcile_model.xml index 7faba267..e16ca329 100644 --- a/nexa_coa_setup/data/10_account_reconcile_model.xml +++ b/nexa_coa_setup/data/10_account_reconcile_model.xml @@ -1,5 +1,110 @@ + + + AWS / Amazon Web Services → Cloud Infrastructure + manual + contains + AMAZON WEB SERVICES + + + + + Hetzner → Cloud Infrastructure + manual + contains + HETZNER + + + + + DigitalOcean → Cloud Infrastructure + manual + contains + DIGITALOCEAN + + + + + Cloudflare → CDN & Edge + manual + contains + CLOUDFLARE + + + + + GitHub → Software (Dev Tools) + manual + contains + GITHUB + + + + + Microsoft / M365 → Software (Productivity) + manual + contains + MICROSOFT + + + + + Stripe fee → Merchant Processing + manual + contains + STRIPE FEE + + + + + Google Ads → Advertising (Digital) + manual + contains + GOOGLE ADS + + +