[18.0][IMP] splitstudio-lead-import: fix menu pipelines - #5
Merged
marcelsavegnago merged 1 commit intoSep 11, 2026
Merged
Conversation
DenerWilliam
requested review from
CristianoMafraJunior,
WesleyOliveira98,
kaynnan and
marcelsavegnago
September 11, 2026 12:29
DenerWilliam
marked this pull request as draft
September 11, 2026 12:57
DenerWilliam
force-pushed
the
18.0-imp-splitstudio-lead-import
branch
from
September 11, 2026 12:59
0188384 to
282e3d5
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 18.0-add-splitstudio_lead_import #5 +/- ##
===================================================================
Coverage 100.00% 100.00%
===================================================================
Files 14 17 +3
Lines 1183 1427 +244
Branches 91 108 +17
===================================================================
+ Hits 1183 1427 +244 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
DenerWilliam
force-pushed
the
18.0-imp-splitstudio-lead-import
branch
8 times, most recently
from
September 11, 2026 17:47
b0998e6 to
54c51b2
Compare
DenerWilliam
force-pushed
the
18.0-imp-splitstudio-lead-import
branch
from
September 11, 2026 18:09
54c51b2 to
aba1c09
Compare
DenerWilliam
marked this pull request as ready for review
September 11, 2026 18:13
marcelsavegnago
merged commit Sep 11, 2026
6e16d62
into
18.0-add-splitstudio_lead_import
6 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Alterações no módulo
splitstudio_lead_import1. Menus Dinâmicos de Pipeline (
models/crm_team.py)Estendemos o
crm.teamcom um campo booleano "Mostrar no Menu de Pipeline" e gerenciamento automático de menus:show_in_pipeline_menu— Campo booleano no formulário docrm.teamque controla se um submenu é criado em CRM > Pipelines para aquele time.create()— Cria automaticamente um submenu filtrado quando um time é criado com a flag ativa.write()— Cria ou remove o submenu quando a flag é alterada.unlink()— Remove o submenu e sua action quando um time é deletado._create_pipeline_menu()— Cria (ou atualiza) umair.actions.act_windowfiltrada por time e umir.ui.menufilho sob o menu pai "Pipelines". Lida tanto com times do tipo lead (use_leads) quanto oportunidade._remove_pipeline_menus()— Remove o menu filho e sua action órfã.2. Renomeação do Menu Core do CRM (
views/menu_pipelines.xml)crm.crm_menu_leads).crm.crm_lead_all_leads) para mostrar todos os leads sem filtro de time, ao clicar em "Pipelines" é exibido o pipeline completo independentemente dos times configurados.3. Extensão do Formulário (
views/crm_team_pipeline_menu.xml)crm.team, posicionado após a divoptions_active.4. Remoção de Data Files
data/crm_team.xmledata/res_users.xml— os times agora são criados manualmente pela interface para testar o comportamento dos menus dinâmicos.