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

invoicing,trade,mrp,payroll,trade: simplify translation

"unicode" does not exist on python3 and on python2 it was not needed
anymore here.
parent 87024f5b
......@@ -4,7 +4,6 @@
set_precision python: request.set('precision', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));
quantity_renderer nocall:here/TradeModelLine_view/my_quantity/render_pdf;
price_renderer nocall:here/OrderLine_view/my_total_price/render_pdf;
unicode python: unicode if bytes==str else lambda t, encoding: t;
default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language())"> <office:scripts/>
<office:font-face-decls>
<style:font-face style:name="StarSymbol" svg:font-family="StarSymbol" style:font-charset="x-symbol"/>
......@@ -353,7 +352,7 @@
<table:table-column table:style-name="Table2.E1.1"/>
<table:table-column table:style-name="Table2.E1.2"/>
<table:table-row table:style-name="Table2.E1.1">
<table:table-cell table:style-name='Table2.A1' office:value-type='string' tal:define='orig_string string:Invoice Number; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table2.A1' office:value-type='string' tal:define='orig_string string:Invoice Number; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -364,7 +363,7 @@
<table:table-row table:style-name="Table2.E1.1">
<table:table-cell table:style-name='Table2.E1.1.2'
office:value-type='string'
tal:define='orig_string string:Document Date; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Document Date; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -373,7 +372,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Table2.E1.1'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Currency; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Currency; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -386,7 +385,7 @@
</table:table-row>
</table:table-header-rows>
<table:table-row table:style-name='Table2'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship From; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship From; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -398,7 +397,7 @@
tal:condition="data_dict/source_vatid"
tal:content='python:data_dict["source_vatid"]'>vat id</text:p>
</table:table-cell>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship To; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship To; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -415,7 +414,7 @@
<table:table-column table:style-name='Table2.E1.1'/>
<table:table-column table:style-name='Table2.E1.2'/>
<table:table-row table:style-name='Table2.E1.1'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Payment; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Payment; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -424,7 +423,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Table2.E1.1'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -433,7 +432,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Table2.E1.1'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -458,39 +457,39 @@
<table:covered-table-cell/>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Your Item No.; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Your Item No.; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Our Item No.; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Our Item No.; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Tax Code; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Tax Code; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Total Price; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table1.A2' office:value-type='string' tal:define='orig_string string:Total Price; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
......@@ -612,7 +611,7 @@
<table:table-cell table:style-name="Table3.A1" office:value-type="string">
<text:p text:style-name="Table_20_Contents"/>
</table:table-cell>
<table:table-cell table:style-name="Table3.D2" table:number-columns-spanned="3" office:value-type='string' tal:define='orig_string string:Total Excluding Tax; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name="Table3.D2" table:number-columns-spanned="3" office:value-type='string' tal:define='orig_string string:Total Excluding Tax; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -651,19 +650,19 @@
<table:table-cell table:style-name="Table3.A1" office:value-type="string">
<text:p text:style-name="Table_20_Contents"/>
</table:table-cell>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Tax Code; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Tax Code; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P9'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='P9' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Amount; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Amount; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P8'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='P8' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Rate; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Rate; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P8'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='P8' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Tax Price; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Table3.D4' office:value-type='string' tal:define='orig_string string:Tax Price; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P8'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='P8' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
......@@ -749,7 +748,7 @@
<table:table-cell table:style-name="Table3.G8">
<text:p text:style-name="Table_20_Contents_20_Right"/>
</table:table-cell>
<table:table-cell table:style-name="Table3.D2" table:number-columns-spanned="3" office:value-type='string' tal:define='orig_string string:Total Including VAT; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name="Table3.D2" table:number-columns-spanned="3" office:value-type='string' tal:define='orig_string string:Total Including VAT; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/> :</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -777,7 +776,7 @@
<table:table-cell table:style-name="Table3.A1" office:value-type="string">
<text:p text:style-name="Table_20_Contents"/>
</table:table-cell>
<table:table-cell table:style-name="Table3.D2" table:number-columns-spanned="3" office:value-type='string' tal:define='orig_string string:Total Including Tax; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name="Table3.D2" table:number-columns-spanned="3" office:value-type='string' tal:define='orig_string string:Total Including Tax; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/> :</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -840,7 +839,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name="Table3.11">
<table:table-cell table:style-name="Table3.A11" office:value-type='string' tal:define='orig_string string:Notes; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name="Table3.A11" office:value-type='string' tal:define='orig_string string:Notes; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P2'><span tal:replace='orig_message'/><span tal:omit-tag='' tal:condition='python:translated_message != orig_message'> / <span tal:replace='translated_message'/></span>:</text:p>
</table:table-cell>
<table:table-cell table:style-name="Table3.B11" office:value-type="string">
......
......@@ -252,14 +252,14 @@
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:header tal:define="default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language());
orig_title string:Invoice;
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang=default_language);
my_title python: here.Base_translateString(orig_title);
orig_page string:Page;
en_page python: unicode(here.Base_translateString(orig_page, lang=default_language), 'utf-8');
my_page python: unicode(here.Base_translateString(orig_page), 'utf-8');
en_page python: here.Base_translateString(orig_page, lang=default_language);
my_page python: here.Base_translateString(orig_page);
orig_of string:of;
en_of python: unicode(here.Base_translateString(orig_of, lang=default_language), 'utf-8');
my_of python: unicode(here.Base_translateString(orig_of), 'utf-8');
en_of python: here.Base_translateString(orig_of, lang=default_language);
my_of python: here.Base_translateString(orig_of);
image_path python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_path'] or (data_dict['source_decision_image_path'] or data_dict['source_section_image_path']);
image_width python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_width'] or (data_dict['source_decision_image_width'] or data_dict['source_section_image_width']);
image_height python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_height'] or (data_dict['source_decision_image_height'] or data_dict['source_section_image_height'])">
......
......@@ -254,14 +254,14 @@
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:header tal:define="default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language());
orig_title string:Invoice;
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang=default_language);
my_title python: here.Base_translateString(orig_title);
orig_page string:Page;
en_page python: unicode(here.Base_translateString(orig_page, lang=default_language), 'utf-8');
my_page python: unicode(here.Base_translateString(orig_page), 'utf-8');
en_page python: here.Base_translateString(orig_page, lang=default_language);
my_page python: here.Base_translateString(orig_page);
orig_of string:of;
en_of python: unicode(here.Base_translateString(orig_of, lang=default_language), 'utf-8');
my_of python: unicode(here.Base_translateString(orig_of), 'utf-8');
en_of python: here.Base_translateString(orig_of, lang=default_language);
my_of python: here.Base_translateString(orig_of);
image_path python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_path'] or (data_dict['source_decision_image_path'] or data_dict['source_section_image_path']);
image_width python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_width'] or (data_dict['source_decision_image_width'] or data_dict['source_section_image_width']);
image_height python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_height'] or (data_dict['source_decision_image_height'] or data_dict['source_section_image_height'])">
......
......@@ -3,7 +3,6 @@
set_precision python: request.set('precision', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));
quantity_renderer nocall:here/Base_viewMRPFieldLibrary/my_quantity/render_pdf;
price_renderer nocall:here/Base_viewMRPFieldLibrary/my_price/render_pdf;
unicode python: unicode if bytes==str else lambda t, encoding: t;
default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language())">
<office:scripts/>
<office:font-face-decls>
......@@ -260,7 +259,7 @@
</table:table-cell>
<table:table-cell table:style-name='Tableau2.A1'
office:value-type='string'
tal:define='orig_string string:Recipient; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Recipient; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -275,7 +274,7 @@
<table:table-column table:style-name='Tableau2.E1.1'/>
<table:table-column table:style-name='Tableau2.E1.2'/>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -286,7 +285,7 @@
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2'
office:value-type='string'
tal:define='orig_string string:Document Date; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Document Date; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -296,7 +295,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Currency; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Currency; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -305,7 +304,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Payment; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Payment; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -318,7 +317,7 @@
</table:table-row>
</table:table-header-rows>
<table:table-row table:style-name='Tableau2.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Seller; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Seller; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -327,7 +326,7 @@
<text:p text:style-name='Table_20_Contents' tal:content='python:data_dict["source_decision_telfax"]'>tel, fax</text:p>
<text:p text:style-name='Table_20_Contents' tal:content='python:data_dict["source_decision_email"]'>email</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Buyer; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Buyer; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -341,7 +340,7 @@
<table:table-column table:style-name='Tableau2.E1.1'/>
<table:table-column table:style-name='Tableau2.E1.2'/>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -350,7 +349,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -359,7 +358,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Supply Chain; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Supply Chain; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -383,39 +382,39 @@
<table:covered-table-cell/>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Our Item no.; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Our Item no.; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Transformation; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Transformation; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Right'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Right' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Delivery Date; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Delivery Date; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Right'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Right' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Total Price; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Total Price; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Right'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Right' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
......@@ -511,7 +510,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Total Excluding VAT; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Total Excluding VAT; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -539,7 +538,7 @@
tal:replace='vat/getResourceTitle'/>:</text:p>
</tal:block>
<text:p text:style-name='Table_20_Heading'
tal:define='orig_string string:TAX; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'><span tal:replace="python: 'Total %s' % (translated_message)"/>:</text:p>
tal:define='orig_string string:TAX; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'><span tal:replace="python: 'Total %s' % (translated_message)"/>:</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.E3'
office:value-type='float'
......@@ -565,7 +564,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D3' office:value-type='string' tal:define='orig_string string:Total Including VAT; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D3' office:value-type='string' tal:define='orig_string string:Total Including VAT; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -593,7 +592,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau3.6'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P2'><span tal:replace='orig_message'/><span tal:omit-tag='' tal:condition='python:translated_message != orig_message'> / <span tal:replace='translated_message'/></span>:</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.B6' office:value-type='string'>
......
......@@ -249,14 +249,14 @@
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:header tal:define="default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language());
orig_title string:Order;
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang=default_language);
my_title python: here.Base_translateString(orig_title);
orig_page string:Page;
en_page python: unicode(here.Base_translateString(orig_page, lang=default_language), 'utf-8');
my_page python: unicode(here.Base_translateString(orig_page), 'utf-8');
en_page python: here.Base_translateString(orig_page, lang=default_language);
my_page python: here.Base_translateString(orig_page);
orig_of string:of;
en_of python: unicode(here.Base_translateString(orig_of, lang=default_language), 'utf-8');
my_of python: unicode(here.Base_translateString(orig_of), 'utf-8');
en_of python: here.Base_translateString(orig_of, lang=default_language);
my_of python: here.Base_translateString(orig_of);
image_path python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_path'] or data_dict['source_decision_image_path'];
image_width python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_width'] or data_dict['source_decision_image_width'];
image_height python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_height'] or data_dict['source_decision_image_height']">
......
<office:document-content xmlns:office='urn:oasis:names:tc:opendocument:xmlns:office:1.0' xmlns:text='urn:oasis:names:tc:opendocument:xmlns:text:1.0' xmlns:number='urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0' xmlns:meta='urn:oasis:names:tc:opendocument:xmlns:meta:1.0' xmlns:tal='http://xml.zope.org/namespaces/tal' xmlns:table='urn:oasis:names:tc:opendocument:xmlns:table:1.0' xmlns:style='urn:oasis:names:tc:opendocument:xmlns:style:1.0' xmlns:script='urn:oasis:names:tc:opendocument:xmlns:script:1.0' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:math='http://www.w3.org/1998/Math/MathML' xmlns:draw='urn:oasis:names:tc:opendocument:xmlns:drawing:1.0' xmlns:form='urn:oasis:names:tc:opendocument:xmlns:form:1.0' xmlns:ooo='http://openoffice.org/2004/office' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:chart='urn:oasis:names:tc:opendocument:xmlns:chart:1.0' xmlns:i18n='http://xml.zope.org/namespaces/i18n' xmlns:dr3d='urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0' xmlns:fo='urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0' xmlns:xforms='http://www.w3.org/2002/xforms' xmlns:dom='http://www.w3.org/2001/xml-events' xmlns:ooow='http://openoffice.org/2004/writer' xmlns:svg='urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0' xmlns:metal='http://xml.zope.org/namespaces/metal' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:oooc='http://openoffice.org/2004/calc' tal:attributes='dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")' office:version='1.0'
tal:define='data_dict here/ProductionPackingList_getODTDataDict;
unicode python: unicode if bytes==str else lambda t, encoding: t;'>
tal:define='data_dict here/ProductionPackingList_getODTDataDict'>
<office:scripts/>
<office:font-face-decls>
<style:font-face svg:font-family='StarSymbol' style:name='StarSymbol' style:font-charset='x-symbol'/>
......@@ -255,7 +254,7 @@
</table:table-cell>
<table:table-cell table:style-name='Tableau2.A1'
office:value-type='string'
tal:define='orig_string string:Recipient; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Recipient; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -270,7 +269,7 @@
<table:table-column table:style-name='Tableau2.E1.1'/>
<table:table-column table:style-name='Tableau2.E1.2'/>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -281,7 +280,7 @@
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2'
office:value-type='string'
tal:define='orig_string string:Document Date; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Document Date; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -295,7 +294,7 @@
</table:table-row>
</table:table-header-rows>
<table:table-row table:style-name='Tableau2.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Seller; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Seller; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -304,7 +303,7 @@
<text:p text:style-name='Table_20_Contents' tal:content='python:data_dict["source_decision_telfax"]'>tel, fax</text:p>
<text:p text:style-name='Table_20_Contents' tal:content='python:data_dict["source_decision_email"]'>email</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Buyer; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Buyer; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -321,8 +320,8 @@
<table:table-cell table:style-name='Tableau2.E1.1.2'
office:value-type='string'
tal:define='orig_string string:Delivery Mode;
en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");
my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
en_string python:here.Base_translateString(orig_string, lang="en");
my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -334,8 +333,8 @@
<table:table-cell table:style-name='Tableau2.E1.1.2'
office:value-type='string'
tal:define='orig_string string:Incoterm;
en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");
my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
en_string python:here.Base_translateString(orig_string, lang="en");
my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -362,48 +361,48 @@
<table:table-cell table:style-name='Tableau1.A2'
office:value-type='string'
tal:define='orig_string string:Line;
en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");
my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
en_string python:here.Base_translateString(orig_string, lang="en");
my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2'
office:value-type='string'
tal:define='orig_string string:Your Item no.;
en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");
my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
en_string python:here.Base_translateString(orig_string, lang="en");
my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2'
office:value-type='string'
tal:define='orig_string string:Our Item no.;
en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");
my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
en_string python:here.Base_translateString(orig_string, lang="en");
my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Right'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Right' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Delivery Date; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Delivery Date; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Right'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Right' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Total Price; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Total Price; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Right'><span tal:replace='en_string'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Right' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/></text:p>
</table:table-cell>
......@@ -493,7 +492,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Total Excluding VAT; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Total Excluding VAT; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -515,14 +514,14 @@
<table:table-cell table:style-name='Tableau3.D3'
office:value-type='string'>
<tal:block tal:repeat="vat python: data_dict['vat_list']">
<tal:block tal:define='orig_string python:vat.getResourceTitle(); en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<tal:block tal:define='orig_string python:vat.getResourceTitle(); en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading'
tal:condition='python:my_string != en_string'><span tal:replace='my_string'/>:</text:p>
</tal:block>
</tal:block>
<text:p text:style-name='Table_20_Heading'
tal:define='orig_string string:TAX; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'><span tal:replace="python: 'Total %s' % (my_string)"/>:</text:p>
tal:define='orig_string string:TAX; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'><span tal:replace="python: 'Total %s' % (my_string)"/>:</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.E3'
office:value-type='float'
......@@ -547,7 +546,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D3' office:value-type='string' tal:define='orig_string string:Total Including VAT; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D3' office:value-type='string' tal:define='orig_string string:Total Including VAT; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='en_string'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:my_string!=en_string'><span tal:replace='my_string'/>:</text:p>
</table:table-cell>
......@@ -574,7 +573,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau3.6'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; en_string python:here.Base_translateString(orig_string, lang="en"); my_string python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P2'><span tal:replace='en_string'/><span tal:omit-tag='' tal:condition='python:my_string!=en_string'> / <span tal:replace='my_string'/></span>:</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.B6' office:value-type='string'>
......
......@@ -245,14 +245,14 @@
<office:master-styles>
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:header tal:define="orig_title string:Packing List;
en_title python: unicode(here.Base_translateString(orig_title, lang='en'), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang='en');
my_title python: here.Base_translateString(orig_title);
orig_page string:Page;
en_page python: unicode(here.Base_translateString(orig_page, lang='en'), 'utf-8');
my_page python: unicode(here.Base_translateString(orig_page), 'utf-8');
en_page python: here.Base_translateString(orig_page, lang='en');
my_page python: here.Base_translateString(orig_page);
orig_of string:of;
en_of python: unicode(here.Base_translateString(orig_of, lang='en'), 'utf-8');
my_of python: unicode(here.Base_translateString(orig_of), 'utf-8');
en_of python: here.Base_translateString(orig_of, lang='en');
my_of python: here.Base_translateString(orig_of);
image_path python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_path'] or data_dict['source_section_image_path'];
image_width python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_width'] or data_dict['source_section_image_width'];
image_height python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_height'] or data_dict['source_section_image_height']">
......
<office:document-content xmlns:draw='urn:oasis:names:tc:opendocument:xmlns:drawing:1.0' xmlns:office='urn:oasis:names:tc:opendocument:xmlns:office:1.0' xmlns:text='urn:oasis:names:tc:opendocument:xmlns:text:1.0' xmlns:ooo='http://openoffice.org/2004/office' xmlns:number='urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:meta='urn:oasis:names:tc:opendocument:xmlns:meta:1.0' xmlns:table='urn:oasis:names:tc:opendocument:xmlns:table:1.0' xmlns:dr3d='urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0' xmlns:fo='urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0' xmlns:style='urn:oasis:names:tc:opendocument:xmlns:style:1.0' xmlns:xforms='http://www.w3.org/2002/xforms' xmlns:form='urn:oasis:names:tc:opendocument:xmlns:form:1.0' xmlns:script='urn:oasis:names:tc:opendocument:xmlns:script:1.0' xmlns:ooow='http://openoffice.org/2004/writer' xmlns:svg='urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0' xmlns:chart='urn:oasis:names:tc:opendocument:xmlns:chart:1.0' xmlns:dom='http://www.w3.org/2001/xml-events' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:oooc='http://openoffice.org/2004/calc' xmlns:math='http://www.w3.org/1998/Math/MathML' xmlns:tal='http://xml.zope.org/namespaces/tal' xmlns:i18n='http://xml.zope.org/namespaces/i18n' xmlns:metal='http://xml.zope.org/namespaces/metal' tal:attributes='dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")' office:version='1.0' tal:define="global frame_width python:25.8; render_prefix render_prefix|nothing" metal:define-macro="master" i18n:domain="erp5_ui">
<tal:block metal:use-macro="here/style_macros/macros/style_macro"/>
<office:body tal:define="unicode python: unicode if bytes==str else lambda t, encoding: t;">
<office:body>
<office:spreadsheet>
<table:table table:style-name='ta1' table:print='false' tal:attributes="table:name here/getTitle" i18n:attributes="table:name">
......
<office:document-content xmlns:draw='urn:oasis:names:tc:opendocument:xmlns:drawing:1.0' xmlns:office='urn:oasis:names:tc:opendocument:xmlns:office:1.0' xmlns:text='urn:oasis:names:tc:opendocument:xmlns:text:1.0' xmlns:ooo='http://openoffice.org/2004/office' xmlns:number='urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:meta='urn:oasis:names:tc:opendocument:xmlns:meta:1.0' xmlns:table='urn:oasis:names:tc:opendocument:xmlns:table:1.0' xmlns:dr3d='urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0' xmlns:fo='urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0' xmlns:style='urn:oasis:names:tc:opendocument:xmlns:style:1.0' xmlns:xforms='http://www.w3.org/2002/xforms' xmlns:form='urn:oasis:names:tc:opendocument:xmlns:form:1.0' xmlns:script='urn:oasis:names:tc:opendocument:xmlns:script:1.0' xmlns:ooow='http://openoffice.org/2004/writer' xmlns:svg='urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0' xmlns:chart='urn:oasis:names:tc:opendocument:xmlns:chart:1.0' xmlns:dom='http://www.w3.org/2001/xml-events' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:oooc='http://openoffice.org/2004/calc' xmlns:math='http://www.w3.org/1998/Math/MathML' xmlns:tal='http://xml.zope.org/namespaces/tal' xmlns:i18n='http://xml.zope.org/namespaces/i18n' xmlns:metal='http://xml.zope.org/namespaces/metal' tal:attributes='dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")' office:version='1.0' tal:define="global frame_width python:25.8; global landscape python: int(request.get('landscape', 0) or 0)" metal:define-macro="master" i18n:domain="erp5_ui">
<tal:block metal:use-macro="here/style_macros/macros/style_macro"/>
<office:body tal:define="unicode python: unicode if bytes==str else lambda t, encoding: t">
<office:body>
<office:spreadsheet>
<tal:block tal:define="rendered_report_item_list rendered_report_item_list | python:[];
report_item_list python: rendered_report_item_list or [];
dummy python: request.set('here', here);
unicode python: unicode if bytes==str else lambda t, encoding: t;
global sheet_per_report_section python: request.get('sheet_per_report_section', False); ">
<tal:block tal:condition="not: report_item_list">
<tal:block tal:condition="python: form.meta_type == 'ERP5 Report'">
......
<office:document-content xmlns:office='urn:oasis:names:tc:opendocument:xmlns:office:1.0' xmlns:text='urn:oasis:names:tc:opendocument:xmlns:text:1.0' xmlns:number='urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0' xmlns:meta='urn:oasis:names:tc:opendocument:xmlns:meta:1.0' xmlns:tal='http://xml.zope.org/namespaces/tal' xmlns:table='urn:oasis:names:tc:opendocument:xmlns:table:1.0' xmlns:style='urn:oasis:names:tc:opendocument:xmlns:style:1.0' xmlns:script='urn:oasis:names:tc:opendocument:xmlns:script:1.0' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:math='http://www.w3.org/1998/Math/MathML' xmlns:draw='urn:oasis:names:tc:opendocument:xmlns:drawing:1.0' xmlns:form='urn:oasis:names:tc:opendocument:xmlns:form:1.0' xmlns:ooo='http://openoffice.org/2004/office' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:chart='urn:oasis:names:tc:opendocument:xmlns:chart:1.0' xmlns:i18n='http://xml.zope.org/namespaces/i18n' xmlns:dr3d='urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0' xmlns:fo='urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0' xmlns:xforms='http://www.w3.org/2002/xforms' xmlns:dom='http://www.w3.org/2001/xml-events' xmlns:ooow='http://openoffice.org/2004/writer' xmlns:svg='urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0' xmlns:metal='http://xml.zope.org/namespaces/metal' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:oooc='http://openoffice.org/2004/calc' tal:attributes='dummy python:request.RESPONSE.setHeader("Content-Type", "text/html;; charset=utf-8")' office:version='1.0'
tal:define="quantity_renderer nocall:here/Base_viewFieldLibrary/my_money_quantity/render_pdf;
price_renderer nocall:here/PaySheetTransaction_viewFieldLibrary/my_price/render_pdf;
unicode python: unicode if bytes==str else lambda t, encoding: t;
default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language())">
<office:scripts/>
<office:font-face-decls>
......@@ -263,15 +262,15 @@
<tal:block define="
date_renderer nocall:here/Base_viewFieldLibrary/my_date/render_pdf;
orig_title python: 'Payslip';
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang=default_language);
my_title python: here.Base_translateString(orig_title);
orig_period python: 'From ${start_date} to ${stop_date}';
en_period python: unicode(here.Base_translateString(orig_period, lang=default_language,
en_period python: here.Base_translateString(orig_period, lang=default_language,
mapping = {'start_date': date_renderer(pay_sheet_transaction.getStartDate()),
'stop_date': date_renderer(pay_sheet_transaction.getStopDate())}), 'utf-8');
my_period python: unicode(here.Base_translateString(orig_period,
'stop_date': date_renderer(pay_sheet_transaction.getStopDate())});
my_period python: here.Base_translateString(orig_period,
mapping = {'start_date': date_renderer(pay_sheet_transaction.getStartDate()),
'stop_date': date_renderer(pay_sheet_transaction.getStopDate())}), 'utf-8');
'stop_date': date_renderer(pay_sheet_transaction.getStopDate())});
image_path python: data_dict['destination_section_image_path'];
image_width python: data_dict['destination_section_image_width'];
image_height python: data_dict['destination_section_image_height']">
......@@ -405,27 +404,27 @@
<table:covered-table-cell/>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Designation; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Designation; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Base; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Base; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share Rate; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share Rate; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share Rate; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share Rate; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
......@@ -632,7 +631,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Net payable; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Net payable; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......
......@@ -4,7 +4,6 @@
quantity_renderer nocall:here/Base_viewFieldLibrary/my_view_mode_money_quantity/render_pdf;
gross_category python:'base_amount/payroll/report/salary/gross';
price_renderer nocall:here/PaySheetTransaction_viewFieldLibrary/my_price/render_pdf;
unicode python: unicode if bytes==str else lambda t, encoding: t;
default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language())">
<office:scripts/>
<office:font-face-decls>
......@@ -330,27 +329,27 @@
<table:covered-table-cell/>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Designation; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Designation; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Base; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Base; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share Rate; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share Rate; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employee Share; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share Rate; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share Rate; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Employer Share; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
......@@ -557,7 +556,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Net payable; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Net payable; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......
......@@ -260,15 +260,15 @@
<style:header tal:define="default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language());
date_renderer nocall:here/Base_viewFieldLibrary/my_date_time_field/render_pdf;
orig_title python: 'Payslip';
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang=default_language);
my_title python: here.Base_translateString(orig_title);
orig_period python: 'From ${start_date} to ${stop_date}';
en_period python: unicode(here.Base_translateString(orig_period, lang=default_language,
en_period python: here.Base_translateString(orig_period, lang=default_language,
mapping = {'start_date': date_renderer(here.getStartDate()),
'stop_date': date_renderer(here.getStopDate())}), 'utf-8');
my_period python: unicode(here.Base_translateString(orig_period,
'stop_date': date_renderer(here.getStopDate())});
my_period python: here.Base_translateString(orig_period,
mapping = {'start_date': date_renderer(here.getStartDate()),
'stop_date': date_renderer(here.getStopDate())}), 'utf-8');
'stop_date': date_renderer(here.getStopDate())});
image_path python: here.getPortalType().startswith('Pay Sheet Transaction') and data_dict['destination_section_image_path'] or data_dict['destination_section_image_path'];
image_width python: here.getPortalType().startswith('Pay Sheet Transaction') and data_dict['destination_section_image_width'] or data_dict['destination_section_image_width'];
image_height python: here.getPortalType().startswith('Pay Sheet Transaction') and data_dict['destination_section_image_height'] or data_dict['destination_section_image_height']">
......
......@@ -3,7 +3,6 @@
set_precision python: request.set('precision', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));
quantity_renderer nocall:here/TradeModelLine_view/my_quantity/render_pdf;
price_renderer nocall:here/OrderLine_view/my_total_price/render_pdf;
unicode python: unicode if bytes==str else lambda t, encoding: t;
default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language())">
<office:scripts/>
<office:font-face-decls>
......@@ -264,7 +263,7 @@
</table:table-cell>
<table:table-cell table:style-name='Tableau2.A1'
office:value-type='string'
tal:define='orig_string string:Client; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Client; orig_message python: here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -281,7 +280,7 @@
<table:table-column table:style-name='Tableau2.E1.1'/>
<table:table-column table:style-name='Tableau2.E1.2'/>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -292,7 +291,7 @@
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2'
office:value-type='string'
tal:define='orig_string string:Document Date; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Document Date; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -302,7 +301,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Currency; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Currency; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -315,7 +314,7 @@
</table:table-row>
</table:table-header-rows>
<table:table-row table:style-name='Tableau2.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship From; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship From; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -327,7 +326,7 @@
tal:condition="data_dict/source_vatid"
tal:content='python:data_dict["source_vatid"]'>vat id</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship To; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship To; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -344,7 +343,7 @@
<table:table-column table:style-name='Tableau2.E1.1'/>
<table:table-column table:style-name='Tableau2.E1.2'/>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Payment; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Payment; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -353,7 +352,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -362,7 +361,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -386,39 +385,39 @@
<table:covered-table-cell/>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Your Item No.; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Your Item No.; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Our Item No.; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Our Item No.; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Delivery Date; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Delivery Date; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit Price; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Total Price; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Total Price; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
......@@ -532,7 +531,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Total Excluding VAT; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D2' office:value-type='string' tal:define='orig_string string:Total Excluding VAT; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -560,7 +559,7 @@
tal:replace='vat/getResourceTitle'/>:</text:p>
</tal:block>
<text:p text:style-name='Table_20_Heading'
tal:define='orig_string string:TAX; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'><span tal:replace="python: 'Total %s' % (translated_message)"/>:</text:p>
tal:define='orig_string string:TAX; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'><span tal:replace="python: 'Total %s' % (translated_message)"/>:</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.E3'
office:value-type='float'
......@@ -586,7 +585,7 @@
<table:table-cell table:style-name='Tableau3.A1' office:value-type='string'>
<text:p text:style-name='Table_20_Contents'/>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.D3' office:value-type='string' tal:define='orig_string string:Total Including VAT; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.D3' office:value-type='string' tal:define='orig_string string:Total Including VAT; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -614,7 +613,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau3.6'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P2'><span tal:replace='orig_message'/><span tal:omit-tag='' tal:condition='python:translated_message != orig_message'> / <span tal:replace='translated_message'/></span>:</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.B6' office:value-type='string'>
......
......@@ -248,14 +248,14 @@
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:header tal:define="default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language());
orig_title python: data_dict['report_title'];
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang=default_language);
my_title python: here.Base_translateString(orig_title);
orig_page string:Page;
en_page python: unicode(here.Base_translateString(orig_page, lang=default_language), 'utf-8');
my_page python: unicode(here.Base_translateString(orig_page), 'utf-8');
en_page python: here.Base_translateString(orig_page, lang=default_language);
my_page python: here.Base_translateString(orig_page);
orig_of string:of;
en_of python: unicode(here.Base_translateString(orig_of, lang=default_language), 'utf-8');
my_of python: unicode(here.Base_translateString(orig_of), 'utf-8');
en_of python: here.Base_translateString(orig_of, lang=default_language);
my_of python: here.Base_translateString(orig_of);
image_path python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_path'] or (data_dict['source_decision_image_path'] or data_dict['source_section_image_path']);
image_width python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_width'] or (data_dict['source_decision_image_width'] or data_dict['source_section_image_width']);
image_height python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_height'] or (data_dict['source_decision_image_height'] or data_dict['source_section_image_height'])">
......
......@@ -3,7 +3,6 @@
set_precision python: request.set('precision', here.getQuantityPrecisionFromResource(here.getPriceCurrency()));
quantity_renderer nocall:here/TradeModelLine_view/my_quantity/render_pdf;
date_renderer nocall:here/OrderLine_view/my_start_date/render_pdf;
unicode python: unicode if bytes==str else lambda t, encoding: t;
default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language())">
<office:scripts/>
<office:font-face-decls>
......@@ -262,7 +261,7 @@
</table:table-cell>
<table:table-cell table:style-name='Tableau2.A1'
office:value-type='string'
tal:define='orig_string string:Client; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Client; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -279,7 +278,7 @@
<table:table-column table:style-name='Tableau2.E1.1'/>
<table:table-column table:style-name='Tableau2.E1.2'/>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.A1' office:value-type='string' tal:define='orig_string string:Reference; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -290,7 +289,7 @@
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2'
office:value-type='string'
tal:define='orig_string string:Document Date; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
tal:define='orig_string string:Document Date; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -300,7 +299,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Order Reference; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Order Reference; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -313,7 +312,7 @@
</table:table-row>
</table:table-header-rows>
<table:table-row table:style-name='Tableau2.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship From; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship From; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -325,7 +324,7 @@
tal:condition="data_dict/source_vatid"
tal:content='python:data_dict["source_vatid"]'>vat id</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship To; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Ship To; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -342,7 +341,7 @@
<table:table-column table:style-name='Tableau2.E1.1'/>
<table:table-column table:style-name='Tableau2.E1.2'/>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Order Date; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Order Date; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -354,7 +353,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Delivery Mode; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -363,7 +362,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau2.E1.1'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau2.E1.1.2' office:value-type='string' tal:define='orig_string string:Incoterm; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Table_20_Heading'><span tal:replace='orig_message'/>:</text:p>
<text:p text:style-name='Table_20_Heading' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/>:</text:p>
</table:table-cell>
......@@ -387,28 +386,28 @@
<table:covered-table-cell/>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Line; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Your Item No.; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Your Item No.; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Our Item No.; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Our Item No.; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Description; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Quantity; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau1.A2' office:value-type='string' tal:define='orig_string string:Unit; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='Item_20_Table_20_Title_20_Left'><span tal:replace='orig_message'/></text:p>
<text:p text:style-name='Item_20_Table_20_Title_20_Left' tal:condition='python:translated_message != orig_message'><span tal:replace='translated_message'/></text:p>
</table:table-cell>
......@@ -532,7 +531,7 @@
</table:table-cell>
</table:table-row>
<table:table-row table:style-name='Tableau3.6'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; orig_message python:unicode(here.Base_translateString(orig_string, lang=default_language),"utf-8"); translated_message python:unicode(here.Base_translateString(orig_string),"utf-8")'>
<table:table-cell table:style-name='Tableau3.A6' office:value-type='string' tal:define='orig_string string:Notes; orig_message python:here.Base_translateString(orig_string, lang=default_language); translated_message python:here.Base_translateString(orig_string)'>
<text:p text:style-name='P2'><span tal:replace='orig_message'/><span tal:omit-tag='' tal:condition='python:translated_message != orig_message'> / <span tal:replace='translated_message'/></span>:</text:p>
</table:table-cell>
<table:table-cell table:style-name='Tableau3.B6' office:value-type='string'>
......
......@@ -252,14 +252,14 @@
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:header tal:define="default_language python:test(request.get('international_form'), 'en', here.Localizer.get_selected_language());
orig_title python: data_dict['report_title'];
en_title python: unicode(here.Base_translateString(orig_title, lang=default_language), 'utf-8');
my_title python: unicode(here.Base_translateString(orig_title), 'utf-8');
en_title python: here.Base_translateString(orig_title, lang=default_language);
my_title python: here.Base_translateString(orig_title);
orig_page string:Page;
en_page python: unicode(here.Base_translateString(orig_page, lang=default_language), 'utf-8');
my_page python: unicode(here.Base_translateString(orig_page), 'utf-8');
en_page python: here.Base_translateString(orig_page, lang=default_language);
my_page python: here.Base_translateString(orig_page);
orig_of string:of;
en_of python: unicode(here.Base_translateString(orig_of, lang=default_language), 'utf-8');
my_of python: unicode(here.Base_translateString(orig_of), 'utf-8');
en_of python: here.Base_translateString(orig_of, lang=default_language);
my_of python: here.Base_translateString(orig_of);
image_path python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_path'] or (data_dict['source_decision_image_path'] or data_dict['source_section_image_path']);
image_width python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_width'] or (data_dict['source_decision_image_width'] or data_dict['source_section_image_width']);
image_height python: here.getPortalType().startswith('Purchase') and data_dict['destination_section_image_height'] or (data_dict['source_decision_image_height'] or data_dict['source_section_image_height'])">
......
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