Commit dc3323f5 authored by Jean-Paul Smets's avatar Jean-Paul Smets

fixed Solanes typo

added profit and loss


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@422 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f441e222
##############################################################################
#
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solane <jp@nexedi.com>
# Jean-Paul Smets-Solanes <jp@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
......@@ -127,6 +127,12 @@ class Amount:
'acquisition_accessor_id' : 'getTargetEfficiency',
'acquisition_depends' : None,
'mode' : 'w' },
# Profit and loss
{ 'id' : 'profit_quantity',
'description' : 'A quantity which represents generation of resource from nowhere',
'type' : 'float',
'default' : 0.0,
'mode' : 'w' },
)
_categories = ('resource', '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