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
Labels
Merge Requests
137
Merge Requests
137
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
2efc03ad
Commit
2efc03ad
authored
4 years ago
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui_test: add action to test dialogs with only an update button
parent
1266c706
master
DateTime.equalTo_fix
TMP-2to3
UpdateValidationStateFromConsistency
UserPropertySheet_backward_compatibility
addToDate_implicit_localtime
add_boolean_type
arnau
arnau-RD-Components-ERP5Form-ERP5Report
arnau-RD-Components-ERP5Form-SelectionTool-MemcachedTool
arnau-RD-Components-ERP5OOo
arnau-RD-Components-PreferenceTool-Preference
arnau-RD-ERP5ify-portal_workflow-1-seb-merged-with-recent-master
arnau-RD-ERP5ify-portal_workflow-2-do-not-rename-erp5_workflow-portal_types
arnau-RD-ERP5ify-portal_workflow-BAK
arnau-RD-ERP5ify-portal_workflow-WIP
arnau-RD-ERP5ify-portal_workflow-WITHOUT-MIGRATION
arnau-RD-ERP5ify-portal_workflow-WORKFLOWS-NOT-MIGRATED
arnau-RD-py3-master-TM
arnau-RD-py3-master-TM-BAK
arnau-RD-py3-master-WIP
arnau-RD-py3-master-WIP-BAK
arnau-RD-py3-master-WIP-bt5-and-tests
arnau-RD-zope4py3
arnau-TM-WIP
arnau-my2to3
arnau-zope4py2
aurel-zope4py2
cache-control-304-response
cribjs-bootloader
drop-ZServer
e2e-erp5
erp5-component
erp5-component-bak
erp5-vifib
erp5-vifib-no-Products.DCWorkflowGraph
erp5-vifib-py3
erp5_drone_simulator
feat/acquired_cat
feat/coding_style_test
feat/dedup_roles_in_pickles
feat/erp5pt
feat/fsum
feat/improve_rounding_tool
feat/lxml-html-snapshot
feat/mariadb-10.11
feat/mariadb-10.11bis
feat/mariadb-10.11ter
feat/mariadb-10.5
feat/mariadb-10.6
feat/mariadb-11.4bis
feat/mariadb-11.4bis-old
feat/mariadb-11.4ter
feat/notification-message-ignore-missing
feat/python_language_support
feat/reindexlastobjects_log
feat/round_half_up
feat/selenium-unexpected-success
feat/slapos_agent_distributor
feat/subject_set_query
fix/GHSA-g5vw-3h65-2q3v
fix/TALES_hide_error
fix/ZMI_editor_preference
fix/accounting-fec-no-line
fix/erp5_site_global_id
fix/is_ghost_temp_object
fix/mariadb-1927
fix/measure-optional-variation
fix/monaco-altClick
fix/officejs_support_request_rss_secu
fix/state_var
fix/testnode_proctitle
fix/workflow_info
fix/workflow_method_security
fix_isIndexable
fix_web_illustration
for_testrunner_1
for_testrunner_2
for_testrunner_3
graphic_gadget_js
limit_accelerated_http_cache_manager
lle-bout/metadata-modules
mr1362
my2to3
notebook_roque
oauth-login-minor-improvement
override_cache_control_header_by_caching_policy_manager
poc/json-forms-study
restore-from-trashbin
revert-192c2000
rfc/activate_default
rjs_listbox_sort_icon
roque_quick
scalability_crash_mariadb
support_legacy_sftp_server
support_relative_url_in_hyperlink_field
support_request
test-renderjs-float-field-step
test_cmfactivity_isolation_level
test_dynamic_methods
tomo_testnode_slap_request
translatable_path_master
unify_predicate_edit
without_legacy_workflow
workaround_mroonga_14
zope2
zope2zope4py2
zope4py3
zope4py3-BEFORE-CLEANUP
zope4py3-master-rebase
nexedi-erp5-vifib-20201105
erp5.util-0.4.77
erp5.util-0.4.76
erp5.util-0.4.75
erp5.util-0.4.74
erp5.util-0.4.73
erp5.util-0.4.72
erp5.util-0.4.71
erp5.util-0.4.69
erp5-vifib-20240326
erp5-vifib-20230331
erp5-vifib-20230201
erp5-vifib-20220526
erp5-vifib-20220302
erp5-vifib-20210707
erp5-vifib-20201229
erp5-vifib-20200129
1 merge request
!1181
Support dialog without action button
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
316 additions
and
0 deletions
+316
-0
bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo/view_dialog_with_only_update.xml
...ateItem/portal_types/Foo/view_dialog_with_only_update.xml
+91
-0
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDialogWithOnlyUpdate.xml
...ortal_skins/erp5_ui_test/Foo_viewDialogWithOnlyUpdate.xml
+135
-0
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDialogWithOnlyUpdate/my_title.xml
...ns/erp5_ui_test/Foo_viewDialogWithOnlyUpdate/my_title.xml
+89
-0
bt5/erp5_ui_test/bt/template_action_path_list
bt5/erp5_ui_test/bt/template_action_path_list
+1
-0
No files found.
bt5/erp5_ui_test/ActionTemplateItem/portal_types/Foo/view_dialog_with_only_update.xml
0 → 100644
View file @
2efc03ad
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view_dialog_with_only_update
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
3.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Dialog with only Update
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/Foo_viewDialogWithOnlyUpdate
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDialogWithOnlyUpdate.xml
0 → 100644
View file @
2efc03ad
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
left
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
my_title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Foo_viewDialogWithOnlyUpdate
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
Foo_viewDialogWithoutAction
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_dialog
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Dialog with only Update
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string>
Foo_viewDialogWithOnlyUpdate
</string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewDialogWithOnlyUpdate/my_title.xml
0 → 100644
View file @
2efc03ad
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
editable
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Title
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_ui_test/bt/template_action_path_list
View file @
2efc03ad
...
...
@@ -36,6 +36,7 @@ Foo | select_bar
Foo | view
Foo | view_action_title
Foo | view_crash_on_save
Foo | view_dialog_with_only_update
Foo | view_duration_field
Foo | view_formbox
Foo | view_formbox_dialog
...
...
This diff is collapsed.
Click to expand it.
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