Commit 430c066f authored by Sebastien Robin's avatar Sebastien Robin

added check model type variation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10543 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 254b94f0
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>metadata</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Manage portal</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>3.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Metadata</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/metadata_edit</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_print</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>print</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Print</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Base_printPdf</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/CheckModelTypeVariation_view</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<portal_type id="Cash Delivery Line"> <portal_type id="Cash Delivery Line">
<item>Cash Delivery Cell</item> <item>Cash Delivery Cell</item>
</portal_type> </portal_type>
<portal_type id="Check Model">
<item>Check Model Type Variation</item>
</portal_type>
<portal_type id="Check Module"> <portal_type id="Check Module">
<item>Check</item> <item>Check</item>
</portal_type> </portal_type>
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<portal_type id="Cash Delivery Cell"> <portal_type id="Cash Delivery Cell">
<item>variation</item> <item>variation</item>
</portal_type> </portal_type>
<portal_type id="Check Model Type Variation">
<item>check_type</item>
</portal_type>
<portal_type id="Checkbook"> <portal_type id="Checkbook">
<item>resource</item> <item>resource</item>
<item>check_amount</item> <item>check_amount</item>
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
<portal_type id="Check Model"> <portal_type id="Check Model">
<item>CheckModel</item> <item>CheckModel</item>
</portal_type> </portal_type>
<portal_type id="Check Model Type Variation">
<item>Amount</item>
</portal_type>
<portal_type id="Checkbook"> <portal_type id="Checkbook">
<item>VariationRange</item> <item>VariationRange</item>
<item>Task</item> <item>Task</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.ERP5Type</string>
<string>ERP5TypeInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_actions</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_aliases</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_roles</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>base_category_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>content_icon</string> </key>
<value> <string>organisation_icon.gif</string> </value>
</item>
<item>
<key> <string>content_meta_type</string> </key>
<value> <string>ERP5 Variation</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>This is a variation for the number of checks per checkbook.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addVariation</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>variation</string>
</tuple>
</value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Check Model Type Variation</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string>CheckModelTypeVariation_init</string> </value>
</item>
<item>
<key> <string>property_sheet_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -92,9 +92,9 @@ if site is None:\n ...@@ -92,9 +92,9 @@ if site is None:\n
site = context.Baobab_getVaultSite(site)\n site = context.Baobab_getVaultSite(site)\n
\n \n
kw = {"portal_type" : \'Counter Date\', "start_date" : str(date), "site_id" : site.getId(), "simulation_state" : "open"}\n kw = {"portal_type" : \'Counter Date\', "start_date" : str(date), "site_id" : site.getId(), "simulation_state" : "open"}\n
context.log(\'Baobab_checkCounterDateOpen\', \'kw = %s\' %(kw,))\n #context.log(\'Baobab_checkCounterDateOpen\', \'kw = %s\' %(kw,))\n
counter_date_list = [x.getObject() for x in context.portal_catalog(**kw)]\n counter_date_list = [x.getObject() for x in context.portal_catalog(**kw)]\n
context.log(\'Baobab_checkCounterDateOpen\', \'counter_date_list = %s, requete = %s\' %(counter_date_list, context.portal_catalog(src__=1, **kw)))\n #context.log(\'Baobab_checkCounterDateOpen\', \'counter_date_list = %s, requete = %s\' %(counter_date_list, context.portal_catalog(src__=1, **kw)))\n
\n \n
if len(counter_date_list) == 0:\n if len(counter_date_list) == 0:\n
return 0\n return 0\n
......
...@@ -80,6 +80,7 @@ depth = len(parent.getPath().split(\'/\')[3:])\n ...@@ -80,6 +80,7 @@ depth = len(parent.getPath().split(\'/\')[3:])\n
\n \n
for vault in vault_list:\n for vault in vault_list:\n
if vault[0] != \'\':\n if vault[0] != \'\':\n
context.log("vault[0]", vault[0])\n
if len(vault[0].split(\'/\')) == depth: \n if len(vault[0].split(\'/\')) == depth: \n
if depth > 1 and vault[0].split(\'/\')[-2] != parent.getId():\n if depth > 1 and vault[0].split(\'/\')[-2] != parent.getId():\n
# only add those from parent\n # only add those from parent\n
......
...@@ -344,7 +344,7 @@ else :\n ...@@ -344,7 +344,7 @@ else :\n
line[\'resource_translated_title\'] = resource_list[0].getObject().getTranslatedTitle()\n line[\'resource_translated_title\'] = resource_list[0].getObject().getTranslatedTitle()\n
# get the number of lines to add\n # get the number of lines to add\n
if line.has_key(\'number_line_to_add\'):\n if line.has_key(\'number_line_to_add\'):\n
lines_to_add = line[\'number_line_to_add\']\n lines_to_add = int(line[\'number_line_to_add\'])\n
else:\n else:\n
lines_to_add = 0\n lines_to_add = 0\n
line[\'number_line_to_add\'] = 0\n line[\'number_line_to_add\'] = 0\n
...@@ -501,6 +501,7 @@ else :\n ...@@ -501,6 +501,7 @@ else :\n
<string>new_line_list</string> <string>new_line_list</string>
<string>resource_id</string> <string>resource_id</string>
<string>resource_list</string> <string>resource_list</string>
<string>int</string>
<string>lines_to_add</string> <string>lines_to_add</string>
<string>xrange</string> <string>xrange</string>
<string>num</string> <string>num</string>
......
...@@ -172,11 +172,11 @@ variation_not_defined = 0\n ...@@ -172,11 +172,11 @@ variation_not_defined = 0\n
for resource_id in per_resource_dict.keys():\n for resource_id in per_resource_dict.keys():\n
variation_list_dict = per_resource_dict[resource_id].values()\n variation_list_dict = per_resource_dict[resource_id].values()\n
# get the resource\n # get the resource\n
resource_list = context.portal_catalog(portal_type = (\'Banknote\',\'Coin\'), id = resource_id)\n #resource_list = context.portal_catalog(portal_type = (\'Banknote\',\'Coin\'), id = resource_id)\n
if len(resource_list) == 0:\n #if len(resource_list) == 0:\n
#context.log(\'CashDetail_saveFastInputLine\', \'Cannot get the resource object for id = %s\' %(resource_id,))\n # #context.log(\'CashDetail_saveFastInputLine\', \'Cannot get the resource object for id = %s\' %(resource_id,))\n
continue\n # continue\n
resource_object = resource_list[0].getObject()\n resource_object = context.currency_cash_module[resource_id]\n
# get the variation\n # get the variation\n
emission_letter_dict = {}\n emission_letter_dict = {}\n
cash_status_dict = {}\n cash_status_dict = {}\n
...@@ -200,8 +200,8 @@ for resource_id in per_resource_dict.keys():\n ...@@ -200,8 +200,8 @@ for resource_id in per_resource_dict.keys():\n
variation_category_list = emission_letter_dict.keys() + cash_status_dict.keys() + variation_dict.keys()\n variation_category_list = emission_letter_dict.keys() + cash_status_dict.keys() + variation_dict.keys()\n
# create the cash line\n # create the cash line\n
line = context.newContent(portal_type = line_portal_type\n line = context.newContent(portal_type = line_portal_type\n
, resource_value = resource_object # banknote or coin\n , resource = resource_object.getRelativeUrl() # banknote or coin\n
, quantity_unit_value = context.portal_categories.quantity_unit.unit\n , quantity_unit = \'unit\'\n
)\n )\n
# set base category list on line\n # set base category list on line\n
line.setVariationBaseCategoryList(base_category_list)\n line.setVariationBaseCategoryList(base_category_list)\n
...@@ -225,7 +225,7 @@ for resource_id in per_resource_dict.keys():\n ...@@ -225,7 +225,7 @@ for resource_id in per_resource_dict.keys():\n
c.edit(membership_criterion_category_list = category_list\n c.edit(membership_criterion_category_list = category_list\n
, mapped_value_property_list = mapped_value_list\n , mapped_value_property_list = mapped_value_list\n
, category_list = category_list\n , category_list = category_list\n
, price = line.getResourceValue().getBasePrice()\n , price = resource_object.getBasePrice()\n
, force_update = 1\n , force_update = 1\n
)\n )\n
# set quantity on cell to define quantity of bank notes / coins\n # set quantity on cell to define quantity of bank notes / coins\n
...@@ -264,6 +264,11 @@ if variation_not_defined:\n ...@@ -264,6 +264,11 @@ if variation_not_defined:\n
)\n )\n
request[ \'RESPONSE\' ].redirect( redirect_url )\n request[ \'RESPONSE\' ].redirect( redirect_url )\n
else:\n else:\n
request_form = context.REQUEST.form\n
#request_form[\'pickle_string\'] = \'\'\n
#context.Base_updateDialogForm(pickle_string=\'\',portal_status_message=\'Lines Created\')\n
#main_form = getattr(context,form_id)\n
#return main_form(portal_status_message=\'Lines Created\')\n
request = context.REQUEST\n request = context.REQUEST\n
redirect_url = \'%s/view?%s\' % ( context.absolute_url()\n redirect_url = \'%s/view?%s\' % ( context.absolute_url()\n
, \'portal_status_message=Lines%20Created\'\n , \'portal_status_message=Lines%20Created\'\n
...@@ -299,7 +304,7 @@ else:\n ...@@ -299,7 +304,7 @@ else:\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>listbox=None, **kw</string> </value> <value> <string>listbox=None, form_id=None,**kw</string> </value>
</item> </item>
<item> <item>
<key> <string>_proxy_roles</string> </key> <key> <string>_proxy_roles</string> </key>
...@@ -327,13 +332,14 @@ else:\n ...@@ -327,13 +332,14 @@ else:\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>1</int> </value> <value> <int>2</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>listbox</string> <string>listbox</string>
<string>form_id</string>
<string>kw</string> <string>kw</string>
<string>cell_base_id</string> <string>cell_base_id</string>
<string>line_kwd</string> <string>line_kwd</string>
...@@ -368,7 +374,6 @@ else:\n ...@@ -368,7 +374,6 @@ else:\n
<string>resource_id</string> <string>resource_id</string>
<string>variation_not_defined</string> <string>variation_not_defined</string>
<string>variation_list_dict</string> <string>variation_list_dict</string>
<string>resource_list</string>
<string>resource_object</string> <string>resource_object</string>
<string>emission_letter_dict</string> <string>emission_letter_dict</string>
<string>cash_status_dict</string> <string>cash_status_dict</string>
...@@ -393,6 +398,7 @@ else:\n ...@@ -393,6 +398,7 @@ else:\n
<string>x</string> <string>x</string>
<string>request</string> <string>request</string>
<string>redirect_url</string> <string>redirect_url</string>
<string>request_form</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -406,6 +412,7 @@ else:\n ...@@ -406,6 +412,7 @@ else:\n
<value> <value>
<tuple> <tuple>
<none/> <none/>
<none/>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox</string> </value> <value> <string>listbox</string> </value>
...@@ -107,6 +113,10 @@ ...@@ -107,6 +113,10 @@
<key> <string>meta_types</string> </key> <key> <string>meta_types</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -246,6 +256,10 @@ ...@@ -246,6 +256,10 @@
<key> <string>meta_types</string> </key> <key> <string>meta_types</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -417,6 +431,10 @@ ...@@ -417,6 +431,10 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
...@@ -449,7 +467,7 @@ ...@@ -449,7 +467,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>Container_fastInputForm_selection</string> </value> <value> <string>CashDetail_fastInputForm_selection</string> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
...@@ -541,7 +559,7 @@ ...@@ -541,7 +559,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>method_name</string> </key> <key> <string>method_name</string> </key>
<value> <unicode>ListBox_initializeFastInput</unicode> </value> <value> <string>ListBox_initializeFastInput</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_cash_status</string> </value> <value> <string>listbox_cash_status</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column</string> </value> <value> <string>listbox_column</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column1</string> </value> <value> <string>listbox_column1</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column10</string> </value> <value> <string>listbox_column10</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column11</string> </value> <value> <string>listbox_column11</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column12</string> </value> <value> <string>listbox_column12</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column13</string> </value> <value> <string>listbox_column13</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column14</string> </value> <value> <string>listbox_column14</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column15</string> </value> <value> <string>listbox_column15</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column2</string> </value> <value> <string>listbox_column2</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column3</string> </value> <value> <string>listbox_column3</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column4</string> </value> <value> <string>listbox_column4</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column5</string> </value> <value> <string>listbox_column5</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column6</string> </value> <value> <string>listbox_column6</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column7</string> </value> <value> <string>listbox_column7</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column8</string> </value> <value> <string>listbox_column8</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_column9</string> </value> <value> <string>listbox_column9</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_displayed_resource</string> </value> <value> <string>listbox_displayed_resource</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_emission_letter</string> </value> <value> <string>listbox_emission_letter</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_number_line_to_add</string> </value> <value> <string>listbox_number_line_to_add</string> </value>
...@@ -160,9 +166,7 @@ ...@@ -160,9 +166,7 @@
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value> <string></string> </value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
...@@ -267,22 +271,6 @@ ...@@ -267,22 +271,6 @@
<string>6</string> <string>6</string>
<string>6</string> <string>6</string>
</tuple> </tuple>
<tuple>
<string>7</string>
<string>7</string>
</tuple>
<tuple>
<string>8</string>
<string>8</string>
</tuple>
<tuple>
<string>9</string>
<string>9</string>
</tuple>
<tuple>
<string>10</string>
<string>10</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -312,23 +300,4 @@ ...@@ -312,23 +300,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:[[x,x] for x in range(0,7)]</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_price</string> </value> <value> <string>listbox_price</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_resource_id</string> </value> <value> <string>listbox_resource_id</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_variation</string> </value> <value> <string>listbox_variation</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_calculated_price</string> </value> <value> <string>my_calculated_price</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_cash_status_list</string> </value> <value> <string>my_cash_status_list</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_emission_letter_list</string> </value> <value> <string>my_emission_letter_list</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_line_portal_type</string> </value> <value> <string>my_line_portal_type</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_operation_currency</string> </value> <value> <string>my_operation_currency</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_other_parameter</string> </value> <value> <string>my_other_parameter</string> </value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_variation_list</string> </value> <value> <string>my_variation_list</string> </value>
......
...@@ -104,6 +104,8 @@ if vault_report_type is None or vault_report_type==\'inventory\':\n ...@@ -104,6 +104,8 @@ if vault_report_type is None or vault_report_type==\'inventory\':\n
# add to get by portal type inventory\n # add to get by portal type inventory\n
if kw.has_key("portal_type"):\n if kw.has_key("portal_type"):\n
inventory_kw[\'portal_type\'] = kw[\'portal_type\']\n inventory_kw[\'portal_type\'] = kw[\'portal_type\']\n
if kw.has_key("explanation_portal_type"):\n
inventory_kw[\'explanation_portal_type\'] = kw[\'explanation_portal_type\']\n
if kw.has_key("omit_input"):\n if kw.has_key("omit_input"):\n
inventory_kw[\'omit_input\'] = kw[\'omit_input\']\n inventory_kw[\'omit_input\'] = kw[\'omit_input\']\n
if kw.has_key("omit_output"):\n if kw.has_key("omit_output"):\n
......
...@@ -72,6 +72,8 @@ ...@@ -72,6 +72,8 @@
# return context.getMovementList(portal_type=portal_type)\n # return context.getMovementList(portal_type=portal_type)\n
# here we suppose we have only two level of portal type\n # here we suppose we have only two level of portal type\n
#context.log("Delivery_getMovementList", "portal_type = %s" %(portal_type,))\n
\n
if not same_type(portal_type, []):\n if not same_type(portal_type, []):\n
return context.getMovementList(portal_type=portal_type)\n return context.getMovementList(portal_type=portal_type)\n
if len(portal_type) > 2 or len(portal_type) == 0:\n if len(portal_type) > 2 or len(portal_type) == 0:\n
...@@ -107,6 +109,12 @@ return cell_list\n ...@@ -107,6 +109,12 @@ return cell_list\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -191,4 +199,25 @@ return cell_list\n ...@@ -191,4 +199,25 @@ return cell_list\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -68,9 +68,7 @@ ...@@ -68,9 +68,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string># vault_type = None : D\xc3\xa9finit les vaut_types \xc3\xa0 afficher,\n
# vault_type = None : D\xc3\xa9finit les vaut_types \xc3\xa0 afficher,\n
# si valeur est None on r\xc3\xa9cup\xc3\xa8re vault_type\n # si valeur est None on r\xc3\xa9cup\xc3\xa8re vault_type\n
# depuis les sites auxquels est assign\xc3\xa9 l\'user\n # depuis les sites auxquels est assign\xc3\xa9 l\'user\n
# exclude_vault_type = None : D\xc3\xa9finit les vaut_types \xc3\xa0 exclure,\n # exclude_vault_type = None : D\xc3\xa9finit les vaut_types \xc3\xa0 exclure,\n
...@@ -93,47 +91,6 @@ ...@@ -93,47 +91,6 @@
# ont le meme vault_type\n # ont le meme vault_type\n
\n \n
from Products.ERP5Type.Cache import CachingMethod\n from Products.ERP5Type.Cache import CachingMethod\n
from DateTime import DateTime\n
\n
def calculateNewTitle(title_path_list,path_len=0):\n
if \'Encaisse\' in title_path_list[-1]:\n
id = title_path_list[-1].lstrip("Encaisse des ")\n
else:\n
id = title_path_list[-1]\n
# get a counter if there is\n
counter_name = None\n
for counter in [\'Guichet 1\', \'Guichet 2\', \'Guichet 3\']:\n
if counter in title_path_list:\n
# produce a shorter name for the counter\n
counter_name = \'%s%s\' %(counter[0], counter[-1])\n
# remove counter to construct the list as if there is none\n
title_path_list.remove(counter)\n
path_len = path_len - 1\n
\n
new_title_list = []\n
# create new title\n
if \'Siege\' in title_path_list:\n
new_title_list.append(title_path_list[0]) # ie Siege\n
if path_len > 2:\n
new_title_list.append(title_path_list[2]) # ie Auxiliaire, Devise...\n
if id not in new_title_list: # ie last part of path\n
new_title_list.append(id)\n
else:\n
if path_len <= 2:\n
new_title_list = title_path_list[:]\n
for i in xrange(path_len):\n
if i%2 == 0 and i != 0:\n
new_title_list.append(title_path_list[i])\n
elif \'Ventilation\' in title_path_list[i]:\n
new_title_list.append(\'Ventilation\')\n
elif \'Transit\' in title_path_list[i]:\n
new_title_list.append(\'Transit\')\n
if id not in new_title_list and not id.startswith(\'Guichet\'): # ie last part of path\n
new_title_list.append(id)\n
# put back the counter name into the list\n
if counter_name is not None:\n
new_title_list.insert(2, counter_name)\n
return new_title_list\n
\n \n
def getVaultItemList(vault_type=None, exclude_vault_type=None,\n def getVaultItemList(vault_type=None, exclude_vault_type=None,\n
user_site=1, leaf_node=1, strict_membership=0, assignment_list=None, \n user_site=1, leaf_node=1, strict_membership=0, assignment_list=None, \n
...@@ -179,7 +136,6 @@ def getVaultItemList(vault_type=None, exclude_vault_type=None,\n ...@@ -179,7 +136,6 @@ def getVaultItemList(vault_type=None, exclude_vault_type=None,\n
vault_dict = {}\n vault_dict = {}\n
is_member_of = context.portal_categories.isMemberOf\n is_member_of = context.portal_categories.isMemberOf\n
get_cat_value = context.portal_categories.getCategoryValue\n get_cat_value = context.portal_categories.getCategoryValue\n
end = DateTime()\n
for site in site_list:\n for site in site_list:\n
site_object = get_cat_value(site, base_category=\'site\')\n site_object = get_cat_value(site, base_category=\'site\')\n
\n \n
...@@ -229,7 +185,7 @@ def getVaultItemList(vault_type=None, exclude_vault_type=None,\n ...@@ -229,7 +185,7 @@ def getVaultItemList(vault_type=None, exclude_vault_type=None,\n
id_path_list = id_path_list[:-1]\n id_path_list = id_path_list[:-1]\n
path_len = path_len - 1\n path_len = path_len - 1\n
\n \n
new_title_list = calculateNewTitle(title_path_list,path_len=path_len)\n new_title_list = context.Base_calculateBeautifulSiteLogicalPath(title_path_list,path_len=path_len)\n
\n \n
new_id = \'/\'.join(new_title_list)\n new_id = \'/\'.join(new_title_list)\n
if with_base:\n if with_base:\n
...@@ -243,7 +199,7 @@ def getVaultItemList(vault_type=None, exclude_vault_type=None,\n ...@@ -243,7 +199,7 @@ def getVaultItemList(vault_type=None, exclude_vault_type=None,\n
vault_list.sort()\n vault_list.sort()\n
return vault_list\n return vault_list\n
\n \n
getVaultItemList = CachingMethod(getVaultItemList, id=(\'Delivery_getVaultItemList\', \'getVaultItemList\'), cache_duration=360000)\n getVaultItemList = CachingMethod(getVaultItemList, id=(\'Delivery_getVaultItemList\', \'getVaultItemList\'), cache_duration=None)\n
\n \n
if vault_type is None:\n if vault_type is None:\n
assignment_list = context.Baobab_getUserAssignmentList()\n assignment_list = context.Baobab_getUserAssignmentList()\n
...@@ -283,14 +239,12 @@ if current_url != None :\n ...@@ -283,14 +239,12 @@ if current_url != None :\n
if current_category.getRelativeUrl() not in [x[1] for x in vault_list] :\n if current_category.getRelativeUrl() not in [x[1] for x in vault_list] :\n
# Get the logical path of the current category\n # Get the logical path of the current category\n
logical_path_list = current_category.getLogicalPath().split(\'/\')\n logical_path_list = current_category.getLogicalPath().split(\'/\')\n
title = \'/\'.join(calculateNewTitle(logical_path_list,path_len=len(logical_path_list)))\n title = \'/\'.join(context.Base_calculateBeautifulSiteLogicalPath(logical_path_list,path_len=len(logical_path_list)))\n
return [(\'\', \'\'), (title, current_url)] + list(vault_list)\n return [(\'\', \'\'), (title, current_url)] + list(vault_list)\n
else :\n else :\n
return [(\'\', \'\'), (context.Localizer.erp5_ui.gettext(\'Unknown Vault\')+\' : %s\' % current_url, current_url)] + list(vault_list)\n return [(\'\', \'\'), (context.Localizer.erp5_ui.gettext(\'Unknown Vault\')+\' : %s\' % current_url, current_url)] + list(vault_list)\n
return [(\'\', \'\')] + list(vault_list)\n return [(\'\', \'\')] + list(vault_list)\n
</string> </value>
]]></string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
...@@ -365,8 +319,6 @@ return [(\'\', \'\')] + list(vault_list)\n ...@@ -365,8 +319,6 @@ return [(\'\', \'\')] + list(vault_list)\n
<string>first_level</string> <string>first_level</string>
<string>Products.ERP5Type.Cache</string> <string>Products.ERP5Type.Cache</string>
<string>CachingMethod</string> <string>CachingMethod</string>
<string>DateTime</string>
<string>calculateNewTitle</string>
<string>None</string> <string>None</string>
<string>getVaultItemList</string> <string>getVaultItemList</string>
<string>_getattr_</string> <string>_getattr_</string>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </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_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<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>_body</string> </key>
<value> <string>from Products.ERP5Type.Cache import CachingMethod\n
\n
def Movement_lookupPrice():\n
resource = context.getResourceValue()\n
if resource is not None:\n
return resource.getPrice(context=context)\n
else:\n
return None\n
\n
return CachingMethod(Movement_lookupPrice, (\'erp5_banking_core/Movement_lookupPrice\', context.getResource()), cache_duration=None)()\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>kw</string>
<string>Products.ERP5Type.Cache</string>
<string>CachingMethod</string>
<string>Movement_lookupPrice</string>
<string>_getattr_</string>
<string>context</string>
<string>None</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Movement_lookupPrice</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.States</string>
<string>StateDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>archived</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -46,10 +46,14 @@ ...@@ -46,10 +46,14 @@
<key> <string>transitions</string> </key> <key> <string>transitions</string> </key>
<value> <value>
<tuple> <tuple>
<string>archive</string>
<string>archive_action</string>
<string>cancel</string> <string>cancel</string>
<string>cancel_action</string> <string>cancel_action</string>
<string>deliver</string> <string>deliver</string>
<string>deliver_action</string> <string>deliver_action</string>
<string>stop</string>
<string>stop_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.States</string>
<string>StateDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>stopped</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Stopped (Check)</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>confirm</string>
<string>confirm_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>archive</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>archived</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>archive</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>archive_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>stop</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>stopped</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>stop</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>stop_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
15 18
\ No newline at end of file \ No newline at end of file
None
\ No newline at end of file
...@@ -10,6 +10,9 @@ Cash Delivery Cell | view ...@@ -10,6 +10,9 @@ Cash Delivery Cell | view
Cash Delivery Line | metadata Cash Delivery Line | metadata
Cash Delivery Line | print Cash Delivery Line | print
Cash Delivery Line | view Cash Delivery Line | view
Check Model Type Variation | metadata
Check Model Type Variation | print
Check Model Type Variation | view
Check Model | history Check Model | history
Check Model | metadata Check Model | metadata
Check Model | print Check Model | print
......
Cash Delivery Line | Cash Delivery Cell Cash Delivery Line | Cash Delivery Cell
Check Model | Check Model Type Variation
Check Module | Check Check Module | Check
Checkbook Model Module | Check Model Checkbook Model Module | Check Model
Checkbook Model Module | Checkbook Model Checkbook Model Module | Checkbook Model
......
Cash Delivery Cell | variation Cash Delivery Cell | variation
Check Model Type Variation | check_type
Checkbook | check_amount Checkbook | check_amount
Checkbook | resource Checkbook | resource
Counter Date | site Counter Date | site
\ No newline at end of file
...@@ -4,6 +4,7 @@ Cash Delivery Cell ...@@ -4,6 +4,7 @@ Cash Delivery Cell
Cash Delivery Line Cash Delivery Line
Check Check
Check Model Check Model
Check Model Type Variation
Check Module Check Module
Check Operation Line Check Operation Line
Checkbook Checkbook
......
...@@ -5,6 +5,7 @@ Banking Operation Line | Task ...@@ -5,6 +5,7 @@ Banking Operation Line | Task
Cash Delivery Cell | CashDeliveryLine Cash Delivery Cell | CashDeliveryLine
Cash Delivery Line | CashDeliveryLine Cash Delivery Line | CashDeliveryLine
Category | BaobabCategory Category | BaobabCategory
Check Model Type Variation | Amount
Check Model | CheckModel Check Model | CheckModel
Check | Arrow Check | Arrow
Check | Task Check | Task
......
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