diff --git a/product/ERP5/PropertySheet/AccountingPreference.py b/product/ERP5/PropertySheet/AccountingPreference.py index 0a7fa57905f778787e6b32b2e291e87cba449f0e..f47a71f8eb691d1c64993a2de673f9a36d76ea1f 100644 --- a/product/ERP5/PropertySheet/AccountingPreference.py +++ b/product/ERP5/PropertySheet/AccountingPreference.py @@ -34,6 +34,7 @@ class AccountingPreference: """ _properties = ( + # user preferences { 'id' : 'preferred_accounting_transaction_from_date', 'description' : 'The minimal date (inclusive) for transactions', 'type' : 'date', @@ -84,4 +85,20 @@ class AccountingPreference: 'preference' : 1, 'write_permission': 'Manage properties', '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'}, )