summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/stock_picking.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-06-27 09:54:00 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-06-27 09:54:00 +0700
commit9704530832cbb70a8209e556a9a67a25fe8c11fc (patch)
tree0c92d7c479fd81d998d2cc0dec8334b9dc6fa48c /indoteknik_custom/views/stock_picking.xml
parent72888c5c59078195420f6a6da3ae1c65766390d7 (diff)
parent45dc1483342d9ec195c53711b5194e7ddf88b343 (diff)
Merge branch 'release' into nathan-dev
Diffstat (limited to 'indoteknik_custom/views/stock_picking.xml')
-rw-r--r--indoteknik_custom/views/stock_picking.xml28
1 files changed, 18 insertions, 10 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 4bbdc7b8..99f0d7c0 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -27,10 +27,15 @@
type="object"
attrs="{'invisible': [('is_internal_use', '=', False)]}"
/>
+ <button name="ask_receipt_approval"
+ string="Received"
+ type="object"
+ attrs="{'invisible': ['|', ('state', 'in', ['done']), ('approval_receipt_status', '=', 'pengajuan1')]}"
+ />
<button name="ask_return_approval"
string="Ask Return/Acc"
type="object"
- attrs="{'invisible': ['|', ('state', '=', 'draft'), ('state', '=', 'cancel'), ('approval_return_status', '=', 'pengajuan1')]}"
+ attrs="{'invisible': ['|', ('state', 'in', ['draft', 'cancel', 'assigned']), ('approval_return_status', '=', 'pengajuan1')]}"
/>
<button name="action_create_invoice_from_mr"
string="Create Bill"
@@ -39,12 +44,6 @@
/>
</button>
<field name="backorder_id" position="after">
- <field name="is_internal_use"
- string="Internal Use"
- type="object"
- attrs="{'readonly': True}"
- force_save="1"
- />
<field name="summary_qty_detail"/>
<field name="count_line_detail"/>
</field>
@@ -53,8 +52,6 @@
</field>
<field name="origin" position="after">
<field name="date_doc_kirim"/>
- <field name="approval_status" attrs="{'invisible': [('is_internal_use', '=', False)]}"/>
- <field name="approval_return_status" attrs="{'invisible': [('approval_return_status', '=', False)]}"/>
<field name="summary_qty_operation"/>
<field name="count_line_operation"/>
<field name="account_id"
@@ -65,8 +62,19 @@
}"
/>
</field>
+ <field name="group_id" position="before">
+ <field name="is_internal_use"
+ string="Internal Use"
+ type="object"
+ attrs="{'readonly': True}"
+ force_save="1"
+ />
+ <field name="approval_status"/>
+ <field name="approval_receipt_status"/>
+ <field name="approval_return_status"/>
+ </field>
<field name="product_id" position="before">
- <field name="line_no" attrs="{'readonly': 1}"/>
+ <field name="line_no" attrs="{'readonly': 1}" optional="hide"/>
</field>
<page name="note" position="after">
<page string="E-Faktur" name="efaktur" attrs="{'invisible': [['is_internal_use', '=', False]]}">