From 37b403a62179ae9d425dc57a6b9aacac13269582 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Wed, 8 Sep 2004 13:28:36 +0000 Subject: [PATCH] Renamed from AccountingTransaction_addPaymentTransaction.py to AccountingTransactionModule_addPaymentTransaction.py. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1663 20353a03-c40f-0410-a6d1-a30d3c3de9de --- ... AccountingTransactionModule_addPaymentTransaction.py} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename product/ERP5/skins/erp5_trade/{AccountingTransaction_addPaymentTransaction.py => AccountingTransactionModule_addPaymentTransaction.py} (72%) diff --git a/product/ERP5/skins/erp5_trade/AccountingTransaction_addPaymentTransaction.py b/product/ERP5/skins/erp5_trade/AccountingTransactionModule_addPaymentTransaction.py similarity index 72% rename from product/ERP5/skins/erp5_trade/AccountingTransaction_addPaymentTransaction.py rename to product/ERP5/skins/erp5_trade/AccountingTransactionModule_addPaymentTransaction.py index 17bbe8982e..ad61dbd50c 100755 --- a/product/ERP5/skins/erp5_trade/AccountingTransaction_addPaymentTransaction.py +++ b/product/ERP5/skins/erp5_trade/AccountingTransactionModule_addPaymentTransaction.py @@ -1,4 +1,4 @@ -## Script (Python) "AccountingTransaction_addPaymentTransaction" +## Script (Python) "AccountingTransactionModule_addPaymentTransaction" ##bind container=container ##bind context=context ##bind namespace= @@ -7,16 +7,16 @@ ##parameters=folder, id ##title= ## -product = container.manage_addProduct[ 'ERP5' ] +product = container.manage_addProduct[ 'ERP5Type' ] product.addAccountingTransaction(id) my_transaction = folder[id] my_transaction.newContent(portal_type='Accounting Transaction Line', - source='account/prestation_service', + source='account/creance_client', id='receivable') my_transaction.newContent(portal_type='Accounting Transaction Line', - source='account/achat_pc_storever', + source='account/dette_fournisseur', id='payable') my_transaction.newContent(portal_type='Accounting Transaction Line', source='account/banques_etablissements_financiers', -- 2.30.9