Commit 0f68b3b8 authored by Arnaud Fontaine's avatar Arnaud Fontaine

For consistency, portal_type attribute for filesystem Property Sheets

should be a tuple, not a string



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42920 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d685807
......@@ -41,7 +41,7 @@ class AccountingTransactionLineConstraint:
' 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 AccountingTransactionLineConstraint:
' 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',
},
......
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