diff --git a/bt5/erp5_real_time_inventory_accounting/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting/AccountingTransaction_selectInventoryAssetPriceMovement.py b/bt5/erp5_real_time_inventory_accounting/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting/AccountingTransaction_selectInventoryAssetPriceMovement.py index b8718b69b05cfba8ac0ca1458429709f1946cd7d..cc6642edce249d394c135b6ca6f7dcc28bb82c9d 100644 --- a/bt5/erp5_real_time_inventory_accounting/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting/AccountingTransaction_selectInventoryAssetPriceMovement.py +++ b/bt5/erp5_real_time_inventory_accounting/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting/AccountingTransaction_selectInventoryAssetPriceMovement.py @@ -1,12 +1,9 @@ -kw['parent_specialise_reference'] = ['default_inventory_accounting_transaction_rule'] -kw['grand_grand_parent_specialise_reference'] = ['default_delivering_rule', 'default_delivery_rule'] -kw['explanation_portal_type'] = ['Sale Packing List', 'Purchase Packing List', 'Internal Packing List', 'Production Packing List'] kw['portal_type'] = 'Simulation Movement' kw['delivery_uid'] = None kw['left_join_list'] = ['delivery_uid'] kw['select_dict'] = dict(delivery_uid=None) kw['group_by'] = ('uid',) -kw['simulation_state'] = ['planned', 'auto_planned'] +kw['grand_parent_simulation_state'] = 'started', 'stopped', 'delivered' result = context.portal_catalog(**kw) context.log("%r => %r" % (kw, [brain.getObject() for brain in result])) diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge.xml new file mode 100644 index 0000000000000000000000000000000000000000..5ce604675cdeb769a7f49b54123abf1433c6838b --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge.xml @@ -0,0 +1,318 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Business Process" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>HOGE-INTERNAL</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bpm_internal_hoge</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Business Process</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>HOGE Internal Business Process</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>1</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> + <item> + <key> <string>validation_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>966.3681.64349.54681</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1520578687.86</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>validate</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1520579325.16</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>validated</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/deliver_link.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/deliver_link.xml similarity index 100% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/deliver_link.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/deliver_link.xml diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/delivery_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/delivery_path.xml similarity index 100% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/delivery_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/delivery_path.xml diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_account_link.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_account_link.xml similarity index 91% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_account_link.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_account_link.xml index 1fc415f7ec53ec47098e733ec14e5abfa20b419b..75ba806fb101f3d92a5c17c3bb661cd7efd4dbbe 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_account_link.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_account_link.xml @@ -26,7 +26,16 @@ <string>trade_phase/trade/inventory_accounting</string> <string>successor/trade_state/inventory_accounted</string> <string>delivery_builder/portal_deliveries/inventory_asset_price_accounting_transaction_builder</string> - <string>delivery_builder/portal_deliveries/sale_invoice_transaction_builder</string> + </tuple> + </value> + </item> + <item> + <key> <string>completed_state</string> </key> + <value> + <tuple> + <string>delivered</string> + <string>started</string> + <string>stopped</string> </tuple> </value> </item> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_in_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_in_credit_path.xml similarity index 92% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_in_credit_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_in_credit_path.xml index b99477f71b49021f60e979611157ca8948dc2e0c..b770eb9268ce76eeca1d7a617e09a219311b5fbd 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_in_credit_path.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_in_credit_path.xml @@ -56,7 +56,7 @@ </item> <item> <key> <string>destination_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination</string> </value> </item> <item> <key> <string>efficiency</string> </key> @@ -114,7 +114,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Production Packing List Line\', \'Production Packing List Cell\', \'Purchase Packing List Line\', \'Purchase Packing List Cell\', \'Internal Packing List Line\', \'Internal Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_in_debit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_in_debit_path.xml similarity index 92% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_in_debit_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_in_debit_path.xml index 7d313ca3ead5dc3f1770638e9d4b4668ecb52db5..4c5941d17410315cddd97fcc387169a7ed0f74e6 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_in_debit_path.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_in_debit_path.xml @@ -56,7 +56,7 @@ </item> <item> <key> <string>destination_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination</string> </value> </item> <item> <key> <string>id</string> </key> @@ -110,7 +110,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Production Packing List Line\', \'Production Packing List Cell\', \'Purchase Packing List Line\', \'Purchase Packing List Cell\', \'Internal Packing List Line\', \'Internal Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_out_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_out_credit_path.xml similarity index 92% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_out_credit_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_out_credit_path.xml index ec11d4a1cf979cca6739e77a56c17194d8a0b6aa..2ce9c64aec7c714579b13ef41aadeb36ecef4a91 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_out_credit_path.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_out_credit_path.xml @@ -98,7 +98,7 @@ </item> <item> <key> <string>source_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource</string> </value> </item> <item> <key> <string>string_index</string> </key> @@ -114,7 +114,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Production Packing List Line\', \'Production Packing List Cell\', \'Sale Packing List Line\', \'Sale Packing List Cell\', \'Internal Packing List Line\', \'Internal Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_out_debit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_out_debit_path.xml similarity index 92% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_out_debit_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_out_debit_path.xml index 79c0193c6bc55d0cbfc476f24f012f9bbb547cc5..a0cd31c0a1730cc19dc9a3fb76a188fb0c2a6f0c 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_stock_ledger_out_debit_path.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_internal_hoge/inventory_accounting_stock_ledger_out_debit_path.xml @@ -94,7 +94,7 @@ </item> <item> <key> <string>source_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource</string> </value> </item> <item> <key> <string>string_index</string> </key> @@ -110,7 +110,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Production Packing List Line\', \'Production Packing List Cell\', \'Sale Packing List Line\', \'Sale Packing List Cell\', \'Internal Packing List Line\', \'Internal Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge.xml new file mode 100644 index 0000000000000000000000000000000000000000..7679cf91a55fbf2240af361c71ed924d5b843ea4 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge.xml @@ -0,0 +1,318 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Business Process" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>HOGE-PURCHASE</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bpm_purchase_hoge</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Business Process</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>HOGE Purchase Business Process</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>1</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> + <item> + <key> <string>validation_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>966.3678.39018.10752</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1520578653.04</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>validate</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1520578659.02</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>validated</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/deliver_link.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/deliver_link.xml new file mode 100644 index 0000000000000000000000000000000000000000..4de1c5d5e1d2365b8f1f7fedfc2480cf47ea71d9 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/deliver_link.xml @@ -0,0 +1,110 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Business Link" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/delivery</string> + <string>successor/trade_state/delivered</string> + </tuple> + </value> + </item> + <item> + <key> <string>completed_state</string> </key> + <value> + <tuple> + <string>delivered</string> + <string>started</string> + <string>stopped</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>deliver</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>frozen_state</string> </key> + <value> + <tuple> + <string>cancelled</string> + <string>delivered</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_link</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Business Link</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/delivery_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/delivery_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..b20b016e97e07877e85d9967bdda160d84a0adb4 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/delivery_path.xml @@ -0,0 +1,98 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/delivery</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-DELIVERY</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>delivery_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Delivery</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_account_link.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_account_link.xml new file mode 100644 index 0000000000000000000000000000000000000000..75ba806fb101f3d92a5c17c3bb661cd7efd4dbbe --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_account_link.xml @@ -0,0 +1,112 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Business Link" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>predecessor/trade_state/delivered</string> + <string>trade_phase/trade/inventory_accounting</string> + <string>successor/trade_state/inventory_accounted</string> + <string>delivery_builder/portal_deliveries/inventory_asset_price_accounting_transaction_builder</string> + </tuple> + </value> + </item> + <item> + <key> <string>completed_state</string> </key> + <value> + <tuple> + <string>delivered</string> + <string>started</string> + <string>stopped</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>inventory_account</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>frozen_state</string> </key> + <value> + <tuple> + <string>cancelled</string> + <string>delivered</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_account_link</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Business Link</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_stock_ledger_in_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_stock_ledger_in_credit_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..493c36c671d3511206cdd02d1c1ef6fb2c0fb5ef --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_stock_ledger_in_credit_path.xml @@ -0,0 +1,158 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/stock/entree</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-STOCK-LG-IN-CREDIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination</string> </value> + </item> + <item> + <key> <string>efficiency</string> </key> + <value> <float>-1.0</float> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_stock_ledger_in_credit_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Stock Ledger In Credit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_stock_ledger_in_debit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_stock_ledger_in_debit_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..d3a349ebe05a6805263cfe20808da1af02db5a89 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_stock_ledger_in_debit_path.xml @@ -0,0 +1,154 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/stock/entree</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-STOCK-LG-IN-DEBIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_stock_ledger_in_debit_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Stock Ledger In Debit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_in_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_in_credit_path.xml similarity index 91% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_in_credit_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_in_credit_path.xml index a049926560a58c30171e07a1be7c5b2ccbcfafec..6d47cc6efc383d1f406bb73b3d5ca7fed764ea5a 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_in_credit_path.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_in_credit_path.xml @@ -62,7 +62,7 @@ </item> <item> <key> <string>destination_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination</string> </value> </item> <item> <key> <string>efficiency</string> </key> @@ -102,7 +102,9 @@ </item> <item> <key> <string>source_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>string_index</string> </key> @@ -118,7 +120,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Sale Packing List Line\', \'Sale Packing List Cell\', \'Purchase Packing List Line\', \'Purchase Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_in_debit.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_in_debit.xml similarity index 91% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_in_debit.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_in_debit.xml index d434f249c785ae5903d082e46138ac4ac55a9309..9b74ae2274bac30337fe89486385f5f41256a9a4 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_in_debit.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_in_debit.xml @@ -56,7 +56,7 @@ </item> <item> <key> <string>destination_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination</string> </value> </item> <item> <key> <string>id</string> </key> @@ -92,7 +92,9 @@ </item> <item> <key> <string>source_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>string_index</string> </key> @@ -108,7 +110,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Sale Packing List Line\', \'Sale Packing List Cell\', \'Purchase Packing List Line\', \'Purchase Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_out_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_out_credit_path.xml similarity index 91% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_out_credit_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_out_credit_path.xml index 8ab9aad5cec01452b7be78a79bb1ae8f624fe3bc..62752ed2c4d921ab2cc23c816ea421c4aeee3401 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_out_credit_path.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_out_credit_path.xml @@ -56,7 +56,7 @@ </item> <item> <key> <string>destination_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination</string> </value> </item> <item> <key> <string>efficiency</string> </key> @@ -96,7 +96,9 @@ </item> <item> <key> <string>source_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>string_index</string> </key> @@ -112,7 +114,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Sale Packing List Line\', \'Sale Packing List Cell\', \'Purchase Packing List Line\', \'Purchase Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_out_debit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_out_debit_path.xml similarity index 91% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_out_debit_path.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_out_debit_path.xml index 5151acce2c3f2513fdcc83baa2a85278b37da13e..4c0ca9197203dfd8fad10b47924f229bdfe1b708 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge/inventory_accounting_transit_ledger_out_debit_path.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_purchase_hoge/inventory_accounting_transit_ledger_out_debit_path.xml @@ -56,7 +56,7 @@ </item> <item> <key> <string>destination_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination</string> </value> </item> <item> <key> <string>id</string> </key> @@ -92,7 +92,9 @@ </item> <item> <key> <string>source_method_id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>string_index</string> </key> @@ -108,7 +110,9 @@ </item> <item> <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getDeliveryValue() is not None and context.getDeliveryValue().getPortalType() in (\'Sale Packing List Line\', \'Sale Packing List Cell\', \'Purchase Packing List Line\', \'Purchase Packing List Cell\')</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge.xml similarity index 96% rename from bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge.xml rename to bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge.xml index a13c658c282a3aa5fe4b468d05a271657e425318..ff03f78d63705b9425d030d87357821fb7524886 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_hoge.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge.xml @@ -84,7 +84,7 @@ </item> <item> <key> <string>default_reference</string> </key> - <value> <string>HOGE</string> </value> + <value> <string>HOGE-SALE</string> </value> </item> <item> <key> <string>description</string> </key> @@ -94,7 +94,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>bpm_hoge</string> </value> + <value> <string>bpm_sale_hoge</string> </value> </item> <item> <key> <string>portal_type</string> </key> @@ -102,7 +102,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>HOGE Business Process</string> </value> + <value> <string>HOGE Sale Business Process</string> </value> </item> <item> <key> <string>version</string> </key> @@ -226,7 +226,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>965.4611.64003.10052</string> </value> + <value> <string>966.3660.44366.15598</string> </value> </item> <item> <key> <string>state</string> </key> @@ -244,7 +244,7 @@ </tuple> <state> <tuple> - <float>1516961817.69</float> + <float>1520578668.79</float> <string>UTC</string> </tuple> </state> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/deliver_link.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/deliver_link.xml new file mode 100644 index 0000000000000000000000000000000000000000..4de1c5d5e1d2365b8f1f7fedfc2480cf47ea71d9 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/deliver_link.xml @@ -0,0 +1,110 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Business Link" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/delivery</string> + <string>successor/trade_state/delivered</string> + </tuple> + </value> + </item> + <item> + <key> <string>completed_state</string> </key> + <value> + <tuple> + <string>delivered</string> + <string>started</string> + <string>stopped</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>deliver</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>frozen_state</string> </key> + <value> + <tuple> + <string>cancelled</string> + <string>delivered</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>deliver_link</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Business Link</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/delivery_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/delivery_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..b20b016e97e07877e85d9967bdda160d84a0adb4 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/delivery_path.xml @@ -0,0 +1,98 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/delivery</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-DELIVERY</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>delivery_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Delivery</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_account_link.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_account_link.xml new file mode 100644 index 0000000000000000000000000000000000000000..75ba806fb101f3d92a5c17c3bb661cd7efd4dbbe --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_account_link.xml @@ -0,0 +1,112 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Business Link" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>predecessor/trade_state/delivered</string> + <string>trade_phase/trade/inventory_accounting</string> + <string>successor/trade_state/inventory_accounted</string> + <string>delivery_builder/portal_deliveries/inventory_asset_price_accounting_transaction_builder</string> + </tuple> + </value> + </item> + <item> + <key> <string>completed_state</string> </key> + <value> + <tuple> + <string>delivered</string> + <string>started</string> + <string>stopped</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>inventory_account</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>frozen_state</string> </key> + <value> + <tuple> + <string>cancelled</string> + <string>delivered</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_account_link</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Business Link</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_stock_ledger_out_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_stock_ledger_out_credit_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..823aa96d3a207e524661cd7473c0d8996b206c27 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_stock_ledger_out_credit_path.xml @@ -0,0 +1,158 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/stock/sortie</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-STOCK-LG-OUT-CREDIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>efficiency</string> </key> + <value> <float>-1.0</float> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_stock_ledger_out_credit_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource</string> </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Stock Ledger Out Credit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_stock_ledger_out_debit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_stock_ledger_out_debit_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..ca072c41940067172b5197d1ba1f49fbef405914 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_stock_ledger_out_debit_path.xml @@ -0,0 +1,154 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/stock/sortie</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-STOCK-LG-OUT-DEBIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_stock_ledger_out_debit_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource</string> </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Stock Ledger Out Debit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_in_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_in_credit_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..77739a05d60df296ce4315910a7104ebc50b513f --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_in_credit_path.xml @@ -0,0 +1,164 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/transit/entree</string> + </tuple> + </value> + </item> + <item> + <key> <string>criterion_property</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-TRANSIT-LG-IN-CREDIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>efficiency</string> </key> + <value> <float>-1.0</float> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_transit_ledger_in_credit_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource</string> </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Transit Ledger In Credit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_in_debit.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_in_debit.xml new file mode 100644 index 0000000000000000000000000000000000000000..a7e24eb2652ee6ebec2fa41e335c3da3e6745ccc --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_in_debit.xml @@ -0,0 +1,154 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/transit/entree</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-TRANSIT-LG-IN-DEBIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_transit_ledger_in_debit</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource</string> </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Transit Ledger In Debit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_out_credit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_out_credit_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..2be0de3b120ff8614c3c100b2036b204514d486c --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_out_credit_path.xml @@ -0,0 +1,158 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/transit/sortie</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-TRANSIT-LG-OUT-CREDIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>efficiency</string> </key> + <value> <float>-1.0</float> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_transit_ledger_out_credit_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource</string> </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Transit Ledger Out Credit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_out_debit_path.xml b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_out_debit_path.xml new file mode 100644 index 0000000000000000000000000000000000000000..6aaa6052cf7855c1b9db70d23625360ca2508842 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/PathTemplateItem/business_process_module/bpm_sale_hoge/inventory_accounting_transit_ledger_out_debit_path.xml @@ -0,0 +1,154 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Trade Model Path" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>ledger</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>trade_phase/trade/inventory_accounting</string> + <string>ledger/transit/sortie</string> + </tuple> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>TMP-INVENTORY-ACCOUNTING-TRANSIT-LG-OUT-DEBIT</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>destination_method_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>inventory_accounting_transit_ledger_out_debit_path</string> </value> + </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>ledger</string> </key> + <value> <string>stock</string> </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>payment_end_of_month</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Trade Model Path</string> </value> + </item> + <item> + <key> <string>source_method_id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource</string> </value> + </item> + <item> + <key> <string>string_index</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>test_tales_expression</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Inventory Accounting Transit Ledger Out Debit</string> </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/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..4a60fe5f8fc55670b6b06b6f2abf231d28b58ab3 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination.py @@ -0,0 +1,4 @@ +if movement.getDestination() == 'organisation_module/park': + return ['source/account_module/stock_car_park'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..1ea68f8816ed0ad4c290787494c63a262114d74c --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerInCreditDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..808a241ee02e4d4cbd39207a6b8aafb2b02d9440 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination.py @@ -0,0 +1 @@ +return ['source/account_module/variation_cars'] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..7d630cb24b686bcae0ee8cd00cd4c1f43b10393a --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerInDebitDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource.py new file mode 100644 index 0000000000000000000000000000000000000000..808a241ee02e4d4cbd39207a6b8aafb2b02d9440 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource.py @@ -0,0 +1 @@ +return ['source/account_module/variation_cars'] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource.xml new file mode 100644 index 0000000000000000000000000000000000000000..61db9342af84b312147f879926192406daadd426 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerOutCreditSource</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource.py new file mode 100644 index 0000000000000000000000000000000000000000..4d5594e4c6d19f4c1bc15844851b9cdf4dc1fae1 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource.py @@ -0,0 +1,4 @@ +if movement.getSource() == 'organisation_module/workshop': + return ['source/account_module/stock_car_workshop'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource.xml new file mode 100644 index 0000000000000000000000000000000000000000..0b35ef53764181d78cf4cd7d0f250180d0268e72 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingInternalStockLedgerOutDebitSource</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..877f3eec835eef67de670f6de9fa932337ed13b6 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination.py @@ -0,0 +1,4 @@ +if movement.getDestination() == 'organisation_module/supplier': + return ['source/account_module/stock_parts_port'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..8bdaf4e27c50703de6b2aa504922c90add323a84 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseStockLedgerInCreditDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..01a31d7929508ef3c082c02d32de4854b011156e --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination.py @@ -0,0 +1,4 @@ +if movement.getDestination() == 'organisation_module/supplier': + return ['source/account_module/variation_parts'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..c03822ec73297d21562b172c74619aaa1cce618e --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseStockLedgerInDebitDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..9a7f6cf653cded22c48f32716848506a76519227 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination.py @@ -0,0 +1,4 @@ +if movement.getDestination() == 'organisation_module/supplier': + return ['source/account_module/stock_parts_transit'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..80045de2b37f64baa30ff8bb2cf3a9ff1419f418 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInCreditDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..01a31d7929508ef3c082c02d32de4854b011156e --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination.py @@ -0,0 +1,4 @@ +if movement.getDestination() == 'organisation_module/supplier': + return ['source/account_module/variation_parts'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e3acd7f532824f21a86677d145b5031f88fae53 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerInDebitDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..01a31d7929508ef3c082c02d32de4854b011156e --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination.py @@ -0,0 +1,4 @@ +if movement.getDestination() == 'organisation_module/supplier': + return ['source/account_module/variation_parts'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..f0777b6d1f2b7bd8997999fe9449589115ab4f7f --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutCreditDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination.py new file mode 100644 index 0000000000000000000000000000000000000000..9a7f6cf653cded22c48f32716848506a76519227 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination.py @@ -0,0 +1,4 @@ +if movement.getDestination() == 'organisation_module/supplier': + return ['source/account_module/stock_parts_transit'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination.xml new file mode 100644 index 0000000000000000000000000000000000000000..243f2df310100c0d72ec6010ab26c9072df6cc25 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingPurchaseTransitLedgerOutDebitDestination</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource.py new file mode 100644 index 0000000000000000000000000000000000000000..8076f73d2067d04e42540f0a47e5267b8da8f39e --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource.py @@ -0,0 +1,4 @@ +if movement.getSource() == 'organisation_module/hoge': + return ['source/account_module/variation_cars'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource.xml similarity index 97% rename from bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination.xml rename to bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource.xml index e3d28b7e37ff75c0651da5da9c2cb8600bfcfd17..53446c636bf58f22486a2c8d77dface8e3e4908f 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingSaleStockLedgerOutCreditSource</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource.py new file mode 100644 index 0000000000000000000000000000000000000000..15f288061aa5a43ecdfd503d905cd0439b83d30b --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource.py @@ -0,0 +1,4 @@ +if movement.getSource() == 'organisation_module/hoge': + return ['source/account_module/stock_car_park'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource.xml similarity index 97% rename from bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource.xml rename to bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource.xml index 805369bcf0bb3a90b209cb8d74ee702622501fde..84e9e92863fbed33c93f06a4eab643adba42a37e 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingSaleStockLedgerOutDebitSource</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource.py new file mode 100644 index 0000000000000000000000000000000000000000..8076f73d2067d04e42540f0a47e5267b8da8f39e --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource.py @@ -0,0 +1,4 @@ +if movement.getSource() == 'organisation_module/hoge': + return ['source/account_module/variation_cars'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource.xml similarity index 97% rename from bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource.xml rename to bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource.xml index 6681d087299ab7a0124c51b7f0224fe33e4a6e3d..feaa3e23eff989969f5db96e6082a5321afea591 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerInCreditSource</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource.py new file mode 100644 index 0000000000000000000000000000000000000000..ec6f3a07d19478653c64d7299bb6a0f6bcb64d46 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource.py @@ -0,0 +1,4 @@ +if movement.getSource() == 'organisation_module/hoge': + return ['source/account_module/stock_car_transit'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource.xml similarity index 97% rename from bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource.xml rename to bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource.xml index 459d95f561f4e53b35bf9b84d464a5e760d12ac0..348d25b0010d1392ef9376f7f940419ae4985f35 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerInDebitSource</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource.py new file mode 100644 index 0000000000000000000000000000000000000000..ec6f3a07d19478653c64d7299bb6a0f6bcb64d46 --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource.py @@ -0,0 +1,4 @@ +if movement.getSource() == 'organisation_module/hoge': + return ['source/account_module/stock_car_transit'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource.xml new file mode 100644 index 0000000000000000000000000000000000000000..e18d9f1359caa8165260497b93b73118d5e5d54b --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string>movement</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerOutCreditSource</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource.py new file mode 100644 index 0000000000000000000000000000000000000000..8076f73d2067d04e42540f0a47e5267b8da8f39e --- /dev/null +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource.py @@ -0,0 +1,4 @@ +if movement.getSource() == 'organisation_module/hoge': + return ['source/account_module/variation_cars'] + +return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource.xml similarity index 97% rename from bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination.xml rename to bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource.xml index 85d9c1f48d7f9bcf9dac15a70fdf4eb962b4d2fa..7c8a986fb719ff7a11dabaa9e89c119a8bd4bdb5 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination.xml +++ b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource.xml @@ -54,7 +54,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination</string> </value> + <value> <string>TradeModelPath_getInventoryAccountingSaleTransitLedgerOutDebitSource</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination.py deleted file mode 100644 index 9a4b3e0c1644414b6cbf57b163c6b59434b250ae..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInCreditDestination.py +++ /dev/null @@ -1,12 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Purchase Packing List'): - if movement.getDestination() == 'organisation_module/supplier': - return ['source/account_module/stock_parts_port'] -elif delivery_portal_type.startswith('Internal Packing List') or delivery_portal_type.startswith('Production Packing List'): - if movement.getDestination() == 'organisation_module/park': - return ['source/account_module/stock_car_park'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination.py deleted file mode 100644 index cfa833c5f389ac2c21c0e24bd4ecb164c5d4baf7..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerInDebitDestination.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Purchase Packing List'): - if movement.getDestination() == 'organisation_module/supplier': - return ['source/account_module/variation_parts'] -elif delivery_portal_type.startswith('Internal Packing List') or delivery_portal_type.startswith('Production Packing List'): - return ['source/account_module/variation_cars'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource.py deleted file mode 100644 index 2c345a508a8e77f62f0cb957a3f63b3eb1003310..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutCreditSource.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - if movement.getSource() == 'organisation_module/hoge': - return ['source/account_module/variation_cars'] -elif delivery_portal_type.startswith('Internal Packing List') or delivery_portal_type.startswith('Production Packing List'): - return ['source/account_module/variation_cars'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource.py deleted file mode 100644 index ebb33ddaafa8916f18cfabd6cf5170a1d96c75be..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingStockLedgerOutDebitSource.py +++ /dev/null @@ -1,12 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - if movement.getSource() == 'organisation_module/hoge': - return ['source/account_module/stock_car_park'] -elif delivery_portal_type.startswith('Internal Packing List') or delivery_portal_type.startswith('Production Packing List'): - if movement.getSource() == 'organisation_module/workshop': - return ['source/account_module/stock_car_workshop'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination.py deleted file mode 100644 index bb6c1d0ea0ab78f043d1d27ce07f97727bec26a7..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - return [] -elif delivery_portal_type.startswith('Purchase Packing List'): - if movement.getDestination() == 'organisation_module/supplier': - return ['source/account_module/stock_parts_transit'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination.xml deleted file mode 100644 index 45710dfca603b1f378bf7c87261ccc3dce8b87b8..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>movement</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInCreditDestination</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource.py deleted file mode 100644 index 3fffa520549905a3a005f0146b838f3d2c650d41..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInCreditSource.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - if movement.getSource() == 'organisation_module/hoge': - return ['source/account_module/variation_cars'] -elif delivery_portal_type.startswith('Purchase Packing List'): - return [] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination.py deleted file mode 100644 index 43cae7ef2ac76f00bd9fc89e058091910d7835bd..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - return [] -elif delivery_portal_type.startswith('Purchase Packing List'): - if movement.getDestination() == 'organisation_module/supplier': - return ['source/account_module/variation_parts'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination.xml deleted file mode 100644 index 10bcfc978745f7d96877176235686079f60e12d3..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>movement</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInDebitDestination</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource.py deleted file mode 100644 index c3684f89ed7c76c4c2df7be9872b98202d354d36..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - if movement.getSource() == 'organisation_module/hoge': - return ['source/account_module/stock_car_transit'] -elif delivery_portal_type.startswith('Purchase Packing List'): - return [] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource.xml deleted file mode 100644 index a6b1211788c14e043f17745458ab19ae122b3118..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>movement</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerInDebitSource</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination.py deleted file mode 100644 index 43cae7ef2ac76f00bd9fc89e058091910d7835bd..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - return [] -elif delivery_portal_type.startswith('Purchase Packing List'): - if movement.getDestination() == 'organisation_module/supplier': - return ['source/account_module/variation_parts'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination.xml deleted file mode 100644 index 03a98019ca320cd11ce0b71d6a292a33024411ad..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>movement</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutCreditDestination</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource.py deleted file mode 100644 index c3684f89ed7c76c4c2df7be9872b98202d354d36..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - if movement.getSource() == 'organisation_module/hoge': - return ['source/account_module/stock_car_transit'] -elif delivery_portal_type.startswith('Purchase Packing List'): - return [] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource.xml deleted file mode 100644 index 1be939f6b63fbcc7de351a8d2c893b7094edccbb..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>movement</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutCreditSource</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination.py deleted file mode 100644 index bb6c1d0ea0ab78f043d1d27ce07f97727bec26a7..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - return [] -elif delivery_portal_type.startswith('Purchase Packing List'): - if movement.getDestination() == 'organisation_module/supplier': - return ['source/account_module/stock_parts_transit'] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination.xml deleted file mode 100644 index cba940fd7848e5cea2170cd186f2a2cc38850604..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>movement</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutDebitDestination</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource.py b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource.py deleted file mode 100644 index 3fffa520549905a3a005f0146b838f3d2c650d41..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource.py +++ /dev/null @@ -1,11 +0,0 @@ -delivery_portal_type = movement.getDeliveryValue().getPortalType() -assert delivery_portal_type # XXX debug -if delivery_portal_type.startswith('Sale Packing List'): - if movement.getSource() == 'organisation_module/hoge': - return ['source/account_module/variation_cars'] -elif delivery_portal_type.startswith('Purchase Packing List'): - return [] -else: - raise NotImplementedError - -return [] diff --git a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource.xml b/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource.xml deleted file mode 100644 index 8d158f521b4cb4c31646a9f893ae2b5c8b54730a..0000000000000000000000000000000000000000 --- a/bt5/erp5_real_time_inventory_accounting_test/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting_test/TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>Script_magic</string> </key> - <value> <int>3</int> </value> - </item> - <item> - <key> <string>_bind_names</string> </key> - <value> - <object> - <klass> - <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> - </klass> - <tuple/> - <state> - <dictionary> - <item> - <key> <string>_asgns</string> </key> - <value> - <dictionary> - <item> - <key> <string>name_container</string> </key> - <value> <string>container</string> </value> - </item> - <item> - <key> <string>name_context</string> </key> - <value> <string>context</string> </value> - </item> - <item> - <key> <string>name_m_self</string> </key> - <value> <string>script</string> </value> - </item> - <item> - <key> <string>name_subpath</string> </key> - <value> <string>traverse_subpath</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>movement</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>TradeModelPath_getInventoryAccountingTransitLedgerOutDebitSource</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_real_time_inventory_accounting_test/TestTemplateItem/portal_components/test.erp5.testRealTimeInventoryAccounting.py b/bt5/erp5_real_time_inventory_accounting_test/TestTemplateItem/portal_components/test.erp5.testRealTimeInventoryAccounting.py index 8ecfd8a543faac601c0b15ee3f510da325bb23ce..ea567c277e8768df4e42ca08bb4f1d51c274b2cd 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/TestTemplateItem/portal_components/test.erp5.testRealTimeInventoryAccounting.py +++ b/bt5/erp5_real_time_inventory_accounting_test/TestTemplateItem/portal_components/test.erp5.testRealTimeInventoryAccounting.py @@ -389,7 +389,7 @@ class TestRealTimeInventoryAccounting(ERP5TypeTestCase, TestRealTimeInventoryAcc source_value=organisation_hoge, source_section_value=organisation_hoge, price_currency_value=currency_eur, - specialise_value=self.portal.business_process_module.bpm_hoge) + specialise_value=self.portal.business_process_module.bpm_sale_hoge) if stc.getValidationState() != 'validated': stc.validate() @@ -404,7 +404,7 @@ class TestRealTimeInventoryAccounting(ERP5TypeTestCase, TestRealTimeInventoryAcc destination_value=organisation_hoge, destination_section_value=organisation_hoge, price_currency_value=currency_eur, - specialise_value=self.portal.business_process_module.bpm_hoge) + specialise_value=self.portal.business_process_module.bpm_purchase_hoge) if ptc.getValidationState() != 'validated': ptc.validate() @@ -419,7 +419,7 @@ class TestRealTimeInventoryAccounting(ERP5TypeTestCase, TestRealTimeInventoryAcc source_value=organisation_hoge, source_section_value=organisation_hoge, price_currency_value=currency_eur, - specialise_value=self.portal.business_process_module.bpm_hoge) + specialise_value=self.portal.business_process_module.bpm_internal_hoge) if itc.getValidationState() != 'validated': itc.validate() @@ -986,7 +986,7 @@ class TestRealTimeInventoryAccounting(ERP5TypeTestCase, TestRealTimeInventoryAcc def stepTestProductionPackingList_create(self, sequence=None, sequence_list=None): production_packing_list = self.portal.production_packing_list_module.newContent( portal_type='Production Packing List', - specialise_value=self.portal.business_process_module.bpm_hoge, + specialise_value=self.portal.business_process_module.bpm_internal_hoge, title='Transfert Workshop to Park', start_date=DateTime('2018/03/02 00:00:00 GMT+9'), stop_date=DateTime('2018/03/03 00:00:00 GMT+9'), @@ -1074,7 +1074,7 @@ class TestRealTimeInventoryAccounting(ERP5TypeTestCase, TestRealTimeInventoryAcc def stepTestProductionPackingListNoPriceAndNoSupply_create(self, sequence=None, sequence_list=None): production_packing_list = self.portal.production_packing_list_module.newContent( portal_type='Production Packing List', - specialise_value=self.portal.business_process_module.bpm_hoge, + specialise_value=self.portal.business_process_module.bpm_internal_hoge, title='Transfer Workshop to Park (No Supply/Price)', start_date=DateTime('2018/03/02 00:00:00 GMT+9'), stop_date=DateTime('2018/03/02 00:00:00 GMT+9'), diff --git a/bt5/erp5_real_time_inventory_accounting_test/bt/template_keep_last_workflow_history_only_path_list b/bt5/erp5_real_time_inventory_accounting_test/bt/template_keep_last_workflow_history_only_path_list index 1709c09d3807d917453e1edc3057896df702eb70..1178e06ce88af4adfbeebdfd542528c4ea9222ff 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/bt/template_keep_last_workflow_history_only_path_list +++ b/bt5/erp5_real_time_inventory_accounting_test/bt/template_keep_last_workflow_history_only_path_list @@ -1 +1,3 @@ -business_process_module/bpm_hoge \ No newline at end of file +business_process_module/bpm_internal_hoge +business_process_module/bpm_purchase_hoge +business_process_module/bpm_sale_hoge \ No newline at end of file diff --git a/bt5/erp5_real_time_inventory_accounting_test/bt/template_path_list b/bt5/erp5_real_time_inventory_accounting_test/bt/template_path_list index 9e98f0439a231bde6f7f1dc4fd5167c5a20a648c..1ff264ed6b42b799afe8b58f6fb209b750e5bcc6 100644 --- a/bt5/erp5_real_time_inventory_accounting_test/bt/template_path_list +++ b/bt5/erp5_real_time_inventory_accounting_test/bt/template_path_list @@ -1,3 +1,7 @@ -business_process_module/bpm_hoge -business_process_module/bpm_hoge/** +business_process_module/bpm_internal_hoge +business_process_module/bpm_internal_hoge/** +business_process_module/bpm_purchase_hoge +business_process_module/bpm_purchase_hoge/** +business_process_module/bpm_sale_hoge +business_process_module/bpm_sale_hoge/** portal_categories/ledger/** \ No newline at end of file