diff --git a/product/ERP5/PropertySheet/Account.py b/product/ERP5/PropertySheet/Account.py index c881f9ab26d241757e7f34bba8152c5ea94bda4e..6d36892dd2e1a4104820cbe06142e2b79838d2ad 100644 --- a/product/ERP5/PropertySheet/Account.py +++ b/product/ERP5/PropertySheet/Account.py @@ -28,12 +28,15 @@ class Account: """ - Organisation properties and categories + Account properties and categories """ _properties = ( - { 'id' : 'is_credit_account', - 'description' : 'Some account are', + { 'id' : 'is_credit_account', # XXX: this property should be + # named diferently : an account can + # be naturally debitor, creditor, + # or none of those + 'description' : 'Some accounts are', 'type' : 'boolean', 'mode' : 'w' , 'default' : 0 }, diff --git a/product/ERP5/PropertySheet/AccountingPreference.py b/product/ERP5/PropertySheet/AccountingPreference.py index 4f64b2b3d3673d5abd966f0f7fca91e720c9f5d6..6a1991b6f909a0e15f8413c13168c1117bd3fd7c 100644 --- a/product/ERP5/PropertySheet/AccountingPreference.py +++ b/product/ERP5/PropertySheet/AccountingPreference.py @@ -28,7 +28,9 @@ class AccountingPreference: """ - User Preferences for erp5_accounting + User Preferences for erp5_accounting. + + Contains all preferences (see portal_preferences) relative to accounting. """ _properties = ( diff --git a/product/ERP5/PropertySheet/Alarm.py b/product/ERP5/PropertySheet/Alarm.py index 5b4e940f74f7de02e29bf7d0097e5521b8725aab..df95046acb64590508a6a2e695403705e1c8c847 100644 --- a/product/ERP5/PropertySheet/Alarm.py +++ b/product/ERP5/PropertySheet/Alarm.py @@ -29,6 +29,8 @@ class Alarm: """ Properties which allow to define a generic Alarm. + + An alarm can be used to trigger an action periodically. """ _properties = ( diff --git a/product/ERP5/PropertySheet/Amortisation.py b/product/ERP5/PropertySheet/Amortisation.py index e266e28b9d7adbfdee2040ef20f74ae489757adc..a3adb96026fe5699204f1f77baa53323ba0d42d5 100644 --- a/product/ERP5/PropertySheet/Amortisation.py +++ b/product/ERP5/PropertySheet/Amortisation.py @@ -35,7 +35,6 @@ class Amortisation: These properties are applied to an Immobilisation Movement or to an Item TODO: - - rename categories for more genericity (input_acount -> input) """ diff --git a/product/ERP5/PropertySheet/AppliedRule.py b/product/ERP5/PropertySheet/AppliedRule.py index dd18f12526e22f803cc0cfd58623b15492ad93fb..c57b2e52a78ad751bddaef26ba73e5ff183da789 100644 --- a/product/ERP5/PropertySheet/AppliedRule.py +++ b/product/ERP5/PropertySheet/AppliedRule.py @@ -29,11 +29,16 @@ class AppliedRule: """ AppliedRule + + An AppliedRule makes the link between simulation movements it contains + and the rule that generated them. """ _properties = ( { 'id' : 'last_expand_simulation_state', - 'description' : '', + 'description' : 'Contains the id of the simulation state when the '\ + 'object was last expanded (in order to avoid '\ + 'recalculation)', 'type' : 'string', 'mode' : 'w' }, ) diff --git a/product/ERP5/PropertySheet/BusinessTemplate.py b/product/ERP5/PropertySheet/BusinessTemplate.py index 7956ad30f9ead360c80d269aaeebfaa0a5b0444b..8c5fbd60602f0b08760284f94cf6aac7614182dd 100644 --- a/product/ERP5/PropertySheet/BusinessTemplate.py +++ b/product/ERP5/PropertySheet/BusinessTemplate.py @@ -28,7 +28,10 @@ class BusinessTemplate: """ - Organisation properties and categories + Business templates properties and categories + + A business template contains all zope objects needed to add a given + functionnality to ERP5, like accounting or pdf rendering. """ _properties = ( diff --git a/product/ERP5/PropertySheet/DefaultSupply.py b/product/ERP5/PropertySheet/DefaultSupply.py index 01b4256cacf86dc86b551a39646eaa86fd1c5834..18f8546233344eaa6d7d766f900588e5411047aa 100644 --- a/product/ERP5/PropertySheet/DefaultSupply.py +++ b/product/ERP5/PropertySheet/DefaultSupply.py @@ -34,10 +34,10 @@ class DefaultSupply: _properties = ( { 'id' : 'supply_line', - 'storage_id' : 'default_supply_line', + 'storage_id' : 'default_supply_line', 'description' : '', 'type' : 'content', - 'portal_type' : 'Supply Line', + 'portal_type' : 'Supply Line', 'acquired_property_id' : ('base_price','id','priced_quantity','price_currency', 'source','destination','quantity_step','priced_quantity', 'start_date','stop_date','start_date_range_max', diff --git a/product/ERP5/PropertySheet/GeographicAddress.py b/product/ERP5/PropertySheet/GeographicAddress.py index faa2f46784ead60b73903b26ab545bb0c273b7fe..b6a5b7a6302fdeae87efe647ae3fc8f0406aa115 100644 --- a/product/ERP5/PropertySheet/GeographicAddress.py +++ b/product/ERP5/PropertySheet/GeographicAddress.py @@ -33,15 +33,15 @@ class GeographicAddress: _properties = ( { 'id' : 'street_address', - 'description' : '', + 'description' : 'Street address.', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'city', - 'description' : '', + 'description' : 'City name.', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'zip_code', - 'description' : '', + 'description' : 'Zip code.', 'type' : 'string', 'mode' : 'w' }, ) diff --git a/product/ERP5/PropertySheet/MailMessage.py b/product/ERP5/PropertySheet/MailMessage.py index 16a22c2a54eeecac73202ba115066a79f3031724..03d487056421f4d59eb346b4fd05cacd8a0a4648 100644 --- a/product/ERP5/PropertySheet/MailMessage.py +++ b/product/ERP5/PropertySheet/MailMessage.py @@ -34,32 +34,32 @@ class MailMessage: _properties = ( { 'id' : 'subject', - 'description' : '', + 'description' : 'Mail subject, extracted from header.', 'type' : 'string', 'default' : '', 'mode' : 'w' }, { 'id' : 'date', - 'description' : '', + 'description' : 'Mail send date, extracted from header.', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'to', - 'description' : '', + 'description' : 'Destination email address, extracted from header.', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'reply_to', - 'description' : '', + 'description' : 'Reply to email address, extracted from header.', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'sender', - 'description' : '', + 'description' : 'Sender email address, extracted from header.', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'body', - 'description' : '', + 'description' : 'Mail body.', 'type' : 'text', 'mode' : 'w' }, { 'id' : 'header', - 'description' : '', + 'description' : 'Mail header as received.', 'type' : 'text', 'mode' : 'w' }, { 'id' : 'other_info', diff --git a/product/ERP5/PropertySheet/Organisation.py b/product/ERP5/PropertySheet/Organisation.py index bb1ada0407fef8e37a40997d6a8525b45808fae6..d27781e508e2ad531f270a0e6caaef42c3bdcc9c 100644 --- a/product/ERP5/PropertySheet/Organisation.py +++ b/product/ERP5/PropertySheet/Organisation.py @@ -102,7 +102,7 @@ class Organisation: # Acquisition { 'id' : 'address', 'storage_id' : 'default_address', - 'description' : 'The organisations this persons works for', + 'description' : 'The default address of this organisations', 'type' : 'content', 'portal_type' : ('Address'), 'acquisition_base_category' : ('region', ), @@ -141,7 +141,7 @@ class Organisation: 'mode' : 'w' }, { 'id' : 'fax', 'storage_id' : 'default_fax', - 'description' : 'The organisations this persons works for', + 'description' : 'The defaut fax phone number for this organisation', 'type' : 'content', 'portal_type' : ('Fax'), 'acquisition_base_category' : ('region', ), @@ -154,7 +154,7 @@ class Organisation: 'mode' : 'w' }, { 'id' : 'email', 'storage_id' : 'default_email', - 'description' : 'The organisations this persons works for', + 'description' : 'The default email address for this organisation', 'type' : 'content', 'portal_type' : ('Email'), 'acquisition_base_category' : ('region', ), @@ -165,15 +165,10 @@ class Organisation: 'acquisition_accessor_id' : 'getDefaultEmailValue', 'acquisition_depends' : None, 'mode' : 'w' }, - # Amortisation - { 'id' : 'financial_year_stop_date', - 'description' : 'The date which ends the organisation financial year', - 'type' : 'date', - 'mode' : 'w' }, ) _categories = ( 'role', 'group', 'activity', 'skill', 'market_segment', 'region', 'social_form', 'function', 'source', 'destination', 'source_section', 'destination_section', 'price_currency', 'economical_class', 'site', # Virtual Categories - 'source_region', 'destination_region', ) \ No newline at end of file + 'source_region', 'destination_region', ) diff --git a/product/ERP5/PropertySheet/PaySheet.py b/product/ERP5/PropertySheet/PaySheet.py index 553bdf08cb9565e31a75e9a1452d2deb45406814..dfeca289d7321c97842fc4bc9c27993064ad3539 100644 --- a/product/ERP5/PropertySheet/PaySheet.py +++ b/product/ERP5/PropertySheet/PaySheet.py @@ -32,15 +32,15 @@ class PaySheet: """ _properties = ( - { 'id' : 'gross_salary', + { 'id' : 'gross_salary', #XXX data duplication 'description' : '', 'type' : 'float', 'mode' : 'w' }, { 'id' : 'work_duration', - 'description' : '', + 'description' : 'Duration of work.', 'type' : 'date', 'mode' : 'w' }, - { 'id' : 'advantage', + { 'id' : 'advantage', #XXX data duplication 'description' : '', 'type' : 'float', 'mode' : 'w' }, diff --git a/product/ERP5/PropertySheet/Person.py b/product/ERP5/PropertySheet/Person.py index fb89dd3107c6cff33668da3e541da9123ea6b7fd..7b7fc60c60eaaa18bea31a2d62195983da8c8f88 100644 --- a/product/ERP5/PropertySheet/Person.py +++ b/product/ERP5/PropertySheet/Person.py @@ -36,24 +36,24 @@ class Person: _properties = ( # Personnal properties { 'id' : 'password' - , 'description': '' + , 'description': 'Cleartext password.' , 'type' : 'string' , 'write_permission' : 'Set own password' , 'read_permission' : 'Manage users' , 'mode' : 'w' }, { 'id' : 'first_name' - , 'description': '' + , 'description': 'First name.' , 'type' : 'string' , 'mode' : 'w' }, { 'id' : 'last_name' - , 'description': '' + , 'description': 'Last name.' , 'type' : 'string' , 'mode' : 'w' }, { 'id' : 'middle_name' - , 'description': '' + , 'description': 'Middle name.' , 'type' : 'string' , 'mode' : 'w' }, @@ -63,17 +63,17 @@ class Person: , 'mode' : 'w' }, { 'id' : 'prefix' - , 'description': '' + , 'description': 'Name prefix.' , 'type' : 'string' , 'mode' : 'w' }, { 'id' : 'suffix' - , 'description': '' + , 'description': 'Name suffix.' , 'type' : 'string' , 'mode' : 'w' }, { 'id' : 'birthday' - , 'description': '' + , 'description': 'Date of birth.' , 'type' : 'date' , 'mode' : 'w' }, @@ -83,12 +83,12 @@ class Person: , 'mode' : 'w' }, { 'id' : 'partner_count' - , 'description': '' + , 'description': 'Number of familial partners.' , 'type' : 'int' , 'mode' : 'w' }, { 'id' : 'child_count' - , 'description': '' + , 'description': 'Number of childs.' , 'type' : 'int' , 'mode' : 'w' }, diff --git a/product/ERP5/PropertySheet/Telephone.py b/product/ERP5/PropertySheet/Telephone.py index 25c7838b13178282bd69938b6f43de68ec11aa0d..10c04133a8fa923dcf37ea20eea6cf3a3c3206bc 100644 --- a/product/ERP5/PropertySheet/Telephone.py +++ b/product/ERP5/PropertySheet/Telephone.py @@ -29,23 +29,25 @@ class Telephone: """ Properties for Telephone Objects + + Can be used for Fax numbers aswell. """ _properties = ( { 'id' : 'telephone_country', - 'description' : '', + 'description' : 'Country indicative number', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'telephone_area', - 'description' : '', + 'description' : 'Area indicative number', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'telephone_number', - 'description' : '', + 'description' : 'Telephone number minus indicatives', 'type' : 'string', 'mode' : 'w' }, { 'id' : 'telephone_extension', - 'description' : '', + 'description' : 'Telephone number extension', 'type' : 'string', 'mode' : 'w' }, ) diff --git a/product/ERP5/PropertySheet/Url.py b/product/ERP5/PropertySheet/Url.py index 9209fd512d71f9b1a56760abd2c5abbd9b43ac62..cb932a4d2aa78896f6d8d7071024ef5fed932877 100644 --- a/product/ERP5/PropertySheet/Url.py +++ b/product/ERP5/PropertySheet/Url.py @@ -33,7 +33,7 @@ class Url: _properties = ( { 'id' : 'url_string', - 'description' : 'demo of url creation stuff within 15 minutes', + 'description' : 'url value', 'type' : 'string', 'mode' : 'w' },