summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-11-22 23:47:40 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-11-22 23:47:40 +0700
commitb7f8da0c3e921c7567e5639e9c18ac04255eaba7 (patch)
tree09f4f3c95aa7e9a748714d0bb0cfff74a62795e2
parent0f594802bbea90d27c033c5e4f797e0ae29261eb (diff)
<Miqdad> cannot create partner from account move line (journal entries)
-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"/>