summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move_line.xml
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-25 09:04:32 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-25 09:04:32 +0700
commit65c0ccd8b6befa65e912e9a0126cf2ef8bdd78d7 (patch)
tree3ce6d9106c644f84f2a908f1642846a689075fe1 /indoteknik_custom/views/account_move_line.xml
parent8b179c22149366ecf4dd9de6e5e7b5be612e355b (diff)
parentcd0592f7b7248d25d1b7de728af87117ae0b5876 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into closing-apt
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>