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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
6d82b337
Commit
6d82b337
authored
Jun 29, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: revert some changes
parent
f387101b
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2789 additions
and
42 deletions
+2789
-42
product/ERP5/__init__.py
product/ERP5/__init__.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFormViewDialogActionButtonTitle.py
...kins/erp5_core/Base_getFormViewDialogActionButtonTitle.py
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_date_time_field.xml
...ns/erp5_core/Base_viewFieldLibrary/my_date_time_field.xml
+2778
-15
product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/component_validation_workflow/transitions/validate_action.xml
...onent_validation_workflow/transitions/validate_action.xml
+0
-4
product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/validation_workflow/states/draft.xml
...Item/portal_workflow/validation_workflow/states/draft.xml
+8
-2
product/ERP5/bootstrap/erp5_core/bt/test_dependency_list
product/ERP5/bootstrap/erp5_core/bt/test_dependency_list
+2
-1
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PythonScript/parameter_signature_property.xml
...erty_sheets/PythonScript/parameter_signature_property.xml
+0
-6
product/ERP5/tests/testBase.py
product/ERP5/tests/testBase.py
+0
-1
product/ERP5SyncML/tests/testERP5SyncML.py
product/ERP5SyncML/tests/testERP5SyncML.py
+0
-8
product/ERP5Type/Base.py
product/ERP5Type/Base.py
+0
-3
No files found.
product/ERP5/__init__.py
View file @
6d82b337
...
...
@@ -52,7 +52,6 @@ from Tool import CategoryTool, SimulationTool, RuleTool, IdTool, TemplateTool,\
AcknowledgementTool
,
SolverTool
,
SolverProcessTool
,
\
ConversionTool
,
RoundingTool
,
UrlRegistryTool
,
InterfaceTool
,
\
CertificateAuthorityTool
,
InotifyTool
,
TaskDistributionTool
import
ERP5Site
from
Document
import
PythonScript
object_classes
=
(
ERP5Site
.
ERP5Site
,
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getFormViewDialogActionButtonTitle.py
View file @
6d82b337
...
...
@@ -7,7 +7,7 @@ if button_title is not None:
wf_actions
=
context
.
portal_actions
.
portal_actions
.
listFilteredActionsFor
(
context
)[
'workflow'
]
workflow_action
=
request
.
get
(
'workflow_action'
,
None
)
or
request
.
get
(
'field_my_workflow_action'
,
None
)
if
workflow_action
:
for
action
in
wf_actions
:
for
action
in
wf_actions
:
if
action
[
'id'
]
==
workflow_action
:
return
action
[
'name'
]
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_date_time_field.xml
View file @
6d82b337
This source diff could not be displayed because it is too large. You can
view the blob
instead.
product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/component_validation_workflow/transitions/validate_action.xml
View file @
6d82b337
...
...
@@ -10,10 +10,6 @@
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string>
Validate
</string>
</value>
...
...
product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/validation_workflow/states/draft.xml
View file @
6d82b337
...
...
@@ -46,12 +46,18 @@
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<tuple>
<tuple>
<string>
Persistence
</string>
<string>
PersistentMapping
</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<key>
<string>
_container
</string>
</key>
<value>
<dictionary>
<item>
...
...
product/ERP5/bootstrap/erp5_core/bt/test_dependency_list
View file @
6d82b337
erp5_full_text_mroonga_catalog
\ No newline at end of file
erp5_full_text_mroonga_catalog
erp5_base
\ No newline at end of file
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/PythonScript/parameter_signature_property.xml
View file @
6d82b337
...
...
@@ -47,12 +47,6 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
<item>
<key>
<string>
property_default
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
storage_id
</string>
</key>
<value>
<string>
_params
</string>
</value>
...
...
product/ERP5/tests/testBase.py
View file @
6d82b337
...
...
@@ -215,7 +215,6 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
Check if there is no activity in activity queue.
"""
portal
=
self
.
getPortal
()
self
.
tic
()
message_list
=
portal
.
portal_activities
.
getMessageList
()
self
.
assertEqual
(
len
(
message_list
),
0
)
...
...
product/ERP5SyncML/tests/testERP5SyncML.py
View file @
6d82b337
...
...
@@ -444,14 +444,6 @@ class TestERP5SyncMLMixin(TestMixin):
else
:
identity
=
False
break
if
'edit_workflow'
in
object_sub
.
getTypeInfo
().
getTypeWorkflowList
()
and
\
'edit_workflow'
in
object_pub
.
getTypeInfo
().
getTypeWorkflowList
():
# edit workflow has a known bug, that may generate 2 times of history for
# a single action like "edit". Until we find out the bug, we may reactivate this
# part. In new workflow, on object_pub side it still generated 2 times of history
# for a sigle action "edit", but on the object_sub side, it only generated
# once, which it should have been.
identity
=
True
if
not
identity
:
self
.
fail
(
'diff between pub:%s and sub:%s
\
n
%s'
%
(
object_pub
.
getPath
(),
object_sub
.
getPath
(),
...
...
product/ERP5Type/Base.py
View file @
6d82b337
...
...
@@ -3,7 +3,6 @@
#
# Copyright (c) 2002-2003 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com>
# 2014 Wenjie Zheng <wenjie.zheng@tiolive.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
...
...
@@ -176,7 +175,6 @@ class WorkflowMethod(Method):
valid_invoke_once_item_list
=
[]
# Only keep those transitions which were never invoked
once_transition_dict
=
{}
for
wf_id
,
transition_list
in
invoke_once_dict
.
iteritems
():
valid_transition_list
=
[]
for
transition_id
in
transition_list
:
...
...
@@ -581,7 +579,6 @@ def initializePortalTypeDynamicWorkflowMethods(ptype_klass, portal_workflow):
for
wf_id
,
v
in
interaction_workflow_dict
.
iteritems
():
transition_id_set
,
trigger_dict
=
v
for
tr_id
,
tdef
in
trigger_dict
.
iteritems
():
# Check portal type filter
if
(
tdef
.
portal_type_filter
is
not
None
and
\
portal_type
not
in
tdef
.
portal_type_filter
):
...
...
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