Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
c22f3209
Commit
c22f3209
authored
Dec 16, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use trade condition.
parent
34dfe182
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
154 additions
and
3 deletions
+154
-3
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
...m/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
+1
-1
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/sale_trade_condition_module/1.xml
...i_test/PathTemplateItem/sale_trade_condition_module/1.xml
+143
-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
+6
-0
bt5/erp5_user_tutorial_ui_test/bt/revision
bt5/erp5_user_tutorial_ui_test/bt/revision
+1
-1
bt5/erp5_user_tutorial_ui_test/bt/template_path_list
bt5/erp5_user_tutorial_ui_test/bt/template_path_list
+3
-1
No files found.
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
View file @
c22f3209
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
<tr>
\n
<tr>
\n
<td>
type
</td>
\n
<td>
type
</td>
\n
<td>
//input[@name="field_my_specialise_title"]
</td>
\n
<td>
//input[@name="field_my_specialise_title"]
</td>
\n
<td>
erp5_default_business_process
</td>
\n
<td>
Default Sale Order Trade Condition
</td>
\n
</tr>
\n
</tr>
\n
<tr>
\n
<tr>
\n
<td>
type
</td>
\n
<td>
type
</td>
\n
...
...
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/sale_trade_condition_module/1.xml
0 → 100644
View file @
c22f3209
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Sale Trade Condition"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
specialise/business_process_module/erp5_default_business_process
</string>
<string>
price_currency/currency_module/1
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
default-sale-order-trade-condition
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
1
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Sale Trade Condition
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Default Sale Order Trade Condition
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
View file @
c22f3209
...
@@ -63,6 +63,12 @@ business_process = context.portal_catalog.getResultValue(portal_type=\'Business
...
@@ -63,6 +63,12 @@ business_process = context.portal_catalog.getResultValue(portal_type=\'Business
if isTransitionPossible(business_process, \'validate\'):\n
if isTransitionPossible(business_process, \'validate\'):\n
business_process.validate()\n
business_process.validate()\n
\n
\n
# XXX: add default sale order trade condition\n
sale_order_trade_condition = context.portal_catalog.getResultValue(portal_type=\'Sale Trade Condition\',\n
reference=\'default-sale-order-trade-condition\')\n
if isTransitionPossible(sale_order_trade_condition, \'validate\'):\n
sale_order_trade_condition.validate()\n
\n
# check if there is already the euro curency on the instance\n
# check if there is already the euro curency on the instance\n
currency = context.portal_catalog.getResultValue(portal_type=\'Currency\',\n
currency = context.portal_catalog.getResultValue(portal_type=\'Currency\',\n
title=howto_dict[\'sale_howto_currency_title\'])\n
title=howto_dict[\'sale_howto_currency_title\'])\n
...
...
bt5/erp5_user_tutorial_ui_test/bt/revision
View file @
c22f3209
773
774
\ No newline at end of file
\ No newline at end of file
bt5/erp5_user_tutorial_ui_test/bt/template_path_list
View file @
c22f3209
...
@@ -25,4 +25,6 @@ portal_categories/region/brazil/**
...
@@ -25,4 +25,6 @@ portal_categories/region/brazil/**
portal_categories/role
portal_categories/role
portal_categories/role/**
portal_categories/role/**
portal_tests/user_tutorial_zuite
portal_tests/user_tutorial_zuite
portal_tests/user_tutorial_zuite/**
portal_tests/user_tutorial_zuite/**
\ No newline at end of file
sale_trade_condition_module/1
sale_trade_condition_module/1/**
\ No newline at end of file
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