diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_getODTDataDict.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_getODTDataDict.xml index 227437c489774b35924bd649081be08171168ce7..212aef0d7278d43334b56734de953f7dd5a1e64d 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_getODTDataDict.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_getODTDataDict.xml @@ -201,6 +201,7 @@ for line in getSubLineList(context):\n \n data_dict = {\n \'source_section_title\': context.getSourceSectionTitle() or \'\',\n + \'source_section_image_path\': context.getSourceSectionValue() is not None and context.getSourceSectionValue().getDefaultImagePath() or \'\',\n \'source_section_address\': getOneLineAddress(\n context.getSourceSection() and context.getSourceSectionValue().getDefaultAddressText() or \'\',\n context.getSourceSection() and context.getSourceSectionValue().getDefaultAddressRegionTitle() or \'\'),\n @@ -209,6 +210,7 @@ data_dict = {\n \'source_section_email\': getEmail(context.getSourceSection() and context.getSourceSectionValue().getEmailText() or \'\'),\n \n \'source_decision_title\': context.getSourceDecisionTitle() or \'\',\n + \'source_decision_image_path\': context.getSourceDecisionValue() is not None and context.getSourceDecisionValue().getDefaultImagePath() or \'\',\n \'source_decision_address\':getOneLineAddress(\n context.getSourceDecision() and context.getSourceDecisionValue().getDefaultAddressText() or \'\',\n context.getSourceDecision() and context.getSourceDecisionValue().getDefaultAddressRegionTitle() or \'\'),\n diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODT.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODT.xml index ec550fabdd64cba05c0c447f8659cae291983e2d..2b68c8bed65fe54eef6cf38d4f377d211c876409 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODT.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODT.xml @@ -300,73 +300,8 @@ AAA=</string> </value> <!--This PageTemplate is Used For Sale Order and Purchase Order-->\n <tal:block tal:define="orig_string string:Supplier;\n en_string python:here.Base_translateString(orig_string, lang=\'en\');\n - my_string python:here.Base_translateString(orig_string);\n - ds_title python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_title\'] or data_dict[\'source_decision_title\'];\n - ds_address python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_address\'] or data_dict[\'source_decision_address\'];\n - ds_telfax python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_telfax\'] or data_dict[\'source_decision_telfax\'];\n - ds_email python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_email\'] or data_dict[\'source_decision_email\'];\n - ds_vatid python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_vatid\'] or data_dict[\'source_decision_vatid\'];\n - orig_title python: here.getPortalType();\n - en_title python: unicode(here.Base_translateString(orig_title, lang=\'en\'), \'utf-8\');\n - my_title python: unicode(here.Base_translateString(orig_title), \'utf-8\');\n - orig_page string:Page; en_page python: unicode(here.Base_translateString(orig_page, lang=\'en\'), \'utf-8\');\n - my_page python: unicode(here.Base_translateString(orig_page), \'utf-8\');\n - orig_of string:of;\n - en_of python: unicode(here.Base_translateString(orig_of, lang=\'en\'), \'utf-8\');\n - my_of python: unicode(here.Base_translateString(orig_of), \'utf-8\')">\n + my_string python:here.Base_translateString(orig_string);">\n <text:p text:style-name=\'Table_20_Heading\'>\n - <text:variable-set text:formula=\'ooow:title\'\n - text:name=\'ds_title\'\n - text:display=\'none\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_title\'/>\n - <text:variable-set text:formula=\'ooow:address\'\n - text:name=\'ds_address\'\n - text:display=\'none\'\n - office:string-value=\'address\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_address\'/>\n - <text:variable-set text:formula=\'ooow:telfax\'\n - text:name=\'ds_telfax\'\n - text:display=\'none\'\n - office:string-value=\'telfax\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_telfax\'/>\n - <text:variable-set text:formula=\'ooow:email\'\n - text:name=\'ds_email\'\n - text:display=\'none\'\n - office:string-value=\'email\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_email\'/>\n - <text:variable-set text:formula=\'ooow:vatid\'\n - text:name=\'ds_vatid\'\n - text:display=\'none\'\n - office:string-value=\'vatid\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_vatid\'/>\n - <text:variable-set text:formula=\'ooow:purchase_order\'\n - text:name=\'purchase_order\'\n - text:display=\'none\'\n - office:string-value=\'purchase_order\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value en_title\'/>\n - <text:variable-set text:formula=\'ooow:purchase_order_tr\'\n - text:name=\'purchase_order_tr\'\n - text:display=\'none\'\n - office:string-value=\'purchase_order_tr\'\n - office:value-type=\'string\'\n - tal:condition=\'python:my_title != en_title\'\n - tal:attributes=\'office:string-value my_title\'/>\n - <text:variable-set text:formula=\'ooow:page\'\n - text:name=\'page\' text:display=\'none\'\n - office:string-value=\'page\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value my_page\'/>\n - <text:variable-set text:formula=\'ooow:of\'\n - text:name=\'of\' text:display=\'none\'\n - office:string-value=\'of\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value my_of\'/>\n <tal:block tal:replace=\'en_string\'/>:</text:p>\n <text:p text:style-name=\'Table_20_Heading\'\n tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/>:</text:p>\n @@ -762,7 +697,11 @@ AAA=</string> </value> </item> <item> <key> <string>ooo_stylesheet</string> </key> - <value> <string>Order_getODTStyleSheet</string> </value> + <value> <string>Order_viewAsODTStyles</string> </value> + </item> + <item> + <key> <string>ooo_xml_file_id</string> </key> + <value> <string>content.xml</string> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml new file mode 100644 index 0000000000000000000000000000000000000000..4ea3d9e3a0cb3a4b88555c19dadc35bbe293abe8 --- /dev/null +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_viewAsODTStyles.xml @@ -0,0 +1,356 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="OOoTemplate" module="Products.ERP5OOo.OOoTemplate"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>OLE_documents_zipstring</string> </key> + <value> <string encoding="base64">UEsDBBQAAAAIAMCAlTg1Ytc5PgEAAEoHAAAVAAAATUVUQS1JTkYvbWFuaWZlc3QueG1stZVLasMw +EED3PYXR3lbbVTFxAi30BOkBJvLYEeiHZhSS21cO5NM2lKZYOwmk90YjzWix2ltT7TCS9q4TT82j +qNAp32s3duJj/V6/iNXyYWHB6QGJ29OgyvscnaedSNG1HkhT68AitaxaH9D1XiWLjtuv69vJtHyo +LuBBG6zzwnioLjLsNdR8CNgJCMFoBZzjlDvXN0dXc61oGPcsLruHZEwdgLedkELeJbtNefNu0GOK +xyDoWRIDJ9pALIMHpdBgnvooVYpxOmLOYnFXEcFgPDAWggcfUshPIBXCRz9GpHI3PYVeDM7em2Jw +bWFEkq+aLQQq6riT/b1fUHJT9TRJN+pa8LcY7pRPnUhOtXoTnv38v2L+nUt8MEizYy0yzNZ41ttk +Nw60IcmnYRPcODd83sQic/4Qz6ldyB//4fITUEsBAhQAFAAAAAgAwICVODVi1zk+AQAASgcAABUA +AAAAAAAAAAAAAAAAAAAAAE1FVEEtSU5GL21hbmlmZXN0LnhtbFBLBQYAAAAAAQABAEMAAABxAQAA +AAA=</string> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<?xml version="1.0" encoding="utf-8"?>\n +<office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"\n + xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"\n + xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"\n + xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"\n + xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"\n + xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"\n + xmlns:xlink="http://www.w3.org/1999/xlink"\n + xmlns:dc="http://purl.org/dc/elements/1.1/"\n + xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"\n + xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"\n + xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"\n + xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"\n + xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"\n + xmlns:math="http://www.w3.org/1998/Math/MathML"\n + xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"\n + xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"\n + xmlns:ooo="http://openoffice.org/2004/office"\n + xmlns:ooow="http://openoffice.org/2004/writer"\n + xmlns:oooc="http://openoffice.org/2004/calc"\n + xmlns:dom="http://www.w3.org/2001/xml-events"\n + xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + xmlns:metal="http://xml.zope.org/namespaces/metal"\n + office:version="1.1"\n + tal:attributes="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\')"\n + tal:define=\'data_dict here/Order_getODTDataDict\'>\n + <office:font-face-decls>\n + <style:font-face style:name="StarSymbol" svg:font-family="StarSymbol" style:font-charset="x-symbol"/>\n + <style:font-face style:name="DejaVu Sans1" svg:font-family="\'DejaVu Sans\'" style:font-pitch="variable"/>\n + <style:font-face style:name="Times New Roman" svg:font-family="\'Times New Roman\'" style:font-family-generic="roman" style:font-pitch="variable"/>\n + <style:font-face style:name="Arial1" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/>\n + <style:font-face style:name="Arial" svg:font-family="Arial" style:font-adornments="Normalny" style:font-family-generic="swiss" style:font-pitch="variable"/>\n + <style:font-face style:name="DejaVu Sans" svg:font-family="\'DejaVu Sans\'" style:font-family-generic="swiss" style:font-pitch="variable"/>\n + <style:font-face style:name="DejaVu Sans2" svg:font-family="\'DejaVu Sans\'" style:font-family-generic="system" style:font-pitch="variable"/>\n + </office:font-face-decls>\n + <office:styles>\n + <style:default-style style:family="graphic">\n + <style:graphic-properties draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="true"/>\n + <style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-line-spacing="false">\n + <style:tab-stops/>\n + </style:paragraph-properties>\n + <style:text-properties style:use-window-font-color="true" fo:font-size="12pt" fo:language="pl" fo:country="PL" style:font-size-asian="12pt" style:language-asian="pl" style:country-asian="PL" style:font-size-complex="12pt" style:language-complex="pl" style:country-complex="PL"/>\n + </style:default-style>\n + <style:default-style style:family="paragraph">\n + <style:paragraph-properties fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="1.251cm" style:writing-mode="page"/>\n + <style:text-properties style:use-window-font-color="true" style:font-name="Times New Roman" fo:font-size="12pt" fo:language="pl" fo:country="PL" style:font-name-asian="DejaVu Sans1" style:font-size-asian="12pt" style:language-asian="pl" style:country-asian="PL" style:font-name-complex="DejaVu Sans1" style:font-size-complex="12pt" style:language-complex="pl" style:country-complex="PL" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/>\n + </style:default-style>\n + <style:default-style style:family="table">\n + <style:table-properties table:border-model="collapsing"/>\n + </style:default-style>\n + <style:default-style style:family="table-row">\n + <style:table-row-properties fo:keep-together="always"/>\n + </style:default-style>\n + <style:style style:name="Standard" style:family="paragraph" style:class="text">\n + <style:text-properties style:font-name="Arial"/>\n + </style:style>\n + <style:style style:name="Text_20_body" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text">\n + <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.212cm"/>\n + </style:style>\n + <style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="text">\n + <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" fo:keep-with-next="always"/>\n + <style:text-properties style:font-name="DejaVu Sans" fo:font-size="14pt" style:font-name-asian="DejaVu Sans2" style:font-size-asian="14pt" style:font-name-complex="DejaVu Sans2" style:font-size-complex="14pt"/>\n + </style:style>\n + <style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Header" style:next-style-name="Text_20_body" style:class="text">\n + <style:text-properties fo:font-size="115%" fo:font-weight="bold" style:font-size-asian="115%" style:font-weight-asian="bold" style:font-size-complex="115%" style:font-weight-complex="bold"/>\n + </style:style>\n + <style:style style:name="List" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="list"/>\n + <style:style style:name="Header" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="extra" style:master-page-name="">\n + <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm" style:page-number="auto" fo:background-color="transparent" style:shadow="none" fo:keep-with-next="always">\n + <style:tab-stops/>\n + <style:background-image/>\n + </style:paragraph-properties>\n + <style:text-properties style:font-name="Arial1" fo:font-size="7pt" style:font-name-asian="DejaVu Sans1" style:font-size-asian="14pt" style:font-name-complex="DejaVu Sans1" style:font-size-complex="14pt"/>\n + </style:style>\n + <style:style style:name="Header_20_left" style:display-name="Header left" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + </style:style>\n + <style:style style:name="Header_20_right" style:display-name="Header right" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties fo:text-align="end" style:justify-single-word="false" text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + <style:text-properties fo:font-size="8pt" fo:font-weight="bold"/>\n + </style:style>\n + <style:style style:name="Footer" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + <style:text-properties fo:font-size="6pt"/>\n + </style:style>\n + <style:style style:name="Footer_20_right" style:display-name="Footer right" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + </style:style>\n + <style:style style:name="Table_20_Contents" style:display-name="Table Contents" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties fo:text-align="center" style:justify-single-word="false" text:number-lines="false" text:line-number="0"/>\n + <style:text-properties fo:font-size="7pt"/>\n + </style:style>\n + <style:style style:name="Table_20_Heading" style:display-name="Table Heading" style:family="paragraph" style:parent-style-name="Table_20_Contents" style:class="extra">\n + <style:paragraph-properties fo:text-align="end" style:justify-single-word="false" text:number-lines="false" text:line-number="0"/>\n + <style:text-properties fo:font-size="6pt" fo:font-style="normal" fo:font-weight="bold" style:font-style-asian="italic" style:font-weight-asian="normal" style:font-style-complex="italic" style:font-weight-complex="normal"/>\n + </style:style>\n + <style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties fo:margin-top="0.212cm" fo:margin-bottom="0.212cm" text:number-lines="false" text:line-number="0"/>\n + <style:text-properties fo:font-size="12pt" fo:font-style="italic" style:font-size-asian="12pt" style:font-style-asian="italic" style:font-size-complex="12pt" style:font-style-complex="italic"/>\n + </style:style>\n + <style:style style:name="Table" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/>\n + <style:style style:name="Text" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/>\n + <style:style style:name="Frame_20_contents" style:display-name="Frame contents" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="extra"/>\n + <style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0"/>\n + </style:style>\n + <style:style style:name="Header_20_Title" style:display-name="Header Title" style:family="paragraph" style:parent-style-name="Header_20_right" style:master-page-name="">\n + <style:paragraph-properties style:page-number="auto" style:shadow="none"/>\n + <style:text-properties fo:text-transform="uppercase" fo:font-size="12pt"/>\n + </style:style>\n + <style:style style:name="Big_20_Table_20_Content" style:display-name="Big Table Content" style:family="paragraph" style:parent-style-name="Table_20_Contents">\n + <style:text-properties fo:font-size="8pt" fo:font-weight="bold"/>\n + </style:style>\n + <style:style style:name="Item_20_Table_20_Title" style:display-name="Item Table Title" style:family="paragraph" style:parent-style-name="Table_20_Heading" style:class="extra">\n + <style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>\n + <style:text-properties fo:font-size="7pt" style:font-weight-asian="normal" style:font-weight-complex="normal"/>\n + </style:style>\n + <style:style style:name="Table_20_Contents_20_Left" style:display-name="Table Contents Left" style:family="paragraph" style:parent-style-name="Table_20_Contents" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0.049cm" fo:margin-right="0cm" fo:text-align="start" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Table_20_Contents_20_Right" style:display-name="Table Contents Right" style:family="paragraph" style:parent-style-name="Table_20_Contents_20_Left" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0.049cm" fo:text-align="end" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Item_20_Table_20_Title_20_Left" style:display-name="Item Table Title Left" style:family="paragraph" style:parent-style-name="Item_20_Table_20_Title" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0.049cm" fo:margin-right="0cm" fo:text-align="start" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Item_20_Table_20_Title_20_Right" style:display-name="Item Table Title Right" style:family="paragraph" style:parent-style-name="Item_20_Table_20_Title" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0.049cm" fo:text-align="end" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Bullet_20_Symbols" style:display-name="Bullet Symbols" style:family="text">\n + <style:text-properties style:font-name="StarSymbol" fo:font-size="9pt" style:font-name-asian="StarSymbol" style:font-size-asian="9pt" style:font-name-complex="StarSymbol" style:font-size-complex="9pt"/>\n + </style:style>\n + <style:style style:name="Footnote_20_Symbol" style:display-name="Footnote Symbol" style:family="text"/>\n + <style:style style:name="Endnote_20_Symbol" style:display-name="Endnote Symbol" style:family="text"/>\n + <style:style style:name="Graphics" style:family="graphic">\n + <style:graphic-properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" style:wrap="dynamic" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph" style:horizontal-pos="center" style:horizontal-rel="paragraph"/>\n + </style:style>\n + <text:outline-style>\n + <text:outline-level-style text:level="1" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="2" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="3" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="4" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="5" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="6" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="7" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="8" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="9" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="10" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + </text:outline-style>\n + <text:notes-configuration text:note-class="footnote" text:citation-style-name="Footnote_20_Symbol" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="page"/>\n + <text:notes-configuration text:note-class="endnote" text:citation-style-name="Endnote_20_Symbol" text:master-page-name="Endnote" style:num-format="1" text:start-value="0"/>\n + <text:linenumbering-configuration text:number-lines="false" text:offset="0.499cm" style:num-format="1" text:number-position="left" text:increment="5"/>\n + </office:styles>\n + <office:automatic-styles>\n + <style:page-layout style:name="pm1">\n + <style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="1cm" fo:margin-bottom="1cm" fo:margin-left="1cm" fo:margin-right="1cm" fo:background-color="transparent" style:writing-mode="lr-tb" style:footnote-max-height="0cm">\n + <style:background-image/>\n + <style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:adjustment="left" style:rel-width="25%" style:color="#000000"/>\n + </style:page-layout-properties>\n + <style:header-style>\n + <style:header-footer-properties svg:height="3.999cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-bottom="0.499cm" fo:border="none" fo:padding="0cm" style:shadow="none" style:dynamic-spacing="false"/>\n + </style:header-style>\n + <style:footer-style>\n + <style:header-footer-properties fo:min-height="0.25cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-top="0cm" style:dynamic-spacing="false"/>\n + </style:footer-style>\n + </style:page-layout>\n + <style:page-layout style:name="pm2">\n + <style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" style:footnote-max-height="0cm">\n + <style:footnote-sep style:adjustment="left" style:rel-width="25%" style:color="#000000"/>\n + </style:page-layout-properties>\n + <style:header-style/>\n + <style:footer-style/>\n + </style:page-layout>\n + <number:number-style style:name="N0">\n + <number:number number:min-integer-digits="1"/>\n + </number:number-style>\n + </office:automatic-styles>\n + <office:master-styles>\n + <style:master-page style:name="Standard" style:page-layout-name="pm1">\n + <style:header tal:define="orig_title string:Order;\n + en_title python: unicode(here.Base_translateString(orig_title, lang=\'en\'), \'utf-8\');\n + my_title python: unicode(here.Base_translateString(orig_title), \'utf-8\');\n + orig_page string:Page;\n + en_page python: unicode(here.Base_translateString(orig_page, lang=\'en\'), \'utf-8\');\n + my_page python: unicode(here.Base_translateString(orig_page), \'utf-8\');\n + orig_of string:of;\n + en_of python: unicode(here.Base_translateString(orig_of, lang=\'en\'), \'utf-8\');\n + my_of python: unicode(here.Base_translateString(orig_of), \'utf-8\');\n + image_path python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_image_path\'] or data_dict[\'source_decision_image_path\']">\n + <text:p>\n + <office:include_img tal:condition="image_path"\n + tal:attributes="path image_path"/>\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_title\'] or data_dict[\'source_decision_title\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_address\'] or data_dict[\'source_decision_address\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_telfax\'] or data_dict[\'source_decision_telfax\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_email\'] or data_dict[\'source_decision_email\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_vatid\'] or data_dict[\'source_decision_vatid\']">\n + </text:p>\n + <text:p text:style-name="Header_20_Title"\n + tal:content="en_title">\n + </text:p>\n + <text:p text:style-name="Header_20_right"\n + tal:content="my_title">\n + </text:p>\n + <text:p text:style-name="Header_20_right">\n + <text:p tal:replace="my_page"/><text:page-number text:select-page="current">1</text:page-number><text:p tal:replace="my_of"/><text:page-count>1</text:page-count></text:p>\n + </style:header>\n + <style:footer>\n + <text:p text:style-name="Footer">Generated with ERP5 \xe2\x80\x93 Open Source ERP suite (www.erp5.org)</text:p>\n + </style:footer>\n + </style:master-page>\n + <style:master-page style:name="Endnote" style:page-layout-name="pm2"/>\n + </office:master-styles>\n +</office:document-styles>\n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>application/vnd.oasis.opendocument.text</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Order_viewAsODTStyles</string> </value> + </item> + <item> + <key> <string>ooo_stylesheet</string> </key> + <value> <string>Order_getODTStyleSheet</string> </value> + </item> + <item> + <key> <string>ooo_xml_file_id</string> </key> + <value> <string>styles.xml</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_getODTDataDict.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_getODTDataDict.xml index aeec6e698874266172ba0872da538157c9908b36..beacfbd8faf6d4e28c1c1d36951210c834a0ff6f 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_getODTDataDict.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_getODTDataDict.xml @@ -183,6 +183,7 @@ for line in getSubLineList(context):\n \n data_dict = {\n \'source_section_title\': context.getSourceSectionTitle() or \'\',\n + \'source_section_image_path\': context.getSourceSectionValue() is not None and context.getSourceSectionValue().getDefaultImagePath() or \'\',\n \'source_section_address\': getOneLineAddress(\n context.getSourceSection() and context.getSourceSectionValue().getDefaultAddressText() or \'\',\n context.getSourceSection() and context.getSourceSectionValue().getDefaultAddressRegionTitle() or \'\'),\n @@ -192,6 +193,7 @@ data_dict = {\n \'source_section_vatid\': getVatId(context.getSourceSection() and context.getSourceSectionValue().getVatCode() or \'\'),\n \n \'source_decision_title\': context.getSourceDecisionTitle() or \'\',\n + \'source_decision_image_path\': context.getSourceDecisionValue() is not None and context.getSourceDecisionValue().getDefaultImagePath() or \'\',\n \'source_decision_address\': getOneLineAddress(\n context.getSourceDecision() and context.getSourceDecisionValue().getDefaultAddressText() or \'\',\n context.getSourceDecision() and context.getSourceDecisionValue().getDefaultAddressRegionTitle() or \'\'),\n diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewAsODT.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewAsODT.xml index 2ed55ba0e92202f5aa96f425b0af3a3295ed386d..740edd62e0678771ed613d075ec809921ee0f1cd 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewAsODT.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewAsODT.xml @@ -297,76 +297,10 @@ AAA=</string> </value> <table:table-row table:style-name=\'Tableau2.1\'>\n <table:table-cell table:style-name=\'Tableau2.A1\'\n office:value-type=\'string\'>\n - <!--This PageTemplate is Used For Sale Order and Purchase Order-->\n <tal:block tal:define="orig_string string:Supplier;\n en_string python:here.Base_translateString(orig_string, lang=\'en\');\n - my_string python:here.Base_translateString(orig_string);\n - ds_title python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_title\'] or data_dict[\'source_decision_title\'];\n - ds_address python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_address\'] or data_dict[\'source_decision_address\'];\n - ds_telfax python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_telfax\'] or data_dict[\'source_decision_telfax\'];\n - ds_email python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_email\'] or data_dict[\'source_decision_email\'];\n - ds_vatid python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_vatid\'] or data_dict[\'source_decision_vatid\'];\n - orig_title python: here.getPortalType();\n - en_title python: unicode(here.Base_translateString(orig_title, lang=\'en\'), \'utf-8\');\n - my_title python: unicode(here.Base_translateString(orig_title), \'utf-8\');\n - orig_page string:Page; en_page python: unicode(here.Base_translateString(orig_page, lang=\'en\'), \'utf-8\');\n - my_page python: unicode(here.Base_translateString(orig_page), \'utf-8\');\n - orig_of string:of;\n - en_of python: unicode(here.Base_translateString(orig_of, lang=\'en\'), \'utf-8\');\n - my_of python: unicode(here.Base_translateString(orig_of), \'utf-8\')">\n + my_string python:here.Base_translateString(orig_string);">\n <text:p text:style-name=\'Table_20_Heading\'>\n - <text:variable-set text:formula=\'ooow:title\'\n - text:name=\'ds_title\'\n - text:display=\'none\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_title\'/>\n - <text:variable-set text:formula=\'ooow:address\'\n - text:name=\'ds_address\'\n - text:display=\'none\'\n - office:string-value=\'address\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_address\'/>\n - <text:variable-set text:formula=\'ooow:telfax\'\n - text:name=\'ds_telfax\'\n - text:display=\'none\'\n - office:string-value=\'telfax\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_telfax\'/>\n - <text:variable-set text:formula=\'ooow:email\'\n - text:name=\'ds_email\'\n - text:display=\'none\'\n - office:string-value=\'email\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_email\'/>\n - <text:variable-set text:formula=\'ooow:vatid\'\n - text:name=\'ds_vatid\'\n - text:display=\'none\'\n - office:string-value=\'vatid\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value ds_vatid\'/>\n - <text:variable-set text:formula=\'ooow:purchase_order\'\n - text:name=\'purchase_order\'\n - text:display=\'none\'\n - office:string-value=\'purchase_order\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value en_title\'/>\n - <text:variable-set text:formula=\'ooow:purchase_order_tr\'\n - text:name=\'purchase_order_tr\'\n - text:display=\'none\'\n - office:string-value=\'purchase_order_tr\'\n - office:value-type=\'string\'\n - tal:condition=\'python:my_title != en_title\'\n - tal:attributes=\'office:string-value my_title\'/>\n - <text:variable-set text:formula=\'ooow:page\'\n - text:name=\'page\' text:display=\'none\'\n - office:string-value=\'page\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value my_page\'/>\n - <text:variable-set text:formula=\'ooow:of\'\n - text:name=\'of\' text:display=\'none\'\n - office:string-value=\'of\'\n - office:value-type=\'string\'\n - tal:attributes=\'office:string-value my_of\'/>\n <tal:block tal:replace=\'en_string\'/>:</text:p>\n <text:p text:style-name=\'Table_20_Heading\'\n tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/>:</text:p>\n @@ -420,15 +354,6 @@ AAA=</string> </value> tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'start_date\'] or data_dict[\'stop_date\']">start_date</text:p>\n </table:table-cell>\n </table:table-row>\n - <table:table-row table:style-name=\'Tableau2.E1.1\'>\n - <table:table-cell table:style-name=\'Tableau2.E1.1.2\' office:value-type=\'string\' tal:define=\'orig_string string:Currency; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")\'>\n - <text:p text:style-name=\'Table_20_Heading\'><span tal:replace=\'en_string\'/>:</text:p>\n - <text:p text:style-name=\'Table_20_Heading\' tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/>:</text:p>\n - </table:table-cell>\n - <table:table-cell table:style-name=\'Tableau2.E1.2.2\' office:value-type=\'string\'>\n - <text:p text:style-name=\'Table_20_Contents\' tal:content=\'python:data_dict["currency"]\'>EUR</text:p>\n - </table:table-cell>\n - </table:table-row>\n </table:table>\n </table:table-cell>\n </table:table-row>\n @@ -457,16 +382,11 @@ AAA=</string> </value> <table:table-column table:style-name=\'Tableau2.E1.1\'/>\n <table:table-column table:style-name=\'Tableau2.E1.2\'/>\n <table:table-row table:style-name=\'Tableau2.E1.1\'>\n - <table:table-cell table:style-name=\'Tableau2.E1.1.2\' office:value-type=\'string\' tal:define=\'orig_string string:Payment; en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8"); my_string python:unicode(here.Base_translateString(orig_string),"utf-8")\'>\n - <text:p text:style-name=\'Table_20_Heading\'><span tal:replace=\'en_string\'/>:</text:p>\n - <text:p text:style-name=\'Table_20_Heading\' tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/>:</text:p>\n - </table:table-cell>\n - <table:table-cell table:style-name=\'Tableau2.E1.2.2\' office:value-type=\'string\'>\n - <text:p text:style-name=\'Table_20_Contents\' tal:content=\'python:data_dict["payment_condition"]\'>60 days</text:p>\n - </table:table-cell>\n - </table:table-row>\n - <table:table-row table:style-name=\'Tableau2.E1.1\'>\n - <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")\'>\n + <table:table-cell table:style-name=\'Tableau2.E1.1.2\'\n + office:value-type=\'string\'\n + tal:define=\'orig_string string:Delivery Mode;\n + en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");\n + my_string python:unicode(here.Base_translateString(orig_string),"utf-8")\'>\n <text:p text:style-name=\'Table_20_Heading\'><span tal:replace=\'en_string\'/>:</text:p>\n <text:p text:style-name=\'Table_20_Heading\' tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/>:</text:p>\n </table:table-cell>\n @@ -475,7 +395,11 @@ AAA=</string> </value> </table:table-cell>\n </table:table-row>\n <table:table-row table:style-name=\'Tableau2.E1.1\'>\n - <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")\'>\n + <table:table-cell table:style-name=\'Tableau2.E1.1.2\'\n + office:value-type=\'string\'\n + tal:define=\'orig_string string:Incoterm;\n + en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");\n + my_string python:unicode(here.Base_translateString(orig_string),"utf-8")\'>\n <text:p text:style-name=\'Table_20_Heading\'><span tal:replace=\'en_string\'/>:</text:p>\n <text:p text:style-name=\'Table_20_Heading\' tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/>:</text:p>\n </table:table-cell>\n @@ -499,15 +423,27 @@ AAA=</string> </value> <table:covered-table-cell/>\n </table:table-row>\n <table:table-row>\n - <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")\'>\n + <table:table-cell table:style-name=\'Tableau1.A2\'\n + office:value-type=\'string\'\n + tal:define=\'orig_string string:Line;\n + en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");\n + my_string python:unicode(here.Base_translateString(orig_string),"utf-8")\'>\n <text:p text:style-name=\'Item_20_Table_20_Title_20_Left\'><span tal:replace=\'en_string\'/></text:p>\n <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>\n </table:table-cell>\n - <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")\'>\n + <table:table-cell table:style-name=\'Tableau1.A2\'\n + office:value-type=\'string\'\n + tal:define=\'orig_string string:Your Item no.;\n + en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");\n + my_string python:unicode(here.Base_translateString(orig_string),"utf-8")\'>\n <text:p text:style-name=\'Item_20_Table_20_Title\'><span tal:replace=\'en_string\'/></text:p>\n <text:p text:style-name=\'Item_20_Table_20_Title\' tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/></text:p>\n </table:table-cell>\n - <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")\'>\n + <table:table-cell table:style-name=\'Tableau1.A2\'\n + office:value-type=\'string\'\n + tal:define=\'orig_string string:Our Item no.;\n + en_string python:unicode(here.Base_translateString(orig_string, lang="en"),"utf-8");\n + my_string python:unicode(here.Base_translateString(orig_string),"utf-8")\'>\n <text:p text:style-name=\'Item_20_Table_20_Title\'><span tal:replace=\'en_string\'/></text:p>\n <text:p text:style-name=\'Item_20_Table_20_Title\' tal:condition=\'python:my_string!=en_string\'><span tal:replace=\'my_string\'/></text:p>\n </table:table-cell>\n @@ -762,7 +698,11 @@ AAA=</string> </value> </item> <item> <key> <string>ooo_stylesheet</string> </key> - <value> <string>Order_getODTStyleSheet</string> </value> + <value> <string>PackingList_viewAsODTStyles</string> </value> + </item> + <item> + <key> <string>ooo_xml_file_id</string> </key> + <value> <string>content.xml</string> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewAsODTStyles.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewAsODTStyles.xml new file mode 100644 index 0000000000000000000000000000000000000000..00823b6f94e60a06aa3f22dd0f92b96c50cb46e3 --- /dev/null +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewAsODTStyles.xml @@ -0,0 +1,356 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="OOoTemplate" module="Products.ERP5OOo.OOoTemplate"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>OLE_documents_zipstring</string> </key> + <value> <string encoding="base64">UEsDBBQAAAAIAMCAlTg1Ytc5PgEAAEoHAAAVAAAATUVUQS1JTkYvbWFuaWZlc3QueG1stZVLasMw +EED3PYXR3lbbVTFxAi30BOkBJvLYEeiHZhSS21cO5NM2lKZYOwmk90YjzWix2ltT7TCS9q4TT82j +qNAp32s3duJj/V6/iNXyYWHB6QGJ29OgyvscnaedSNG1HkhT68AitaxaH9D1XiWLjtuv69vJtHyo +LuBBG6zzwnioLjLsNdR8CNgJCMFoBZzjlDvXN0dXc61oGPcsLruHZEwdgLedkELeJbtNefNu0GOK +xyDoWRIDJ9pALIMHpdBgnvooVYpxOmLOYnFXEcFgPDAWggcfUshPIBXCRz9GpHI3PYVeDM7em2Jw +bWFEkq+aLQQq6riT/b1fUHJT9TRJN+pa8LcY7pRPnUhOtXoTnv38v2L+nUt8MEizYy0yzNZ41ttk +Nw60IcmnYRPcODd83sQic/4Qz6ldyB//4fITUEsBAhQAFAAAAAgAwICVODVi1zk+AQAASgcAABUA +AAAAAAAAAAAAAAAAAAAAAE1FVEEtSU5GL21hbmlmZXN0LnhtbFBLBQYAAAAAAQABAEMAAABxAQAA +AAA=</string> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<?xml version="1.0" encoding="utf-8"?>\n +<office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"\n + xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"\n + xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"\n + xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"\n + xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"\n + xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"\n + xmlns:xlink="http://www.w3.org/1999/xlink"\n + xmlns:dc="http://purl.org/dc/elements/1.1/"\n + xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"\n + xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"\n + xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"\n + xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"\n + xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"\n + xmlns:math="http://www.w3.org/1998/Math/MathML"\n + xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"\n + xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"\n + xmlns:ooo="http://openoffice.org/2004/office"\n + xmlns:ooow="http://openoffice.org/2004/writer"\n + xmlns:oooc="http://openoffice.org/2004/calc"\n + xmlns:dom="http://www.w3.org/2001/xml-events"\n + xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n + xmlns:metal="http://xml.zope.org/namespaces/metal"\n + office:version="1.1"\n + tal:attributes="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\')"\n + tal:define=\'data_dict here/PackingList_getODTDataDict\'>\n + <office:font-face-decls>\n + <style:font-face style:name="StarSymbol" svg:font-family="StarSymbol" style:font-charset="x-symbol"/>\n + <style:font-face style:name="DejaVu Sans1" svg:font-family="\'DejaVu Sans\'" style:font-pitch="variable"/>\n + <style:font-face style:name="Times New Roman" svg:font-family="\'Times New Roman\'" style:font-family-generic="roman" style:font-pitch="variable"/>\n + <style:font-face style:name="Arial1" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/>\n + <style:font-face style:name="Arial" svg:font-family="Arial" style:font-adornments="Normalny" style:font-family-generic="swiss" style:font-pitch="variable"/>\n + <style:font-face style:name="DejaVu Sans" svg:font-family="\'DejaVu Sans\'" style:font-family-generic="swiss" style:font-pitch="variable"/>\n + <style:font-face style:name="DejaVu Sans2" svg:font-family="\'DejaVu Sans\'" style:font-family-generic="system" style:font-pitch="variable"/>\n + </office:font-face-decls>\n + <office:styles>\n + <style:default-style style:family="graphic">\n + <style:graphic-properties draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="true"/>\n + <style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-line-spacing="false">\n + <style:tab-stops/>\n + </style:paragraph-properties>\n + <style:text-properties style:use-window-font-color="true" fo:font-size="12pt" fo:language="pl" fo:country="PL" style:font-size-asian="12pt" style:language-asian="pl" style:country-asian="PL" style:font-size-complex="12pt" style:language-complex="pl" style:country-complex="PL"/>\n + </style:default-style>\n + <style:default-style style:family="paragraph">\n + <style:paragraph-properties fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="1.251cm" style:writing-mode="page"/>\n + <style:text-properties style:use-window-font-color="true" style:font-name="Times New Roman" fo:font-size="12pt" fo:language="pl" fo:country="PL" style:font-name-asian="DejaVu Sans1" style:font-size-asian="12pt" style:language-asian="pl" style:country-asian="PL" style:font-name-complex="DejaVu Sans1" style:font-size-complex="12pt" style:language-complex="pl" style:country-complex="PL" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/>\n + </style:default-style>\n + <style:default-style style:family="table">\n + <style:table-properties table:border-model="collapsing"/>\n + </style:default-style>\n + <style:default-style style:family="table-row">\n + <style:table-row-properties fo:keep-together="always"/>\n + </style:default-style>\n + <style:style style:name="Standard" style:family="paragraph" style:class="text">\n + <style:text-properties style:font-name="Arial"/>\n + </style:style>\n + <style:style style:name="Text_20_body" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text">\n + <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.212cm"/>\n + </style:style>\n + <style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="text">\n + <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" fo:keep-with-next="always"/>\n + <style:text-properties style:font-name="DejaVu Sans" fo:font-size="14pt" style:font-name-asian="DejaVu Sans2" style:font-size-asian="14pt" style:font-name-complex="DejaVu Sans2" style:font-size-complex="14pt"/>\n + </style:style>\n + <style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Header" style:next-style-name="Text_20_body" style:class="text">\n + <style:text-properties fo:font-size="115%" fo:font-weight="bold" style:font-size-asian="115%" style:font-weight-asian="bold" style:font-size-complex="115%" style:font-weight-complex="bold"/>\n + </style:style>\n + <style:style style:name="List" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="list"/>\n + <style:style style:name="Header" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="extra" style:master-page-name="">\n + <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm" style:page-number="auto" fo:background-color="transparent" style:shadow="none" fo:keep-with-next="always">\n + <style:tab-stops/>\n + <style:background-image/>\n + </style:paragraph-properties>\n + <style:text-properties style:font-name="Arial1" fo:font-size="7pt" style:font-name-asian="DejaVu Sans1" style:font-size-asian="14pt" style:font-name-complex="DejaVu Sans1" style:font-size-complex="14pt"/>\n + </style:style>\n + <style:style style:name="Header_20_left" style:display-name="Header left" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + </style:style>\n + <style:style style:name="Header_20_right" style:display-name="Header right" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties fo:text-align="end" style:justify-single-word="false" text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + <style:text-properties fo:font-size="8pt" fo:font-weight="bold"/>\n + </style:style>\n + <style:style style:name="Footer" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + <style:text-properties fo:font-size="6pt"/>\n + </style:style>\n + <style:style style:name="Footer_20_right" style:display-name="Footer right" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0">\n + <style:tab-stops>\n + <style:tab-stop style:position="9.5cm" style:type="center"/>\n + <style:tab-stop style:position="19.001cm" style:type="right"/>\n + </style:tab-stops>\n + </style:paragraph-properties>\n + </style:style>\n + <style:style style:name="Table_20_Contents" style:display-name="Table Contents" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties fo:text-align="center" style:justify-single-word="false" text:number-lines="false" text:line-number="0"/>\n + <style:text-properties fo:font-size="7pt"/>\n + </style:style>\n + <style:style style:name="Table_20_Heading" style:display-name="Table Heading" style:family="paragraph" style:parent-style-name="Table_20_Contents" style:class="extra">\n + <style:paragraph-properties fo:text-align="end" style:justify-single-word="false" text:number-lines="false" text:line-number="0"/>\n + <style:text-properties fo:font-size="6pt" fo:font-style="normal" fo:font-weight="bold" style:font-style-asian="italic" style:font-weight-asian="normal" style:font-style-complex="italic" style:font-weight-complex="normal"/>\n + </style:style>\n + <style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">\n + <style:paragraph-properties fo:margin-top="0.212cm" fo:margin-bottom="0.212cm" text:number-lines="false" text:line-number="0"/>\n + <style:text-properties fo:font-size="12pt" fo:font-style="italic" style:font-size-asian="12pt" style:font-style-asian="italic" style:font-size-complex="12pt" style:font-style-complex="italic"/>\n + </style:style>\n + <style:style style:name="Table" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/>\n + <style:style style:name="Text" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/>\n + <style:style style:name="Frame_20_contents" style:display-name="Frame contents" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="extra"/>\n + <style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index">\n + <style:paragraph-properties text:number-lines="false" text:line-number="0"/>\n + </style:style>\n + <style:style style:name="Header_20_Title" style:display-name="Header Title" style:family="paragraph" style:parent-style-name="Header_20_right" style:master-page-name="">\n + <style:paragraph-properties style:page-number="auto" style:shadow="none"/>\n + <style:text-properties fo:text-transform="uppercase" fo:font-size="12pt"/>\n + </style:style>\n + <style:style style:name="Big_20_Table_20_Content" style:display-name="Big Table Content" style:family="paragraph" style:parent-style-name="Table_20_Contents">\n + <style:text-properties fo:font-size="8pt" fo:font-weight="bold"/>\n + </style:style>\n + <style:style style:name="Item_20_Table_20_Title" style:display-name="Item Table Title" style:family="paragraph" style:parent-style-name="Table_20_Heading" style:class="extra">\n + <style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>\n + <style:text-properties fo:font-size="7pt" style:font-weight-asian="normal" style:font-weight-complex="normal"/>\n + </style:style>\n + <style:style style:name="Table_20_Contents_20_Left" style:display-name="Table Contents Left" style:family="paragraph" style:parent-style-name="Table_20_Contents" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0.049cm" fo:margin-right="0cm" fo:text-align="start" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Table_20_Contents_20_Right" style:display-name="Table Contents Right" style:family="paragraph" style:parent-style-name="Table_20_Contents_20_Left" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0.049cm" fo:text-align="end" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Item_20_Table_20_Title_20_Left" style:display-name="Item Table Title Left" style:family="paragraph" style:parent-style-name="Item_20_Table_20_Title" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0.049cm" fo:margin-right="0cm" fo:text-align="start" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Item_20_Table_20_Title_20_Right" style:display-name="Item Table Title Right" style:family="paragraph" style:parent-style-name="Item_20_Table_20_Title" style:class="extra">\n + <style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0.049cm" fo:text-align="end" style:justify-single-word="false" fo:text-indent="0cm" style:auto-text-indent="false"/>\n + </style:style>\n + <style:style style:name="Bullet_20_Symbols" style:display-name="Bullet Symbols" style:family="text">\n + <style:text-properties style:font-name="StarSymbol" fo:font-size="9pt" style:font-name-asian="StarSymbol" style:font-size-asian="9pt" style:font-name-complex="StarSymbol" style:font-size-complex="9pt"/>\n + </style:style>\n + <style:style style:name="Footnote_20_Symbol" style:display-name="Footnote Symbol" style:family="text"/>\n + <style:style style:name="Endnote_20_Symbol" style:display-name="Endnote Symbol" style:family="text"/>\n + <style:style style:name="Graphics" style:family="graphic">\n + <style:graphic-properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" style:wrap="dynamic" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph" style:horizontal-pos="center" style:horizontal-rel="paragraph"/>\n + </style:style>\n + <text:outline-style>\n + <text:outline-level-style text:level="1" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="2" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="3" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="4" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="5" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="6" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="7" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="8" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="9" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + <text:outline-level-style text:level="10" style:num-format="">\n + <style:list-level-properties text:min-label-distance="0.381cm"/>\n + </text:outline-level-style>\n + </text:outline-style>\n + <text:notes-configuration text:note-class="footnote" text:citation-style-name="Footnote_20_Symbol" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="page"/>\n + <text:notes-configuration text:note-class="endnote" text:citation-style-name="Endnote_20_Symbol" text:master-page-name="Endnote" style:num-format="1" text:start-value="0"/>\n + <text:linenumbering-configuration text:number-lines="false" text:offset="0.499cm" style:num-format="1" text:number-position="left" text:increment="5"/>\n + </office:styles>\n + <office:automatic-styles>\n + <style:page-layout style:name="pm1">\n + <style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="1cm" fo:margin-bottom="1cm" fo:margin-left="1cm" fo:margin-right="1cm" fo:background-color="transparent" style:writing-mode="lr-tb" style:footnote-max-height="0cm">\n + <style:background-image/>\n + <style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:adjustment="left" style:rel-width="25%" style:color="#000000"/>\n + </style:page-layout-properties>\n + <style:header-style>\n + <style:header-footer-properties svg:height="3.999cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-bottom="0.499cm" fo:border="none" fo:padding="0cm" style:shadow="none" style:dynamic-spacing="false"/>\n + </style:header-style>\n + <style:footer-style>\n + <style:header-footer-properties fo:min-height="0.25cm" fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-top="0cm" style:dynamic-spacing="false"/>\n + </style:footer-style>\n + </style:page-layout>\n + <style:page-layout style:name="pm2">\n + <style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" style:footnote-max-height="0cm">\n + <style:footnote-sep style:adjustment="left" style:rel-width="25%" style:color="#000000"/>\n + </style:page-layout-properties>\n + <style:header-style/>\n + <style:footer-style/>\n + </style:page-layout>\n + <number:number-style style:name="N0">\n + <number:number number:min-integer-digits="1"/>\n + </number:number-style>\n + </office:automatic-styles>\n + <office:master-styles>\n + <style:master-page style:name="Standard" style:page-layout-name="pm1">\n + <style:header tal:define="orig_title string:Packing List;\n + en_title python: unicode(here.Base_translateString(orig_title, lang=\'en\'), \'utf-8\');\n + my_title python: unicode(here.Base_translateString(orig_title), \'utf-8\');\n + orig_page string:Page;\n + en_page python: unicode(here.Base_translateString(orig_page, lang=\'en\'), \'utf-8\');\n + my_page python: unicode(here.Base_translateString(orig_page), \'utf-8\');\n + orig_of string:of;\n + en_of python: unicode(here.Base_translateString(orig_of, lang=\'en\'), \'utf-8\');\n + my_of python: unicode(here.Base_translateString(orig_of), \'utf-8\');\n + image_path python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_image_path\'] or data_dict[\'source_section_image_path\']">\n + <text:p>\n + <office:include_img tal:condition="image_path"\n + tal:attributes="path image_path"/>\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_title\'] or data_dict[\'source_section_title\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_address\'] or data_dict[\'source_section_address\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_telfax\'] or data_dict[\'source_section_telfax\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_email\'] or data_dict[\'source_section_email\']">\n + </text:p>\n + <text:p text:style-name="Header"\n + tal:content="python: here.getPortalType().startswith(\'Purchase\') and data_dict[\'destination_section_vatid\'] or data_dict[\'source_section_vatid\']">\n + </text:p>\n + <text:p text:style-name="Header_20_Title"\n + tal:content="en_title">\n + </text:p>\n + <text:p text:style-name="Header_20_right"\n + tal:content="my_title">\n + </text:p>\n + <text:p text:style-name="Header_20_right">\n + <text:p tal:replace="my_page"/><text:page-number text:select-page="current">1</text:page-number><text:p tal:replace="my_of"/><text:page-count>1</text:page-count></text:p>\n + </style:header>\n + <style:footer>\n + <text:p text:style-name="Footer">Generated with ERP5 \xe2\x80\x93 Open Source ERP suite (www.erp5.org)</text:p>\n + </style:footer>\n + </style:master-page>\n + <style:master-page style:name="Endnote" style:page-layout-name="pm2"/>\n + </office:master-styles>\n +</office:document-styles>\n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>application/vnd.oasis.opendocument.text</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>PackingList_viewAsODTStyles</string> </value> + </item> + <item> + <key> <string>ooo_stylesheet</string> </key> + <value> <string>PackingList_getODTStyleSheet</string> </value> + </item> + <item> + <key> <string>ooo_xml_file_id</string> </key> + <value> <string>styles.xml</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewODTPrintDialog.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewODTPrintDialog.xml index fe3801604f7915c19165515e20baa7d0360071ba..2dd176101e3a1c4bffb0e70d06f39a0f835230a4 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewODTPrintDialog.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PackingList_viewODTPrintDialog.xml @@ -50,7 +50,7 @@ </item> <item> <key> <string>action</string> </key> - <value> <string>PackingList_viewAsODT</string> </value> + <value> <string>PackingList_printAsODT</string> </value> </item> <item> <key> <string>description</string> </key> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 57065cd57b16f67df35e4b5d4d7ef5844aa9d80e..136c8cacf37562e0e40c7ee7fe9b30e214a616d1 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -341 \ No newline at end of file +342 \ No newline at end of file