From be3828109558a5b271081b7ea36ba6a0a68ea525 Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sun, 8 Feb 2004 22:34:18 +0000 Subject: [PATCH] removed default value git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@452 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/PropertySheet/Inventory.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/product/ERP5/PropertySheet/Inventory.py b/product/ERP5/PropertySheet/Inventory.py index c9e251f984..43e3610ea8 100755 --- a/product/ERP5/PropertySheet/Inventory.py +++ b/product/ERP5/PropertySheet/Inventory.py @@ -32,6 +32,10 @@ from Products.ERP5.ERP5Globals import * class Inventory: """ Properties for Inventory. + + No default value is set in order to allow + None inventory values in movements + """ _properties = ( @@ -40,7 +44,6 @@ class Inventory: { 'id' : 'inventory', 'description' : """The quantity of items in stock after inventory.""", 'type' : 'float', - 'default' : 0.0, 'acquisition_base_category' : ('delivery',), 'acquisition_portal_type' : movement_or_delivery_type_list, 'acquisition_copy_value' : 0, -- 2.30.9