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
Xiaowu Zhang
erp5
Commits
8b4e6106
Commit
8b4e6106
authored
Dec 20, 2012
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
validate the created business process
parent
e3e31c6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py
...5Configurator/Document/BusinessProcessConfiguratorItem.py
+2
-0
No files found.
product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py
View file @
8b4e6106
...
...
@@ -30,6 +30,7 @@ import zope.interface
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5Type.XMLObject
import
XMLObject
from
Products.ERP5Type.Message
import
translateString
from
Products.ERP5Configurator.mixin.configurator_item
import
ConfiguratorItemMixin
class
BusinessProcessConfiguratorItem
(
ConfiguratorItemMixin
,
XMLObject
):
...
...
@@ -106,6 +107,7 @@ class BusinessProcessConfiguratorItem(ConfiguratorItemMixin, XMLObject):
delivery_builder
=
delivery_builder
,
**
link_dict
)
business_process
.
validate
(
comment
=
translateString
(
'Validated by configurator'
))
self
.
install
(
business_process
,
business_configuration
)
def
_getBusinessProcessDict
(
self
):
...
...
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