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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
erp5
Commits
2bc22536
Commit
2bc22536
authored
Jun 22, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SoftwareProduct migrated to portal_property_sheets.
parent
42e5ed41
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
285 additions
and
65 deletions
+285
-65
bt5/erp5_software_pdm/PropertySheetTemplateItem/SoftwareProduct.py
...software_pdm/PropertySheetTemplateItem/SoftwareProduct.py
+0
-64
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct.xml
...etTemplateItem/portal_property_sheets/SoftwareProduct.xml
+60
-0
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/activity_category.xml
...tal_property_sheets/SoftwareProduct/activity_category.xml
+20
-0
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/aggregate_category.xml
...al_property_sheets/SoftwareProduct/aggregate_category.xml
+20
-0
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/description_property.xml
..._property_sheets/SoftwareProduct/description_property.xml
+63
-0
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/region_category.xml
...ortal_property_sheets/SoftwareProduct/region_category.xml
+20
-0
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/sale_supply_line_property.xml
...erty_sheets/SoftwareProduct/sale_supply_line_property.xml
+101
-0
bt5/erp5_software_pdm/bt/revision
bt5/erp5_software_pdm/bt/revision
+1
-1
No files found.
bt5/erp5_software_pdm/PropertySheetTemplateItem/SoftwareProduct.py
deleted
100644 → 0
View file @
42e5ed41
##############################################################################
#
# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
# Fabien MORIN <fabien@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
class
SoftwareProduct
:
"""
"""
_properties
=
(
{
'id'
:
'description'
,
'description'
:
''
,
'type'
:
'text'
,
'default'
:
''
,
'mode'
:
'w'
,
# we want description to be translatable
'translatable'
:
1
,},
{
'id'
:
'sale_supply_line'
,
'storage_id'
:
'default_ssl'
,
'description'
:
''
,
'type'
:
'content'
,
'portal_type'
:
(
'Sale Supply Line'
,),
'acquired_property_id'
:
(
'base_price'
,
'id'
,
'priced_quantity'
,
'price_currency'
,
'price_currency_title'
,
'source'
,
'destination'
,
'source_title'
,
'destination_title'
,
'source_value'
,
'destination_value'
,
'quantity_step'
,
'priced_quantity'
,
'start_date'
,
'stop_date'
,
'start_date_range_max'
,
'start_date_range_min'
,
'comment'
,
'source_reference'
,
'destination_reference'
,
'p_variation_base_category_list'
,
'source_account'
,
'min_delay'
,
'max_delay'
,
'min_flow'
,
'max_flow'
,
'min_stock'
,
'max_stock'
,
'aggregate'
,
'aggregate_value'
,
'aggregate_title'
),
'mode'
:
'w'
},
)
_categories
=
(
'activity'
,
'region'
,
'aggregate'
,)
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct.xml
0 → 100644
View file @
2bc22536
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareProduct
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/activity_category.xml
0 → 100644
View file @
2bc22536
<?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>
activity_category
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Property
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/aggregate_category.xml
0 → 100644
View file @
2bc22536
<?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>
aggregate_category
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Property
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/description_property.xml
0 → 100644
View file @
2bc22536
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Standard Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
mode
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/text
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
description_property
</string>
</value>
</item>
<item>
<key>
<string>
mode
</string>
</key>
<value>
<string>
w
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
<item>
<key>
<string>
property_default
</string>
</key>
<value>
<string>
python: \'\'
</string>
</value>
</item>
<item>
<key>
<string>
translatable
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/region_category.xml
0 → 100644
View file @
2bc22536
<?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>
bt5/erp5_software_pdm/PropertySheetTemplateItem/portal_property_sheets/SoftwareProduct/sale_supply_line_property.xml
0 → 100644
View file @
2bc22536
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Acquired Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
mode
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_acquired_property_id
</string>
</key>
<value>
<tuple>
<string>
base_price
</string>
<string>
id
</string>
<string>
priced_quantity
</string>
<string>
price_currency
</string>
<string>
price_currency_title
</string>
<string>
source
</string>
<string>
destination
</string>
<string>
source_title
</string>
<string>
destination_title
</string>
<string>
source_value
</string>
<string>
destination_value
</string>
<string>
quantity_step
</string>
<string>
priced_quantity
</string>
<string>
start_date
</string>
<string>
stop_date
</string>
<string>
start_date_range_max
</string>
<string>
start_date_range_min
</string>
<string>
comment
</string>
<string>
source_reference
</string>
<string>
destination_reference
</string>
<string>
p_variation_base_category_list
</string>
<string>
source_account
</string>
<string>
min_delay
</string>
<string>
max_delay
</string>
<string>
min_flow
</string>
<string>
max_flow
</string>
<string>
min_stock
</string>
<string>
max_stock
</string>
<string>
aggregate
</string>
<string>
aggregate_value
</string>
<string>
aggregate_title
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_portal_type
</string>
</key>
<value>
<string>
python: (\'Sale Supply Line\',)
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
sale_supply_line_property
</string>
</value>
</item>
<item>
<key>
<string>
mode
</string>
</key>
<value>
<string>
w
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Acquired Property
</string>
</value>
</item>
<item>
<key>
<string>
storage_id
</string>
</key>
<value>
<string>
default_ssl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_software_pdm/bt/revision
View file @
2bc22536
87
\ No newline at end of file
88
\ 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