Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi I want to create a simple odoo module which will run a simple python script and download a file from database. The script consist of a sql command to download data from tables. I want to export that data to a csv file.
But i am beginner at programming and doesnt know how to create that module via programming. Can we create a module from frontend? I have seen options to create model and views from frontend. Also if someone can guide me through the process.
EDIT : I have read the documentation and the example given (Open academy) is created on backend via programming. I am looking for something simpler like create a model and view from frontend and attach a python script to it. I just want to export some data from postgres databse to a csv file.
PS: I created a menu item by creating a model first and then creating a menu from that model. I am stuck at how to add a python script to that menu so that it can export data from a table to csv file. I just need a button which runs that script. No extras.
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 platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/18/15, 2:22 AM|
|Seen: 770 times|
|Last updated: 3/21/15, 3:27 AM|