summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-10-21 09:40:37 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-10-21 09:40:37 +0700
commitb48a351927af1dfde51d9f7cbced19c8d84c9152 (patch)
treeb62c38341d38ffc78bb780230740bba4d97dd031 /indoteknik_custom/views
parent752768d6cc29a231b47637653d4f3e4e293a4590 (diff)
Internal Use Approval
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/stock_picking.xml7
-rw-r--r--indoteknik_custom/views/users.xml1
2 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 5f78ea57..1b648d58 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -6,6 +6,12 @@
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
+ <button name="action_confirm" position="before">
+ <button name="ask_approval"
+ string="Ask Approval"
+ type="object"
+ />
+ </button>
<div class="oe_title" position="after">
<button name="calculate_line_no"
string="Line No"
@@ -25,6 +31,7 @@
<field name="count_line_detail"/>
</field>
<field name="origin" position="after">
+ <field name="approval_status"/>
<field name="summary_qty_operation"/>
<field name="count_line_operation"/>
<field name="account_id"
diff --git a/indoteknik_custom/views/users.xml b/indoteknik_custom/views/users.xml
index d75b35fc..29d455d4 100644
--- a/indoteknik_custom/views/users.xml
+++ b/indoteknik_custom/views/users.xml
@@ -7,6 +7,7 @@
<field name="inherit_id" ref="base.view_users_form"/>
<field name="arch" type="xml">
<field name="tz_offset" position="after">
+ <field name="is_accounting"/>
<field name="is_purchasing_manager"/>
<field name="is_sales_manager"/>
<field name="is_leader"/>