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
Joshua
erp5
Commits
3c543eae
Commit
3c543eae
authored
Nov 12, 2014
by
Klaus Wölfel
Committed by
Klaus Wölfel
Feb 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Configurator: save path of items needed for later configuration
parent
b99d3299
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py
...5Configurator/Document/BusinessProcessConfiguratorItem.py
+2
-0
product/ERP5Configurator/Document/CurrencyConfiguratorItem.py
...uct/ERP5Configurator/Document/CurrencyConfiguratorItem.py
+2
-0
product/ERP5Configurator/Document/OrganisationConfiguratorItem.py
...ERP5Configurator/Document/OrganisationConfiguratorItem.py
+2
-0
No files found.
product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py
View file @
3c543eae
...
...
@@ -69,6 +69,8 @@ class BusinessProcessConfiguratorItem(ConfiguratorItemMixin, XMLObject):
business_configuration
=
self
.
getBusinessConfigurationValue
()
business_configuration
.
setGlobalConfigurationAttr
(
\
business_process_id
=
business_process
.
getId
())
business_configuration
.
setGlobalConfigurationAttr
(
\
business_process_path
=
'business_process_module/%s'
%
business_process
.
getId
())
business_process_dict
=
self
.
_getBusinessProcessDict
()
...
...
product/ERP5Configurator/Document/CurrencyConfiguratorItem.py
View file @
3c543eae
...
...
@@ -80,6 +80,8 @@ class CurrencyConfiguratorItem(ConfiguratorItemMixin, XMLObject):
if
currency
:
business_configuration
=
self
.
getBusinessConfigurationValue
()
business_configuration
.
setGlobalConfigurationAttr
(
currency_id
=
currency
.
getId
())
business_configuration
.
setGlobalConfigurationAttr
(
\
currency_path
=
'currency_module/%s'
%
currency
.
getId
())
## add to customer template
self
.
install
(
currency
,
business_configuration
)
...
...
product/ERP5Configurator/Document/OrganisationConfiguratorItem.py
View file @
3c543eae
...
...
@@ -79,6 +79,8 @@ class OrganisationConfiguratorItem(ConfiguratorItemMixin, XMLObject):
business_configuration
=
self
.
getBusinessConfigurationValue
()
# store globally organization_id
business_configuration
.
setGlobalConfigurationAttr
(
organisation_id
=
organisation
.
getId
())
business_configuration
.
setGlobalConfigurationAttr
(
\
organisation_path
=
'organisation_module/%s'
%
organisation
.
getId
())
if
self
.
portal_workflow
.
isTransitionPossible
(
organisation
,
'validate'
):
organisation
.
validate
(
comment
=
translateString
(
"Validated by Configurator"
))
...
...
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