summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-12-01 09:51:13 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-12-01 09:51:13 +0700
commit2ff685ec17c73b72cad92fbe8e7d4eb951bc2b89 (patch)
tree724a364d51bd094b59b888fc30ecf0daef0c303b /indoteknik_custom/views
parent437ed107ee1730c38932ae6f1d22e7095617d61c (diff)
change attrs no_faktur_pajak on account.move
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/account_move.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 1721abb6..b0a206bf 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -17,7 +17,7 @@
<field name="date_completed" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
</field>
<field name="efaktur_document" position="before">
- <field name="no_faktur_pajak" readonly="1"/>
+ <field name="no_faktur_pajak" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/>
</field>
<field name="efaktur_document" position="attributes">
<attribute name="widget">pdf_viewer</attribute>