Commit ce6e0832 authored by Jérome Perrin's avatar Jérome Perrin

this constraint does not apply for lines that contains other lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24474 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a9bca9d1
......@@ -38,6 +38,7 @@ class TradeOrderLine:
'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',
},
)
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