Commit 4035b942 authored by Jean-Paul Smets's avatar Jean-Paul Smets

change acqusition

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1260 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81bab5f8
......@@ -73,24 +73,25 @@ class Task:
'description' : 'The date which the movement starts',
'type' : 'date',
'default' : None,
'acquisition_base_category' : ('order', 'parent',),
'acquisition_base_category' : ('parent',), # Do not acquire through order
'acquisition_portal_type' : movement_or_delivery_or_order_or_invoice_type_list,
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 1,
'acquisition_accessor_id' : 'getTargetStartDate',
'acquisition_depends' : None,
'alt_accessor_id' : ('getOrderStartDate', ),
'mode' : 'w' },
{ 'id' : 'target_stop_date',
'description' : 'The date which the movement stops',
'type' : 'date',
'default' : None,
'acquisition_base_category' : ('order', 'parent',),
'acquisition_base_category' : ('parent',), # Do not acquire through order
'acquisition_portal_type' : movement_or_delivery_or_order_or_invoice_type_list,
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 1,
'acquisition_accessor_id' : 'getTargetStopDate',
'acquisition_depends' : None,
'alt_accessor_id' : ('getTargetStartDate', ),
'alt_accessor_id' : ('getOrderStopDate', 'getTargetStartDate', ),
'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