I am coding a module who need to generate an invoice from nearly nothing , the problem is how do i do it in python ? Is there an example in the standard modules ?
edit: i am developing an openerp module not some external soft
There are many ways to do that. First thing that comes to my mind is using oerplib, the other is with web-services.
Then I would take a look at the code for creating invoices in the sales and account modules. Specially study what the account_invoice.py in the account module does. The information you need in order to create an invoice from 0 is there
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
|Asked: 4/4/13, 11:58 AM|
|Seen: 2785 times|
|Last updated: 3/16/15, 8:10 AM|