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.
In the table "account.invoice" the outgoing and incoming invoices are saved. By using the field type: "OUT" or "IN" we can define which kind of invoice is been inserted.
Normally within the outgoing (customer) invoice you have 1 type (Sales).
At the incoming (supplier) invoice you have 2 kinds of invoices:
1) Invoices of goods (saleable products)
2) Invoices of costs (insurrance etc)
At each tyoe of invoice your administration department has different demands. E.g. at "cost" (2) invoices you want the field "analytic accounting" to be required. Otherwise at the goods invoice your do not want the field "analytic accounting" being required.
But if you make a payable list your want to have all vendors with invoices due to date. So logic is the retain the information out of the same table (account.invoice).
To make two (sub)menus:
- Invoices of Goods (view a, masterview)
- Invoices of Costs (view b)
Every menu has his own view. And here is the problem!
We would like to have 1 basic view that has every change. Form that view we will make a inherted view for the menu items.
But we cann't inherted a view because 1 is always the masterview.
A adjustment in view b == adjustment in view a.
The (sub)menu's have there own windows.action.
So we thaught to solve the problem with a second model based on account.invoice, but this turns out to add a table in the DB. That is not what we want because of centralisation of data, also the working of other modules is in danger. Therefore we would like to put the data in one table, but with predefined requirements, specialised views.
How do you make a second view for a menu that inherted a basic view. Whereby the menu is for the user (interface) a different form, different requirements, show/hide fields.
PS: we are using V7.
Thank you 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
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: 9/29/14, 2:21 PM|
|Seen: 974 times|
|Last updated: 3/16/15, 8:10 AM|