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
alecs_myu
erp5
Commits
b14e660d
Commit
b14e660d
authored
Jul 18, 2019
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_advanced_trade] You can use variations with lines and without movement cells.
parent
e8bf1284
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
580 additions
and
12 deletions
+580
-12
bt5/erp5_advanced_trade/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
...iddenContentTypeTemplateItem/hidden_content_type_list.xml
+29
-0
bt5/erp5_advanced_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+38
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade.xml
...ade/SkinTemplateItem/portal_skins/erp5_advanced_trade.xml
+47
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Base_getMultiListFieldPropertyDictListForAdvancedTrade.py
...Base_getMultiListFieldPropertyDictListForAdvancedTrade.py
+31
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Base_getMultiListFieldPropertyDictListForAdvancedTrade.xml
...ase_getMultiListFieldPropertyDictListForAdvancedTrade.xml
+62
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_getHashScriptIdForParallelListField.py
...ced_trade/Movement_getHashScriptIdForParallelListField.py
+1
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_getHashScriptIdForParallelListField.xml
...ed_trade/Movement_getHashScriptIdForParallelListField.xml
+62
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEditable.py
..._skins/erp5_advanced_trade/Movement_isQuantityEditable.py
+12
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEditable.xml
...skins/erp5_advanced_trade/Movement_isQuantityEditable.xml
+62
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEnabled.py
...l_skins/erp5_advanced_trade/Movement_isQuantityEnabled.py
+1
-0
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEnabled.xml
..._skins/erp5_advanced_trade/Movement_isQuantityEnabled.xml
+62
-0
bt5/erp5_advanced_trade/bt/change_log
bt5/erp5_advanced_trade/bt/change_log
+2
-0
bt5/erp5_advanced_trade/bt/copyright_list
bt5/erp5_advanced_trade/bt/copyright_list
+1
-0
bt5/erp5_advanced_trade/bt/dependency_list
bt5/erp5_advanced_trade/bt/dependency_list
+1
-0
bt5/erp5_advanced_trade/bt/description
bt5/erp5_advanced_trade/bt/description
+1
-0
bt5/erp5_advanced_trade/bt/license
bt5/erp5_advanced_trade/bt/license
+1
-0
bt5/erp5_advanced_trade/bt/maintainer_list
bt5/erp5_advanced_trade/bt/maintainer_list
+1
-0
bt5/erp5_advanced_trade/bt/template_format_version
bt5/erp5_advanced_trade/bt/template_format_version
+1
-0
bt5/erp5_advanced_trade/bt/template_portal_type_hidden_content_type_list
...ed_trade/bt/template_portal_type_hidden_content_type_list
+9
-0
bt5/erp5_advanced_trade/bt/template_portal_type_workflow_chain_list
...dvanced_trade/bt/template_portal_type_workflow_chain_list
+9
-0
bt5/erp5_advanced_trade/bt/template_skin_id_list
bt5/erp5_advanced_trade/bt/template_skin_id_list
+1
-0
bt5/erp5_advanced_trade/bt/title
bt5/erp5_advanced_trade/bt/title
+1
-0
bt5/erp5_advanced_trade/bt/version
bt5/erp5_advanced_trade/bt/version
+1
-0
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary/my_view_mode_movement_quantity.xml
..._viewTradeFieldLibrary/my_view_mode_movement_quantity.xml
+1
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary/my_view_mode_variation_category_list.xml
...radeFieldLibrary/my_view_mode_variation_category_list.xml
+17
-11
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_getHashScriptIdForParallelListField.py
...rp5_trade/Movement_getHashScriptIdForParallelListField.py
+1
-0
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_getHashScriptIdForParallelListField.xml
...p5_trade/Movement_getHashScriptIdForParallelListField.xml
+62
-0
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_isQuantityEnabled.py
...tem/portal_skins/erp5_trade/Movement_isQuantityEnabled.py
+1
-0
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_isQuantityEnabled.xml
...em/portal_skins/erp5_trade/Movement_isQuantityEnabled.xml
+62
-0
No files found.
bt5/erp5_advanced_trade/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
0 → 100644
View file @
b14e660d
<hidden_content_type_list>
<portal_type
id=
"Internal Order Line"
>
<item>
Internal Order Cell
</item>
</portal_type>
<portal_type
id=
"Internal Packing List Line"
>
<item>
Internal Packing List Cell
</item>
</portal_type>
<portal_type
id=
"Inventory Line"
>
<item>
Inventory Cell
</item>
</portal_type>
<portal_type
id=
"Purchase Order Line"
>
<item>
Purchase Order Cell
</item>
</portal_type>
<portal_type
id=
"Purchase Packing List Line"
>
<item>
Purchase Packing List Cell
</item>
</portal_type>
<portal_type
id=
"Returned Purchase Packing List Line"
>
<item>
Returned Purchase Packing List Cell
</item>
</portal_type>
<portal_type
id=
"Returned Sale Packing List Line"
>
<item>
Returned Sale Packing List Cell
</item>
</portal_type>
<portal_type
id=
"Sale Order Line"
>
<item>
Sale Order Cell
</item>
</portal_type>
<portal_type
id=
"Sale Packing List Line"
>
<item>
Sale Packing List Cell
</item>
</portal_type>
</hidden_content_type_list>
\ No newline at end of file
bt5/erp5_advanced_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
0 → 100644
View file @
b14e660d
<workflow_chain>
<chain>
<type>
Internal Order Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Internal Packing List Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Inventory Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Purchase Order Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Purchase Packing List Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Returned Purchase Packing List Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Returned Sale Packing List Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Sale Order Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
<chain>
<type>
Sale Packing List Line
</type>
<workflow>
-trade_matrix_workflow
</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade.xml
0 → 100644
View file @
b14e660d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
20.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_advanced_trade
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Base_getMultiListFieldPropertyDictListForAdvancedTrade.py
0 → 100644
View file @
b14e660d
# Define a dictionary where we store the subfields to display.
sub_field_dict
=
{}
split_depth
=
1
# Try to assign each item to a sub field.
for
item
in
item_list
:
# Get value of the item
item_value
=
item
[
int
(
not
is_right_display
)]
# Hash key from item_value
item_split
=
item_value
.
split
(
'/'
)
item_key
=
'/'
.
join
(
item_split
[:
split_depth
])
base_category
=
item_split
[
0
]
# Create a new subfield if necessary
if
not
sub_field_dict
.
has_key
(
item_key
):
# Create property dict (key are field parameters)
sub_field_property_dict
=
default_sub_field_property_dict
.
copy
()
sub_field_property_dict
[
'key'
]
=
item_key
sub_field_property_dict
[
'title'
]
=
context
.
portal_categories
[
base_category
].
getTitle
()
sub_field_property_dict
[
'required'
]
=
0
sub_field_property_dict
[
'field_type'
]
=
'ListField'
sub_field_property_dict
[
'size'
]
=
1
sub_field_property_dict
[
'item_list'
]
=
[(
''
,
''
)]
sub_field_property_dict
[
'value'
]
=
None
sub_field_dict
[
item_key
]
=
sub_field_property_dict
# Put the value in the correct sub field.
sub_field_dict
[
item_key
][
'item_list'
].
append
(
item
)
if
item_value
in
value_list
and
sub_field_property_dict
[
'value'
]
is
None
:
sub_field_dict
[
item_key
][
'value'
]
=
item_value
# Return the list of subfield configuration.
return
sub_field_dict
.
values
()
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Base_getMultiListFieldPropertyDictListForAdvancedTrade.xml
0 → 100644
View file @
b14e660d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
item_list, value_list, default_sub_field_property_dict={}, is_right_display=0
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_getMultiListFieldPropertyDictListForAdvancedTrade
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_getHashScriptIdForParallelListField.py
0 → 100644
View file @
b14e660d
return
'Base_getMultiListFieldPropertyDictListForAdvancedTrade'
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_getHashScriptIdForParallelListField.xml
0 → 100644
View file @
b14e660d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Movement_getHashScriptIdForParallelListField
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEditable.py
0 → 100644
View file @
b14e660d
"""This script is used to know if quantity can be edited by user.
* If this is not a movement (line containing lines or cell), user
cannot edit this line which is just a container, but no actual movement.
* If items are used, quantity is set by the item quantity.
"""
if
not
context
.
isMovement
():
return
False
return
not
(
context
.
getResource
()
and
context
.
getResourceValue
().
getAggregatedPortalTypeList
())
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEditable.xml
0 → 100644
View file @
b14e660d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Movement_isQuantityEditable
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEnabled.py
0 → 100644
View file @
b14e660d
return
context
.
isMovement
()
bt5/erp5_advanced_trade/SkinTemplateItem/portal_skins/erp5_advanced_trade/Movement_isQuantityEnabled.xml
0 → 100644
View file @
b14e660d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Movement_isQuantityEnabled
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_advanced_trade/bt/change_log
0 → 100644
View file @
b14e660d
2019-7-18 Yusei Tahara
Initial commit
\ No newline at end of file
bt5/erp5_advanced_trade/bt/copyright_list
0 → 100644
View file @
b14e660d
Nexedi
\ No newline at end of file
bt5/erp5_advanced_trade/bt/dependency_list
0 → 100644
View file @
b14e660d
erp5_trade
\ No newline at end of file
bt5/erp5_advanced_trade/bt/description
0 → 100644
View file @
b14e660d
Use variations with movment lines. You don't need movement cells. It makes more sense for many industries.
\ No newline at end of file
bt5/erp5_advanced_trade/bt/license
0 → 100644
View file @
b14e660d
GPL
\ No newline at end of file
bt5/erp5_advanced_trade/bt/maintainer_list
0 → 100644
View file @
b14e660d
yusei
\ No newline at end of file
bt5/erp5_advanced_trade/bt/template_format_version
0 → 100644
View file @
b14e660d
1
\ No newline at end of file
bt5/erp5_advanced_trade/bt/template_portal_type_hidden_content_type_list
0 → 100644
View file @
b14e660d
Internal Order Line | Internal Order Cell
Internal Packing List Line | Internal Packing List Cell
Inventory Line | Inventory Cell
Purchase Order Line | Purchase Order Cell
Purchase Packing List Line | Purchase Packing List Cell
Returned Purchase Packing List Line | Returned Purchase Packing List Cell
Returned Sale Packing List Line | Returned Sale Packing List Cell
Sale Order Line | Sale Order Cell
Sale Packing List Line | Sale Packing List Cell
\ No newline at end of file
bt5/erp5_advanced_trade/bt/template_portal_type_workflow_chain_list
0 → 100644
View file @
b14e660d
Internal Order Line | -trade_matrix_workflow
Internal Packing List Line | -trade_matrix_workflow
Inventory Line | -trade_matrix_workflow
Purchase Order Line | -trade_matrix_workflow
Purchase Packing List Line | -trade_matrix_workflow
Returned Purchase Packing List Line | -trade_matrix_workflow
Returned Sale Packing List Line | -trade_matrix_workflow
Sale Order Line | -trade_matrix_workflow
Sale Packing List Line | -trade_matrix_workflow
\ No newline at end of file
bt5/erp5_advanced_trade/bt/template_skin_id_list
0 → 100644
View file @
b14e660d
erp5_advanced_trade
\ No newline at end of file
bt5/erp5_advanced_trade/bt/title
0 → 100644
View file @
b14e660d
erp5_advanced_trade
\ No newline at end of file
bt5/erp5_advanced_trade/bt/version
0 → 100644
View file @
b14e660d
1.0
\ No newline at end of file
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary/my_view_mode_movement_quantity.xml
View file @
b14e660d
...
...
@@ -131,7 +131,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.
isMovement() and not here.getVariationCategoryList
()
</string>
</value>
<value>
<string>
python: here.
Movement_isQuantityEnabled
()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary/my_view_mode_variation_category_list.xml
View file @
b14e660d
...
...
@@ -14,7 +14,6 @@
<string>
enabled
</string>
<string>
hash_script_id
</string>
<string>
items
</string>
<string>
size
</string>
<string>
title
</string>
</list>
</value>
...
...
@@ -77,17 +76,15 @@
</item>
<item>
<key>
<string>
hash_script_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
items
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<string></string>
</value>
<key>
<string>
items
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
...
...
@@ -130,10 +127,6 @@
<list/>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
5
</int>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
...
...
@@ -162,6 +155,19 @@
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.Movement_getHashScriptIdForParallelListField()
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_getHashScriptIdForParallelListField.py
0 → 100644
View file @
b14e660d
return
'Base_getMultiListFieldPropertyDictList'
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_getHashScriptIdForParallelListField.xml
0 → 100644
View file @
b14e660d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Movement_getHashScriptIdForParallelListField
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_isQuantityEnabled.py
0 → 100644
View file @
b14e660d
return
context
.
isMovement
()
and
not
context
.
getVariationCategoryList
()
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Movement_isQuantityEnabled.xml
0 → 100644
View file @
b14e660d
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<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>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Movement_isQuantityEnabled
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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