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
Titouan Soulard
erp5
Commits
a61abaaf
Commit
a61abaaf
authored
8 years ago
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_dms: add PDF_viewAsWeb
parent
4258e0ab
master
DateTime.equalTo_fix
TMP-2to3
UpdateValidationStateFromConsistency
UserPropertySheet_backward_compatibility
acquisition-on-transformation
addToDate_implicit_localtime
api-ai-new
api-json-form
arnau
arnau-RD-Components-CacheTool
arnau-RD-Components-ERP5Form-ERP5Report
arnau-RD-Components-ERP5Form-SelectionTool-MemcachedTool
arnau-RD-Components-ERP5OOo
arnau-RD-Components-PreferenceTool-Preference
arnau-RD-Components-Products-import-compat
arnau-RD-Components-astroid_cache_per_component_reset
arnau-RD-Components-erp5_crm
arnau-RD-Components-erp5_trade-TODO-Interactor
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-Components-Migrate-PortalTransforms
arnau-TM-Components-ModuleSecurityInfo
arnau-TM-FEC-output
arnau-TM-WIP
arnau-TM-isBuildable-with-multiple-BusinessLinks
arnau-TM-newContent-temp_object
arnau-TM-runUnitTest-clear-previous-execution-catalog
arnau-TM-wkhtmltopdf
arnau-WIP
arnau-my2to3
arnau-real-time-inventory-accounting
arnau-zope4py2
aurel-zope4py2
bt5_config
cache-control-304-response
callable-jupyter-storage
catalog_filter
cherry-pick-4a8e045d
cleanup_acquisition_base_category
cloud_reliability_test
cribjs-bootloader
delivery_item_barcode
drop-ZServer
dsn-phase3
e2e-erp5
enhance_scalability_testing
erp5-component
erp5-component-bak
erp5-imt
erp5-messenger
erp5-vifib
erp5-vifib-no-Products.DCWorkflowGraph
erp5_catalog
erp5_catalog_final
erp5_corporate_identity
erp5_drone_simulator
erp5_hal_json_style_fix_restricted_access_with_traverse
erp5_payslip_migration
erp5testnode_max_timeout
feat/cloudooo_libreoffice_7.5.2.2
feat/dedup_roles_in_pickles
feat/dms_implicit_predecessor_successor_fields
feat/erp5_ide
feat/erp5pt
feat/inventory_api_group_by_time_interval_list
feat/lxml-html-snapshot
feat/notification-message-ignore-missing
feat/olapy
feat/python_language_support
feat/slapos_agent_distributor
feature/renderjs-ui-no-header
fix/TALES_hide_error
fix/ZMI_editor_preference
fix/advance_ecommerce_coding_crimes
fix/erp5_site_global_id
fix/login_validate_check_consistency
fix/mariadb-1927
fix/monaco-altClick
fix/officejs_support_request_rss_secu
fix/state_var
fix/support-request-app-empty
fix/workflow_method_security
fix_web_illustration
for-mr-caterpillar
for-mr-mouse
for-mr-pig
for-mr-pigeon
for_testrunner_1
for_testrunner_2
for_testrunner_3
fusion-monster
graphic_gadget_js
hotfix/rjs-formfields-padding
initsite
inventory
js-ui
limit_accelerated_http_cache_manager
listbox_url
lle-bout/metadata-modules
macros_fix
master_w
mic_wind
monitoring-graph
mr1362
my2to3
nicolas-slice-price
no_longer_simulated_state
notebook_roque
override_cache_control_header_by_caching_policy_manager
poc/json-forms-study
portal_callables
publish_recursiveReindexObject
refactor/base_edit
restore-from-trashbin
revert-192c2000
revert-38554dbe
rfc/activate_default
rjs_listbox_sort_icon
roque_quick
scalability-master
scalability-roque
scalability-roque-2
scalability-run-command
scalability_crash_mariadb
shop-box-rebase
slapos-api-reborn
streaming_fix
streaming_fix-0
support_legacy_sftp_server
support_relative_url_in_hyperlink_field
support_request
taskdistribution-xmlrpc-binary
test-renderjs-float-field-step
test_dynamic_methods
tomo_testnode_slap_request
translatable_path_master
trustable-x-forwarded-for
ttrm
unify_predicate_edit
view-aggregated-amounts
without_legacy_workflow
wsgi
wsgi-gevent
wsgi_backport_setbody_lock
wsgi_medusa_stream_fix
zope2zope4py2
zope4py3
zope4py3-master-rebase
0.4.59.1
0.4.59
test-ui
test-rjsacc
test-rjs
renderjs-test
nexedi-erp5-vifib-20201105
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.util-0.4.68
erp5.util-0.4.67
erp5.util-0.4.66
erp5.util-0.4.65
erp5.util-0.4.64
erp5.util-0.4.63
erp5.util-0.4.62
erp5.util-0.4.61
erp5.util-0.4.60
erp5.util-0.4.59.1
erp5.util-0.4.59
erp5.util-0.4.58
erp5.util-0.4.57
erp5.util-0.4.56
erp5.util-0.4.55
erp5.util-0.4.54
erp5.util-0.4.53
erp5.util-0.4.52
erp5.util-0.4.49
erp5.util-0.4.46
erp5-vifib-20230331
erp5-vifib-20230201
erp5-vifib-20220526
erp5-vifib-20220302
erp5-vifib-20210707
erp5-vifib-20201229
erp5-vifib-20200129
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
894 additions
and
1 deletion
+894
-1
bt5/erp5_dms/ActionTemplateItem/portal_types/PDF/web_view.xml
...erp5_dms/ActionTemplateItem/portal_types/PDF/web_view.xml
+1
-1
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb.xml
...nTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb.xml
+154
-0
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb/body.xml
...lateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb/body.xml
+310
-0
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb/download_pdf.xml
.../portal_skins/erp5_dms_web/PDF_viewAsWeb/download_pdf.xml
+122
-0
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb/navigation.xml
...em/portal_skins/erp5_dms_web/PDF_viewAsWeb/navigation.xml
+307
-0
No files found.
bt5/erp5_dms/ActionTemplateItem/portal_types/PDF/web_view.xml
View file @
a61abaaf
...
...
@@ -75,7 +75,7 @@
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/PDF_view
HTMLPreviewAsImage
</string>
</value>
<value>
<string>
string:${object_url}/PDF_view
AsWeb
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb.xml
0 → 100644
View file @
a61abaaf
<?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>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</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>
<string>
navigation
</string>
<string>
body
</string>
<string>
download_pdf
</string>
</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/>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
PDF_viewAsWeb
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
PDF_viewHTMLPreviewAsImage
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</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>
PDF
</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></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_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb/body.xml
0 → 100644
View file @
a61abaaf
This diff is collapsed.
Click to expand it.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb/download_pdf.xml
0 → 100644
View file @
a61abaaf
<?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>
default
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
download_pdf
</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>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
download_pdf
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
OOoDocument_viewAsWeb
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<tuple>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python:\'<button class="bt-med right" name="Base_download:method" title="%(title)s">
<span>
%(title)s
</span></button>
\' % {\'title\':here.Base_translateString("Download as PDF")}
]]>
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_web/PDF_viewAsWeb/navigation.xml
0 → 100644
View file @
a61abaaf
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