summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-13 10:25:03 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-13 10:25:03 +0700
commitb473179e5adde097bc9ec43ee4566b850937f1ed (patch)
tree692846858d335ac67fa3881c390188144f3c2090 /indoteknik_custom/views
parent5c6098158ab0f82437aa24e947a66b78b21b6bd7 (diff)
unreserve
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/approval_unreserve.xml9
-rwxr-xr-xindoteknik_custom/views/sale_order.xml5
2 files changed, 5 insertions, 9 deletions
diff --git a/indoteknik_custom/views/approval_unreserve.xml b/indoteknik_custom/views/approval_unreserve.xml
index 08a5b49e..5ffa1294 100644
--- a/indoteknik_custom/views/approval_unreserve.xml
+++ b/indoteknik_custom/views/approval_unreserve.xml
@@ -39,11 +39,12 @@
<sheet>
<group>
<group>
- <field name="number"/>
- <field name="request_date"/>
+ <field name="number" readonly="1"/>
+ <field name="request_date" readonly="1"/>
<field name="picking_id"/>
- <field name="state"/>
- <field name="approved_by"/>
+ <field name="user_id" readonly="1"/>
+ <field name="state" readonly="1"/>
+ <field name="approved_by" readonly="1"/>
</group>
</group>
<notebook>
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 99f56136..83474df7 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -11,11 +11,6 @@
string="Create No"
type="object"
/>
- <button name="do_unreserve"
- string="Unreserve Picking"
- type="object"
- attrs="{'invisible': [('state', 'in', ['draft', 'cancel', 'done'])]}"
- />
<button name="sale_order_approve"
string="Ask Approval"
type="object"