Commit 74cd6544 authored by Jérome Perrin's avatar Jérome Perrin

if the order is in "offered" state, the printout title should not be 'Order',

but 'Offered'


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22806 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8aaeb596
......@@ -317,7 +317,7 @@ AAA=</string> </value>
<office:master-styles>\n
<style:master-page style:name="Standard" style:page-layout-name="pm1">\n
<style:header tal:define="default_language python:test(request.get(\'international_form\'), \'en\', here.Localizer.get_selected_language());\n
orig_title string:Order;\n
orig_title python: test(context.getSimulationState() == \'offered\', \'Offer\', \'Order\');\n
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), \'utf-8\');\n
my_title python: unicode(here.Base_translateString(orig_title), \'utf-8\');\n
orig_page string:Page;\n
......
462
\ No newline at end of file
463
\ 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