[Erp5-report] r24474 - /erp5/trunk/products/ERP5/PropertySheet/TradeOrderLine.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 4 14:24:57 CET 2008
Author: jerome
Date: Tue Nov 4 14:24:52 2008
New Revision: 24474
URL: http://svn.erp5.org?rev=24474&view=rev
Log:
this constraint does not apply for lines that contains other lines
Modified:
erp5/trunk/products/ERP5/PropertySheet/TradeOrderLine.py
Modified: erp5/trunk/products/ERP5/PropertySheet/TradeOrderLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/TradeOrderLine.py?rev=24474&r1=24473&r2=24474&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/TradeOrderLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/TradeOrderLine.py [utf8] Tue Nov 4 14:24:52 2008
@@ -38,6 +38,7 @@
'max_arity' : '1',
'portal_type' : ( ),
'base_category' : ('resource',),
+ 'condition' : 'not: object/hasLineContent | nothing',
'message_arity_not_in_range' : 'Product or service must be defined in lines',
},
)
More information about the Erp5-report
mailing list