[Erp5-report] r33650 jp - /erp5/trunk/products/ERP5/PropertySheet/Amount.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 11 15:14:53 CET 2010
Author: jp
Date: Thu Mar 11 15:14:52 2010
New Revision: 33650
URL: http://svn.erp5.org?rev=33650&view=rev
Log:
Added categories required to support amount generation
Modified:
erp5/trunk/products/ERP5/PropertySheet/Amount.py
Modified: erp5/trunk/products/ERP5/PropertySheet/Amount.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Amount.py?rev=33650&r1=33649&r2=33650&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Amount.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Amount.py [utf8] Thu Mar 11 15:14:52 2010
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -69,7 +70,7 @@
'acquisition_depends' : None,
'mode' : 'w' },
{ 'id' : 'cancellation_amount',
- 'description' : 'defines if this quantity is used in order to cancel another one',
+ 'description' : 'Defines if this quantity is used in order to cancel another one',
'type' : 'boolean',
'default': False,
'mode' : 'w' },
@@ -77,7 +78,7 @@
# When comparing a delivery to a property_dict coming from a MovementGroup,
# the DeliveryBuilder needs to have at least a specific property for each MovementGroup
{ 'id' : 'quantity_sign',
- 'description' : 'defines if the quantity is positive or negative',
+ 'description' : 'Defines if the quantity is positive or negative',
'type' : 'float',
'mode' : 'w' },
{ 'id' : 'efficiency',
@@ -95,15 +96,15 @@
#'has_adapater_id' :
'mode' : 'w' },
# Profit and loss
- { 'id' : 'profit_quantity',
+ { 'id' : 'profit_quantity', # XXX-JPS - probably deprecated
'description' : 'A quantity which represents generation of resource from nowhere',
'type' : 'float',
'default' : 0.0,
'mode' : 'w' },
- )
+ )
_categories = ('resource', 'quantity_unit',
- 'base_application', 'base_contribution', 'use',
+ 'base_application', 'base_contribution', 'use', 'trade_phase',
# Acquired categories
'product_line', )
More information about the Erp5-report
mailing list