Commit 5a854ee2 authored by Jérome Perrin's avatar Jérome Perrin

add some system preferences to configure analytic categories


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36106 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 682cdb5f
...@@ -34,6 +34,7 @@ class AccountingPreference: ...@@ -34,6 +34,7 @@ class AccountingPreference:
""" """
_properties = ( _properties = (
# user preferences
{ 'id' : 'preferred_accounting_transaction_from_date', { 'id' : 'preferred_accounting_transaction_from_date',
'description' : 'The minimal date (inclusive) for transactions', 'description' : 'The minimal date (inclusive) for transactions',
'type' : 'date', 'type' : 'date',
...@@ -84,4 +85,20 @@ class AccountingPreference: ...@@ -84,4 +85,20 @@ class AccountingPreference:
'preference' : 1, 'preference' : 1,
'write_permission': 'Manage properties', 'write_permission': 'Manage properties',
'mode' : 'w'}, 'mode' : 'w'},
{ 'id' : 'preferred_accounting_transaction_line_function_base_category',
'description' : 'Base category to use to specify analytics by function'
' on accounting lines',
'type' : 'string',
'preference' : 1,
'write_permission': 'Manage properties',
'mode' : 'w'},
{ 'id' :
'preferred_accounting_transaction_line_analytic_base_category',
'description' : 'Base categories to use to specify analytics on '
'accounting lines. Those categories will be used '
'by direct category membership',
'type' : 'tokens',
'preference' : 1,
'write_permission': 'Manage properties',
'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