From 77ae03f59d3d0faecb48d93822c944bed234f629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 16 Feb 2006 23:00:37 +0000 Subject: [PATCH] Add more accessors for direct access to default payment condition git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5728 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/PropertySheet/TradeCondition.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/product/ERP5/PropertySheet/TradeCondition.py b/product/ERP5/PropertySheet/TradeCondition.py index b06fa7220c..77ac1931c8 100755 --- a/product/ERP5/PropertySheet/TradeCondition.py +++ b/product/ERP5/PropertySheet/TradeCondition.py @@ -52,11 +52,14 @@ class TradeCondition: 'description' : 'The current payment condition.', 'type' : 'content', 'portal_type' : ('Payment Condition',), - 'acquired_property_id' : ('payment_mode', 'payment_term', - 'payment_end_of_month', 'payment_date', - 'payment_additional_term', 'trade_date', - 'payment_mode_title', 'trade_date_title', - ), + 'acquired_property_id' : ( 'payment_mode', 'payment_mode_title', + 'trade_date', 'trade_date_title', + 'payment_term', 'payment_additional_term', + 'payment_end_of_month', 'payment_date', + 'quantity', 'efficiency', + 'source_payment', 'source_payment_title', + 'destination_payment', 'destination_payment_title', + ), 'mode' : 'w' }, ) -- 2.30.9