[Erp5-report] r36106 jerome - /erp5/trunk/products/ERP5/PropertySheet/AccountingPreference.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 8 17:19:58 CEST 2010


Author: jerome
Date: Tue Jun  8 17:19:53 2010
New Revision: 36106

URL: http://svn.erp5.org?rev=36106&view=rev
Log:
add some system preferences to configure analytic categories

Modified:
    erp5/trunk/products/ERP5/PropertySheet/AccountingPreference.py

Modified: erp5/trunk/products/ERP5/PropertySheet/AccountingPreference.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/AccountingPreference.py?rev=36106&r1=36105&r2=36106&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/AccountingPreference.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/AccountingPreference.py [utf8] Tue Jun  8 17:19:53 2010
@@ -34,6 +34,7 @@
   """
   
   _properties = (
+      # user preferences
     { 'id'          : 'preferred_accounting_transaction_from_date',
       'description' : 'The minimal date (inclusive) for transactions',
       'type'        : 'date',
@@ -84,4 +85,20 @@
       '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'},
   )




More information about the Erp5-report mailing list