Commit 51ca1438 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Support ranges for start_date and stop_date.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3059 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 123f42a4
...@@ -47,6 +47,7 @@ class Task: ...@@ -47,6 +47,7 @@ class Task:
{ 'id' : 'start_date', { 'id' : 'start_date',
'description' : 'The date which the movement starts', 'description' : 'The date which the movement starts',
'type' : 'date', 'type' : 'date',
'range' : True,
'default' : None, 'default' : None,
'acquisition_base_category' : ('delivery', 'order', 'parent',), 'acquisition_base_category' : ('delivery', 'order', 'parent',),
'acquisition_portal_type' : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList()'),
...@@ -59,6 +60,7 @@ class Task: ...@@ -59,6 +60,7 @@ class Task:
{ 'id' : 'stop_date', { 'id' : 'stop_date',
'description' : 'The date which the movement stops', 'description' : 'The date which the movement stops',
'type' : 'date', 'type' : 'date',
'range' : True,
'default' : None, 'default' : None,
'acquisition_base_category' : ('delivery', 'order', 'parent',), 'acquisition_base_category' : ('delivery', 'order', 'parent',),
'acquisition_portal_type' : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList()'),
......
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