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
Alexander Emmerich
erp5
Commits
f76a2fd5
Commit
f76a2fd5
authored
Apr 03, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use appropriate id when re-create the currency
This keeps compatibitility with Standard Configurator outcome.
parent
01fb1ccf
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
2 deletions
+8
-2
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpCampaignTest.xml
...ns/erp5_user_tutorial_ui_test/Zuite_setUpCampaignTest.xml
+1
-0
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpCreateEventTest.xml
...erp5_user_tutorial_ui_test/Zuite_setUpCreateEventTest.xml
+1
-0
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpIncomingEventTest.xml
...p5_user_tutorial_ui_test/Zuite_setUpIncomingEventTest.xml
+1
-0
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpOutgoingEventTest.xml
...p5_user_tutorial_ui_test/Zuite_setUpOutgoingEventTest.xml
+1
-0
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpPostEventTest.xml
...s/erp5_user_tutorial_ui_test/Zuite_setUpPostEventTest.xml
+1
-0
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
...s/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
+2
-1
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_tearDownFullTextSearchTest.xml
...ser_tutorial_ui_test/Zuite_tearDownFullTextSearchTest.xml
+1
-1
No files found.
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpCampaignTest.xml
View file @
f76a2fd5
...
...
@@ -64,6 +64,7 @@ if currency is None:\n
currency = portal.currency_module.newContent(portal_type=\'Currency\',\n
title=howto_dict[\'campaign_howto_currency_title\'],\n
reference=howto_dict[\'campaign_howto_currency_tag\'],\n
id=howto_dict[\'campaign_howto_currency_tag\'],\n
base_unit_quantity=0.01)\n
\n
if isTransitionPossible(currency, \'validate\'):\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpCreateEventTest.xml
View file @
f76a2fd5
...
...
@@ -64,6 +64,7 @@ if currency is None:\n
currency = portal.currency_module.newContent(portal_type=\'Currency\',\n
title=howto_dict[\'create_event_howto_currency_title\'],\n
reference=howto_dict[\'create_event_howto_currency_tag\'],\n
id=howto_dict[\'create_event_howto_currency_tag\'],\n
base_unit_quantity=0.01)\n
\n
if isTransitionPossible(currency, \'validate\'):\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpIncomingEventTest.xml
View file @
f76a2fd5
...
...
@@ -72,6 +72,7 @@ if currency is None:\n
currency = portal.currency_module.newContent(portal_type=\'Currency\',\n
title=howto_dict[\'incoming_event_howto_currency_title\'],\n
reference=howto_dict[\'incoming_event_howto_currency_tag\'],\n
id=howto_dict[\'incoming_event_howto_currency_tag\'],\n
base_unit_quantity=0.01)\n
\n
if isTransitionPossible(currency, \'validate\'):\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpOutgoingEventTest.xml
View file @
f76a2fd5
...
...
@@ -71,6 +71,7 @@ if currency is None:\n
currency = portal.currency_module.newContent(portal_type=\'Currency\',\n
title=howto_dict[\'outgoing_event_howto_currency_title\'],\n
reference=howto_dict[\'outgoing_event_howto_currency_tag\'],\n
id=howto_dict[\'outgoing_event_howto_currency_tag\'],\n
base_unit_quantity=0.01)\n
\n
if isTransitionPossible(currency, \'validate\'):\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpPostEventTest.xml
View file @
f76a2fd5
...
...
@@ -65,6 +65,7 @@ if currency is None:\n
currency = portal.currency_module.newContent(portal_type=\'Currency\',\n
title=howto_dict[\'post_event_howto_currency_title\'],\n
reference=howto_dict[\'post_event_howto_currency_tag\'],\n
id=howto_dict[\'post_event_howto_currency_tag\'],\n
base_unit_quantity=0.01)\n
\n
if isTransitionPossible(currency, \'validate\'):\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
View file @
f76a2fd5
...
...
@@ -73,7 +73,7 @@ if context.portal_templates.getInstalledBusinessTemplate("erp5_simulation_test")
business_process.account_credit_path.setSourceValue(context.account_module.receivable)\n
if isTransitionPossible(business_process, \'validate\'):\n
business_process.validate()\n
\n
# check if there is already the euro curency on the instance\n
currency = context.portal_catalog.getResultValue(portal_type=\'Currency\',\n
title=howto_dict[\'sale_howto_currency_title\'])\n
...
...
@@ -81,6 +81,7 @@ if currency is None:\n
currency = portal.currency_module.newContent(portal_type=\'Currency\',\n
title=howto_dict[\'sale_howto_currency_title\'],\n
reference=howto_dict[\'sale_howto_currency_tag\'],\n
id=howto_dict[\'sale_howto_currency_tag\'],\n
base_unit_quantity=0.01)\n
\n
if isTransitionPossible(currency, \'validate\'):\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_tearDownFullTextSearchTest.xml
View file @
f76a2fd5
...
...
@@ -74,7 +74,7 @@ currency = portal.portal_catalog.getResultValue(portal_type=\'Currency\',\n
local_roles=\'Owner\')\n
\n
if currency is not None:\n
portal.currency_module.
manage_delObjects([currency.getId()]
)\n
portal.currency_module.
deleteContent(currency.getId()
)\n
\n
return "Clean Ok"\n
</string>
</value>
...
...
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