summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move_line.xml
diff options
context:
space:
mode:
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 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>