Do I need to inherit the entire object class of a module if I only need to modify/add another view of its xml?
I would like to ask if I need to inherit the entire object class if I only need to modify/add views to it? For example, I need to modify the Stock Move tree view to hide some columns. I can do this via the web client but if there are too many modifications I would like to create a module for it then inherit the view instead.
However, the module comes with the .py file and it should contain the object class of the view I am inheriting, so in return I would inherit the entire object class of stock.move even though I am not adding fields or modifying functions.
Its possible for a module to only have .py file but is it possible also to only have the .xml file?
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: 2/22/13, 3:29 AM|
|Seen: 848 times|
|Last updated: 3/16/15, 8:10 AM|