Commit 7d1e4eed authored by Yoshinori Okuji's avatar Yoshinori Okuji

Renamed from Invoice_addSaleInvoice.py to AccountingModule_addSaleInvoiceTransaction.py.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1684 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b7b7c774
## Script (Python) "Invoice_addSaleInvoice"
## Script (Python) "AccountingModule_addSaleInvoiceTransaction"
##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.addInvoice(id)
my_transaction = folder[id]
my_transaction.newContent(portal_type='Sale Invoice Transaction Line',
source='account/ventes_composants_storever',
source='account/prestation_service',
id='income')
my_transaction.newContent(portal_type='Sale Invoice Transaction Line',
source='account/prestation_service',
source='account/creance_client',
id='receivable')
my_transaction.newContent(portal_type='Sale Invoice Transaction Line',
source='account/tva_collectee_196',
......
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