Commit a43aed55 authored by Jérome Perrin's avatar Jérome Perrin

Do not use price renderer, but total price renderer because total price

precision differs from total price.
Price precision using 'getPricePrecision' unit price extension from r32328 is not
supported for now, this commit is just to restore precision from
currency.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39065 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71708425
...@@ -55,7 +55,7 @@ AAA=</string> </value> ...@@ -55,7 +55,7 @@ AAA=</string> </value>
tal:define="data_dict here/Invoice_getODTDataDict;\n tal:define="data_dict here/Invoice_getODTDataDict;\n
set_precision python: request.set(\'precision\', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));\n set_precision python: request.set(\'precision\', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));\n
quantity_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_mode_quantity/render_pdf;\n quantity_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_mode_quantity/render_pdf;\n
price_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_mode_price/render_pdf;\n price_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_mode_total_price/render_pdf;\n
default_language python:test(request.get(\'international_form\'), \'en\', here.Localizer.get_selected_language())">\n default_language python:test(request.get(\'international_form\'), \'en\', here.Localizer.get_selected_language())">\n
<office:scripts/>\n <office:scripts/>\n
<office:font-face-decls>\n <office:font-face-decls>\n
......
361 362
\ No newline at end of file \ No newline at end of file
...@@ -55,7 +55,7 @@ AAA=</string> </value> ...@@ -55,7 +55,7 @@ AAA=</string> </value>
tal:define="data_dict here/Order_getODTDataDict;\n tal:define="data_dict here/Order_getODTDataDict;\n
set_precision python: request.set(\'precision\', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));\n set_precision python: request.set(\'precision\', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));\n
quantity_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_mode_quantity/render_pdf;\n quantity_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_mode_quantity/render_pdf;\n
price_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_mode_price/render_pdf;\n price_renderer nocall:here/Base_viewTradeFieldLibrary/my_view_total_mode_price/render_pdf;\n
default_language python:test(request.get(\'international_form\'), \'en\', here.Localizer.get_selected_language())">\n default_language python:test(request.get(\'international_form\'), \'en\', here.Localizer.get_selected_language())">\n
<office:scripts/>\n <office:scripts/>\n
<office:font-face-decls>\n <office:font-face-decls>\n
......
983 984
\ 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