If I need to grab only the parent_id field from product.category to product.template model form view, what I should do?
category_id=fields.Many2one('product.category',string='Category') ------by this I can easily inherit Categories( of course along with Parent) into product.template model.
But for some reason I wanted show up the parent_id field from product.category to product.template Form view what I need to do?Please help
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: 9/9/16, 5:16 PM|
|Seen: 108 times|
|Last updated: 9/11/16, 4:21 AM|