I would like to extend a class (obj1) using prototype inheritance (_name=new, _inherit=obj1).
My question is can I determine if obj1 has a corresponding new object from the existing obj1 form view?
Ideally I would like to extend the existing obj1 form view to include an "additional configuration" button to open to the associated new object's form view. If no new object exists than this button should be hidden/disabled.
EDIT: Additional information, this is for Odoo 9.0
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: 1/10/16, 11:36 PM|
|Seen: 326 times|
|Last updated: 1/11/16, 2:34 AM|