Merge pull request #2196 from expsa/purchase_translation

Fix issues in expenses and accounting
This commit is contained in:
enagahh 2025-01-23 01:30:04 +02:00 committed by GitHub
commit 41a2ae6c6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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>