Odoo Help


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.


Invoke PostgreSQL user defined function into invoice module to generate invoice no.

on 11/15/13, 7:47 AM 824 views


I m on Windows 7 and OpenERP 7.0.

I want to generate invoice number as per my defined criteria. For that i have made one function in PostgreSQL which returns invoice no. like "SAJ/13-14/0001" and so on...

Now i want to use it in invoice module. Can i configure it in following configuration section. "Settings" => "Configuration" => "Invoicing" and then in the "eInvoicing & Payments " section.

If answer is yes then how ?? Or else is there any other way to invoke it using python code ??? Or should i have to make addon ??

BTW, Sorry for BAD English.


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)


Asked: 11/15/13, 7:47 AM
Seen: 824 times
Last updated: 3/16/15, 8:10 AM