[Erp5-report] r19789 - /erp5/trunk/products/ERP5/PropertySheet/Price.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 11 14:36:02 CET 2008
Author: alex
Date: Tue Mar 11 14:36:02 2008
New Revision: 19789
URL: http://svn.erp5.org?rev=19789&view=rev
Log:
priced_quantity on supply cells should be acquired from lines
Modified:
erp5/trunk/products/ERP5/PropertySheet/Price.py
Modified: erp5/trunk/products/ERP5/PropertySheet/Price.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Price.py?rev=19789&r1=19788&r2=19789&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Price.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Price.py Tue Mar 11 14:36:02 2008
@@ -47,10 +47,16 @@
'acquisition_accessor_id' : 'getPrice',
'acquisition_depends' : None,
'mode' : 'w' },
+ # priced_quantity should be acquired from cells to lines
{ 'id' : 'priced_quantity',
'description' : 'Number of units involved in base prices',
'type' : 'float',
'default' : 1.0,
+ 'acquisition_base_category' : ('parent',),
+ 'acquisition_portal_type' : Expression('portal/getPortalSupplyPathTypeList'),
+ 'acquisition_copy_value' : 0,
+ 'acquisition_mask_value' : 1,
+ 'acquisition_accessor_id' : 'getPricedQuantity',
'mode' : 'w' },
# Asset Value Pricing
{ 'id' : 'source_total_asset_price',
More information about the Erp5-report
mailing list