Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Board Alerts
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
XCG
Odoo modules
Board Alerts
Commits
0c96ce1e
Commit
0c96ce1e
authored
6 years ago
by
Houzefa Abbasbhay
Browse files
Options
Downloads
Patches
Plain Diff
Fix an `lxml.etree` call (get strings, not bytes)
parent
03d77e2f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/board_alerts.py
+1
-1
1 addition, 1 deletion
models/board_alerts.py
with
1 addition
and
1 deletion
models/board_alerts.py
+
1
−
1
View file @
0c96ce1e
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
cell
.
attrib
[
'
style
'
]
=
'
padding: 3px 6px;
'
cell
.
attrib
[
'
style
'
]
=
'
padding: 3px 6px;
'
cell
.
text
=
field
cell
.
text
=
field
return
etree
.
tostring
(
root
,
pretty_print
=
True
)
return
etree
.
tostring
(
root
,
encoding
=
'
unicode
'
,
pretty_print
=
True
)
@api.multi
@api.multi
def
_board_alert_context
(
self
):
def
_board_alert_context
(
self
):
...
...
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