Fix issues in expenses and accounting

This commit is contained in:
eman 2025-01-23 01:29:16 +02:00
parent ac933a7a21
commit 6084de57d7
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_date']" position="after">
<field name="purpose" readonly="1"/>
<field name="purpose" readonly="1" attrs="{'invisible': [('move_type', '!=','in_invoice')]}"/>
</xpath>
</field>
</record>