Commit 57ca88b7 authored by Jérome Perrin's avatar Jérome Perrin

Add a "preference" attribute on property sheet to tell preference tool to look...

Add a "preference" attribute on property sheet to tell preference tool to look up this attribute on preferences.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4773 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57d41c43
......@@ -35,30 +35,37 @@ class AccountingPreference:
{ 'id' : 'preferred_accounting_transaction_from_date',
'description' : 'The minimal date (inclusive) for transactions',
'type' : 'date',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_accounting_transaction_at_date',
'description' : 'The maximal date (inclusive) for transactions',
'type' : 'date',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_accounting_transaction_simulation_state',
'description' : 'The simulation state for transactions',
'type' : 'tokens',
'preference' : 1,
'mode' : 'w'},
{ 'id' : 'preferred_accounting_transaction_section_category',
'description' : 'The section category for transactions; '\
'usually something like group/nexedi.',
'type' : 'string',
'preference' : 1,
'mode' : 'w'},
{ 'id' : 'preferred_accounting_transaction_source_section',
'description' : 'The preferred section organisation.',
'type' : 'string',
'preference' : 1,
'mode' : 'w'},
{ 'id' : 'preferred_accounting_transaction_currency',
'description' : 'The preferred currency.',
'type' : 'string',
'preference' : 1,
'mode' : 'w'},
{ 'id' : 'preferred_accounting_transaction_gap',
'description' : 'The preferred gap.',
'type' : 'string',
'preference' : 1,
'mode' : 'w'},
)
......@@ -36,13 +36,13 @@ class Preference :
'description' : 'List of modules visible from the main page '\
'(useful to filter uninteresting modules)',
'type' : 'lines',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_section_category',
'description' : 'The section category for documents; '\
'usually something like group/nexedi.',
'type' : 'string',
'preference' : 1,
'mode' : 'w'},
)
_categories = (
)
......@@ -35,9 +35,11 @@ class SubversionPreference:
{ 'id' : 'preferred_subversion_working_directory',
'description' : 'The working directory for Subversion',
'type' : 'string',
'preference' : 1,
'mode' : 'w' },
{ 'id' : 'preferred_subversion_user',
'description' : 'The user name for Subversion',
'type' : 'string',
'preference' : 1,
'mode' : 'w' },
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment