Commit 9e00b3e0 authored by Sebastien Robin's avatar Sebastien Robin

xml syntax has changed

remove the init script on Counter, it was a bad hack

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9886 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16c53da7
......@@ -146,6 +146,18 @@
<dictionary/>
</value>
</item>
<item>
<key> <string>getStartDate</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getStopDate</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getStringIndex</string> </key>
<value>
......@@ -225,37 +237,39 @@
<key> <string>_keys</string> </key>
<value>
<list>
<string>uid</string>
<string>security_uid</string>
<string>getPath</string>
<string>getRelativeUrl</string>
<string>getParentUid</string>
<string>id</string>
<string>getDescription</string>
<string>getTitle</string>
<string>meta_type</string>
<string>getPortalType</string>
<string>opportunity_state</string>
<string>getCorporateRegistrationCode</string>
<string>getEan13Code</string>
<string>getSimulationState</string>
<string>getSimulationStateTitle</string>
<string>causality_state</string>
<string>invoice_state</string>
<string>validation_state</string>
<string>validation_state_title</string>
<string>payment_state</string>
<string>event_state</string>
<string>getReference</string>
<string>getGroupingReference</string>
<string>getSourceReference</string>
<string>getDestinationReference</string>
<string>getStringIndex</string>
<string>getIntIndex</string>
<string>getFloatIndex</string>
<string>hasCellContent</string>
<string>getCreationDate</string>
<string>getModificationDate</string>
<string>uid</string>
<string>security_uid</string>
<string>getPath</string>
<string>getRelativeUrl</string>
<string>getParentUid</string>
<string>id</string>
<string>getDescription</string>
<string>getTitle</string>
<string>meta_type</string>
<string>getPortalType</string>
<string>opportunity_state</string>
<string>getCorporateRegistrationCode</string>
<string>getEan13Code</string>
<string>getSimulationState</string>
<string>getSimulationStateTitle</string>
<string>causality_state</string>
<string>invoice_state</string>
<string>validation_state</string>
<string>validation_state_title</string>
<string>payment_state</string>
<string>event_state</string>
<string>getReference</string>
<string>getGroupingReference</string>
<string>getSourceReference</string>
<string>getDestinationReference</string>
<string>getStringIndex</string>
<string>getIntIndex</string>
<string>getFloatIndex</string>
<string>hasCellContent</string>
<string>getCreationDate</string>
<string>getModificationDate</string>
<string>getStartDate</string>
<string>getStopDate</string>
</list>
</value>
</item>
......@@ -302,7 +316,9 @@ getIntIndex\r\n
getFloatIndex\r\n
hasCellContent\r\n
getCreationDate\r\n
getModificationDate</string> </value>
getModificationDate\r\n
getStartDate\r\n
getStopDate</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -377,7 +393,9 @@ VALUES\n
<dtml-sqlvar expr="getFloatIndex[loop_item]" type="float" optional>,\n
<dtml-sqlvar expr="hasCellContent[loop_item]" type="int" optional>,\n
<dtml-sqlvar expr="getCreationDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>\n
<dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>\n
)\n
<dtml-if sequence-end><dtml-else>,</dtml-if>\n
</dtml-in>\n
......@@ -454,7 +472,9 @@ VALUES\n
<dtml-sqlvar expr="getFloatIndex[loop_item]" type="float" optional>,\n
<dtml-sqlvar expr="hasCellContent[loop_item]" type="int" optional>,\n
<dtml-sqlvar expr="getCreationDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>\n
<dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>\n
)\n
<dtml-if sequence-end><dtml-else>,</dtml-if>\n
</dtml-in>\n
......
......@@ -127,6 +127,8 @@ CREATE TABLE `catalog` (\n
`has_cell_content` bool,\n
`creation_date` datetime,\n
`modification_date` datetime,\n
`start_date` datetime,\n
`stop_date` datetime,\n
PRIMARY KEY (`uid`),\n
KEY `security_uid` (`security_uid`),\n
KEY `Parent` (`parent_uid`),\n
......@@ -215,6 +217,8 @@ CREATE TABLE `catalog` (\n
`has_cell_content` bool,\n
`creation_date` datetime,\n
`modification_date` datetime,\n
`start_date` datetime,\n
`stop_date` datetime,\n
PRIMARY KEY (`uid`),\n
KEY `security_uid` (`security_uid`),\n
KEY `Parent` (`parent_uid`),\n
......
......@@ -300,9 +300,8 @@
<name>Add Z MySQL Database Connections</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Z MySQL Database Deferred Connections</name>
<role>Manager</role>
<permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name>
</permission>
<permission type='tuple'>
<name>Add ZCatalogs</name>
......@@ -489,6 +488,9 @@
<name>Edit ReStructuredText</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit target</name>
</permission>
<permission type='tuple'>
<name>FTP access</name>
<role>Manager</role>
......
......@@ -302,8 +302,8 @@
<name>Add Z MySQL Database Connections</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Z MySQL Database Deferred Connections</name>
<permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name>
</permission>
<permission type='tuple'>
<name>Add ZCatalogs</name>
......@@ -490,6 +490,9 @@
<name>Edit ReStructuredText</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit target</name>
</permission>
<permission type='tuple'>
<name>FTP access</name>
<role>Manager</role>
......
......@@ -292,8 +292,8 @@
<name>Add Z MySQL Database Connections</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Z MySQL Database Deferred Connections</name>
<permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name>
</permission>
<permission type='tuple'>
<name>Add ZCatalogs</name>
......@@ -479,6 +479,9 @@
<name>Edit ReStructuredText</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit target</name>
</permission>
<permission type='tuple'>
<name>FTP access</name>
<role>Manager</role>
......
......@@ -300,8 +300,8 @@
<name>Add Z MySQL Database Connections</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Z MySQL Database Deferred Connections</name>
<permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name>
</permission>
<permission type='tuple'>
<name>Add ZCatalogs</name>
......@@ -488,6 +488,9 @@
<name>Edit ReStructuredText</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit target</name>
</permission>
<permission type='tuple'>
<name>FTP access</name>
<role>Manager</role>
......
......@@ -300,8 +300,8 @@
<name>Add Z MySQL Database Connections</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Z MySQL Database Deferred Connections</name>
<permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name>
</permission>
<permission type='tuple'>
<name>Add ZCatalogs</name>
......@@ -488,6 +488,9 @@
<name>Edit ReStructuredText</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit target</name>
</permission>
<permission type='tuple'>
<name>FTP access</name>
<role>Manager</role>
......
......@@ -300,8 +300,8 @@
<name>Add Z MySQL Database Connections</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Z MySQL Database Deferred Connections</name>
<permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name>
</permission>
<permission type='tuple'>
<name>Add ZCatalogs</name>
......@@ -488,6 +488,9 @@
<name>Edit ReStructuredText</name>
<role>Manager</role>
</permission>
<permission type='list'>
<name>Edit target</name>
</permission>
<permission type='tuple'>
<name>FTP access</name>
<role>Manager</role>
......
......@@ -123,12 +123,6 @@
<none/>
</value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
......@@ -172,399 +166,4 @@
<none/>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary>
<item>
<key> <string>account_workflow</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global id="5.1" name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_aday</string> </key>
<value> <string>Fri</string> </value>
</item>
<item>
<key> <string>_amon</string> </key>
<value> <string>Jun</string> </value>
</item>
<item>
<key> <string>_d</string> </key>
<value> <float>38503.5912613</float> </value>
</item>
<item>
<key> <string>_day</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>_dayoffset</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>_fday</string> </key>
<value> <string>Friday</string> </value>
</item>
<item>
<key> <string>_fmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_hour</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>_millis</string> </key>
<value> <long>1149257484975</long> </value>
</item>
<item>
<key> <string>_minute</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>_month</string> </key>
<value> <int>6</int> </value>
</item>
<item>
<key> <string>_nearsec</string> </key>
<value> <float>24.0</float> </value>
</item>
<item>
<key> <string>_pday</string> </key>
<value> <string>Fri.</string> </value>
</item>
<item>
<key> <string>_pm</string> </key>
<value> <string>pm</string> </value>
</item>
<item>
<key> <string>_pmhour</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>_pmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_second</string> </key>
<value> <float>24.975</float> </value>
</item>
<item>
<key> <string>_t</string> </key>
<value> <float>1149257484.97</float> </value>
</item>
<item>
<key> <string>_tz</string> </key>
<value> <string>GMT+2</string> </value>
</item>
<item>
<key> <string>_year</string> </key>
<value> <int>2006</int> </value>
</item>
<item>
<key> <string>time</string> </key>
<value> <float>0.591261284724</float> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>draft</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>edit_workflow</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="5.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_aday</string> </key>
<value> <string>Fri</string> </value>
</item>
<item>
<key> <string>_amon</string> </key>
<value> <string>Jun</string> </value>
</item>
<item>
<key> <string>_d</string> </key>
<value> <float>38503.5912613</float> </value>
</item>
<item>
<key> <string>_day</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>_dayoffset</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>_fday</string> </key>
<value> <string>Friday</string> </value>
</item>
<item>
<key> <string>_fmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_hour</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>_millis</string> </key>
<value> <long>1149257484972</long> </value>
</item>
<item>
<key> <string>_minute</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>_month</string> </key>
<value> <int>6</int> </value>
</item>
<item>
<key> <string>_nearsec</string> </key>
<value> <float>24.0</float> </value>
</item>
<item>
<key> <string>_pday</string> </key>
<value> <string>Fri.</string> </value>
</item>
<item>
<key> <string>_pm</string> </key>
<value> <string>pm</string> </value>
</item>
<item>
<key> <string>_pmhour</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>_pmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_second</string> </key>
<value> <float>24.972</float> </value>
</item>
<item>
<key> <string>_t</string> </key>
<value> <float>1149257484.97</float> </value>
</item>
<item>
<key> <string>_tz</string> </key>
<value> <string>GMT+2</string> </value>
</item>
<item>
<key> <string>_year</string> </key>
<value> <int>2006</int> </value>
</item>
<item>
<key> <string>time</string> </key>
<value> <float>0.591261250003</float> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string>Object copied as bank_account</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass> <reference id="5.1"/> </klass>
<tuple>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_aday</string> </key>
<value> <string>Fri</string> </value>
</item>
<item>
<key> <string>_amon</string> </key>
<value> <string>Jun</string> </value>
</item>
<item>
<key> <string>_d</string> </key>
<value> <float>38503.5912613</float> </value>
</item>
<item>
<key> <string>_day</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>_dayoffset</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>_fday</string> </key>
<value> <string>Friday</string> </value>
</item>
<item>
<key> <string>_fmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_hour</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>_millis</string> </key>
<value> <long>1149257484979</long> </value>
</item>
<item>
<key> <string>_minute</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>_month</string> </key>
<value> <int>6</int> </value>
</item>
<item>
<key> <string>_nearsec</string> </key>
<value> <float>24.0</float> </value>
</item>
<item>
<key> <string>_pday</string> </key>
<value> <string>Fri.</string> </value>
</item>
<item>
<key> <string>_pm</string> </key>
<value> <string>pm</string> </value>
</item>
<item>
<key> <string>_pmhour</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>_pmon</string> </key>
<value> <string>June</string> </value>
</item>
<item>
<key> <string>_second</string> </key>
<value> <float>24.979</float> </value>
</item>
<item>
<key> <string>_t</string> </key>
<value> <float>1149257484.98</float> </value>
</item>
<item>
<key> <string>_tz</string> </key>
<value> <string>GMT+2</string> </value>
</item>
<item>
<key> <string>_year</string> </key>
<value> <int>2006</int> </value>
</item>
<item>
<key> <string>time</string> </key>
<value> <float>0.591261331021</float> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -96,7 +96,7 @@
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string>CounterDate_init</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>property_sheet_list</string> </key>
......
<workflow_chain>
<chain>
<type>Category</type>
<workflow>edit_workflow</workflow>
</chain>
<chain>
<type>Check</type>
<workflow>edit_workflow, check_workflow</workflow>
......
......@@ -123,7 +123,9 @@ return {\'error_code\':0, \'balance\':account_balance} # ok\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/BankAccount_checkAvailableBalance</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -71,15 +71,12 @@
<value> <string encoding="cdata"><![CDATA[
# check that the amount of `resource` in account `payment` is greater than or equal to `quantity`\n
\n
# returns a dictionnary like : {\'error_code\', \'balance\'}\n
\n
#workflow_id = \'bank_account_workflow\'\n
workflow_correct_state_list = (\'valid\', \'being_modified\', \'validating_modification\')\n
manual_validation_account_category_list = (\'test\',)\n
\n
# First check that the payment account is in an acceptable state\n
#payment_state = context.portal_workflow.getInfoFor(ob=payment, name=\'simulation_state\', wf_id=workflow_id)\n
payment_value = context.restrictedTraverse(payment)\n
payment_state = payment_value.getValidationState()\n
\n
......@@ -93,15 +90,10 @@ if resource is None :\n
\n
# Next, check the balance of the account\n
account_balance = resource.getFutureInventory(payment=payment, src__=src__)\n
context.log("account balance",account_balance)\n
context.log("resource payement", str((resource,payment)))\n
if src__ :\n
return account_balance \n
\n
if account_balance - quantity < 0 :\n
# if payment.getBankAccountType() in manual_validation_account_category_list :\n
# return {\'error_code\':3, \'balance\':account_balance} # manual_validation\n
\n
return {\'error_code\':1, \'balance\':account_balance} # insufficient balance\n
\n
return {\'error_code\':0, \'balance\':account_balance} # ok\n
......@@ -123,7 +115,9 @@ return {\'error_code\':0, \'balance\':account_balance} # ok\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/BankAccount_checkBalance</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......@@ -180,7 +174,6 @@ return {\'error_code\':0, \'balance\':account_balance} # ok\n
<string>None</string>
<string>AttributeError</string>
<string>account_balance</string>
<string>str</string>
</tuple>
</value>
</item>
......
......@@ -79,7 +79,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/BankAccount_getMessageTag</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -79,7 +79,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/BankAccount_isMessagePending</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -79,7 +79,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/BankingOperationLine_getBaobabSourcePayment</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -80,7 +80,9 @@ line.reindexObject(tag=context.BankAccount_getMessageTag(line.getDestinationPaym
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/BankingOperationLine_index</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -82,7 +82,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/BankingOperationLine_init</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -91,7 +91,7 @@ if site is None:\n
#context.log(\'Baobab_checkCounterDateOpen\', \'get site for vault %s\' %(site))\n
site = context.Baobab_getVaultSite(site)\n
\n
kw = {"portal_type" : \'Counter Date\', "delivery.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
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
......@@ -116,7 +116,9 @@ else:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_checkCounterDateOpen</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -86,7 +86,9 @@ else:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_checkCounterOpened</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -102,7 +102,9 @@ return domain_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_generateDestinationSiteDomainList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -102,7 +102,9 @@ return domain_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_generateSourceSiteDomainList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -81,7 +81,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getAccountingMovementTypeList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -86,7 +86,9 @@ return getCheckbookTypeItemList()\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getCheckbookTypeItemList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -105,7 +105,9 @@ return list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getCounterList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -97,7 +97,9 @@ return None\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getEmissionLetterSiteValue</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -131,7 +131,9 @@ return v_value.numbertoletter(pvalue)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getLitteralInteger</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -82,7 +82,9 @@ return \'\'\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getPortalDefaultPaymentNode</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -81,7 +81,9 @@ return context.getPortalObject().getProperty(\'reference_currency_id\')\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getPortalReferenceCurrencyID</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -111,7 +111,9 @@ return list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getPossibleUserAssignmentSiteList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -84,7 +84,9 @@ return bank_account.searchFolder(**kw)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getRelatedAgentList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -93,7 +93,9 @@ return operation_list_object\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getRemainingOperationList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -107,7 +107,9 @@ return getResourceVintageList(banknote, coin)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getResourceVintageList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -68,23 +68,24 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>baobab_id_group = (\'baobab\', \'bankng_operation\')\n
application_id = \'BA\'\n
\n
# first try to get the reference\n
<value> <string># first try to get the reference\n
try:\n
reference = context.getSourceReference()\n
except AttributeError:\n
return \'\'\n
\n
application_id = \'BA\'\n
\n
# if it\'s not defined, try to generate it\n
if reference in (None, \'\') or not str(reference).startswith(application_id):\n
date = context.getStopDate()\n
if date in (None, \'\'):\n
return \'No date defined\'\n
year = date.strftime(\'%Y\')\n
\n
# codification\n
source_url = context.getSource()\n
# Make sure we do not get the codification of a counter\n
if source_url not in (None, \'\'):\n
source = context.Baobab_getVaultSite(source_url)\n
source = context.getSourceValue()\n
if source not in (None, \'\'):\n
codification = source.getCodification()\n
if codification in (None, \'\'):\n
return \'\'\n
......@@ -99,16 +100,12 @@ if reference in (None, \'\') or not str(reference).startswith(application_id):\n
codification = site_value.getCodification()\n
if codification in (None, \'\'):\n
return \'\'\n
\n
# date\n
date = context.getStopDate()\n
if date in (None, \'\'):\n
return \'No date defined\'\n
year = date.strftime(\'%Y\')\n
\n
# actual generation\n
if reference in (None, \'\'):\n
reference = context.portal_ids.generateNewId(id_group = baobab_id_group)\n
baobab_id_group = (application_id, codification, year)\n
reference = context.portal_ids.generateNewLengthId(id_group = baobab_id_group)\n
\n
# affectation\n
reference = "%s-%s-%s-%s" % (application_id, codification, year, reference)\n
context.setSourceReference(reference)\n
......@@ -131,7 +128,9 @@ return reference\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getUniqueReference</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......@@ -167,15 +166,15 @@ return reference\n
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>baobab_id_group</string>
<string>application_id</string>
<string>_getattr_</string>
<string>context</string>
<string>reference</string>
<string>AttributeError</string>
<string>application_id</string>
<string>None</string>
<string>str</string>
<string>source_url</string>
<string>date</string>
<string>year</string>
<string>source</string>
<string>codification</string>
<string>site_list</string>
......@@ -183,8 +182,7 @@ return reference\n
<string>_getitem_</string>
<string>site</string>
<string>site_value</string>
<string>date</string>
<string>year</string>
<string>baobab_id_group</string>
</tuple>
</value>
</item>
......
......@@ -91,7 +91,9 @@ return site_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getUserAssignedRootSiteList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -88,7 +88,9 @@ return site_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getUserAssignedSiteList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -117,7 +117,9 @@ return valid_assignment_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getUserAssignmentList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -104,7 +104,9 @@ return emission_letter_dict.keys()\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getUserEmissionLetterList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -100,7 +100,9 @@ return site\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_getVaultSite</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -95,7 +95,9 @@ return list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Baobab_sortResourceTitleList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -96,7 +96,9 @@ for object in object_to_check_list:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Base_checkBaobabSourceAndDestination</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -140,7 +140,9 @@ return 0\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDelivery_checkCounterInventory</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -399,7 +399,9 @@ else :\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDelivery_generateCashDetailInputDialog</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -82,7 +82,9 @@ return None\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDelivery_searchLineByResource</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -105,7 +105,9 @@ return cash_line_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_asCellRange</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -127,7 +127,9 @@ return return_value\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_getOthersForMatrixInput</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -153,7 +153,9 @@ return return_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_getVariationForMatrixInput</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -111,7 +111,9 @@ return 1\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_isListboxValide</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -103,7 +103,9 @@ return context.CashDetail_fastInputUpdate( listbox = None\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_loadScript_example</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -287,7 +287,9 @@ else:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_saveFastInputLine</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -90,7 +90,9 @@ else:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_search_lineByResource</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -109,7 +109,9 @@ return listCurrency\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_sortCurrency</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -109,7 +109,9 @@ return listCurrency\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashDetail_sortListbox</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -79,7 +79,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashToCurrencyPurchase_getQuantity</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -112,7 +112,9 @@ return quantity\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CashToCurrencySale_getQuantity</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -112,6 +112,7 @@
<list>
<string>my_id</string>
<string>my_title</string>
<string>my_vault_type</string>
</list>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>ListField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_vault_type</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>unknown_selection</string> </key>
<value> <string>You selected an item that was not in the list.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Vault Type</string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</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: here.portal_categories.vault_type.getCategoryChildTitleItemList(display_none_category=1)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -84,7 +84,9 @@ return bank_account.searchFolder()\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CheckOperationLine_getRelatedAgentList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -81,7 +81,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CheckOperationLine_init</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -104,7 +104,9 @@ request.RESPONSE.redirect(context.absolute_url())\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Checkbook_createCheckList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -81,7 +81,9 @@ context.edit(start_date = DateTime(), variation_base_category_list = [\'check_am
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Checkbook_init</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -94,7 +94,9 @@ return object_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CounterDate_getSiteCounterList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -79,7 +79,9 @@
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CounterDate_init</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -116,7 +116,9 @@ return returned_value\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CounterModule_getVaultInventoryList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -250,7 +250,9 @@ return repr([x for x in total_inventory_list])\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CounterModule_getVaultTransactionList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -83,7 +83,9 @@ return context.asContext(_range_criterion=identity_criterion)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CurrencyExchangeCell_asPredicate</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -82,7 +82,9 @@ return context.asContext(_range_criterion=identity_criterion)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CurrencyExchangeLine_asPredicate</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -89,7 +89,9 @@ return getCurrencyList()\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CurrencyExchange_getCurrencyList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -93,7 +93,9 @@ return currency_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CurrencyExchange_getForeignCurrencyList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -108,7 +108,9 @@ return quantity\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CurrencyPurchase_getQuantity</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -108,7 +108,9 @@ return quantity\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/CurrencySale_getQuantity</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -109,7 +109,9 @@ return cell_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Delivery_getMovementList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -306,7 +306,9 @@ return [(\'\', \'\')] + list(vault_list)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Delivery_getVaultItemList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -95,7 +95,9 @@ return round(rate * price)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/ERP5Banking_getExchangeValue</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -87,7 +87,9 @@ except:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/ERP5Banking_getIndentedItemList_TEST</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -80,7 +80,9 @@ return sourceline_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/ERP5Banking_getSiteList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -362,7 +362,9 @@ return printed\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/ImportCsvToCategories</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -108,7 +108,9 @@ return [\'\\n\'.join(variation_list), \'\\n\'.join(dest_variation_list)]\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/Movement_getTransformedVariationText</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -82,7 +82,9 @@ return my_category_list\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/OrderLine_getMatrixItemList</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -89,7 +89,9 @@ else:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/searchContainerLineByResource</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -109,7 +109,9 @@ return listCurrency\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_skins/erp5_banking_core/sort_currency</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -90,7 +90,9 @@ bank_account.setBankAccountNumber(bank_account_id)\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_workflow/bank_account_edit_workflow/scripts/updateBankAccountNumbers</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
......
......@@ -30,12 +30,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>scripts</string> </value>
......
......@@ -30,12 +30,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>states</string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
......
......@@ -30,12 +30,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transitions</string> </value>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -18,12 +18,6 @@
<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>
......
......@@ -30,12 +30,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>variables</string> </value>
......
......@@ -18,12 +18,6 @@
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>default_expr</string> </key>
<value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Variables</string>
<string>VariableDefinition</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>for_status</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>portal_type</string> </value>
</item>
<item>
<key> <string>update_always</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -24,12 +24,6 @@
<dictionary/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>worklists</string> </value>
......
......@@ -109,7 +109,9 @@ for counter in counter_list:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_workflow/counter_date_workflow/scripts/closeAllCounter</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -90,7 +90,9 @@ for line in listbox:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_workflow/counter_date_workflow/scripts/openAllCounter</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -112,7 +112,9 @@ for operation in operation_list_object:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_workflow/counter_workflow/scripts/cancelRemainingOperation</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
......@@ -99,7 +99,9 @@ if len(date_list) == 0:\n
</item>
<item>
<key> <string>_filepath</string> </key>
<value> <string>Script (Python):/baobab/portal_workflow/counter_workflow/scripts/checkDateOpened</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
......
Category | edit_workflow
Check | check_workflow
Check | edit_workflow
Checkbook Model | edit_workflow
......
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