Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odoo CE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Comunitats Energètiques
Odoo CE
Commits
7e1e6670
Commit
7e1e6670
authored
1 year ago
by
Daniil Digtyar Vasilieva
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] energy_communities: call method only if crm lead is assigned
parent
7a265714
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!277
[REL] Release Sprint 27/11/23
,
!259
[FIX] energy_communities: demo data not loading.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
energy_communities/wizards/multicompany_easy_creation.py
+2
-1
2 additions, 1 deletion
energy_communities/wizards/multicompany_easy_creation.py
with
2 additions
and
1 deletion
energy_communities/wizards/multicompany_easy_creation.py
+
2
−
1
View file @
7e1e6670
...
...
@@ -213,7 +213,8 @@ class AccountMulticompanyEasyCreationWiz(models.TransientModel):
def
action_accept
(
self
):
super
().
action_accept
()
self
.
with_delay
().
_after_action_accept_hook
()
self
.
crm_lead_id
.
action_set_won_rainbowman
()
if
self
.
crm_lead_id
:
self
.
crm_lead_id
.
action_set_won_rainbowman
()
return
{
"
type
"
:
"
ir.actions.client
"
,
"
tag
"
:
"
display_notification
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment