Commit 29498516 authored by Mame Coumba Sall's avatar Mame Coumba Sall

2009-05-26 mame

*define quantity_unit of item in fast input script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27183 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ebb9e4e
...@@ -77,7 +77,8 @@ for line in kw.get(\'listbox\'):\n ...@@ -77,7 +77,8 @@ for line in kw.get(\'listbox\'):\n
item = module.newContent(portal_type=type,\n item = module.newContent(portal_type=type,\n
title=line[\'title\'],\n title=line[\'title\'],\n
reference=line[\'reference\'],\n reference=line[\'reference\'],\n
quantity=line[\'quantity\'])\n quantity=line[\'quantity\'],\n
quantity_unit=context.getResourceValue().getQuantityUnit())\n
item.validate()\n item.validate()\n
item_list.append(item) \n item_list.append(item) \n
\n \n
......
111 113
\ No newline at end of file \ No newline at end of file
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