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