I have a custom module which extends objects and defines view. When I install the module I get a message saying that a field requested by a view is missing in the object definition. However, this is wrong, because if I do this it works:
First I install the module without the views (I remove the xml reference from __openerp__.py). All goes well and the objects are as expected.
Then I upgrade the module with the references put back in __openerp__.py.
If I do this it works fine. But if I try to do it all in one step I get the issue. It gives me the impression that the system is trying to create the views before updating the objects.... is this possible?
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/12/13, 9:46 AM|
|Seen: 677 times|
|Last updated: 3/16/15, 8:10 AM|