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
Richard
erp5
Commits
33f1ef9c
Commit
33f1ef9c
authored
Dec 16, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests.
parent
07da2461
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
188 additions
and
2 deletions
+188
-2
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/group/my_group.xml
...est/PathTemplateItem/portal_categories/group/my_group.xml
+85
-0
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/incoterm/cpt.xml
..._test/PathTemplateItem/portal_categories/incoterm/cpt.xml
+85
-0
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
...m/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
+11
-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/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
+4
-0
No files found.
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/group/my_group.xml
0 → 100644
View file @
33f1ef9c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</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>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
group/my_group
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_group
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
My Group
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/incoterm/cpt.xml
0 → 100644
View file @
33f1ef9c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</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>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
incoterm/cpt
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
cpt
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
CPT
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToSaleOrder.xml
View file @
33f1ef9c
...
...
@@ -90,6 +90,11 @@
<td>
//input[@name="field_my_title"]
</td>
\n
<td
tal:content=
"python: here.Zuite_getHowToInfo()[\'sale_howto_product_title\']"
></td>
\n
</tr>
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//select[@name="field_my_source_section"]
</td>
\n
<td
tal:content=
"python: here.Zuite_getHowToInfo()[\'sale_howto_organisation_title\']"
></td>
\n
</tr>
\n
<tr>
\n
<td>
type
</td>
\n
<td>
//input[@name="field_my_source_title"]
</td>
\n
...
...
@@ -120,6 +125,12 @@
<td>
//select[@name="field_my_delivery_mode"]
</td>
\n
<td>
AIR
</td>
\n
</tr>
\n
<tr>
\n
<td>
select
</td>
\n
<td>
//select[@name="field_my_incoterm"]
</td>
\n
<td>
CPT
</td>
\n
</tr>
\n
\n
<tr>
\n
<td>
type
</td>
\n
<td>
//input[@name="field_my_specialise_title"]
</td>
\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpSaleOrderTest.xml
View file @
33f1ef9c
...
...
@@ -63,7 +63,7 @@ business_process = context.portal_catalog.getResultValue(portal_type=\'Business
if isTransitionPossible(business_process, \'validate\'):\n
business_process.validate()\n
\n
#
XXX:
add default sale order trade condition\n
# 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
...
...
@@ -110,6 +110,7 @@ pref = getattr(context.portal_preferences, howto_dict[\'howto_preference_id\'],
if pref is None:\n
pref = context.portal_preferences.newContent(portal_type="Preference",\n
id=howto_dict[\'howto_preference_id\'])\n
pref.setPreferredAccountingTransactionSectionCategory(\'group/my_group\')\n
if isTransitionPossible(pref, \'enable\'):\n
pref.enable()\n
\n
...
...
bt5/erp5_user_tutorial_ui_test/bt/revision
View file @
33f1ef9c
774
\ No newline at end of file
775
\ No newline at end of file
bt5/erp5_user_tutorial_ui_test/bt/template_path_list
View file @
33f1ef9c
...
...
@@ -10,6 +10,10 @@ portal_categories/function/sales
portal_categories/function/sales/**
portal_categories/gender
portal_categories/gender/**
portal_categories/group/my_group
portal_categories/group/my_group/**
portal_categories/incoterm/cpt
portal_categories/incoterm/cpt/**
portal_categories/nationality/french
portal_categories/nationality/french/**
portal_categories/order/normal
...
...
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