summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-11-23 00:09:30 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-11-23 00:09:30 +0700
commit091c60f65e7fa2f6c950535bb61e505014c90bce (patch)
tree62455269c92fbe798499fd1443fac069dd684aed
parentd976fa7ad6f65c5e8a5c751283fa8b865a71e55f (diff)
<MIqdad> cannot create partner id from journal entries
-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 3a20388e..cb24a0f0 100644
--- a/indoteknik_custom/views/account_move_line.xml
+++ b/indoteknik_custom/views/account_move_line.xml
@@ -16,6 +16,9 @@
<attribute name="groups"/>
<attribute name="options">{'no_create': True}</attribute>
</xpath>
+ <xpath expr="//field[@name='line_ids']/tree/field[@name='partner_id']" position="attributes">
+ <attribute name="options">{'no_create': True, 'no_open': True}</attribute>
+ </xpath>
</field>
</record>
</data>