From 0e9548fe2633e70f136d8741099248b28fcb7fc5 Mon Sep 17 00:00:00 2001 From: JordiMForgeFlow Date: Tue, 3 Mar 2026 10:34:40 +0100 Subject: [PATCH] [IMP] commission_oca: add partner menu in commission module Useful for mass updating and having a list overview of agent relation. Not added directly in the base list view to prevent performance issues. --- commission_oca/views/res_partner_views.xml | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/commission_oca/views/res_partner_views.xml b/commission_oca/views/res_partner_views.xml index a1be635d7..33c5ba893 100644 --- a/commission_oca/views/res_partner_views.xml +++ b/commission_oca/views/res_partner_views.xml @@ -66,10 +66,84 @@ domain="[('agent', '=', 1)]" help="Agent Partners" /> + + + res.partner.list.commission + res.partner + + + + + + + + + + + + + + + + + + + + + + Customers with agents + ir.actions.act_window + res.partner + list,form + [('parent_id', '=', False), ('agent', '=', False)] + {'search_default_with_agents': 1} + + + Agents ir.actions.act_window @@ -84,4 +158,11 @@ action="action_agent_form" sequence="10" /> +