Show invoice_origin on move form

This commit is contained in:
Alexis de Lattre
2021-09-22 14:56:40 +02:00
parent 8510b9518a
commit 00e034dacf

View File

@@ -26,6 +26,9 @@
</button>
<!-- move sent field and make it visible -->
<field name="is_move_sent" position="replace"/>
<field name="invoice_origin" position="attributes">
<attribute name="invisible">0</attribute>
</field>
<field name="invoice_origin" position="after">
<field name="is_move_sent" attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund'))]}"/>
</field>