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>
......
......@@ -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>
......
......@@ -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>
......
This diff is collapsed.
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