Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
141
Merge Requests
141
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
0d2bd4c0
Commit
0d2bd4c0
authored
Jan 07, 2020
by
Arnaud Fontaine
4
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZODB Components: Migrate ERP5Banking Product to erp5_banking_core.
parent
4820965b
Changes
123
Show whitespace changes
Inline
Side-by-side
Showing
123 changed files
with
6095 additions
and
184 deletions
+6095
-184
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperation.py
...eItem/portal_components/document.erp5.BankingOperation.py
+2
-3
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperation.xml
...Item/portal_components/document.erp5.BankingOperation.xml
+114
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperationLine.py
...m/portal_components/document.erp5.BankingOperationLine.py
+2
-3
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperationLine.xml
.../portal_components/document.erp5.BankingOperationLine.xml
+110
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashContainer.py
...lateItem/portal_components/document.erp5.CashContainer.py
+2
-2
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashContainer.xml
...ateItem/portal_components/document.erp5.CashContainer.xml
+110
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashCurrency.py
...plateItem/portal_components/document.erp5.CashCurrency.py
+1
-4
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashCurrency.xml
...lateItem/portal_components/document.erp5.CashCurrency.xml
+113
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDelivery.py
...plateItem/portal_components/document.erp5.CashDelivery.py
+2
-2
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDelivery.xml
...lateItem/portal_components/document.erp5.CashDelivery.xml
+110
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDeliveryCell.py
...eItem/portal_components/document.erp5.CashDeliveryCell.py
+2
-2
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDeliveryCell.xml
...Item/portal_components/document.erp5.CashDeliveryCell.xml
+110
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDeliveryLine.py
...eItem/portal_components/document.erp5.CashDeliveryLine.py
+2
-2
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDeliveryLine.xml
...Item/portal_components/document.erp5.CashDeliveryLine.xml
+110
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventory.py
...lateItem/portal_components/document.erp5.CashInventory.py
+7
-4
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventory.xml
...ateItem/portal_components/document.erp5.CashInventory.xml
+123
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventoryCell.py
...Item/portal_components/document.erp5.CashInventoryCell.py
+2
-2
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventoryCell.xml
...tem/portal_components/document.erp5.CashInventoryCell.xml
+110
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventoryLine.py
...Item/portal_components/document.erp5.CashInventoryLine.py
+2
-2
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventoryLine.xml
...tem/portal_components/document.erp5.CashInventoryLine.xml
+110
-0
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CheckOperationLine.py
...tem/portal_components/document.erp5.CheckOperationLine.py
+2
-2
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CheckOperationLine.xml
...em/portal_components/document.erp5.CheckOperationLine.xml
+110
-0
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.BaobabMixin.py
...TemplateItem/portal_components/module.erp5.BaobabMixin.py
+0
-0
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.BaobabMixin.xml
...emplateItem/portal_components/module.erp5.BaobabMixin.xml
+111
-0
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.TestERP5BankingMixin.py
...tem/portal_components/module.erp5.TestERP5BankingMixin.py
+0
-0
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.TestERP5BankingMixin.xml
...em/portal_components/module.erp5.TestERP5BankingMixin.xml
+133
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAccountingCancellation.py
...onents/test.erp5.testERP5BankingAccountingCancellation.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAccountingCancellation.xml
...nents/test.erp5.testERP5BankingAccountingCancellation.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAccountingDate.py
...tal_components/test.erp5.testERP5BankingAccountingDate.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAccountingDate.xml
...al_components/test.erp5.testERP5BankingAccountingDate.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAvailableInventory.py
...components/test.erp5.testERP5BankingAvailableInventory.py
+3
-2
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAvailableInventory.xml
...omponents/test.erp5.testERP5BankingAvailableInventory.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingBankAccountInventory.py
...mponents/test.erp5.testERP5BankingBankAccountInventory.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingBankAccountInventory.xml
...ponents/test.erp5.testERP5BankingBankAccountInventory.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashBalanceRegulation.py
...ponents/test.erp5.testERP5BankingCashBalanceRegulation.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashBalanceRegulation.xml
...onents/test.erp5.testERP5BankingCashBalanceRegulation.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashClassification.py
...components/test.erp5.testERP5BankingCashClassification.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashClassification.xml
...omponents/test.erp5.testERP5BankingCashClassification.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashExchange.py
...ortal_components/test.erp5.testERP5BankingCashExchange.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashExchange.xml
...rtal_components/test.erp5.testERP5BankingCashExchange.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashInventory.py
...rtal_components/test.erp5.testERP5BankingCashInventory.py
+3
-2
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashInventory.xml
...tal_components/test.erp5.testERP5BankingCashInventory.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashMovement.py
...ortal_components/test.erp5.testERP5BankingCashMovement.py
+1
-26
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashMovement.xml
...rtal_components/test.erp5.testERP5BankingCashMovement.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashMovementNewNotEmitted.py
...nts/test.erp5.testERP5BankingCashMovementNewNotEmitted.py
+1
-2
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashMovementNewNotEmitted.xml
...ts/test.erp5.testERP5BankingCashMovementNewNotEmitted.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashSorting.py
...portal_components/test.erp5.testERP5BankingCashSorting.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashSorting.xml
...ortal_components/test.erp5.testERP5BankingCashSorting.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashToCurrencyPurchase.py
...onents/test.erp5.testERP5BankingCashToCurrencyPurchase.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashToCurrencyPurchase.xml
...nents/test.erp5.testERP5BankingCashToCurrencyPurchase.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashToCurrencySale.py
...components/test.erp5.testERP5BankingCashToCurrencySale.py
+2
-2
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashToCurrencySale.xml
...omponents/test.erp5.testERP5BankingCashToCurrencySale.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckDeposit.py
...ortal_components/test.erp5.testERP5BankingCheckDeposit.py
+1
-2
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckDeposit.xml
...rtal_components/test.erp5.testERP5BankingCheckDeposit.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckPayment.py
...ortal_components/test.erp5.testERP5BankingCheckPayment.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckPayment.xml
...rtal_components/test.erp5.testERP5BankingCheckPayment.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookDelivery.py
..._components/test.erp5.testERP5BankingCheckbookDelivery.py
+2
-3
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookDelivery.xml
...components/test.erp5.testERP5BankingCheckbookDelivery.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookReception.py
...components/test.erp5.testERP5BankingCheckbookReception.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookReception.xml
...omponents/test.erp5.testERP5BankingCheckbookReception.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookUsualCashTransfer.py
...ts/test.erp5.testERP5BankingCheckbookUsualCashTransfer.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookUsualCashTransfer.xml
...s/test.erp5.testERP5BankingCheckbookUsualCashTransfer.xml
+114
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookVaultTransfer.py
...onents/test.erp5.testERP5BankingCheckbookVaultTransfer.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookVaultTransfer.xml
...nents/test.erp5.testERP5BankingCheckbookVaultTransfer.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingClassificationSurvey.py
...mponents/test.erp5.testERP5BankingClassificationSurvey.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingClassificationSurvey.xml
...ponents/test.erp5.testERP5BankingClassificationSurvey.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCounterDate.py
...portal_components/test.erp5.testERP5BankingCounterDate.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCounterDate.xml
...ortal_components/test.erp5.testERP5BankingCounterDate.xml
+116
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCounterRendering.py
...l_components/test.erp5.testERP5BankingCounterRendering.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCounterRendering.xml
..._components/test.erp5.testERP5BankingCounterRendering.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingDestructionSurvey.py
..._components/test.erp5.testERP5BankingDestructionSurvey.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingDestructionSurvey.xml
...components/test.erp5.testERP5BankingDestructionSurvey.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingForeignCashReception.py
...mponents/test.erp5.testERP5BankingForeignCashReception.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingForeignCashReception.xml
...ponents/test.erp5.testERP5BankingForeignCashReception.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingInternalMoneyDeposit.py
...mponents/test.erp5.testERP5BankingInternalMoneyDeposit.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingInternalMoneyDeposit.xml
...ponents/test.erp5.testERP5BankingInternalMoneyDeposit.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingInternalMoneyPayment.py
...mponents/test.erp5.testERP5BankingInternalMoneyPayment.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingInternalMoneyPayment.xml
...ponents/test.erp5.testERP5BankingInternalMoneyPayment.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryDestruction.py
...omponents/test.erp5.testERP5BankingMonetaryDestruction.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryDestruction.xml
...mponents/test.erp5.testERP5BankingMonetaryDestruction.xml
+114
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryIssue.py
...rtal_components/test.erp5.testERP5BankingMonetaryIssue.py
+3
-7
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryIssue.xml
...tal_components/test.erp5.testERP5BankingMonetaryIssue.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryRecall.py
...tal_components/test.erp5.testERP5BankingMonetaryRecall.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryRecall.xml
...al_components/test.erp5.testERP5BankingMonetaryRecall.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryReception.py
..._components/test.erp5.testERP5BankingMonetaryReception.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryReception.xml
...components/test.erp5.testERP5BankingMonetaryReception.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetarySurvey.py
...tal_components/test.erp5.testERP5BankingMonetarySurvey.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetarySurvey.xml
...al_components/test.erp5.testERP5BankingMonetarySurvey.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMoneyDeposit.py
...ortal_components/test.erp5.testERP5BankingMoneyDeposit.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMoneyDeposit.xml
...rtal_components/test.erp5.testERP5BankingMoneyDeposit.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMoneyDepositRendering.py
...ponents/test.erp5.testERP5BankingMoneyDepositRendering.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMoneyDepositRendering.xml
...onents/test.erp5.testERP5BankingMoneyDepositRendering.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMutilatedBanknote.py
..._components/test.erp5.testERP5BankingMutilatedBanknote.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMutilatedBanknote.xml
...components/test.erp5.testERP5BankingMutilatedBanknote.xml
+116
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingStopPayment.py
...portal_components/test.erp5.testERP5BankingStopPayment.py
+3
-4
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingStopPayment.xml
...ortal_components/test.erp5.testERP5BankingStopPayment.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingTravelerCheckPurchase.py
...ponents/test.erp5.testERP5BankingTravelerCheckPurchase.py
+3
-2
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingTravelerCheckPurchase.xml
...onents/test.erp5.testERP5BankingTravelerCheckPurchase.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingTravelerCheckSale.py
..._components/test.erp5.testERP5BankingTravelerCheckSale.py
+3
-2
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingTravelerCheckSale.xml
...components/test.erp5.testERP5BankingTravelerCheckSale.xml
+110
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingUsualCashRendering.py
...components/test.erp5.testERP5BankingUsualCashRendering.py
+1
-19
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingUsualCashRendering.xml
...omponents/test.erp5.testERP5BankingUsualCashRendering.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingUsualCashTransfer.py
..._components/test.erp5.testERP5BankingUsualCashTransfer.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingUsualCashTransfer.xml
...components/test.erp5.testERP5BankingUsualCashTransfer.xml
+112
-0
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingVaultTransfer.py
...rtal_components/test.erp5.testERP5BankingVaultTransfer.py
+2
-1
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingVaultTransfer.xml
...tal_components/test.erp5.testERP5BankingVaultTransfer.xml
+112
-0
bt5/erp5_banking_core/bt/template_document_id_list
bt5/erp5_banking_core/bt/template_document_id_list
+11
-0
bt5/erp5_banking_core/bt/template_module_component_id_list
bt5/erp5_banking_core/bt/template_module_component_id_list
+2
-0
bt5/erp5_banking_core/bt/template_test_id_list
bt5/erp5_banking_core/bt/template_test_id_list
+40
-0
bt5/erp5_banking_core/bt/test_dependency_list
bt5/erp5_banking_core/bt/test_dependency_list
+8
-0
product/ERP5Banking/Constraint/__init__.py
product/ERP5Banking/Constraint/__init__.py
+0
-0
product/ERP5Banking/Document/__init__.py
product/ERP5Banking/Document/__init__.py
+0
-0
product/ERP5Banking/Extensions/__init__.py
product/ERP5Banking/Extensions/__init__.py
+0
-0
product/ERP5Banking/MAINTAINERS.txt
product/ERP5Banking/MAINTAINERS.txt
+0
-2
product/ERP5Banking/Permissions.py
product/ERP5Banking/Permissions.py
+0
-0
product/ERP5Banking/PropertySheet/__init__.py
product/ERP5Banking/PropertySheet/__init__.py
+0
-0
product/ERP5Banking/README.txt
product/ERP5Banking/README.txt
+0
-4
product/ERP5Banking/Tool/__init__.py
product/ERP5Banking/Tool/__init__.py
+0
-0
product/ERP5Banking/VERSION.txt
product/ERP5Banking/VERSION.txt
+0
-1
product/ERP5Banking/__init__.py
product/ERP5Banking/__init__.py
+0
-48
product/ERP5Banking/dtml/__init__.py
product/ERP5Banking/dtml/__init__.py
+0
-0
product/ERP5Banking/skins/__init__.py
product/ERP5Banking/skins/__init__.py
+0
-0
product/ERP5Banking/tests/__init__.py
product/ERP5Banking/tests/__init__.py
+0
-0
No files found.
product/ERP5Banking/Document/
BankingOperation.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
BankingOperation.py
View file @
0d2bd4c0
...
@@ -26,8 +26,7 @@
...
@@ -26,8 +26,7 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.CMFCore.utils
import
getToolByName
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5.Document.Delivery
import
Delivery
from
Products.ERP5.Document.Delivery
import
Delivery
from
Products.ERP5.Document.InventoryLine
import
InventoryLine
from
Products.ERP5.Document.InventoryLine
import
InventoryLine
from
Products.ERP5.Document.Movement
import
Movement
from
Products.ERP5.Document.Movement
import
Movement
...
@@ -35,7 +34,7 @@ from Products.ERP5.Document.Container import Container
...
@@ -35,7 +34,7 @@ from Products.ERP5.Document.Container import Container
from
Products.ERP5.Document.AccountingTransaction
import
AccountingTransaction
from
Products.ERP5.Document.AccountingTransaction
import
AccountingTransaction
from
AccessControl.PermissionRole
import
PermissionRole
from
AccessControl.PermissionRole
import
PermissionRole
from
Products.ERP5Type.Utils
import
convertToMixedCase
,
convertToUpperCase
from
Products.ERP5Type.Utils
import
convertToMixedCase
,
convertToUpperCase
from
Products.ERP5Banking
.BaobabMixin
import
BaobabMixin
from
erp5.component.module
.BaobabMixin
import
BaobabMixin
# Import classes to monkey-patch
# Import classes to monkey-patch
# XXX All patches must be moved in a Business Template !!
# XXX All patches must be moved in a Business Template !!
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperation.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
BankingOperation
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.BankingOperation
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.BankingOperation
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 36, 0: Unused convertToUpperCase imported from Products.ERP5Type.Utils (unused-import)
</string>
<string>
W: 36, 0: Unused convertToMixedCase imported from Products.ERP5Type.Utils (unused-import)
</string>
<string>
W: 41, 0: Unused Currency imported from Products.ERP5.Document.Currency (unused-import)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
BankingOperationLine.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
BankingOperationLine.py
View file @
0d2bd4c0
...
@@ -26,10 +26,9 @@
...
@@ -26,10 +26,9 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.CMFCore.utils
import
getToolByName
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5.Document.AccountingTransactionLine
import
AccountingTransactionLine
from
Products.ERP5.Document.AccountingTransactionLine
import
AccountingTransactionLine
from
Products.ERP5Banking
.BaobabMixin
import
BaobabMixin
from
erp5.component.module
.BaobabMixin
import
BaobabMixin
class
BankingOperationLine
(
BaobabMixin
,
AccountingTransactionLine
):
class
BankingOperationLine
(
BaobabMixin
,
AccountingTransactionLine
):
# CMF Type Definition
# CMF Type Definition
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.BankingOperationLine.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
BankingOperationLine
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.BankingOperationLine
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.BankingOperationLine
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashContainer.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashContainer.py
View file @
0d2bd4c0
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.Document.Container
import
Container
from
Products.ERP5.Document.Container
import
Container
from
Products.ERP5Banking
.BaobabMixin
import
BaobabMixin
from
erp5.component.module
.BaobabMixin
import
BaobabMixin
class
CashContainer
(
BaobabMixin
,
Container
):
class
CashContainer
(
BaobabMixin
,
Container
):
"""
"""
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashContainer.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashContainer
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashContainer
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashContainer
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashCurrency.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashCurrency.py
View file @
0d2bd4c0
...
@@ -28,14 +28,11 @@
...
@@ -28,14 +28,11 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5.Document.Resource
import
Resource
from
Products.ERP5.Document.Resource
import
Resource
from
zope.interface
import
implements
from
zope.interface
import
implements
from
zLOG
import
LOG
class
CashCurrency
(
Resource
):
class
CashCurrency
(
Resource
):
"""
"""
CashCurrency defines a cash model for a certain currency.
CashCurrency defines a cash model for a certain currency.
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashCurrency.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashCurrency
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashCurrency
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashCurrency
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:127, 27: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:127, 2: Arguments number differs from overridden \'newCellContent\' method (arguments-differ)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashDelivery.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashDelivery.py
View file @
0d2bd4c0
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5Banking.D
ocument.BankingOperation
import
BankingOperation
from
erp5.component.d
ocument.BankingOperation
import
BankingOperation
from
zope.interface
import
implements
from
zope.interface
import
implements
class
CashDelivery
(
BankingOperation
):
class
CashDelivery
(
BankingOperation
):
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDelivery.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashDelivery
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashDelivery
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashDelivery
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashDeliveryCell.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashDeliveryCell.py
View file @
0d2bd4c0
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5.Document.DeliveryCell
import
DeliveryCell
from
Products.ERP5.Document.DeliveryCell
import
DeliveryCell
from
Products.ERP5Banking
.BaobabMixin
import
BaobabMixin
from
erp5.component.module
.BaobabMixin
import
BaobabMixin
from
zope.interface
import
implements
from
zope.interface
import
implements
class
CashDeliveryCell
(
BaobabMixin
,
DeliveryCell
):
class
CashDeliveryCell
(
BaobabMixin
,
DeliveryCell
):
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDeliveryCell.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashDeliveryCell
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashDeliveryCell
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashDeliveryCell
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashDeliveryLine.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashDeliveryLine.py
View file @
0d2bd4c0
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5.Document.DeliveryLine
import
DeliveryLine
from
Products.ERP5.Document.DeliveryLine
import
DeliveryLine
from
Products.ERP5Banking
.BaobabMixin
import
BaobabMixin
from
erp5.component.module
.BaobabMixin
import
BaobabMixin
from
zope.interface
import
implements
from
zope.interface
import
implements
class
CashDeliveryLine
(
BaobabMixin
,
DeliveryLine
):
class
CashDeliveryLine
(
BaobabMixin
,
DeliveryLine
):
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashDeliveryLine.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashDeliveryLine
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashDeliveryLine
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashDeliveryLine
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashInventory.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashInventory.py
View file @
0d2bd4c0
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.Document.Inventory
import
Inventory
from
Products.ERP5.Document.Inventory
import
Inventory
from
Products.ERP5Banking.D
ocument.BankingOperation
import
BankingOperation
from
erp5.component.d
ocument.BankingOperation
import
BankingOperation
class
CashInventory
(
Inventory
,
BankingOperation
):
class
CashInventory
(
Inventory
,
BankingOperation
):
...
@@ -62,8 +62,11 @@ class CashInventory(Inventory, BankingOperation):
...
@@ -62,8 +62,11 @@ class CashInventory(Inventory, BankingOperation):
"""Call the Cash Inventory immediateReindexObject by
"""Call the Cash Inventory immediateReindexObject by
setting another kind of temp delivery line.
setting another kind of temp delivery line.
"""
"""
from
Products.ERP5Type.Document
import
newTempCashDeliveryLine
def
newTempCashDeliveryLine
(
self
,
inventory_id
):
temp_constructor
=
newTempCashDeliveryLine
return
self
.
getPortalObject
().
portal_trash
.
newContent
(
portal_type
=
'Cash Delivery Line'
,
temp_object
=
True
,
id
=
inventory_id
)
return
Inventory
.
immediateReindexObject
(
self
,
return
Inventory
.
immediateReindexObject
(
self
,
temp_constructor
=
temp_constructor
,
**
kw
)
temp_constructor
=
newTempCashDeliveryLine
,
**
kw
)
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventory.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashInventory
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashInventory
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashInventory
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 36, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 40, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 41, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 44, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 45, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 48, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 60, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 61, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)
</string>
<string>
W: 62, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)
</string>
<string>
W: 65, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)
</string>
<string>
W: 66, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)
</string>
<string>
W: 70, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashInventoryCell.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashInventoryCell.py
View file @
0d2bd4c0
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5.Document.InventoryCell
import
InventoryCell
from
Products.ERP5.Document.InventoryCell
import
InventoryCell
from
Products.ERP5Banking.D
ocument.CashDeliveryCell
import
CashDeliveryCell
from
erp5.component.d
ocument.CashDeliveryCell
import
CashDeliveryCell
from
zope.interface
import
implements
from
zope.interface
import
implements
class
CashInventoryCell
(
InventoryCell
,
CashDeliveryCell
):
class
CashInventoryCell
(
InventoryCell
,
CashDeliveryCell
):
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventoryCell.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashInventoryCell
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashInventoryCell
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashInventoryCell
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CashInventoryLine.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CashInventoryLine.py
View file @
0d2bd4c0
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5Banking.D
ocument.CashDeliveryLine
import
CashDeliveryLine
from
erp5.component.d
ocument.CashDeliveryLine
import
CashDeliveryLine
from
Products.ERP5.Document.InventoryLine
import
InventoryLine
from
Products.ERP5.Document.InventoryLine
import
InventoryLine
from
zope.interface
import
implements
from
zope.interface
import
implements
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CashInventoryLine.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CashInventoryLine
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CashInventoryLine
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CashInventoryLine
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/Document/
CheckOperationLine.py
→
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.
CheckOperationLine.py
View file @
0d2bd4c0
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
Constraint
,
interfaces
from
Products.ERP5Type
import
Permissions
,
PropertySheet
,
interfaces
from
Products.ERP5.Document.DeliveryLine
import
DeliveryLine
from
Products.ERP5.Document.DeliveryLine
import
DeliveryLine
from
Products.ERP5Banking
.BaobabMixin
import
BaobabMixin
from
erp5.component.module
.BaobabMixin
import
BaobabMixin
from
zope.interface
import
implements
from
zope.interface
import
implements
class
CheckOperationLine
(
BaobabMixin
,
DeliveryLine
):
class
CheckOperationLine
(
BaobabMixin
,
DeliveryLine
):
...
...
bt5/erp5_banking_core/DocumentTemplateItem/portal_components/document.erp5.CheckOperationLine.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Document Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CheckOperationLine
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.Document.CheckOperationLine
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document.erp5.CheckOperationLine
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Document Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/
BaobabMixin.py
→
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.
BaobabMixin.py
View file @
0d2bd4c0
File moved
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.BaobabMixin.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Module Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
BaobabMixin
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.BaobabMixin
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
module.erp5.BaobabMixin
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Module Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 49, 21: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W: 74, 21: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W: 80, 4: Redefining name \'category\' from outer scope (line 117) (redefined-outer-name)
</string>
<string>
W: 96, 21: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W: 33, 0: Unused func_code imported from Products.ERP5Type.Accessor.Base (unused-import)
</string>
<string>
W: 34, 0: Unused convertToMixedCase imported from Products.ERP5Type.Utils (unused-import)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
TestERP5BankingMixin.py
→
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.
TestERP5BankingMixin.py
View file @
0d2bd4c0
File moved
bt5/erp5_banking_core/ModuleComponentTemplateItem/portal_components/module.erp5.TestERP5BankingMixin.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Module Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
TestERP5BankingMixin
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.TestERP5BankingMixin
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
module.erp5.TestERP5BankingMixin
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Module Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 98, 8: Unused variable \'userdb_path\' (unused-variable)
</string>
<string>
W:493, 40: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:631, 4: Unused variable \'de_co_vault_type\' (unused-variable)
</string>
<string>
W:632, 4: Unused variable \'guichet_bi_vault_type\' (unused-variable)
</string>
<string>
W:634, 4: Unused variable \'guichet_gp_vault_type\' (unused-variable)
</string>
<string>
W:636, 4: Unused variable \'guichet_gv_vault_type\' (unused-variable)
</string>
<string>
W:638, 4: Unused variable \'guichet_op_vault_type\' (unused-variable)
</string>
<string>
W:662, 8: Unused variable \'encaisse_des_devises\' (unused-variable)
</string>
<string>
W:730, 53: Redefining built-in \'open\' (redefined-builtin)
</string>
<string>
W:730, 44: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:750, 77: Redefining built-in \'open\' (redefined-builtin)
</string>
<string>
W:750, 53: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:757, 71: Redefining built-in \'open\' (redefined-builtin)
</string>
<string>
W:757, 50: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:767, 35: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:779, 29: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:868, 25: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:932, 4: Unused variable \'inventory_line\' (unused-variable)
</string>
<string>
W:944, 53: Redefining built-in \'min\' (redefined-builtin)
</string>
<string>
W:944, 58: Redefining built-in \'max\' (redefined-builtin)
</string>
<string>
W:944, 28: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:960, 33: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:984, 29: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:1030, 24: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:1047, 37: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:1056, 4: Unused variable \'variation\' (unused-variable)
</string>
<string>
W:1127, 2: Dangerous default value [] as argument (dangerous-default-value)
</string>
<string>
W:1202, 24: map/filter on lambda could be replaced by comprehension (deprecated-lambda)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingAccountingCancellation.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingAccountingCancellation.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -31,7 +32,7 @@
...
@@ -31,7 +32,7 @@
import
os
import
os
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAccountingCancellation.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingAccountingCancellation
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingAccountingCancellation
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingAccountingCancellation
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:214, 8: Redefining built-in \'id\' (redefined-builtin)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingAccountingDate.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingAccountingDate.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2007-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2007-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -28,7 +29,7 @@
...
@@ -28,7 +29,7 @@
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
QUIET
=
False
QUIET
=
False
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAccountingDate.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingAccountingDate
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingAccountingDate
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingAccountingDate
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:105, 2: Arguments number differs from overridden \'openAccountingDate\' method (arguments-differ)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingAvailableInventory.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingAvailableInventory.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -32,9 +33,9 @@ import os
...
@@ -32,9 +33,9 @@ import os
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.testERP5BankingCheckPayment
\
from
erp5.component.test
.testERP5BankingCheckPayment
\
import
TestERP5BankingCheckPaymentMixin
import
TestERP5BankingCheckPaymentMixin
from
Products.ERP5Banking.tests
.testERP5BankingMoneyDeposit
\
from
erp5.component.test
.testERP5BankingMoneyDeposit
\
import
TestERP5BankingMoneyDepositMixin
import
TestERP5BankingMoneyDepositMixin
from
Products.ERP5Form.PreferenceTool
import
Priority
from
Products.ERP5Form.PreferenceTool
import
Priority
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingAvailableInventory.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingAvailableInventory
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingAvailableInventory
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingAvailableInventory
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingBankAccountInventory.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingBankAccountInventory.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2007-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2007-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
DateTime
import
DateTime
from
DateTime
import
DateTime
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingBankAccountInventory.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingBankAccountInventory
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingBankAccountInventory
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingBankAccountInventory
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashBalanceRegulation.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashBalanceRegulation.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashBalanceRegulation.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashBalanceRegulation
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashBalanceRegulation
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashBalanceRegulation
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashClassification.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashClassification.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashClassification.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashClassification
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashClassification
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashClassification
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashExchange.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashExchange.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -31,7 +32,7 @@
...
@@ -31,7 +32,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashExchange.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashExchange
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashExchange
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashExchange
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:438, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashInventory.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashInventory.py
View file @
0d2bd4c0
##############################################################################
#############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Aurelien Calonne <aurel@nexedi.com>
# Aurelien Calonne <aurel@nexedi.com>
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
DateTime
import
DateTime
from
DateTime
import
DateTime
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashInventory.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashInventory
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashInventory
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashInventory
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashMovement.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashMovement.py
View file @
0d2bd4c0
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
@@ -405,13 +405,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin):
...
@@ -405,13 +405,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin):
"""
"""
self
.
cash_movement
.
deleteContent
(
'invalid_line'
)
self
.
cash_movement
.
deleteContent
(
'invalid_line'
)
def
stepDelCashMovement
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
"""
Delete the invalid cash_movement line previously create
"""
self
.
cash_movement_module
.
deleteContent
(
'cash_movement_1'
)
def
stepCheckTotal
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
def
stepCheckTotal
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
"""
"""
Check the total after the creation of the two cash_movement lines
Check the total after the creation of the two cash_movement lines
...
@@ -513,24 +506,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin):
...
@@ -513,24 +506,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin):
# check we will have 12 coins of 200 after deliver
# check we will have 12 coins of 200 after deliver
self
.
assertEqual
(
self
.
simulation_tool
.
getFutureInventory
(
node
=
self
.
vault_destination
.
getRelativeUrl
(),
resource
=
self
.
piece_200
.
getRelativeUrl
()),
12.0
)
self
.
assertEqual
(
self
.
simulation_tool
.
getFutureInventory
(
node
=
self
.
vault_destination
.
getRelativeUrl
(),
resource
=
self
.
piece_200
.
getRelativeUrl
()),
12.0
)
def
stepDeliverCashMovement
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
"""
Deliver the cash_movement with a good user
and check that the deliver of a cash tranfer have achieved
"""
# do the workflow transition "deliver_action"
self
.
workflow_tool
.
doActionFor
(
self
.
cash_movement
,
'deliver_action'
,
wf_id
=
'cash_movement_workflow'
)
# execute tic
self
.
tic
()
# get state of cash_movement
state
=
self
.
cash_movement
.
getSimulationState
()
# check that state is delivered
self
.
assertEqual
(
state
,
'delivered'
)
# get workflow history
workflow_history
=
self
.
workflow_tool
.
getInfoFor
(
ob
=
self
.
cash_movement
,
name
=
'history'
,
wf_id
=
'cash_movement_workflow'
)
# check len of len workflow history is 6
self
.
assertEqual
(
len
(
workflow_history
),
6
)
def
stepSetCashMovementCurrencyHandover
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
def
stepSetCashMovementCurrencyHandover
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
self
.
cash_movement
.
setCurrencyHandover
(
True
)
self
.
cash_movement
.
setCurrencyHandover
(
True
)
self
.
cash_movement
.
setDestination
(
None
)
self
.
cash_movement
.
setDestination
(
None
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashMovement.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashMovement
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashMovement
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashMovement
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:437, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashMovementNewNotEmitted.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashMovementNewNotEmitted.py
View file @
0d2bd4c0
...
@@ -26,11 +26,10 @@
...
@@ -26,11 +26,10 @@
#
#
##############################################################################
##############################################################################
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.testERP5BankingMonetaryIssue
import
TestERP5BankingMonetaryReceptionMixin
from
erp5.component.test
.testERP5BankingMonetaryIssue
import
TestERP5BankingMonetaryReceptionMixin
from
DateTime
import
DateTime
from
DateTime
import
DateTime
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashMovementNewNotEmitted.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashMovementNewNotEmitted
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashMovementNewNotEmitted
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashMovementNewNotEmitted
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashSorting.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashSorting.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashSorting.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashSorting
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashSorting
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashSorting
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashToCurrencyPurchase.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashToCurrencyPurchase.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -27,7 +28,7 @@
...
@@ -27,7 +28,7 @@
##############################################################################
##############################################################################
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_SEVERITY'
]
=
'-300'
os
.
environ
[
'EVENT_LOG_SEVERITY'
]
=
'-300'
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashToCurrencyPurchase.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashToCurrencyPurchase
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashToCurrencyPurchase
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashToCurrencyPurchase
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCashToCurrencySale.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCashToCurrencySale.py
View file @
0d2bd4c0
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
##############################################################################
##############################################################################
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_SEVERITY'
]
=
'-300'
os
.
environ
[
'EVENT_LOG_SEVERITY'
]
=
'-300'
...
@@ -340,7 +340,7 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin):
...
@@ -340,7 +340,7 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin):
self
.
assertTrue
(
message
.
find
(
'Insufficient balance'
)
>=
0
,
message
)
self
.
assertTrue
(
message
.
find
(
'Insufficient balance'
)
>=
0
,
message
)
# Backward compatibility (merged steps)
# Backward compatibility (merged steps)
def
_noop
(
*
args
,
**
kw
):
def
_noop
(
self
,
*
args
,
**
kw
):
pass
pass
stepCheckInitialInventoryGuichet_Entrante
=
stepCheckInitialInventoryGuichet
stepCheckInitialInventoryGuichet_Entrante
=
stepCheckInitialInventoryGuichet
stepCheckFinalInventoryGuichet_Entrante
=
stepCheckFinalInventoryGuichet
stepCheckFinalInventoryGuichet_Entrante
=
stepCheckFinalInventoryGuichet
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCashToCurrencySale.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCashToCurrencySale
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCashToCurrencySale
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCashToCurrencySale
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 98, 4: Unused variable \'assertEqual\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCheckDeposit.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCheckDeposit.py
View file @
0d2bd4c0
...
@@ -32,8 +32,7 @@ import os
...
@@ -32,8 +32,7 @@ import os
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module.TestERP5BankingMixin
import
TestERP5BankingMixin
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckDeposit.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCheckDeposit
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCheckDeposit
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCheckDeposit
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCheckPayment.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCheckPayment.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@ from zLOG import LOG
...
@@ -33,7 +34,7 @@ from zLOG import LOG
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckPayment.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCheckPayment
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCheckPayment
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCheckPayment
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:472, 8: Redefining built-in \'id\' (redefined-builtin)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCheckbookDelivery.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCheckbookDelivery.py
View file @
0d2bd4c0
...
@@ -26,13 +26,12 @@
...
@@ -26,13 +26,12 @@
#
#
##############################################################################
##############################################################################
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.testERP5BankingCheckbookUsualCashTransfer
\
from
erp5.component.test
.testERP5BankingCheckbookUsualCashTransfer
\
import
TestERP5BankingCheckbookUsualCashTransferMixin
import
TestERP5BankingCheckbookUsualCashTransferMixin
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookDelivery.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCheckbookDelivery
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCheckbookDelivery
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCheckbookDelivery
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCheckbookReception.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCheckbookReception.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookReception.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCheckbookReception
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCheckbookReception
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCheckbookReception
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:134, 35: Redefining built-in \'id\' (redefined-builtin)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCheckbookUsualCashTransfer.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCheckbookUsualCashTransfer.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -31,7 +32,7 @@
...
@@ -31,7 +32,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.testERP5BankingCheckbookVaultTransfer
\
from
erp5.component.test
.testERP5BankingCheckbookVaultTransfer
\
import
TestERP5BankingCheckbookVaultTransferMixin
import
TestERP5BankingCheckbookVaultTransferMixin
from
zLOG
import
LOG
from
zLOG
import
LOG
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookUsualCashTransfer.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCheckbookUsualCashTransfer
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCheckbookUsualCashTransfer
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:261, 4: Unused variable \'state\' (unused-variable)
</string>
<string>
W:265, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
<string>
W:275, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCheckbookVaultTransfer.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCheckbookVaultTransfer.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCheckbookVaultTransfer.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCheckbookVaultTransfer
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCheckbookVaultTransfer
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingClassificationSurvey.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingClassificationSurvey.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingClassificationSurvey.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingClassificationSurvey
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingClassificationSurvey
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingClassificationSurvey
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:452, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCounterDate.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCounterDate.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@ from zLOG import LOG
...
@@ -33,7 +34,7 @@ from zLOG import LOG
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Testing
import
ZopeTestCase
from
Testing
import
ZopeTestCase
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCounterDate.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCounterDate
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCounterDate
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCounterDate
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 82, 71: Redefining built-in \'open\' (redefined-builtin)
</string>
<string>
W: 82, 50: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:139, 20: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:177, 6: Redefining built-in \'id\' (redefined-builtin)
</string>
<string>
W:175, 4: Unused variable \'counter_date_module\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingCounterRendering.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingCounterRendering.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingCounterRendering.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingCounterRendering
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingCounterRendering
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingCounterRendering
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:441, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingDestructionSurvey.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingDestructionSurvey.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingDestructionSurvey.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingDestructionSurvey
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingDestructionSurvey
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingDestructionSurvey
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:372, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingForeignCashReception.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingForeignCashReception.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingForeignCashReception.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingForeignCashReception
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingForeignCashReception
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingForeignCashReception
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingInternalMoneyDeposit.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingInternalMoneyDeposit.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingInternalMoneyDeposit.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingInternalMoneyDeposit
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingInternalMoneyDeposit
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingInternalMoneyDeposit
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingInternalMoneyPayment.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingInternalMoneyPayment.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingInternalMoneyPayment.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingInternalMoneyPayment
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingInternalMoneyPayment
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingInternalMoneyPayment
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMonetaryDestruction.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMonetaryDestruction.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
DateTime
import
DateTime
from
DateTime
import
DateTime
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryDestruction.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMonetaryDestruction
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMonetaryDestruction
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMonetaryDestruction
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:856, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
<string>
W:912, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
<string>
W:935, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMonetaryIssue.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMonetaryIssue.py
View file @
0d2bd4c0
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
DateTime
import
DateTime
from
DateTime
import
DateTime
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
@@ -207,9 +207,7 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin):
...
@@ -207,9 +207,7 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin):
# get the cash container item from the monetary reception
# get the cash container item from the monetary reception
cash_container_item_list
=
[
x
.
getObject
()
for
x
in
self
.
simulation_tool
.
getCurrentTrackingList
(
node
=
self
.
reception
.
getRelativeUrl
())]
cash_container_item_list
=
[
x
.
getObject
()
for
x
in
self
.
simulation_tool
.
getCurrentTrackingList
(
node
=
self
.
reception
.
getRelativeUrl
())]
self
.
assertEqual
(
len
(
cash_container_item_list
),
2
)
self
.
assertEqual
(
len
(
cash_container_item_list
),
2
)
def
reference_sort
(
a
,
b
):
cash_container_item_list
.
sort
(
lambda
a
,
b
:
cmp
(
a
.
getReference
(),
b
.
getReference
()))
return
cmp
(
a
.
getReference
(),
b
.
getReference
())
cash_container_item_list
.
sort
(
reference_sort
)
# contruct list of dict to create cash container
# contruct list of dict to create cash container
new_cash_container_list
=
[]
new_cash_container_list
=
[]
...
@@ -227,9 +225,7 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin):
...
@@ -227,9 +225,7 @@ class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin):
container_dict
[
'aggregate'
]
=
cash_container
container_dict
[
'aggregate'
]
=
cash_container
new_cash_container_list
.
append
(
container_dict
)
new_cash_container_list
.
append
(
container_dict
)
i
+=
1
i
+=
1
def
reference_sort
(
a
,
b
):
new_cash_container_list
.
sort
(
lambda
a
,
b
:
cmp
(
a
[
'reference'
],
b
[
'reference'
]))
return
cmp
(
a
[
'reference'
],
b
[
'reference'
])
new_cash_container_list
.
sort
(
reference_sort
)
global_dict
=
{}
global_dict
=
{}
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryIssue.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMonetaryIssue
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMonetaryIssue
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMonetaryIssue
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMonetaryRecall.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMonetaryRecall.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryRecall.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMonetaryRecall
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMonetaryRecall
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMonetaryRecall
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:491, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMonetaryReception.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMonetaryReception.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetaryReception.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMonetaryReception
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMonetaryReception
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMonetaryReception
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMonetarySurvey.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMonetarySurvey.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -31,7 +32,7 @@
...
@@ -31,7 +32,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMonetarySurvey.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMonetarySurvey
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMonetarySurvey
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMonetarySurvey
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:408, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMoneyDeposit.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMoneyDeposit.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMoneyDeposit.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMoneyDeposit
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMoneyDeposit
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMoneyDeposit
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMoneyDepositRendering.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMoneyDepositRendering.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMoneyDepositRendering.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMoneyDepositRendering
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMoneyDepositRendering
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMoneyDepositRendering
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:446, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingMutilatedBanknote.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingMutilatedBanknote.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -31,7 +32,7 @@
...
@@ -31,7 +32,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
Unauthorized
,
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
Unauthorized
,
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
DateTime
import
DateTime
from
DateTime
import
DateTime
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingMutilatedBanknote.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingMutilatedBanknote
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingMutilatedBanknote
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingMutilatedBanknote
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:245, 4: Unused variable \'mutilated_banknote_destination\' (unused-variable)
</string>
<string>
W:627, 4: Unused variable \'hq_mutilated_banknote_destination\' (unused-variable)
</string>
<string>
W:831, 4: Unused variable \'sequence_string_1\' (unused-variable)
</string>
<string>
W:840, 4: Unused variable \'sequence_string_2\' (unused-variable)
</string>
<string>
W:850, 4: Unused variable \'sequence_string_3\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingStopPayment.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingStopPayment.py
View file @
0d2bd4c0
...
@@ -26,15 +26,14 @@
...
@@ -26,15 +26,14 @@
#
#
##############################################################################
##############################################################################
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.testERP5BankingCheckbookVaultTransfer
\
from
erp5.component.test
.testERP5BankingCheckbookVaultTransfer
\
import
TestERP5BankingCheckbookVaultTransferMixin
import
TestERP5BankingCheckbookVaultTransferMixin
from
Products.ERP5Banking.tests
.testERP5BankingCheckbookUsualCashTransfer
\
from
erp5.component.test
.testERP5BankingCheckbookUsualCashTransfer
\
import
TestERP5BankingCheckbookUsualCashTransferMixin
import
TestERP5BankingCheckbookUsualCashTransferMixin
from
Products.ERP5Banking.tests
.testERP5BankingCheckbookDelivery
\
from
erp5.component.test
.testERP5BankingCheckbookDelivery
\
import
TestERP5BankingCheckbookDeliveryMixin
import
TestERP5BankingCheckbookDeliveryMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingStopPayment.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingStopPayment
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingStopPayment
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingStopPayment
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingTravelerCheckPurchase.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingTravelerCheckPurchase.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,9 +31,9 @@
...
@@ -30,9 +31,9 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.testERP5BankingCheckbookUsualCashTransfer
\
from
erp5.component.test
.testERP5BankingCheckbookUsualCashTransfer
\
import
TestERP5BankingCheckbookUsualCashTransferMixin
import
TestERP5BankingCheckbookUsualCashTransferMixin
from
Products.ERP5Banking.tests
.testERP5BankingTravelerCheckSale
\
from
erp5.component.test
.testERP5BankingTravelerCheckSale
\
import
TestERP5BankingTravelerCheckSaleMixin
import
TestERP5BankingTravelerCheckSaleMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingTravelerCheckPurchase.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingTravelerCheckPurchase
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingTravelerCheckPurchase
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingTravelerCheckPurchase
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingTravelerCheckSale.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingTravelerCheckSale.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2006-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -30,9 +31,9 @@
...
@@ -30,9 +31,9 @@
# import requested python module
# import requested python module
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Banking.tests
.testERP5BankingCheckbookUsualCashTransfer
\
from
erp5.component.test
.testERP5BankingCheckbookUsualCashTransfer
\
import
TestERP5BankingCheckbookUsualCashTransferMixin
import
TestERP5BankingCheckbookUsualCashTransferMixin
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingTravelerCheckSale.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingTravelerCheckSale
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingTravelerCheckSale
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingTravelerCheckSale
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingUsualCashRendering.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingUsualCashRendering.py
View file @
0d2bd4c0
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
@@ -453,24 +453,6 @@ class TestERP5BankingUsualCashRendering(TestERP5BankingMixin):
...
@@ -453,24 +453,6 @@ class TestERP5BankingUsualCashRendering(TestERP5BankingMixin):
# check we will have 12 coins of 200 after deliver
# check we will have 12 coins of 200 after deliver
self
.
assertEqual
(
self
.
simulation_tool
.
getFutureInventory
(
node
=
self
.
auxiliaire
.
getRelativeUrl
(),
resource
=
self
.
piece_200
.
getRelativeUrl
()),
12.0
)
self
.
assertEqual
(
self
.
simulation_tool
.
getFutureInventory
(
node
=
self
.
auxiliaire
.
getRelativeUrl
(),
resource
=
self
.
piece_200
.
getRelativeUrl
()),
12.0
)
def
stepDeliverUsualCashRendering
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
"""
Deliver the usual_cash_rendering with a good user
and check that the deliver of a cash tranfer have achieved
"""
# do the workflow transition "deliver_action"
self
.
workflow_tool
.
doActionFor
(
self
.
usual_cash_rendering
,
'deliver_action'
,
wf_id
=
'usual_cash_rendering_workflow'
)
# execute tic
self
.
tic
()
# get state of usual_cash_rendering
state
=
self
.
usual_cash_rendering
.
getSimulationState
()
# check that state is delivered
self
.
assertEqual
(
state
,
'delivered'
)
# get workflow history
workflow_history
=
self
.
workflow_tool
.
getInfoFor
(
ob
=
self
.
usual_cash_rendering
,
name
=
'history'
,
wf_id
=
'usual_cash_rendering_workflow'
)
# check len of len workflow history is 6
self
.
assertEqual
(
len
(
workflow_history
),
6
)
def
stepDeliverUsualCashRendering
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
def
stepDeliverUsualCashRendering
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kwd
):
"""
"""
Deliver the usual_cash_rendering with a good user
Deliver the usual_cash_rendering with a good user
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingUsualCashRendering.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingUsualCashRendering
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingUsualCashRendering
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingUsualCashRendering
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:470, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingUsualCashTransfer.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingUsualCashTransfer.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingUsualCashTransfer.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingUsualCashTransfer
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingUsualCashTransfer
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingUsualCashTransfer
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:440, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5Banking/tests/
testERP5BankingVaultTransfer.py
→
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.
testERP5BankingVaultTransfer.py
View file @
0d2bd4c0
##############################################################################
##############################################################################
#
#
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
# Copyright (c) 2005-2010 Nexedi SA and Contributors. All Rights Reserved.
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
import
os
import
os
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.ERP5Banking.tests
.TestERP5BankingMixin
import
TestERP5BankingMixin
from
erp5.component.module
.TestERP5BankingMixin
import
TestERP5BankingMixin
# Needed in order to have a log file inside the current folder
# Needed in order to have a log file inside the current folder
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
os
.
environ
[
'EVENT_LOG_FILE'
]
=
os
.
path
.
join
(
os
.
getcwd
(),
'zLOG.log'
)
...
...
bt5/erp5_banking_core/TestTemplateItem/portal_components/test.erp5.testERP5BankingVaultTransfer.xml
0 → 100644
View file @
0d2bd4c0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testERP5BankingVaultTransfer
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5Banking.tests.testERP5BankingVaultTransfer
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testERP5BankingVaultTransfer
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W:657, 4: Unused variable \'workflow_history\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_banking_core/bt/template_document_id_list
0 → 100644
View file @
0d2bd4c0
document.erp5.BankingOperation
document.erp5.BankingOperationLine
document.erp5.CashContainer
document.erp5.CashCurrency
document.erp5.CashDelivery
document.erp5.CashDeliveryCell
document.erp5.CashDeliveryLine
document.erp5.CashInventory
document.erp5.CashInventoryCell
document.erp5.CashInventoryLine
document.erp5.CheckOperationLine
\ No newline at end of file
bt5/erp5_banking_core/bt/template_module_component_id_list
0 → 100644
View file @
0d2bd4c0
module.erp5.BaobabMixin
module.erp5.TestERP5BankingMixin
\ No newline at end of file
bt5/erp5_banking_core/bt/template_test_id_list
0 → 100644
View file @
0d2bd4c0
test.erp5.testERP5BankingAccountingCancellation
test.erp5.testERP5BankingAccountingDate
test.erp5.testERP5BankingAvailableInventory
test.erp5.testERP5BankingBankAccountInventory
test.erp5.testERP5BankingCashBalanceRegulation
test.erp5.testERP5BankingCashClassification
test.erp5.testERP5BankingCashExchange
test.erp5.testERP5BankingCashInventory
test.erp5.testERP5BankingCashMovement
test.erp5.testERP5BankingCashMovementNewNotEmitted
test.erp5.testERP5BankingCashSorting
test.erp5.testERP5BankingCashToCurrencyPurchase
test.erp5.testERP5BankingCashToCurrencySale
test.erp5.testERP5BankingCheckDeposit
test.erp5.testERP5BankingCheckPayment
test.erp5.testERP5BankingCheckbookDelivery
test.erp5.testERP5BankingCheckbookReception
test.erp5.testERP5BankingCheckbookUsualCashTransfer
test.erp5.testERP5BankingCheckbookVaultTransfer
test.erp5.testERP5BankingClassificationSurvey
test.erp5.testERP5BankingCounterDate
test.erp5.testERP5BankingCounterRendering
test.erp5.testERP5BankingDestructionSurvey
test.erp5.testERP5BankingForeignCashReception
test.erp5.testERP5BankingInternalMoneyDeposit
test.erp5.testERP5BankingInternalMoneyPayment
test.erp5.testERP5BankingMonetaryDestruction
test.erp5.testERP5BankingMonetaryIssue
test.erp5.testERP5BankingMonetaryRecall
test.erp5.testERP5BankingMonetaryReception
test.erp5.testERP5BankingMonetarySurvey
test.erp5.testERP5BankingMoneyDeposit
test.erp5.testERP5BankingMoneyDepositRendering
test.erp5.testERP5BankingMutilatedBanknote
test.erp5.testERP5BankingStopPayment
test.erp5.testERP5BankingTravelerCheckPurchase
test.erp5.testERP5BankingTravelerCheckSale
test.erp5.testERP5BankingUsualCashRendering
test.erp5.testERP5BankingUsualCashTransfer
test.erp5.testERP5BankingVaultTransfer
\ No newline at end of file
bt5/erp5_banking_core/bt/test_dependency_list
0 → 100644
View file @
0d2bd4c0
erp5_full_text_myisam_catalog
erp5_core_proxy_field_legacy
erp5_base
erp5_pdm
erp5_item
erp5_banking_inventory
erp5_banking_cash
erp5_banking_check
\ No newline at end of file
product/ERP5Banking/Constraint/__init__.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/Document/__init__.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/Extensions/__init__.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/MAINTAINERS.txt
deleted
100644 → 0
View file @
4820965b
aurel
seb
product/ERP5Banking/Permissions.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/PropertySheet/__init__.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/README.txt
deleted
100755 → 0
View file @
4820965b
ERP5Banking
ERP5Banking was automatically generated by ERP5 Class Tool.
product/ERP5Banking/Tool/__init__.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/VERSION.txt
deleted
100644 → 0
View file @
4820965b
ERP5Banking 5.4.7
product/ERP5Banking/__init__.py
deleted
100644 → 0
View file @
4820965b
##############################################################################
#
# Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
# Yoshinori Okuji <yo@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
"""
ERP5 Free Software ERP
"""
# Update ERP5 Globals
from
Products.ERP5Type.Utils
import
initializeProduct
,
updateGlobals
import
sys
,
Permissions
this_module
=
sys
.
modules
[
__name__
]
document_classes
=
updateGlobals
(
this_module
,
globals
(),
permissions_module
=
Permissions
)
# Finish installation
def
initialize
(
context
):
import
Document
initializeProduct
(
context
,
this_module
,
globals
(),
document_module
=
Document
,
document_classes
=
document_classes
,
object_classes
=
(),
portal_tools
=
(),
content_constructors
=
(),
content_classes
=
())
product/ERP5Banking/dtml/__init__.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/skins/__init__.py
deleted
100644 → 0
View file @
4820965b
product/ERP5Banking/tests/__init__.py
deleted
100644 → 0
View file @
4820965b
Arnaud Fontaine
@arnau
mentioned in commit
45137714
·
Jan 10, 2020
mentioned in commit
45137714
mentioned in commit 45137714e6293e714ed1b777a1b1c3ce502411b1
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment