[FIX] account_payment_order: fix account move views

Current spec was causing weird display in account move view, both for customer invoices and vendor bills

Changing the placement and adding back the label fixes the issue

TT29027
This commit is contained in:
João Marques
2021-05-17 12:19:50 +01:00
committed by Marçal Isern
parent 37fcc102ee
commit 92a62104b0

View File

@@ -42,11 +42,10 @@
<field name="payment_mode_id" position="after">
<field name="payment_order_ok" invisible="1" />
</field>
<field name="ref" position="before">
<field name="ref" position="after">
<field
name="reference_type"
required="1"
nolabel="1"
attrs="{'readonly':[('state','!=','draft')],
'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund'))]}"
/>