Commit be382810 authored by Jean-Paul Smets's avatar Jean-Paul Smets

removed default value


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@452 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e88b00da
...@@ -32,6 +32,10 @@ from Products.ERP5.ERP5Globals import * ...@@ -32,6 +32,10 @@ from Products.ERP5.ERP5Globals import *
class Inventory: class Inventory:
""" """
Properties for Inventory. Properties for Inventory.
No default value is set in order to allow
None inventory values in movements
""" """
_properties = ( _properties = (
...@@ -40,7 +44,6 @@ class Inventory: ...@@ -40,7 +44,6 @@ class Inventory:
{ 'id' : 'inventory', { 'id' : 'inventory',
'description' : """The quantity of items in stock after inventory.""", 'description' : """The quantity of items in stock after inventory.""",
'type' : 'float', 'type' : 'float',
'default' : 0.0,
'acquisition_base_category' : ('delivery',), 'acquisition_base_category' : ('delivery',),
'acquisition_portal_type' : movement_or_delivery_type_list, 'acquisition_portal_type' : movement_or_delivery_type_list,
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
......
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