Commit 364a9472 authored by Tatuya Kamada's avatar Tatuya Kamada

Append minimul/maximul stock properties so that a resource enables to manage...

Append minimul/maximul stock properties so that a resource enables to manage the min/max stock quantity.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30504 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 19cfed3d
...@@ -60,6 +60,16 @@ class FlowCapacity: ...@@ -60,6 +60,16 @@ class FlowCapacity:
'type' : 'float', 'type' : 'float',
'default' : 0.0, 'default' : 0.0,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'min_stock',
'description' : """The minimal stock quantity of a resource.""",
'type' : 'float',
'default' : 0.0,
'mode' : 'w' },
{ 'id' : 'max_stock',
'description' : """The maximal stock quantity of a resource.""",
'type' : 'float',
'default' : 0.0,
'mode' : 'w' },
) )
_categories = ('quantity_unit',) _categories = ('quantity_unit',)
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