Volodymyr Karabanov
5 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
9 additions and
1 deletions
-
base_accounting_kit/views/account_payment_view.xml
|
|
@ -23,6 +23,14 @@ |
|
|
|
<field name="check_number" |
|
|
|
attrs="{'invisible': ['|', ('payment_method_code', 'not in', ['check_printing','pdc']), ('check_number', '=', 0)]}"/> |
|
|
|
</xpath> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record id="view_account_payment_form_inherited" model="ir.ui.view"> |
|
|
|
<field name="name">account.payment.form.inherited</field> |
|
|
|
<field name="model">account.payment</field> |
|
|
|
<field name="inherit_id" ref="account.view_account_payment_form"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<xpath expr="//field[@name='date']" position="after"> |
|
|
|
<field name="effective_date" |
|
|
|
attrs="{'invisible': [('payment_method_code', '!=', 'pdc')], |
|
|
|