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 ?
About This Community
|Asked: 11/26/14, 10:51 AM|
|Seen: 402 times|
|Last updated: 3/16/15, 8:10 AM|