BEGIN;

-- Rename partner_mapping models to descriptive names
-- Format: "Vendor/Function - Keyword" so it's clear what each does

UPDATE account_reconcile_model SET name = '{"en_US": "ADP Program Payments"}'
WHERE id = 51; -- ADPTPS → ADP

UPDATE account_reconcile_model SET name = '{"en_US": "Odoo Subscription"}'
WHERE id = 52; -- Odoo → Odoo S.A.

UPDATE account_reconcile_model SET name = '{"en_US": "RBC Branch Fee (BC FEE)"}'
WHERE id = 53; -- BC FEE → RBC

UPDATE account_reconcile_model SET name = '{"en_US": "RBC ATM Deposit Fee"}'
WHERE id = 54; -- ATM cash deposited fee → RBC

UPDATE account_reconcile_model SET name = '{"en_US": "RBC NSF Fee"}'
WHERE id = 55; -- NSF item fee → RBC

UPDATE account_reconcile_model SET name = '{"en_US": "Westin Internal Transfer - Online Banking"}'
WHERE id = 56; -- Online Banking transfer → Westin Healthcare

UPDATE account_reconcile_model SET name = '{"en_US": "RBC Monthly Account Fee"}'
WHERE id = 57; -- Monthly fee → RBC

UPDATE account_reconcile_model SET name = '{"en_US": "Home Depot Purchases"}'
WHERE id = 58; -- Home Depot → The Home Depot Inc

UPDATE account_reconcile_model SET name = '{"en_US": "Esso Circle K Fuel"}'
WHERE id = 59; -- CIRCLE K → ESSO CIRCLE K

UPDATE account_reconcile_model SET name = '{"en_US": "Enbridge Gas Utility"}'
WHERE id = 60; -- Enbridge → Enbridge

UPDATE account_reconcile_model SET name = '{"en_US": "Westin Visa Payment Received"}'
WHERE id = 61; -- PAYMENT - THANK YOU → Westin Healthcare

UPDATE account_reconcile_model SET name = '{"en_US": "Scotia Visa Payment (Card X0*78)"}'
WHERE id = 62; -- 00*7814 → Westin Healthcare

UPDATE account_reconcile_model SET name = '{"en_US": "Scotia CC/LOC Payment (MB-CREDIT)"}'
WHERE id = 63; -- MB-CREDIT CARD → Westin Healthcare

UPDATE account_reconcile_model SET name = '{"en_US": "Petro-Canada Fuel"}'
WHERE id = 64; -- PETRO CANADA → Petro-Canada

UPDATE account_reconcile_model SET name = '{"en_US": "Petro-Canada Superpass Fleet"}'
WHERE id = 65; -- SUPERPASS → Petro-Canada

UPDATE account_reconcile_model SET name = '{"en_US": "Shell Canada Fuel"}'
WHERE id = 66; -- SHELL → Shell Canada

UPDATE account_reconcile_model SET name = '{"en_US": "Canada Computers Purchases"}'
WHERE id = 67; -- Canada Computer → Canada Computers

UPDATE account_reconcile_model SET name = '{"en_US": "AMG Membership - Ability Members"}'
WHERE id = 68; -- Ability Members → AMG

UPDATE account_reconcile_model SET name = '{"en_US": "Permobil Canada"}'
WHERE id = 69; -- Permobil → Permobil Canada

UPDATE account_reconcile_model SET name = '{"en_US": "Rogers Telecom"}'
WHERE id = 70; -- Rogers → Rogers Canada

UPDATE account_reconcile_model SET name = '{"en_US": "Billyard Insurance (IFS)"}'
WHERE id = 71; -- IFS PREMIUM → Billyard Insurance Group

UPDATE account_reconcile_model SET name = '{"en_US": "Pride Mobility Products"}'
WHERE id = 72; -- P M PRODUCTS → Pride Mobility

UPDATE account_reconcile_model SET name = '{"en_US": "Telus / ADT Security"}'
WHERE id = 73; -- ADT Security → Telus Mobility

UPDATE account_reconcile_model SET name = '{"en_US": "De Lage Landen Equipment Lease"}'
WHERE id = 74; -- DE LAGE → DE LAGE

UPDATE account_reconcile_model SET name = '{"en_US": "RBC Payroll EFT Fee"}'
WHERE id = 75; -- Pay Employee-Vendor → RBC

UPDATE account_reconcile_model SET name = '{"en_US": "Wawanesa Insurance Premium"}'
WHERE id = 76; -- Wawanesa Insurance → Wawanesa Insurance

UPDATE account_reconcile_model SET name = '{"en_US": "RBC Visa Interest Charges"}'
WHERE id = 77; -- PURCHASE INTEREST → RBC

UPDATE account_reconcile_model SET name = '{"en_US": "Odoo Subscription (duplicate)"}'
WHERE id = 78; -- Odoo → Odoo S.A. (duplicate of 52)

COMMIT;
