From baea2ae927c33198fb5e2cb3d3272812bf1b72d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 1 Feb 2010 16:46:23 +0000 Subject: [PATCH] remove some of the compatibility scripts that were not used git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32158 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Account_zGetAccountingTransactionList.xml | 506 ------------------ ...nsaction_searchInvoiceTransactionLines.xml | 127 ----- .../ERP5Accounting_FormatMonetaryValue.xml | 175 ------ ...TransactionLine_getDestinationItemList.xml | 127 ----- .../SaleInvoiceTransaction_selectDelivery.xml | 127 ----- ...SaleInvoiceTransaction_zSelectMovement.xml | 127 ----- bt5/erp5_accounting/bt/revision | 2 +- 7 files changed, 1 insertion(+), 1190 deletions(-) delete mode 100644 bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/Account_zGetAccountingTransactionList.xml delete mode 100644 bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/AccountingTransaction_searchInvoiceTransactionLines.xml delete mode 100644 bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/ERP5Accounting_FormatMonetaryValue.xml delete mode 100644 bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/InvoiceTransactionLine_getDestinationItemList.xml delete mode 100644 bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_selectDelivery.xml delete mode 100644 bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_zSelectMovement.xml diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/Account_zGetAccountingTransactionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/Account_zGetAccountingTransactionList.xml deleted file mode 100644 index cc8d28c7a8..0000000000 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/Account_zGetAccountingTransactionList.xml +++ /dev/null @@ -1,506 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_Use_Database_Methods_Permission</string> </key> - <value> - <list> - <string>Member</string> - </list> - </value> - </item> - <item> - <key> <string>_arg</string> </key> - <value> - <object> - <klass> - <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_data</string> </key> - <value> - <dictionary> - <item> - <key> <string>at_date</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>from_date</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>mirror_section_uid</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>no_mirror_section_uid</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>no_payment_uid</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>node_uid</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>omit_input</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>omit_output</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>payment_uid</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>resource_uid</string> </key> - <value> - <dictionary> - <item> - <key> <string>type</string> </key> - <value> <string>list</string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>section_category</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>selection_domain</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>selection_report</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>simulation_state</string> </key> - <value> - <dictionary> - <item> - <key> <string>type</string> </key> - <value> <string>list</string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>to_date</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>where_expression</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>_keys</string> </key> - <value> - <list> - <string>selection_domain</string> - <string>selection_report</string> - <string>node_uid</string> - <string>where_expression</string> - <string>omit_input</string> - <string>omit_output</string> - <string>resource_uid</string> - <string>from_date</string> - <string>to_date</string> - <string>at_date</string> - <string>simulation_state</string> - <string>section_category</string> - <string>payment_uid</string> - <string>no_payment_uid</string> - <string>mirror_section_uid</string> - <string>no_mirror_section_uid</string> - </list> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_col</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>allow_simple_one_argument_traversal</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>arguments_src</string> </key> - <value> <string>selection_domain\r\n -selection_report\r\n -node_uid\r\n -where_expression\r\n -omit_input\r\n -omit_output\r\n -resource_uid:list\r\n -from_date\r\n -to_date\r\n -at_date\r\n -simulation_state:list\r\n -section_category\r\n -payment_uid\r\n -no_payment_uid\r\n -mirror_section_uid\r\n -no_mirror_section_uid</string> </value> - </item> - <item> - <key> <string>cache_time_</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>class_file_</string> </key> - <value> <string>ZSQLCatalog.zsqlbrain</string> </value> - </item> - <item> - <key> <string>class_name_</string> </key> - <value> <string>ZSQLBrain</string> </value> - </item> - <item> - <key> <string>connection_hook</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>connection_id</string> </key> - <value> <string>erp5_sql_connection</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>Account_zGetAccountingTransactionList</string> </value> - </item> - <item> - <key> <string>max_cache_</string> </key> - <value> <int>100</int> </value> - </item> - <item> - <key> <string>max_rows_</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>src</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -<dtml-call "log(\'Account_zGetAccountingTransactionList is deprecated, use Inventory API instead\')>\n -<dtml-if node_uid>\n -SELECT\n - DISTINCT transaction.uid, transaction.path,\n - transaction_line.path as current_transaction_line_path,\n - transaction.title as transaction_title,\n - mirror_section.title AS third_party,\n - IF(stock.total_price > 0, stock.total_price, 0.0) AS debit,\n - IF(stock.total_price < 0, - stock.total_price, 0.0) AS credit,\n - stock.date AS date,\n - IF(stock.section_uid = delivery.source_section_uid,\n - transaction.source_reference,\n - transaction.destination_reference) AS specific_reference,\n - stock.total_price AS balance,\n - stock.payment_uid AS payment_uid\n -FROM\n - catalog,\n - catalog AS transaction_line,\n - catalog AS transaction,\n - delivery,\n - catalog AS section_c,\n - catalog AS section_bc,\n - category AS section_membership,\n - catalog AS section,\n - <dtml-if selection_domain><dtml-var "portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_domain)">, </dtml-if>\n - <dtml-if selection_report><dtml-var "portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_report)">, </dtml-if>\n - <dtml-if where_expression>, category </dtml-if>\n - stock\n - LEFT JOIN catalog AS mirror_section\n - ON mirror_section.uid = stock.mirror_section_uid\n - AND stock.node_uid = <dtml-var node_uid>\n -\n -WHERE stock.node_uid = <dtml-var node_uid>\n - AND delivery.uid = transaction.uid\n - AND transaction_line.uid = stock.uid\n - AND transaction_line.portal_type <> \'Simulation Movement\'\n - AND transaction_line.parent_uid = transaction.uid\n - AND catalog.uid = stock.section_uid\n -<dtml-if resource_uid>\n - AND (\n - <dtml-in resource_uid>\n - stock.resource_uid = <dtml-sqlvar sequence-item type="int">\n - <dtml-unless sequence-end> OR </dtml-unless>\n - </dtml-in>\n - )\n -</dtml-if>\n -<dtml-if from_date>\n - AND stock.date >= <dtml-sqlvar from_date type="datetime">\n -</dtml-if>\n -<dtml-if at_date>\n - AND stock.date <= <dtml-sqlvar at_date type="datetime">\n -</dtml-if>\n -<dtml-if to_date>\n - AND stock.date < <dtml-sqlvar to_date type="datetime">\n -</dtml-if>\n -<dtml-if omit_input>\n - AND stock.total_price < 0\n -</dtml-if>\n -<dtml-if omit_output>\n - AND stock.total_price > 0\n -</dtml-if>\n -<dtml-if payment_uid>\n - AND stock.payment_uid = <dtml-sqlvar payment_uid type="int">\n -</dtml-if>\n -<dtml-if no_payment_uid>\n - AND stock.payment_uid IS NULL\n -</dtml-if>\n -<dtml-if mirror_section_uid>\n - AND stock.mirror_section_uid = <dtml-sqlvar mirror_section_uid type="int">\n -</dtml-if>\n -<dtml-if no_mirror_section_uid>\n - AND stock.mirror_section_uid IS NULL\n -</dtml-if>\n -<dtml-if simulation_state>\n - AND (\n - <dtml-in simulation_state>\n - transaction.simulation_state = <dtml-sqlvar sequence-item type="string">\n - <dtml-if sequence-end><dtml-else> OR </dtml-if>\n - </dtml-in>\n - )\n -<dtml-else>\n - AND transaction.simulation_state != \'cancelled\'\n - AND transaction.simulation_state != \'draft\' \n -</dtml-if>\n - AND section.uid = stock.section_uid\n -<dtml-if section_category>\n - AND section_c.relative_url = <dtml-sqlvar\n - section_category type="string">\n -</dtml-if>\n - AND section_membership.category_uid = section_c.uid\n - AND section_membership.base_category_uid = section_bc.uid\n - AND section_membership.uid = section.uid\n - AND section.portal_type = \'Organisation\'\n -<dtml-if where_expression>\n - AND catalog.uid = category.uid\n - AND <dtml-var where_expression>\n -</dtml-if>\n -<dtml-if selection_domain>\n - AND <dtml-var "portal_selections.buildSQLExpressionFromDomainSelection(selection_domain)">\n -</dtml-if>\n -<dtml-if selection_report>\n - AND <dtml-var "portal_selections.buildSQLExpressionFromDomainSelection(selection_report, strict_membership=1)">\n -</dtml-if>\n -ORDER BY\n - stock.date, transaction_line.uid\n -</dtml-if>\n - - -]]></string> </value> - </item> - <item> - <key> <string>template</string> </key> - <value> - <object> - <klass> - <global name="__newobj__" module="copy_reg"/> - </klass> - <tuple> - <global name="SQL" module="Shared.DC.ZRDB.DA"/> - </tuple> - <state> - <dictionary> - <item> - <key> <string>__name__</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -<string> - -]]></string> </value> - </item> - <item> - <key> <string>_vars</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>globals</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>raw</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -<dtml-call "log(\'Account_zGetAccountingTransactionList is deprecated, use Inventory API instead\')>\n -<dtml-if node_uid>\n -SELECT\n - DISTINCT transaction.uid, transaction.path,\n - transaction_line.path as current_transaction_line_path,\n - transaction.title as transaction_title,\n - mirror_section.title AS third_party,\n - IF(stock.total_price > 0, stock.total_price, 0.0) AS debit,\n - IF(stock.total_price < 0, - stock.total_price, 0.0) AS credit,\n - stock.date AS date,\n - IF(stock.section_uid = delivery.source_section_uid,\n - transaction.source_reference,\n - transaction.destination_reference) AS specific_reference,\n - stock.total_price AS balance,\n - stock.payment_uid AS payment_uid\n -FROM\n - catalog,\n - catalog AS transaction_line,\n - catalog AS transaction,\n - delivery,\n - catalog AS section_c,\n - catalog AS section_bc,\n - category AS section_membership,\n - catalog AS section,\n - <dtml-if selection_domain><dtml-var "portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_domain)">, </dtml-if>\n - <dtml-if selection_report><dtml-var "portal_selections.buildSQLJoinExpressionFromDomainSelection(selection_report)">, </dtml-if>\n - <dtml-if where_expression>, category </dtml-if>\n - stock\n - LEFT JOIN catalog AS mirror_section\n - ON mirror_section.uid = stock.mirror_section_uid\n - AND stock.node_uid = <dtml-var node_uid>\n -\n -WHERE stock.node_uid = <dtml-var node_uid>\n - AND delivery.uid = transaction.uid\n - AND transaction_line.uid = stock.uid\n - AND transaction_line.portal_type <> \'Simulation Movement\'\n - AND transaction_line.parent_uid = transaction.uid\n - AND catalog.uid = stock.section_uid\n -<dtml-if resource_uid>\n - AND (\n - <dtml-in resource_uid>\n - stock.resource_uid = <dtml-sqlvar sequence-item type="int">\n - <dtml-unless sequence-end> OR </dtml-unless>\n - </dtml-in>\n - )\n -</dtml-if>\n -<dtml-if from_date>\n - AND stock.date >= <dtml-sqlvar from_date type="datetime">\n -</dtml-if>\n -<dtml-if at_date>\n - AND stock.date <= <dtml-sqlvar at_date type="datetime">\n -</dtml-if>\n -<dtml-if to_date>\n - AND stock.date < <dtml-sqlvar to_date type="datetime">\n -</dtml-if>\n -<dtml-if omit_input>\n - AND stock.total_price < 0\n -</dtml-if>\n -<dtml-if omit_output>\n - AND stock.total_price > 0\n -</dtml-if>\n -<dtml-if payment_uid>\n - AND stock.payment_uid = <dtml-sqlvar payment_uid type="int">\n -</dtml-if>\n -<dtml-if no_payment_uid>\n - AND stock.payment_uid IS NULL\n -</dtml-if>\n -<dtml-if mirror_section_uid>\n - AND stock.mirror_section_uid = <dtml-sqlvar mirror_section_uid type="int">\n -</dtml-if>\n -<dtml-if no_mirror_section_uid>\n - AND stock.mirror_section_uid IS NULL\n -</dtml-if>\n -<dtml-if simulation_state>\n - AND (\n - <dtml-in simulation_state>\n - transaction.simulation_state = <dtml-sqlvar sequence-item type="string">\n - <dtml-if sequence-end><dtml-else> OR </dtml-if>\n - </dtml-in>\n - )\n -<dtml-else>\n - AND transaction.simulation_state != \'cancelled\'\n - AND transaction.simulation_state != \'draft\' \n -</dtml-if>\n - AND section.uid = stock.section_uid\n -<dtml-if section_category>\n - AND section_c.relative_url = <dtml-sqlvar\n - section_category type="string">\n -</dtml-if>\n - AND section_membership.category_uid = section_c.uid\n - AND section_membership.base_category_uid = section_bc.uid\n - AND section_membership.uid = section.uid\n - AND section.portal_type = \'Organisation\'\n -<dtml-if where_expression>\n - AND catalog.uid = category.uid\n - AND <dtml-var where_expression>\n -</dtml-if>\n -<dtml-if selection_domain>\n - AND <dtml-var "portal_selections.buildSQLExpressionFromDomainSelection(selection_domain)">\n -</dtml-if>\n -<dtml-if selection_report>\n - AND <dtml-var "portal_selections.buildSQLExpressionFromDomainSelection(selection_report, strict_membership=1)">\n -</dtml-if>\n -ORDER BY\n - stock.date, transaction_line.uid\n -</dtml-if>\n - - -]]></string> </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/AccountingTransaction_searchInvoiceTransactionLines.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/AccountingTransaction_searchInvoiceTransactionLines.xml deleted file mode 100644 index 0a736052ca..0000000000 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/AccountingTransaction_searchInvoiceTransactionLines.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>return context.Base_callDeprecatedMethod(script.getId(),\n - \'AccountingTransaction_getInvoiceTransactionLineList\', *args, **kw)\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>*args, **kw</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>args</string> - <string>kw</string> - <string>_apply_</string> - <string>_getattr_</string> - <string>context</string> - <string>script</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>AccountingTransaction_searchInvoiceTransactionLines</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/ERP5Accounting_FormatMonetaryValue.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/ERP5Accounting_FormatMonetaryValue.xml deleted file mode 100644 index 630d2ce9ac..0000000000 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/ERP5Accounting_FormatMonetaryValue.xml +++ /dev/null @@ -1,175 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -"""Format a monetary value in a string.\n -\n -A big localization issue currently partially solved by this script. \n -Needs reflexion / reimplementation for example for the \'precision\' \n -parameter, which is related to the currency.\n -"""\n -\n -context.log( "ERP5Accounting_FormatMonetaryValue is DEPRECATED."\n - , \'It break naming convention and will be removed, please use Base_getRoundValue (sometimes in combination with Base_getPreferredPrecision) instead.\')\n -\n -# XXX copy & pasted code ...\n -value = str(value)\n -if \'.\' in value :\n - integer, reminder = value.split(\'.\')\n - if precision == 0 :\n - value = str(integer)\n - else :\n - value = "%s.%s" % (integer, str(reminder)[:precision])\n -\n -old_value = list(value)\n -old_value.reverse()\n -value = []\n -i = 0\n -for char in old_value : \n - value.insert(0, char)\n - i += 1\n - if not i % 3 :\n - value.insert(0, \' \')\n -formatted_value = "".join(value)\n -if nbsp : \n - formatted_value = formatted_value.replace(\' \', \' \')\n -\n -return formatted_value\n - - -]]></string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>value, nbsp=0, precision=0</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>value</string> - <string>nbsp</string> - <string>precision</string> - <string>_getattr_</string> - <string>context</string> - <string>str</string> - <string>_getiter_</string> - <string>integer</string> - <string>reminder</string> - <string>_getitem_</string> - <string>list</string> - <string>old_value</string> - <string>i</string> - <string>char</string> - <string>_inplacevar_</string> - <string>formatted_value</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <tuple> - <int>0</int> - <int>0</int> - </tuple> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>ERP5Accounting_FormatMonetaryValue</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/InvoiceTransactionLine_getDestinationItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/InvoiceTransactionLine_getDestinationItemList.xml deleted file mode 100644 index fe3d144dd8..0000000000 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/InvoiceTransactionLine_getDestinationItemList.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>context.log(\'erp5_accounting\',\n - \'InvoiceTransactionLine_getDestinationItemList is a deprecated compatibility\'\n - \' alias to AccountingTransactionLine_getNodeItemList(mirror=1)\')\n -return context.AccountingTransactionLine_getNodeItemList(mirror=1)\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>args, **kw</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>args</string> - <string>kw</string> - <string>_getattr_</string> - <string>context</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>InvoiceTransactionLine_getDestinationItemList</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_selectDelivery.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_selectDelivery.xml deleted file mode 100644 index db34dce565..0000000000 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_selectDelivery.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>return context.Base_callDeprecatedMethod(script.getId(),\n - \'InvoiceTransaction_selectDelivery\', *args, **kw)\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>*args, **kw</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>args</string> - <string>kw</string> - <string>_apply_</string> - <string>_getattr_</string> - <string>context</string> - <string>script</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>SaleInvoiceTransaction_selectDelivery</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_zSelectMovement.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_zSelectMovement.xml deleted file mode 100644 index af19804aa5..0000000000 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting_bbb/SaleInvoiceTransaction_zSelectMovement.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_body</string> </key> - <value> <string>return context.Base_callDeprecatedMethod(script.getId(),\n - \'InvoiceTransaction_zSelectMovement\', *args, **kw)\n -</string> </value> - </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>*args, **kw</string> </value> - </item> - <item> - <key> <string>errors</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>func_code</string> </key> - <value> - <object> - <klass> - <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>co_argcount</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>co_varnames</string> </key> - <value> - <tuple> - <string>args</string> - <string>kw</string> - <string>_apply_</string> - <string>_getattr_</string> - <string>context</string> - <string>script</string> - </tuple> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>func_defaults</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>SaleInvoiceTransaction_zSelectMovement</string> </value> - </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index dab082fe2f..e50f8eba35 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1095 \ No newline at end of file +1096 \ No newline at end of file -- 2.30.9