Commit a77d0031 authored by Fabien Morin's avatar Fabien Morin

add print action for apparel model

Add FormPrintout, print dialog, form and a script to be able to print apparel model in ODG format.
ERP5OOo, ERP5Form, Formulator recent products are needed to have this working (>= r31527)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31575 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c5ff83a1
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="FormPrintout" module="Products.ERP5OOo.FormPrintout"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>form_name</string> </key>
<value> <string>ApparelModel_PrintoutFormView</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ApparelModel_Printout</string> </value>
</item>
<item>
<key> <string>strategy</string> </key>
<value>
<object>
<klass>
<global name="__newobj__" module="copy_reg"/>
</klass>
<tuple>
<global name="ODGStrategy" module="Products.ERP5OOo.FormPrintout"/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>odf_existent_name_list</string> </key>
<value>
<list>
<string>mimetype</string>
<string>Pictures/10000000000001EC000002FFC3CB3BF8.jpg</string>
<string>Pictures/10000000000000800000007AA6565648.png</string>
<string>Pictures/1000000000000300000002E83D1C95A3.png</string>
<string>Pictures/TablePreview1.svm</string>
<string>Pictures/10000000000000200000002000309F1C.png</string>
<string>Pictures/100000000000018D0000018DA9663580.png</string>
<string>content.xml</string>
<string>styles.xml</string>
<string>meta.xml</string>
<string>Thumbnails/thumbnail.png</string>
<string>Configurations2/accelerator/current.xml</string>
<string>Configurations2/progressbar/</string>
<string>Configurations2/floater/</string>
<string>Configurations2/popupmenu/</string>
<string>Configurations2/menubar/</string>
<string>Configurations2/toolbar/</string>
<string>Configurations2/images/Bitmaps/</string>
<string>Configurations2/statusbar/</string>
<string>settings.xml</string>
<string>META-INF/manifest.xml</string>
</list>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>template</string> </key>
<value> <string>ApparelModel_viewAsODG</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list>
<string>preferred_organisation_logo</string>
<string>preferred_organisation_corporate_name</string>
<string>preferred_organisation_address</string>
<string>preferred_organisation_telfax</string>
</list>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list>
<string>variation_colour_title_1</string>
<string>variation_colour_1</string>
<string>variation_colour_title_2</string>
<string>variation_colour_2</string>
<string>variation_colour_title_3</string>
<string>variation_colour_3</string>
<string>variation_colour_title_4</string>
<string>variation_colour_4</string>
<string>variation_colour_title_5</string>
<string>variation_colour_5</string>
<string>my_description</string>
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_apparel_shape_thumbnail</string>
<string>my_sale_supply_line_base_price</string>
<string>delay_title</string>
<string>prototype_thumbnail</string>
<string>prototype_title</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list>
<string>composition_title</string>
<string>my_brand_list</string>
<string>my_collection_list</string>
<string>morphology_title</string>
<string>size_title</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ApparelModel_PrintoutFormView</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>ApparelModel_PrintoutFormView</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>ApparelModel_Printout</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>your_target_language</string>
<string>your_international_form</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list>
<string>your_format</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ApparelModel_viewODGPrintDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>ApparelModel_viewODGPrintDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Print Apparel Model</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
238 239
\ No newline at end of file \ No newline at end of file
...@@ -111,6 +111,7 @@ Apparel Model Module | sort_on ...@@ -111,6 +111,7 @@ Apparel Model Module | sort_on
Apparel Model Module | view Apparel Model Module | view
Apparel Model Module | workflow_report Apparel Model Module | workflow_report
Apparel Model Morphology Variation | view Apparel Model Morphology Variation | view
Apparel Model | apparel_model_print
Apparel Model | copy_colour_range_variation Apparel Model | copy_colour_range_variation
Apparel Model | copy_composition Apparel Model | copy_composition
Apparel Model | development Apparel Model | development
......
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