Odoo Help


Issue: "inherted" DB model for create pre-confirgured view/menu?

on 10/18/14, 12:05 PM 865 views


I would like to set up menu with a view preconfigured settings, like refund invoice in the accounting module.
But every invoice is stored in the same table in database (DB). account.invoice
We do not want to change this, but we can not make a specialized view based on this model (account.invoice).

According to the refund structure in accounting module I see that there is made a seperate model, called account.invoice.refund.
By using this model I can make a menu item, a form/tree view, search option.

But I can not connect the new model to the same table (account.invoice) in the DB. So every record added this my added model > view is stored in a copy table. 

What is the correct way to make a model that stores in a exitsting DB.table?
Maybe there is someone that can send me a link or a really good example?

Thanks in advance..

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/18/14, 12:05 PM
Seen: 865 times
Last updated: 3/16/15, 8:10 AM