Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bluemind4-connector
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
bluemind4-connector
Commits
4b360aa1
Commit
4b360aa1
authored
3 years ago
by
Rémi - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] test when no organizer set
parent
02a17cc9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/res_users.py
+2
-2
2 additions, 2 deletions
models/res_users.py
with
2 additions
and
2 deletions
models/res_users.py
+
2
−
2
View file @
4b360aa1
...
...
@@ -169,9 +169,9 @@ class ResUser(models.Model):
# Only if Organizer is the same as Odoo user or if is not linked to
# any active Odoo internal user
if
(
bm_event
.
value
.
main
.
organizer
not
bm_event
.
value
.
main
.
organizer
or
(
bm_event
.
value
.
main
.
organizer
and
(
bm_event
.
value
.
main
.
organizer
.
mailto
==
self
.
partner_id
.
email
or
bm_event
.
value
.
main
.
organizer
.
mailto
not
in
odoo_users_emails
)
or
bm_event
.
value
.
main
.
organizer
.
mailto
not
in
odoo_users_emails
)
)
):
events_to_create
.
append
(
Calendar
.
_bm_to_odoo_values
(
bm_event
))
if
events_to_create
:
...
...
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