diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml index 45597dff02735c6cf67767607da631f0d3670beb..008868b7fd83fcfb5a57ad0dacf6b2d18b6ef8fc 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml @@ -213,7 +213,7 @@ else:\n \n unique_per_account = resource.isUniquePerAccount()\n aggregate_list = []\n -for i in xrange(quantity):\n +for i in xrange(int(quantity)):\n if create == 1:\n item = module.newContent(activate_kw={\'tag\': tag, \'priority\':4})\n context.log(\'New Item created with Id\', item.getId())\n