Skip to content

Commit

Permalink
[IMP] account_payment_order: make the reference type visible on vendo…
Browse files Browse the repository at this point in the history
…r bills

So we can use structured communications on out payments too.
  • Loading branch information
sbidoul committed Aug 14, 2024
1 parent a175c19 commit 914ebff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_payment_order/views/account_invoice_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<field name="payment_reference" position="before">
<field
name="reference_type"
attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund'))],
attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund', 'in_invoice'))],
'required': [('move_type', 'in', ('out_invoice', 'out_refund'))]}"
/>
</field>
Expand Down

0 comments on commit 914ebff

Please sign in to comment.