Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
61017617
Commit
61017617
authored
Jun 09, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
officejs_support_request_ui: fix pylint warning and enable coding style test
parent
d1f2732b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/PostModule_createHTMLPostForSupportRequest.py
...ort_request/PostModule_createHTMLPostForSupportRequest.py
+2
-0
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_createSupportRequest.py
...port_request/SupportRequestModule_createSupportRequest.py
+2
-0
bt5/erp5_officejs_support_request_ui/bt/skip_coding_style_test
...rp5_officejs_support_request_ui/bt/skip_coding_style_test
+0
-1
No files found.
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/PostModule_createHTMLPostForSupportRequest.py
View file @
61017617
# pylint:disable=redefined-builtin
# this script uses file= argument
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
follow_up_value
=
portal
.
restrictedTraverse
(
follow_up
)
follow_up_value
=
portal
.
restrictedTraverse
(
follow_up
)
assert
follow_up_value
.
getPortalType
()
==
"Support Request"
assert
follow_up_value
.
getPortalType
()
==
"Support Request"
...
...
bt5/erp5_officejs_support_request_ui/SkinTemplateItem/portal_skins/erp5_officejs_support_request/SupportRequestModule_createSupportRequest.py
View file @
61017617
# pylint:disable=redefined-builtin
# this script uses file= argument
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
logged_in_user_value
=
portal
.
portal_membership
.
getAuthenticatedMember
().
getUserValue
()
logged_in_user_value
=
portal
.
portal_membership
.
getAuthenticatedMember
().
getUserValue
()
...
...
bt5/erp5_officejs_support_request_ui/bt/skip_coding_style_test
deleted
100644 → 0
View file @
d1f2732b
1
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment