Commit 77ae03f5 authored by Jérome Perrin's avatar Jérome Perrin

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
parent 750f488b
...@@ -52,11 +52,14 @@ class TradeCondition: ...@@ -52,11 +52,14 @@ class TradeCondition:
'description' : 'The current payment condition.', 'description' : 'The current payment condition.',
'type' : 'content', 'type' : 'content',
'portal_type' : ('Payment Condition',), 'portal_type' : ('Payment Condition',),
'acquired_property_id' : ('payment_mode', 'payment_term', 'acquired_property_id' : ( 'payment_mode', 'payment_mode_title',
'payment_end_of_month', 'payment_date', 'trade_date', 'trade_date_title',
'payment_additional_term', 'trade_date', 'payment_term', 'payment_additional_term',
'payment_mode_title', 'trade_date_title', 'payment_end_of_month', 'payment_date',
), 'quantity', 'efficiency',
'source_payment', 'source_payment_title',
'destination_payment', 'destination_payment_title',
),
'mode' : 'w' }, 'mode' : 'w' },
) )
......
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