summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/tukar_guling.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-08-13 09:48:41 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-08-13 09:48:41 +0700
commit7644260c8b660c71aa1f9232cb50acea551798c2 (patch)
treebdbad5e360bd7d638b340c6d96d19dc8c7912d00 /indoteknik_custom/views/tukar_guling.xml
parentd1e55b12466b6c93cc4a3e23dab59d3ce3795d45 (diff)
parenta2d087032e5b14901f4128c81b58143bcff4286f (diff)
<hafid> merging odoo-backup
Diffstat (limited to 'indoteknik_custom/views/tukar_guling.xml')
-rw-r--r--indoteknik_custom/views/tukar_guling.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml
index c23995d3..9dd31905 100644
--- a/indoteknik_custom/views/tukar_guling.xml
+++ b/indoteknik_custom/views/tukar_guling.xml
@@ -21,7 +21,7 @@
<field name="name">pengajuan.tukar.guling.tree</field>
<field name="model">tukar.guling</field>
<field name="arch" type="xml">
- <tree create="1" delete="1" default_order="create_date desc">
+ <tree create="0" delete="1" default_order="create_date desc">
<field name="name"/>
<field name="partner_id" string="Customer"/>
<field name="origin" string="SO Number"/>
@@ -83,15 +83,21 @@
<field name="return_type" attrs="{'readonly': [('state', 'not in', 'draft')]}"/>
<field name="operations"
attrs="{'readonly': [('state', 'not in', 'draft')]}"/>
- <field name="origin" readonly="1"/>
+<!-- <field name="origin" readonly="1"/>-->
+ <field name="origin_so" readonly="1"/>
+ <field name="is_has_invoice" readonly="1"/>
</group>
<group>
+ <field name="val_inv_opt" attrs="{'invisible': [('is_has_invoice', '=', False)]}"/>
<field name="ba_num" string="Nomor BA"/>
<field name="notes"/>
<field name="date_sales" readonly="1"/>
<field name="date_finance" readonly="1"/>
<field name="date_logistic" readonly="1"/>
</group>
+ <group>
+ <field name="invoice_id" readonly="1" attrs="{'invisible': [('is_has_invoice', '=', False)]}"/>
+ </group>
</group>
<notebook>
<page string="Product Lines" name="product_lines">