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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
371b8556
Commit
371b8556
authored
Aug 27, 2012
by
Jean-Paul Smets
Committed by
Xiaowu Zhang
Feb 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for reference and embedded image in production variation
parent
5b152009
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
314 additions
and
4 deletions
+314
-4
bt5/erp5_pdm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+3
-0
bt5/erp5_pdm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+3
-0
bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product%20Individual%20Variation.xml
...ateItem/portal_types/Product%20Individual%20Variation.xml
+15
-1
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view.xml
...teItem/portal_skins/erp5_pdm/IndividualVariation_view.xml
+10
-2
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view/my_default_image_absolute_url.xml
...ndividualVariation_view/my_default_image_absolute_url.xml
+90
-0
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view/my_default_image_file.xml
...p5_pdm/IndividualVariation_view/my_default_image_file.xml
+90
-0
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view/my_reference.xml
..._skins/erp5_pdm/IndividualVariation_view/my_reference.xml
+100
-0
bt5/erp5_pdm/bt/change_log
bt5/erp5_pdm/bt/change_log
+1
-1
bt5/erp5_pdm/bt/template_portal_type_allowed_content_type_list
...rp5_pdm/bt/template_portal_type_allowed_content_type_list
+1
-0
bt5/erp5_pdm/bt/template_portal_type_property_sheet_list
bt5/erp5_pdm/bt/template_portal_type_property_sheet_list
+1
-0
No files found.
bt5/erp5_pdm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
371b8556
...
...
@@ -35,6 +35,9 @@
<item>
Sale Supply Line
</item>
<item>
Supply Line
</item>
</portal_type>
<portal_type
id=
"Product Individual Variation"
>
<item>
Embedded File
</item>
</portal_type>
<portal_type
id=
"Product Module"
>
<item>
Product
</item>
</portal_type>
...
...
bt5/erp5_pdm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
371b8556
...
...
@@ -8,6 +8,9 @@
<portal_type
id=
"Product"
>
<item>
DefaultImage
</item>
</portal_type>
<portal_type
id=
"Product Individual Variation"
>
<item>
Reference
</item>
</portal_type>
<portal_type
id=
"Supply Cell"
>
<item>
Reference
</item>
</portal_type>
...
...
bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product%20Individual%20Variation.xml
View file @
371b8556
...
...
@@ -54,7 +54,9 @@
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<string></string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -151,6 +153,18 @@
<key>
<string>
property_name
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view.xml
View file @
371b8556
...
...
@@ -53,7 +53,7 @@
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
multipart/form-data
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
...
...
@@ -94,6 +94,7 @@
<value>
<list>
<string>
my_title
</string>
<string>
my_reference
</string>
<string>
my_variation_base_category
</string>
</list>
</value>
...
...
@@ -101,7 +102,10 @@
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
<list>
<string>
my_default_image_absolute_url
</string>
<string>
my_default_image_file
</string>
</list>
</value>
</item>
</dictionary>
...
...
@@ -143,6 +147,10 @@
<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>
...
...
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view/my_default_image_absolute_url.xml
0 → 100644
View file @
371b8556
<?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/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_default_image_absolute_url
</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>
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>
field_id
</string>
</key>
<value>
<string>
my_default_image_absolute_url
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewPDMFieldLibrary
</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>
</ZopeData>
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view/my_default_image_file.xml
0 → 100644
View file @
371b8556
<?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/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_default_image_file
</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>
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>
field_id
</string>
</key>
<value>
<string>
my_default_image_file
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewPDMFieldLibrary
</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>
</ZopeData>
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/IndividualVariation_view/my_reference.xml
0 → 100644
View file @
371b8556
<?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/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_reference
</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>
extra_context
</string>
</key>
<value>
<string></string>
</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>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
extra_context
</string>
</key>
<value>
<string></string>
</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>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
The default reference of the service
</string>
</value>
</item>
<item>
<key>
<string>
extra_context
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_reference
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewPDMFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Reference
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_pdm/bt/change_log
View file @
371b8556
...
...
@@ -255,4 +255,4 @@ TransformationTransformedResource_viewQuantity, when no variation.
* Update Service_view to support 'grade' as Variation Base Category (this is required for paysheets).
2005-06-23 yo
* Rename modules, appended _module.
\ No newline at end of file
* Rename modules, appended _module.
bt5/erp5_pdm/bt/template_portal_type_allowed_content_type_list
View file @
371b8556
...
...
@@ -12,6 +12,7 @@ Internal Supply Module | Internal Supply
Internal Supply | Internal Supply Line
Internal Supply | Supply Line
Measure | Measure Cell
Product Individual Variation | Embedded File
Product Module | Product
Product | Embedded File
Product | Internal Supply Line
...
...
bt5/erp5_pdm/bt/template_portal_type_property_sheet_list
View file @
371b8556
Component | DefaultImage
Measure Cell | Amount
Product Individual Variation | Reference
Product | DefaultImage
Supply Cell | Reference
\ 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