Community: Framework mailing list archives

Automatic payment, account.voucher

Wolfgang Pichler
- 11/07/2014 14:35:50
Hi all,

i have developed a credit card payment module for odoo, which does automatically create the necessary account.move and account.move.line by using the sale_order.pay_and_reconcile function. This does work nice - and sets the state of the invoice to paid. Everything is fine, but the function does not create the account.voucher entry for the payment.

It does not really seem necessary for me  - you can see the payment at the invoice - and the move lines are correct.

So i am not sure if an entry in account.voucher is really necessary.

Is account.voucher only to have a nice view for the end user - or are there any other parts of odoo which do need the entrie in account.voucher ?