summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/views/account_move.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index c5f9580c..d54b0f29 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -133,6 +133,11 @@
decoration-warning="payment_difficulty in ('agak_sulit', 'sulit')"
decoration-danger="payment_difficulty == 'bermasalah'"
optional="hide"/>
+ <xpath expr="//field[@name='partner_id']" position="attributes">
+ <attribute name="options">
+ {'no_create':True}
+ </attribute>
+ </xpath>
</field>
<field name="payment_state" position="after">
<field name="invoice_payment_term_id" optional="hide"/>