diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml index 0615a15e7dc9c1a66f1f93510f3e2b4150978762..7f0b0826b656d9cef82f9de6abe73f07a0777b4f 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Delivery_getODTDataDict.xml @@ -157,6 +157,7 @@ for line in getSubLineList(context):\n \'stop_date\': \'\',\n \'base_price\': \'\',\n \'total_price\': \'\',\n + \'specialise_title\': \'\',\n }\n else:\n if line.getPortalType().endswith(\'Cell\'):\n @@ -178,6 +179,7 @@ for line in getSubLineList(context):\n \'stop_date\': getOrderedDate(line.getStopDate()) or \'\',\n \'base_price\': line.getPrice() or \'\',\n \'total_price\': line.getTotalPrice() or \'\',\n + \'specialise_title\' : getattr(line,\'getSpecialiseTitle\',None) is not None and (line.getSpecialiseTitle() or \'\') or \'\',\n }\n total_price += line.getTotalPrice() or 0.0\n line_list.append(unicodeDict(line_dict.copy()))\n @@ -263,6 +265,7 @@ data_dict = {\n \'total_price_novat\': total_price,\n \'vat_list\': context.searchFolder(portal_type=context.getPortalTaxMovementTypeList(), order_by=\'title\'),\n \'description\': getFieldAsString(context.getDescription()),\n + \'specialise_title\': context.getProperty(\'specialise_title\',\'\'),\n \n \'line_list\': line_list,\n }\n diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index 55f04f2ae2c5d17c6b2a2616018b96f869677221..25417dad5587609021599a8b8631c25059c0065c 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -365 \ No newline at end of file +368 \ No newline at end of file