[Erp5-report] r33022 kazuhiko - /erp5/trunk/products/ERP5/PropertySheet/TradeCondition.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Feb 23 13:34:36 CET 2010
Author: kazuhiko
Date: Tue Feb 23 13:34:36 2010
New Revision: 33022
URL: http://svn.erp5.org?rev=33022&view=rev
Log:
make it possible to acquire more properties and categories from PaymentCondition in TradeCondition.
Modified:
erp5/trunk/products/ERP5/PropertySheet/TradeCondition.py
Modified: erp5/trunk/products/ERP5/PropertySheet/TradeCondition.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/TradeCondition.py?rev=33022&r1=33021&r2=33022&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/TradeCondition.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/TradeCondition.py [utf8] Tue Feb 23 13:34:36 2010
@@ -2,6 +2,7 @@
#
# Copyright (c) 2002 Coramy SAS and Contributors. All Rights Reserved.
# Thierry Faucher <Thierry_Faucher at coramy.com>
+# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
@@ -57,7 +58,8 @@
'description' : 'The current payment condition.',
'type' : 'content',
'portal_type' : ('Payment Condition',),
- 'acquired_property_id' : ( 'payment_mode', 'payment_mode_title',
+ 'acquired_property_id' : ( # from PropertySheet/PaymentCondition.py
+ 'payment_mode', 'payment_mode_title',
'trade_date', 'trade_date_title',
'payment_term', 'payment_additional_term',
'payment_end_of_month', 'payment_date',
@@ -68,6 +70,9 @@
'destination_payment',
'destination_payment_value',
'destination_payment_title',
+ # from PropertySheet/BusinessPath.py
+ 'lead_time', 'wait_time',
+ 'end_of', 'end_of_value', 'end_of_title',
),
'mode' : 'w' },
)
@@ -75,4 +80,3 @@
_categories = ( 'group', 'activity', 'incoterm',
'price_currency', 'delivery_mode',
'trade_condition_type', )
-
More information about the Erp5-report
mailing list