[FIX] Button name change bug

This commit is contained in:
Mourad Elhadj Mimoune
2017-07-11 10:56:40 +02:00
parent d85e7270b3
commit 3d7241407e

View File

@@ -276,9 +276,10 @@ module -->
</button>
</button>
<button name="%(account.action_account_moves_all_tree)d" position="attributes">
<attribute name="type">object</attribute>
<attribute name="name">show_receivable_account</attribute>
<attribute name="attrs">{'invisible': [('customer', '=', False)]}</attribute>
<attribute name="invisible">True</attribute>
</button>
<button name="%(account.action_account_moves_all_tree)d" position="after">
<button type="object" class="oe_stat_button" name="show_receivable_account" icon="fa-list" attrs="{'invisible': [('customer', '=', False)]}"/>
</button>
<field name="journal_item_count" position="attributes">
<attribute name="string">Receivable Account</attribute>