From 0047f49d2c9470878458afca161e8105dd681230 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Sun, 24 May 2026 08:37:13 -0400 Subject: [PATCH] fix(plating-perms): address final-reviewer critical + important issues Pre-deploy fixes for Phase 1 permissions overhaul branch (catches by final-reviewer subagent + main session). CRITICAL FIXES: C1: groups_id -> group_ids (Odoo 19 field rename). Affected ~30 sites across 4 model files, 1 view, 7 test files. Documented project gotcha (feedback_odoo19_groups_id_renamed.md) that the implementer subagents missed because they don't see user memory. C2: action_fp_resolve_plating_landing server action now calls env['ir.actions.act_window'].sudo()._fp_resolve_landing_for_current_user() instead of the old inline priority chain. Phase E's role-based dispatch was previously dead code. C3: New migrations/19.0.21.1.0/post-migrate.py triggers _fp_post_init_role_migration(env) on -u. post_init_hook only fires on INSTALL in Odoo 19, not UPGRADE -- so Phase H's preview creation wouldn't have auto-fired on entech without this script. Module version bumped to 19.0.21.1.0 to match the migration directory. C4: Team kanban template rewritten for Odoo 19 ( with semantic