Commit 2416a849 authored by Jérome Perrin's avatar Jérome Perrin

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
parent c96da982
...@@ -36,11 +36,13 @@ class TradeCondition: ...@@ -36,11 +36,13 @@ class TradeCondition:
_properties = ( _properties = (
{ 'id' : 'source_decision_destination_reference', { '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', 'type' : 'string',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'destination_decision_source_reference', { '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', 'type' : 'string',
'mode' : 'w' }, 'mode' : 'w' },
...@@ -49,13 +51,15 @@ class TradeCondition: ...@@ -49,13 +51,15 @@ class TradeCondition:
'storage_id' : 'default_payment_condition', 'storage_id' : 'default_payment_condition',
'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_term',
'payment_end_of_month', 'payment_end_of_month', 'payment_date',
'payment_additional_term', 'trade_date', 'payment_additional_term', 'trade_date',
'payment_mode_title', 'trade_date_title', 'payment_mode_title', 'trade_date_title',
), ),
'mode' : 'w' }, 'mode' : 'w' },
) )
_categories = ('group', 'activity', 'incoterm', 'price_currency', 'delivery_mode') _categories = ( 'group', 'activity', 'incoterm',
'price_currency', 'delivery_mode', )
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