From 2416a849fd901376ed4231acb47e5af4f348ec86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 15 Feb 2006 10:00:21 +0000
Subject: [PATCH] Added accessor for default payment condition absolute payment
 date.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5694 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/TradeCondition.py | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/product/ERP5/PropertySheet/TradeCondition.py b/product/ERP5/PropertySheet/TradeCondition.py
index 6f73c336b8..b06fa7220c 100755
--- a/product/ERP5/PropertySheet/TradeCondition.py
+++ b/product/ERP5/PropertySheet/TradeCondition.py
@@ -36,11 +36,13 @@ class TradeCondition:
 
   _properties = (
         {   'id'          : 'source_decision_destination_reference',
-            'description' : 'The reference of the source_decision for default destination',
+            'description' : 'The reference of the source_decision for'+
+                            ' default destination',
             'type'        : 'string',
             'mode'        : 'w' },
         {   'id'          : 'destination_decision_source_reference',
-            'description' : 'The reference of the destination_decision for default source',
+            'description' : 'The reference of the destination_decision'+
+                            ' for default source',
             'type'        : 'string',
             'mode'        : 'w' },
 
@@ -49,13 +51,15 @@ class TradeCondition:
           'storage_id'  : 'default_payment_condition',
           'description' : 'The current payment condition.',
           'type'        : 'content',
-          'portal_type' : ('Payment Condition'),
+          'portal_type' : ('Payment Condition',),
           'acquired_property_id' : ('payment_mode', 'payment_term',
-                                    'payment_end_of_month', 
+                                    'payment_end_of_month', 'payment_date',
                                     'payment_additional_term', 'trade_date',
                                     'payment_mode_title', 'trade_date_title',
                                    ),
           'mode'        : 'w' },
   )
 
-  _categories = ('group', 'activity', 'incoterm', 'price_currency', 'delivery_mode')
+  _categories = ( 'group', 'activity', 'incoterm',
+                  'price_currency', 'delivery_mode', )
+
-- 
2.30.9