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.
FUNCTIONNAL SIDE :
i want that the Quotations have their own form view, and do not share it with sales orders, as the case is for the tree view.
TECHNICAL SIDE :
The Quotations FORM view and the Sales orders FORM view are the same, I want to create a new view for quotations, add it to sale_view.xml, and refer it to the "action_quotations" (The id of the quotation action) , but when viewing the code, I did'nt find how to assign the new form view to "action_quotations", I can just assign it as the first view to open, on :
<field name="view_id" ref="id_of_the_new_quotation_view"/>
First Question : How to do that with a custom Module ? knowing that I just want tto add a view on sale_view.xml, and not adding or deleting some fields on a view, is it possible to add a whole view on a xml file, by inheritance ?
Second question : How to assign the new quotation form view to the "action_quotations", and at the same time not to be the first view to open while clicking on the quotation menu ?
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: 11/26/14, 10:51 AM|
|Seen: 462 times|
|Last updated: 3/16/15, 8:10 AM|