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.
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.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: 10/18/14, 12:05 PM|
|Seen: 683 times|
|Last updated: 3/16/15, 8:10 AM|