Commit c0d1d2f5 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Split by \n but not by /n.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6123 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 48916260
...@@ -100,7 +100,7 @@ class Inventory(Delivery): ...@@ -100,7 +100,7 @@ class Inventory(Delivery):
) )
kwd = {'uid':self.getUid()} kwd = {'uid':self.getUid()}
kwd['start_date'] = start_date kwd['start_date'] = start_date
variation_list = variation_text.split('/n') variation_list = variation_text.split('\n')
for inventory in current_inventory_list: for inventory in current_inventory_list:
sub_variation_list = [] sub_variation_list = []
if inventory.sub_variation_text is not None: if inventory.sub_variation_text 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