Commit ab482761 authored by Jérome Perrin's avatar Jérome Perrin

item script should not be based on current date, but on movement date. Remove

this temporrary hack


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27302 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent be2d00a3
...@@ -123,10 +123,8 @@ class TestItemMixin(TestSaleInvoiceMixin): ...@@ -123,10 +123,8 @@ class TestItemMixin(TestSaleInvoiceMixin):
pac_list = packing_list_module.newContent(portal_type=portal_type) pac_list = packing_list_module.newContent(portal_type=portal_type)
pac_list.edit( pac_list.edit(
title = "PPL%s" % pac_list.getId(), title = "PPL%s" % pac_list.getId(),
# FIXME: this is temporary, because item scripts uses today's date (which start_date = self.datetime + 20,
# is wrong) stop_date = self.datetime + 10,
start_date = self.datetime - 20,
stop_date = self.datetime - 10,
) )
if organisation is not None: if organisation is not None:
......
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