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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
3ddabfd2
Commit
3ddabfd2
authored
Feb 08, 2013
by
Romain Courteaud
Committed by
Rafael Monnerat
Aug 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Computer should support region category.
parent
cb241248
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
218 additions
and
2 deletions
+218
-2
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/ComputerModel_view.xml
...skins/erp5_computer_immobilisation/ComputerModel_view.xml
+1
-0
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/ComputerModel_view/my_region.xml
..._computer_immobilisation/ComputerModel_view/my_region.xml
+96
-0
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_applyComputerModel.xml
...5_computer_immobilisation/Computer_applyComputerModel.xml
+1
-0
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_viewModel.xml
...skins/erp5_computer_immobilisation/Computer_viewModel.xml
+1
-0
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_viewModel/my_region.xml
..._computer_immobilisation/Computer_viewModel/my_region.xml
+96
-0
bt5/erp5_computer_immobilisation/TestTemplateItem/testERP5ComputerWithComputerModel.py
...ion/TestTemplateItem/testERP5ComputerWithComputerModel.py
+1
-0
bt5/erp5_computer_immobilisation/bt/revision
bt5/erp5_computer_immobilisation/bt/revision
+1
-1
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/Computer/region_category.xml
...eItem/portal_property_sheets/Computer/region_category.xml
+20
-0
product/ERP5/bootstrap/erp5_property_sheets/bt/revision
product/ERP5/bootstrap/erp5_property_sheets/bt/revision
+1
-1
No files found.
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/ComputerModel_view.xml
View file @
3ddabfd2
...
@@ -111,6 +111,7 @@
...
@@ -111,6 +111,7 @@
<key>
<string>
right
</string>
</key>
<key>
<string>
right
</string>
</key>
<value>
<value>
<list>
<list>
<string>
my_region
</string>
<string>
my_storage_capacity
</string>
<string>
my_storage_capacity
</string>
<string>
my_storage_interface
</string>
<string>
my_storage_interface
</string>
<string>
my_storage_redundancy
</string>
<string>
my_storage_redundancy
</string>
...
...
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/ComputerModel_view/my_region.xml
0 → 100644
View file @
3ddabfd2
<?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>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_region
</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_category
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Region
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_applyComputerModel.xml
View file @
3ddabfd2
...
@@ -71,6 +71,7 @@ else :\n
...
@@ -71,6 +71,7 @@ else :\n
\'memory_size\',\n
\'memory_size\',\n
\'memory_type\',\n
\'memory_type\',\n
\'role\',\n
\'role\',\n
\'region\',\n
\'storage_capacity\',\n
\'storage_capacity\',\n
\'storage_interface\',\n
\'storage_interface\',\n
\'storage_redundancy\',\n
\'storage_redundancy\',\n
...
...
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_viewModel.xml
View file @
3ddabfd2
...
@@ -110,6 +110,7 @@
...
@@ -110,6 +110,7 @@
<key>
<string>
right
</string>
</key>
<key>
<string>
right
</string>
</key>
<value>
<value>
<list>
<list>
<string>
my_region
</string>
<string>
my_storage_capacity
</string>
<string>
my_storage_capacity
</string>
<string>
my_storage_interface
</string>
<string>
my_storage_interface
</string>
<string>
my_storage_redundancy
</string>
<string>
my_storage_redundancy
</string>
...
...
bt5/erp5_computer_immobilisation/SkinTemplateItem/portal_skins/erp5_computer_immobilisation/Computer_viewModel/my_region.xml
0 → 100644
View file @
3ddabfd2
<?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>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_region
</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_category
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Region
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_computer_immobilisation/TestTemplateItem/testERP5ComputerWithComputerModel.py
View file @
3ddabfd2
...
@@ -112,6 +112,7 @@ class TestERP5ComputerWithComputerModel(ERP5TypeTestCase):
...
@@ -112,6 +112,7 @@ class TestERP5ComputerWithComputerModel(ERP5TypeTestCase):
'local_area_network_type2'
],
'local_area_network_type2'
],
'memory_size'
:
[
'memory_size1'
,
'memory_size2'
],
'memory_size'
:
[
'memory_size1'
,
'memory_size2'
],
'memory_type'
:
[
'memory_type1'
,
'memory_type2'
],
'memory_type'
:
[
'memory_type1'
,
'memory_type2'
],
'region'
:
[
'region1'
,
'region2'
],
'storage_capacity'
:
[
'storage_capacity1'
,
'storage_capacity2'
],
'storage_capacity'
:
[
'storage_capacity1'
,
'storage_capacity2'
],
'storage_interface'
:
[
'storage_interface1'
,
'storage_interface2'
],
'storage_interface'
:
[
'storage_interface1'
,
'storage_interface2'
],
'storage_redundancy'
:
[
'storage_redundancy1'
,
'storage_redundancy2'
],
'storage_redundancy'
:
[
'storage_redundancy1'
,
'storage_redundancy2'
],
...
...
bt5/erp5_computer_immobilisation/bt/revision
View file @
3ddabfd2
58
59
\ No newline at end of file
\ No newline at end of file
product/ERP5/bootstrap/erp5_property_sheets/PropertySheetTemplateItem/portal_property_sheets/Computer/region_category.xml
0 → 100644
View file @
3ddabfd2
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Category Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
region_category
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Property
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_property_sheets/bt/revision
View file @
3ddabfd2
77
78
\ 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