diff options
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 346dc0f8..5bcd7641 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -43,13 +43,13 @@ attrs="{'invisible': ['|', ('state', 'not in', ['sale', 'done']), ('has_refund', '=', True)]}" /> </xpath> --> <div class="oe_button_box" name="button_box"> - <button name="action_open_advance_payment_move" + <field name="advance_payment_move_ids" invisible="1"/> + <button name="action_open_advance_payment_moves" type="object" class="oe_stat_button" icon="fa-book" - width="250px" - attrs="{'invisible': [('advance_payment_move_id','=',False)]}"> - <field name="advance_payment_move_id" string="Journal Uang Muka" widget="statinfo"/> + attrs="{'invisible': [('advance_payment_move_ids', '=', [])]}"> + <field name="advance_payment_move_count" widget="statinfo" string="Journals"/> </button> <!-- <button type="object" |
