summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move_line.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-09-29 13:20:20 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-09-29 13:20:20 +0700
commit875b20796c7fa64abebe430b2707df597e29836b (patch)
tree2521fbf09f4695253fd7db1ff7613b7f003f20ea /indoteknik_custom/views/account_move_line.xml
parent914bcd75dd2baddb2841cbfba6a64ebd453fecdb (diff)
parentec21c4721f35028fc9b2a61bd0dbc6e4bf600e74 (diff)
Merge branch 'odoo-backup' into pum-v2
# Conflicts: # indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/views/account_move_line.xml')
-rw-r--r--indoteknik_custom/views/account_move_line.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move_line.xml b/indoteknik_custom/views/account_move_line.xml
index 02b936f1..017a9eda 100644
--- a/indoteknik_custom/views/account_move_line.xml
+++ b/indoteknik_custom/views/account_move_line.xml
@@ -6,6 +6,9 @@
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
+ <xpath expr="//page[@id='aml_tab']/field[@name='line_ids']" position="attributes">
+ <attribute name="attrs">{'readonly': [('refund_id','!=',False)]}</attribute>
+ </xpath>
<xpath expr="//page[@id='aml_tab']/field[@name='line_ids']/tree/field[@name='currency_id']" position="before">
<field name="is_required" invisible="1"/>
</xpath>