I have added some fields to res.partner and made an inherited view that is working fine. I was wondering whether I can change the behaviour of these fields within the same xpath-expression.
What I've done : positioned the field 'Age' after the 'Title'-field in res.partner
What I want to do next : in the same view / xpath expression : hide the field 'Age' (Invisible) if condition 'Is_company' = True
Can this be done ? And if so, how ?
(Sorry, not enough karma to link code... but I think the question is quite straightforward.)
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: 6/24/14, 5:41 PM|
|Seen: 479 times|
|Last updated: 3/16/15, 8:10 AM|