summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-05-06 13:56:14 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-05-06 13:56:14 +0700
commitc1d93cfcef61276db77b9943c38e242141dc41f3 (patch)
tree398162200bd884b0c4f327fb832e7118e992f695 /indoteknik_custom/views
parente16c4fd64143db43eff45d39789a1e59d64f1d34 (diff)
parent08fb1ce211c3bc11e6ff0ea6ff37e0be8b7c2b31 (diff)
Merge branch 'feature/hold-qty-outgoing-mom' into odoo-backup
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 633ac6d1..c446a8ba 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -16,6 +16,16 @@
type="object"
attrs="{'invisible': [('approval_status', '=', ['approved'])]}"
/>
+ <button name="hold_unhold_qty_outgoing_so"
+ string="Hold/Unhold Outgoing"
+ type="object"
+ attrs="{'invisible': [('state', 'in', ['cancel'])]}"
+ />
+ <button name="ask_retur_cancel_purchasing"
+ string="Ask Cancel Purchasing"
+ type="object"
+ attrs="{'invisible': [('state', 'in', ['cancel'])]}"
+ />
<button name="action_web_approve"
string="Web Approve"
type="object"
@@ -83,6 +93,7 @@
<attribute name="invisible">1</attribute>
</field>
<field name="user_id" position="after">
+ <field name="hold_outgoing" readonly="1" />
<field name="helper_by_id" readonly="1" />
<field name="compute_fullfillment" invisible="1" />
</field>
@@ -383,6 +394,7 @@
<field name="payment_status" optional="hide" />
<field name="pareto_status" optional="hide" />
<field name="shipping_method_picking" optional="hide" />
+ <field name="hold_outgoing" optional="hide" />
</field>
</field>
</record>