diff --git a/product/ERP5/PropertySheet/Resource.py b/product/ERP5/PropertySheet/Resource.py index a891fecb4d2c8484e822db083567d84bb67c6d52..4fcf87692abdf3876c336e03cac3aff28550b8aa 100755 --- a/product/ERP5/PropertySheet/Resource.py +++ b/product/ERP5/PropertySheet/Resource.py @@ -79,15 +79,19 @@ class Resource: 'type' : 'float', 'mode' : 'w' }, { 'id' : 'base_length', - 'description' : 'length of the resource', + 'description' : 'A typical per unit length of the resource', 'type' : 'float', 'mode' : 'w' }, { 'id' : 'base_width', - 'description' : 'width of the resource', + 'description' : 'A typical per unit width of the resource', 'type' : 'float', 'mode' : 'w' }, { 'id' : 'base_height', - 'description' : 'height of the resource', + 'description' : 'A typical per unit height of the resource', + 'type' : 'float', + 'mode' : 'w' }, + { 'id' : 'base_surface', + 'description' : 'A typical per unit surface of the resource', 'type' : 'float', 'mode' : 'w' }, # Basic conversion properties @@ -100,23 +104,27 @@ class Resource: 'type' : 'float', 'mode' : 'w' }, { 'id' : 'weight_quantity', + 'description' : 'weight of the resource', + 'type' : 'float', + 'mode' : 'w' }, + { 'id' : 'height_quantity', 'description' : 'height of the resource', 'type' : 'float', 'mode' : 'w' }, { 'id' : 'surface_quantity', - 'description' : 'height of the resource', + 'description' : 'surface area of the resource', 'type' : 'float', 'mode' : 'w' }, { 'id' : 'volume_quantity', - 'description' : 'height of the resource', + 'description' : 'volume of the resource', 'type' : 'float', 'mode' : 'w' }, { 'id' : 'unit_quantity', - 'description' : 'width of the resource', + 'description' : 'units of the resource', 'type' : 'float', 'mode' : 'w' }, { 'id' : 'time_quantity', - 'description' : 'width of the resource', + 'description' : 'time of the resource', 'type' : 'float', 'mode' : 'w' }, # Definition of the variation domain