[Erp5-report] r42920 arnaud.fontaine - /erp5/trunk/products/ERP5PropertySheetLegacy/Propert...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 2 07:28:34 CET 2011
Author: arnaud.fontaine
Date: Wed Feb 2 07:28:34 2011
New Revision: 42920
URL: http://svn.erp5.org?rev=42920&view=rev
Log:
For consistency, portal_type attribute for filesystem Property Sheets
should be a tuple, not a string
Modified:
erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/AccountingTransactionLineConstraint.py
Modified: erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/AccountingTransactionLineConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/AccountingTransactionLineConstraint.py?rev=42920&r1=42919&r2=42920&view=diff
==============================================================================
--- erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/AccountingTransactionLineConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/AccountingTransactionLineConstraint.py [utf8] Wed Feb 2 07:28:34 2011
@@ -41,7 +41,7 @@ class AccountingTransactionLineConstrain
' and not object.getDestination(portal_type="Account")',
'type': 'CategoryExistence',
'source' : 1,
- 'portal_type': 'Account',
+ 'portal_type': ('Account',),
'message_category_not_set': 'Account must be defined on lines',
},
{ 'id': 'destination_existence',
@@ -52,7 +52,7 @@ class AccountingTransactionLineConstrain
' and not object.getSource(portal_type="Account")',
'type': 'CategoryExistence',
'destination' : 1,
- 'portal_type': 'Account',
+ 'portal_type': ('Account',),
'message_category_not_set': 'Account must be defined on lines',
},
More information about the Erp5-report
mailing list