diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml index 5eeeacc7e023764c0d8fe76b3b973d3ff6d9af1f..1f8de30d4086676216ab85b7b2196a3aff9bf922 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml @@ -160,8 +160,9 @@ if len(period_list) > 1 :\n <string>state_change</string> <string>Products.DCWorkflow.DCWorkflow</string> <string>ValidationFailed</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>closing_period</string> + <string>_getattr_</string> <string>portal</string> <string>N_</string> <string>valid_states</string> @@ -171,7 +172,6 @@ if len(period_list) > 1 :\n <string>_getiter_</string> <string>period</string> <string>len</string> - <string>_getitem_</string> <string>last_period</string> </tuple> </value> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml index 7b55440add4cab1780e2b3eb26d3ddcdcb6cd786..04ec499673f4f5c8355481845c75785d1231daa0 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckTransactionsState.xml @@ -152,8 +152,9 @@ for transaction in transaction_list:\n <string>state_change</string> <string>Products.DCWorkflow.DCWorkflow</string> <string>ValidationFailed</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>closing_period</string> + <string>_getattr_</string> <string>portal</string> <string>N_</string> <string>accounting_module</string> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml index 067b66b782cf5addb660cb52e3778ed2296f3524..11ac3120c825fa4331cf62eb47e69a070ab2f3c7 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_DeliverTransactions.xml @@ -149,8 +149,9 @@ closing_period.activate( \n <string>state_change</string> <string>Products.DCWorkflow.DCWorkflow</string> <string>ValidationFailed</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>closing_period</string> + <string>_getattr_</string> <string>portal</string> <string>N_</string> <string>accounting_module</string> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml index 53f895d2f489b5d97f82b2510472eb142df6a131..da5221b7a84ff0f66bc8b1b1193c18b47b4007e8 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/setReferences.xml @@ -140,8 +140,9 @@ if transaction.getDestinationReference() in (None, \'\'):\n <value> <tuple> <string>state_change</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>transaction</string> + <string>_getattr_</string> <string>source_section</string> <string>destination_section</string> <string>None</string> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml index 9a64a8ff38fdf7d25f3e53ae3827f2ba8001bb35..24f886b756817a5ab9214eec9ce2ba404986dc36 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBalanceTransaction.xml @@ -147,8 +147,9 @@ container.validateTransactionLines(state_change)\n <string>Products.DCWorkflow.DCWorkflow</string> <string>ValidationFailed</string> <string>error_message</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>transaction</string> + <string>_getattr_</string> <string>module</string> <string>source_section</string> <string>None</string> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml index ef1fdd12f6dc96cad0a4a5e418efa2a0b0ed96e2..78727be155d279187f9c1631b0b5c4cf7e210edf 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_acceptDecision.xml @@ -125,8 +125,9 @@ packing_list.activate().updateCausalityState()\n <value> <tuple> <string>state_change</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>packing_list</string> + <string>_getattr_</string> <string>None</string> </tuple> </value> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml index 0eafe75c116b6874044aa14c9fe24a4d2b92f9a5..6cf3ec88c9c3f6f0b26e2ad6c276654c4c1c732f 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_adoptPrevision.xml @@ -132,13 +132,13 @@ packing_list.activate().updateCausalityState()\n <value> <tuple> <string>state_change</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>packing_list</string> + <string>_getattr_</string> <string>builder_list</string> <string>packing_list_relative_url</string> <string>_getiter_</string> <string>builder</string> - <string>_getitem_</string> <string>delivery_builder</string> </tuple> </value> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml index 41ee58c43030f3c006f61d87ede6f4db287f487a..73f0ed48e9d69e36bda2235e5c7da54ac45d2607 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_afterEdit.xml @@ -114,8 +114,9 @@ context.activate().updateCausalityState()\n <tuple> <string>state_change</string> <string>kw</string> - <string>_getattr_</string> + <string>_getitem_</string> <string>context</string> + <string>_getattr_</string> </tuple> </value> </item> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml index 6efd4d1d1bec84e0066528b545bb03290bff6e5a..e55d0d5f5757c4e1143442376c3f83eaa61cec9d 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_callSplitPrevisionTransition.xml @@ -125,9 +125,9 @@ packing_list.portal_workflow.doActionFor(\n <value> <tuple> <string>state_change</string> - <string>_getattr_</string> - <string>packing_list</string> <string>_getitem_</string> + <string>packing_list</string> + <string>_getattr_</string> <string>stop_date</string> <string>start_date</string> </tuple> diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml index 240dceac6c3049e96d64e408b0b163b786ddda9e..d552dbe836d5df51f16e9cdb55e368535da36439 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/invoice_causality_workflow/scripts/PackingList_split.xml @@ -143,9 +143,9 @@ for builder in builder_list:\n <value> <tuple> <string>state_change</string> - <string>_getattr_</string> - <string>packing_list</string> <string>_getitem_</string> + <string>packing_list</string> + <string>_getattr_</string> <string>stop_date</string> <string>start_date</string> <string>None</string> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index ac471d3ba0cca3f689cdf6462b3864fb73a52b60..2a9c18ad50e6731f71e354121996a406a20a90fe 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -355 \ No newline at end of file +357 \ No newline at end of file