Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

account.voucher type field?

By
OpenERP Master
on 12/8/14, 11:26 PM 561 views

What is the purpose of the type field on account.voucher object.

I use 2 types of invoice. Payment for Sale and refund of Sale.

 

invoice payment type on account.invoice = 'out_invoice' account.voucher type = 'receipt'

invoice refund type on account.invoice = 'out_refund' but account.voucher type still = 'receipt'

 

Could someone explain? I would expect the value of type on a refund to be maybe payment?

 

0

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 12/8/14, 11:35 PM

There are 4 types of account.voucher:

  • INCORRECT: 'receipt' is meant for incoming funds (which include payments for out_invoice [Customer Invoice] and out_refund [Supplier Refunds])
  • INCORRECT: 'payment' is meant for outgoing funds (which include payments for in_invoice [Supplier Invoice] and in_refund [Customer Refunds])
  • 'receipt' is meant for Customer related transactions (which include payments for out_invoice [Customer Invoice] and out_refund [Customer Refunds])
  • 'payment' is meant for Supplier related transactions (which include payments for in_invoice [Supplier Invoice] and in_refund [Supplier Refunds])
  • 'sale' is meant for sale vouchers.  You can record sales using sale vouchers without having to go through sale order cycle or POS.  This is usually used in smaller companies where they don't have rigorous validation for sale process but is don't want to use POS type of interface.
  • 'purchase' is meant for purchase vouchers.  You can record purchases without having to go through purchase order cycle.  This is usually meant for direct expenses purchases with no complicated validation.

I created a refund invoice for a sales order. The type of invoice is out_refund, Based on what your saying the account.voucher should then say payment correct? Because it says receipt.

OpenERP Master
on 12/8/14, 11:54 PM

Sorry, I've mixed up vouchers and invoices and put up incorrect answer. I've updated my answer.

Ivan
on 12/9/14, 12:09 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/8/14, 11:26 PM
Seen: 561 times
Last updated: 3/16/15, 8:10 AM