Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
erp5
Commits
bf32660e
Commit
bf32660e
authored
Jun 20, 2022
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: fix update report action
parent
dd74e08f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
28 deletions
+25
-28
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_updateReportDialog.py
..._skins/erp5_corporate_identity/Base_updateReportDialog.py
+25
-28
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_updateReportDialog.py
View file @
bf32660e
...
@@ -39,31 +39,28 @@ Update a book report dialog with parameters manually entered
...
@@ -39,31 +39,28 @@ Update a book report dialog with parameters manually entered
from
Products.ERP5Type.Message
import
translateString
from
Products.ERP5Type.Message
import
translateString
if
dialog_id
is
not
None
:
if
dialog_id
is
not
None
:
return
context
.
Base_renderForm
(
request
=
container
.
REQUEST
dialog_id
,
request
.
form
[
'portal_status_message'
]
=
translateString
(
'Preview updated.'
)
keep_items
=
dict
(
request
.
form
[
'cancel_url'
]
=
cancel_url
portal_status_message
=
translateString
(
'Preview updated.'
),
request
.
form
[
'portal_skin'
]
=
portal_skin
cancel_url
=
cancel_url
,
request
.
form
[
'format'
]
=
format
portal_skin
=
portal_skin
,
request
.
form
[
'document_save'
]
=
document_save
format
=
format
,
request
.
form
[
'document_download'
]
=
document_download
document_save
=
document_save
,
request
.
form
[
'document_language'
]
=
document_language
document_download
=
document_download
,
request
.
form
[
'document_reference'
]
=
document_reference
document_language
=
document_language
,
request
.
form
[
'document_version'
]
=
document_version
document_reference
=
document_reference
,
request
.
form
[
'document_title'
]
=
document_title
document_version
=
document_version
,
request
.
form
[
'display_milestone'
]
=
display_milestone
document_title
=
document_title
,
request
.
form
[
'display_depth'
]
=
display_depth
display_milestone
=
display_milestone
,
request
.
form
[
'display_detail'
]
=
display_detail
display_depth
=
display_depth
,
request
.
form
[
'display_comment'
]
=
display_comment
display_detail
=
display_detail
,
request
.
form
[
'display_header'
]
=
display_header
display_comment
=
display_comment
,
request
.
form
[
'display_orphan'
]
=
display_orphan
display_header
=
display_header
,
request
.
form
[
'start_date'
]
=
start_date
display_orphan
=
display_orphan
,
request
.
form
[
'stop_date'
]
=
stop_date
start_date
=
start_date
,
request
.
form
[
'report_name'
]
=
report_name
stop_date
=
stop_date
,
request
.
form
[
'report_title'
]
=
report_title
report_name
=
report_name
,
request
.
form
[
'override_source_organisation_title'
]
=
override_source_organisation_title
report_title
=
report_title
,
request
.
form
[
'requirement_relative_url'
]
=
requirement_relative_url
override_source_organisation_title
=
override_source_organisation_title
,
requirement_relative_url
=
requirement_relative_url
,
return
context
.
Base_renderForm
(
dialog_id
)
**
kw
)
)
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