From f02973d0914af95b63e8303b2082a9e2360f67b1 Mon Sep 17 00:00:00 2001 From: Guillaume Michon <guillaume@nexedi.com> Date: Fri, 24 Jun 2005 14:33:36 +0000 Subject: [PATCH] Added quantity_sign to be used by MovementGroup git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3332 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/PropertySheet/Amount.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/product/ERP5/PropertySheet/Amount.py b/product/ERP5/PropertySheet/Amount.py index 9c09f6ec0d..9747048acd 100755 --- a/product/ERP5/PropertySheet/Amount.py +++ b/product/ERP5/PropertySheet/Amount.py @@ -91,6 +91,10 @@ class Amount: 'acquisition_accessor_id' : 'getQuantity', 'acquisition_depends' : None, 'mode' : 'w' }, + { 'id' : 'quantity_sign', + 'description' : 'defines if the quantity is positive or negative', + 'type' : 'float', + 'mode' : 'w' }, { 'id' : 'efficiency', 'description' : """The efficiency.""", 'type' : 'float', @@ -117,6 +121,3 @@ class Amount: # Acquired categories 'product_line', ) - - - \ No newline at end of file -- 2.30.9