Commit 2300038e authored by Jérome Perrin's avatar Jérome Perrin

translate quantity unit & delivery mode

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27238 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 925886cc
......@@ -189,8 +189,8 @@ for line in getSubLineList(context):\n
and line.getResourceValue().getReference() or \'\',\n
\'description\': desc,\n
\'total_quantity\': line.getTotalQuantity() or \'\',\n
\'quantity_unit\': line.getQuantityUnitTitle() or (\n
line.getResource() and line.getResourceValue().getQuantityUnitTitle()) or \'\',\n
\'quantity_unit\': line.getQuantityUnitTranslatedTitle() or (\n
line.getResource() and line.getResourceValue().getQuantityUnitTranslatedTitle()) or \'\',\n
\'stop_date\': getOrderedDate(line.getStopDate()) or \'\',\n
\'base_price\': line.getPrice() or \'\',\n
\'total_price\': line.getTotalPrice() or \'\',\n
......@@ -395,7 +395,7 @@ data_dict = {\n
\'creation_date\': getOrderedDate(context.getCreationDate()) or \'\',\n
\'currency\': context.getPriceCurrencyReference() or \'\',\n
\'payment_condition\': getPaymentConditionText(context),\n
\'delivery_mode\': context.getDeliveryModeTitle() or \'\',\n
\'delivery_mode\': context.getDeliveryModeTranslatedTitle() or \'\',\n
\'incoterm\': context.getIncoterm() and context.getIncotermValue().getCodification() or \'\',\n
\n
\'total_price_novat\': total_price,\n
......
597
\ No newline at end of file
598
\ 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