From 43181ec3a92e93bde5052f856e1519bab474e38a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 28 Oct 2008 17:57:39 +0000 Subject: [PATCH] there is on TradeOrder a check that total quantity > 0, so don't check it again on lines (this check was not working with hierarchical order lines and order cell) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24371 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/PropertySheet/TradeOrderLine.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/product/ERP5/PropertySheet/TradeOrderLine.py b/product/ERP5/PropertySheet/TradeOrderLine.py index dc50607b86..4dcf0f4e1d 100644 --- a/product/ERP5/PropertySheet/TradeOrderLine.py +++ b/product/ERP5/PropertySheet/TradeOrderLine.py @@ -31,13 +31,6 @@ class TradeOrderLine: Trade order Line Constraints """ _constraints = ( - { 'id' : 'quantity_existence', - 'description' : 'Property quantity must be defined', - 'type' : 'PropertyExistence', - 'quantity' : None, - "message_property_not_set" : 'Quantity must be defined in lines', - "message_no_such_property" : 'Quantity must be defined in lines' - }, { 'id' : 'resource', 'description' : 'Resource must be defined', 'type' : 'CategoryMembershipArity', -- 2.30.9