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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xueyun Qian
erp5
Commits
14ece076
Commit
14ece076
authored
Dec 24, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define a system pref
parent
d02a1b0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_getHowToInfo.xml
...l_skins/erp5_user_tutorial_ui_test/Zuite_getHowToInfo.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
+10
-0
bt5/erp5_user_tutorial_ui_test/bt/revision
bt5/erp5_user_tutorial_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_getHowToInfo.xml
View file @
14ece076
...
@@ -162,6 +162,7 @@ return {\'now\': DateTime(),\n
...
@@ -162,6 +162,7 @@ return {\'now\': DateTime(),\n
\'outgoing_event_howto_ticket_comment\': \'ZUITE-TEST-OUTGOING-EVENT-TICKET-COMMENT This is a comment of a ticket\',\n
\'outgoing_event_howto_ticket_comment\': \'ZUITE-TEST-OUTGOING-EVENT-TICKET-COMMENT This is a comment of a ticket\',\n
\'outgoing_event_howto_ticket_content\': \'ZUITE-TEST-OUTGOING-EVENT-TICKET-CONTENT This is the content of the ticket\',\n
\'outgoing_event_howto_ticket_content\': \'ZUITE-TEST-OUTGOING-EVENT-TICKET-CONTENT This is the content of the ticket\',\n
\'howto_preference_id\': \'zuite_erp5_ui_test_preference\',\n
\'howto_preference_id\': \'zuite_erp5_ui_test_preference\',\n
\'howto_system_preference_id\': \'zuite_erp5_ui_test_system_preference\',\n
\'full_text_person_title\': \'ZUITE_TEST_FULL_TEXT_PERSON_TITLE_001\',\n
\'full_text_person_title\': \'ZUITE_TEST_FULL_TEXT_PERSON_TITLE_001\',\n
\'full_text_person_reference\': \'ZUITE_TEST_FULL_TEXT_PERSON_REFERENCE_001\',\n
\'full_text_person_reference\': \'ZUITE_TEST_FULL_TEXT_PERSON_REFERENCE_001\',\n
\'full_text_person_email\': \'ZUITE_TEST_FULL_TEXT_PERSON_REFERENCE_001@tiolive.com\',\n
\'full_text_person_email\': \'ZUITE_TEST_FULL_TEXT_PERSON_REFERENCE_001@tiolive.com\',\n
...
...
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_setUpCreateEventTest.xml
View file @
14ece076
...
@@ -112,6 +112,16 @@ if isTransitionPossible(pref, \'enable\'):\n
...
@@ -112,6 +112,16 @@ if isTransitionPossible(pref, \'enable\'):\n
\n
\n
pref.setPreferredTextEditor(\'text_area\')\n
pref.setPreferredTextEditor(\'text_area\')\n
\n
\n
sys_pref = getattr(context.portal_preferences, howto_dict[\'howto_preference_id\'], None)\n
if pref is None:\n
sys_pref = context.portal_preferences.newContent(portal_type="System Preference",\n
preferred_event_sender_email=("test@nexedi.com",),\n
id=howto_dict[\'howto_sys_preference_id\'])\n
\n
sys_pref.setPreferredEventSenderEmail("test@nexedi.com",)\n
if isTransitionPossible(sys_pref, \'enable\'):\n
sys_pref.enable()\n
\n
context.portal_caches.clearAllCache()\n
context.portal_caches.clearAllCache()\n
\n
\n
return "Init Ok"\n
return "Init Ok"\n
...
...
bt5/erp5_user_tutorial_ui_test/bt/revision
View file @
14ece076
788
789
\ No newline at end of file
\ 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