[IMP] view invoice

This commit is contained in:
Dario Lodeiros
2019-04-09 11:04:29 +02:00
parent b5ac798315
commit ecbb659d3d

View File

@@ -12,7 +12,7 @@
<xpath expr="//button[@name='%(account.action_account_invoice_payment)d']" position="attributes">
<attribute name="attrs">{'invisible': ['|',('from_folio','=',True)]}</attribute>
</xpath>
<xpath expr="//field[@name='outstanding_credits_debits_widget']" position="after">
<xpath expr="//field[@name='outstanding_credits_debits_widget']" position="before">
<field name="outstanding_folios_debits_widget" colspan="2" nolabel="1" widget="payment" attrs="{'invisible': [('state', 'not in', 'open')]}"/>
</xpath>
</field>