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
Paul Graydon
erp5
Commits
33e9bade
Commit
33e9bade
authored
Nov 13, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_project/trade] Activate actions for ERP5JS
parent
b30ede57
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
38 additions
and
51 deletions
+38
-51
bt5/erp5_project/ActionTemplateItem/portal_types/Project/add_task_related.xml
...ionTemplateItem/portal_types/Project/add_task_related.xml
+2
-2
bt5/erp5_project/ActionTemplateItem/portal_types/Project/detailed_report.xml
...tionTemplateItem/portal_types/Project/detailed_report.xml
+5
-3
bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_task_report.xml
...TemplateItem/portal_types/Project/project_task_report.xml
+2
-2
bt5/erp5_project/ActionTemplateItem/portal_types/Task/duplicate_task.xml
...t/ActionTemplateItem/portal_types/Task/duplicate_task.xml
+5
-3
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_viewTaskReportList/listbox.xml
...skins/erp5_project/Project_viewTaskReportList/listbox.xml
+0
-20
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_calculateDuplication.py
...em/portal_skins/erp5_project/Task_calculateDuplication.py
+10
-11
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory%20Module/view_stock_export.xml
...tem/portal_types/Inventory%20Module/view_stock_export.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory%20Module/view_stock_report.xml
...tem/portal_types/Inventory%20Module/view_stock_report.xml
+5
-3
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory/fast_input.xml
.../ActionTemplateItem/portal_types/Inventory/fast_input.xml
+2
-2
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory/fast_input_update.xml
...TemplateItem/portal_types/Inventory/fast_input_update.xml
+2
-2
No files found.
bt5/erp5_project/ActionTemplateItem/portal_types/Project/add_task_related.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_project/ActionTemplateItem/portal_types/Project/detailed_report.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
@@ -30,7 +30,9 @@
...
@@ -30,7 +30,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
icon
</string>
</key>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_task_report.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_project/ActionTemplateItem/portal_types/Task/duplicate_task.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
@@ -32,7 +32,9 @@
...
@@ -32,7 +32,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
icon
</string>
</key>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_viewTaskReportList/listbox.xml
View file @
33e9bade
...
@@ -19,7 +19,6 @@
...
@@ -19,7 +19,6 @@
<string>
report_tree
</string>
<string>
report_tree
</string>
<string>
selection_name
</string>
<string>
selection_name
</string>
<string>
sort_columns
</string>
<string>
sort_columns
</string>
<string>
stat_method
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
...
@@ -234,12 +233,6 @@
...
@@ -234,12 +233,6 @@
<list/>
<list/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
stat_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
...
@@ -267,17 +260,4 @@
...
@@ -267,17 +260,4 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
method_name
</string>
</key>
<value>
<string>
portal_catalog
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Task_calculateDuplication.py
View file @
33e9bade
...
@@ -54,18 +54,17 @@ def getDatePeriodList(start_date):
...
@@ -54,18 +54,17 @@ def getDatePeriodList(start_date):
start_date
=
context
.
getStartDate
()
start_date
=
context
.
getStartDate
()
if
start_date
is
None
:
if
start_date
is
None
:
return
context
.
REQUEST
.
RESPONSE
.
redirect
(
return
context
.
Base_
redirect
(
'
%s?portal_status_message=%s'
%
(
'
view'
,
context
.
absolute_url
(),
keep_items
=
{
'portal_status_message'
:
Base_translateString
(
Base_translateString
(
'Tasks can not be created, start date is empty.'
)
'Tasks can not be created, start date is empty.'
))
)
}
)
else
:
else
:
date_list
=
getDatePeriodList
(
start_date
)
date_list
=
getDatePeriodList
(
start_date
)
for
next_date
in
date_list
:
for
next_date
in
date_list
:
context
.
activate
(
activity
=
"SQLQueue"
).
Task_duplicate
(
next_date
)
context
.
activate
(
activity
=
"SQLQueue"
).
Task_duplicate
(
next_date
)
return
context
.
REQUEST
.
RESPONSE
.
redirect
(
return
context
.
Base_redirect
(
'%s?portal_status_message=%s'
%
(
'view'
,
context
.
absolute_url
(),
keep_items
=
{
'portal_status_message'
:
Base_translateString
(
Base_translateString
(
'${count} tasks created.'
,
'${count} tasks created.'
,
mapping
=
{
'count'
:
len
(
date_list
)}
mapping
=
{
'count'
:
len
(
date_list
)})
)})
))
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory%20Module/view_stock_export.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_exchange
</string>
<string>
action_type/object_
jio_
exchange
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_exchange
</string>
</value>
<value>
<string>
object_
jio_
exchange
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
@@ -32,7 +32,9 @@
...
@@ -32,7 +32,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
icon
</string>
</key>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory%20Module/view_stock_report.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_report
</string>
<string>
action_type/object_
jio_
report
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_report
</string>
</value>
<value>
<string>
object_
jio_
report
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
@@ -30,7 +30,9 @@
...
@@ -30,7 +30,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
icon
</string>
</key>
<key>
<string>
icon
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory/fast_input.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_trade/ActionTemplateItem/portal_types/Inventory/fast_input_update.xml
View file @
33e9bade
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_fast_input
</string>
<string>
action_type/object_
jio_
fast_input
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_fast_input
</string>
</value>
<value>
<string>
object_
jio_
fast_input
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
...
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