summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-16 13:34:38 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-16 13:34:38 +0700
commite6058c804068e5208581bbd18d2dbbe98c63ba26 (patch)
treee567e8313acf42f65458c2795f11b9644f0b90f5 /indoteknik_custom/views
parent2cf62d4c23e8fbd0770ba05cb4d1f65032bccdf0 (diff)
parentc08d16f53c4e2c97e74f33018e00efabd08664b3 (diff)
Merge branch 'gudang-service' of bitbucket.org:altafixco/indoteknik-addons into gudang-service
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/gudang_service.xml2
-rw-r--r--indoteknik_custom/views/stock_inventory.xml7
2 files changed, 3 insertions, 6 deletions
diff --git a/indoteknik_custom/views/gudang_service.xml b/indoteknik_custom/views/gudang_service.xml
index e5cc94c4..769664c5 100644
--- a/indoteknik_custom/views/gudang_service.xml
+++ b/indoteknik_custom/views/gudang_service.xml
@@ -54,7 +54,7 @@
<field name="partner_id"/>
<field name="vendor_id"/>
<field name="remaining_date"/>
- <field name="schedule_date" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/>
+ <field name="schedule_date" attrs="{'readonly': [('state', 'not in', ['draft', 'reveived_from_cust'])]}"/>
<field name="start_date" readonly="1"/>
<field name="done_date" attrs="{'invisible': [('state', 'not in', ['delivered_to_cust'])]}"/>
<field name="create_uid"/>
diff --git a/indoteknik_custom/views/stock_inventory.xml b/indoteknik_custom/views/stock_inventory.xml
index 89c058ea..ab1b6eec 100644
--- a/indoteknik_custom/views/stock_inventory.xml
+++ b/indoteknik_custom/views/stock_inventory.xml
@@ -6,14 +6,10 @@
<field name="model">stock.inventory</field>
<field name="inherit_id" ref="stock.view_inventory_form"/>
<field name="arch" type="xml">
- <header>
- <button name="action_approve" string="Approve" type="object"
- class="btn-primary" attrs="{'invisible': [('adjusment_type', 'not in', ['out'])]}"/>
- </header>
<xpath expr="//field[@name='location_ids']" position="after">
<field name="number" readonly="1"/>
<field name="adjusment_type" />
- <field name="approval_state" readonly="1" attrs="{'invisible': [('adjusment_type', 'not in', ['out'])]}"/>
+ <field name="approval_state" />
</xpath>
</field>
</record>
@@ -26,6 +22,7 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='date']" position="after">
<field name="number"/>
+ <field name="adjusment_type" />
<field name="approval_state"/>
</xpath>
</field>