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

Process Invoice Programmatically

By
Eric
on 6/2/14, 12:49 PM 1,035 views

Hello, I have a custom module that takes a sales order, and processes a credit card payment.  What I want to do is create an invoice when the credit card payment is approved and mark the invoice as paid following as closely to the invoicing workflow as possible.  So far my module does this:

 

1.  Processes the credit card

2.  Makes an invoice if payment is approved

3.  Validates the invoice and puts it in the Open state.

 

The next step would be to register the invoice as paid but Im not sure how the workflow actually does it.  Does anyone know which steps occur when the invoice is getting paid?

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: 6/2/14, 12:49 PM
Seen: 1035 times
Last updated: 3/16/15, 8:10 AM