In account/partner_view.xml is looks like this:
<button type="action" class="oe_stat_button" name="%(account.action_account_moves_all_tree)d" groups="account.group_account_user" icon="fa-list">
<field string="Journal Items" name="journal_item_count" widget="statinfo"/>
If I try to hide the button via:
<button name="%(account.action_account_moves_all_tree)d" invisible="1"></button>
It complains it cannot be located however I can hide the inside field via:
<field name="journal_item_count" position="attributes">
How can I hide the whole button?
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: 10/24/14, 5:53 AM|
|Seen: 732 times|
|Last updated: 3/16/15, 8:10 AM|