Commit 37b403a6 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Renamed from AccountingTransaction_addPaymentTransaction.py to...

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
parent aadbeb33
## Script (Python) "AccountingTransaction_addPaymentTransaction" ## Script (Python) "AccountingTransactionModule_addPaymentTransaction"
##bind container=container ##bind container=container
##bind context=context ##bind context=context
##bind namespace= ##bind namespace=
...@@ -7,16 +7,16 @@ ...@@ -7,16 +7,16 @@
##parameters=folder, id ##parameters=folder, id
##title= ##title=
## ##
product = container.manage_addProduct[ 'ERP5' ] product = container.manage_addProduct[ 'ERP5Type' ]
product.addAccountingTransaction(id) product.addAccountingTransaction(id)
my_transaction = folder[id] my_transaction = folder[id]
my_transaction.newContent(portal_type='Accounting Transaction Line', my_transaction.newContent(portal_type='Accounting Transaction Line',
source='account/prestation_service', source='account/creance_client',
id='receivable') id='receivable')
my_transaction.newContent(portal_type='Accounting Transaction Line', my_transaction.newContent(portal_type='Accounting Transaction Line',
source='account/achat_pc_storever', source='account/dette_fournisseur',
id='payable') id='payable')
my_transaction.newContent(portal_type='Accounting Transaction Line', my_transaction.newContent(portal_type='Accounting Transaction Line',
source='account/banques_etablissements_financiers', source='account/banques_etablissements_financiers',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment