diff --git a/product/ERP5/PropertySheet/SupplyLine.py b/product/ERP5/PropertySheet/SupplyLine.py index 77b7105a8a9fdaacef35dcfb8e9005e66b2a9799..5632a8f7dd5cd91b9843f552ead98c66f91ee6bc 100755 --- a/product/ERP5/PropertySheet/SupplyLine.py +++ b/product/ERP5/PropertySheet/SupplyLine.py @@ -53,6 +53,16 @@ class SupplyLine: 'description' : 'A surcharge ratio', 'type' : 'float', 'mode' : 'w' }, + { 'id' : 'variable_additional_price', + 'description' : 'A per unit additional price that depends on a'\ + 'continuous property', + 'type' : 'float', + 'mode' : 'w' }, + { 'id' : 'non_discountable_additional_price', + 'description' : 'A per unit additional price that is not impacted by'\ + 'discount ratio', + 'type' : 'float', + 'mode' : 'w' }, # Pricing calculation # Matrix definition # Quantity step @@ -86,6 +96,18 @@ class SupplyLine: 'type' : 'float', 'multivalued' : 1, 'mode' : 'w' }, + { 'id' : 'variable_additional_price_quantity_step', + 'description' : 'A list of quantity values which define ' \ + 'acceptable ranges', + 'type' : 'float', + 'multivalued' : 1, + 'mode' : 'w' }, + { 'id' : 'non_discountable_additional_price_quantity_step', + 'description' : 'A list of quantity values which define ' \ + 'acceptable ranges', + 'type' : 'float', + 'multivalued' : 1, + 'mode' : 'w' }, # Base category { 'id' : 'p_variation_base_category', # XXX Compatibility