summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/sale_order.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-03-12 09:04:08 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-03-12 09:04:08 +0700
commitb0583d9afe66887e53aa2ea80f1701b892fbf67f (patch)
treef752a7898b3572b5a0b1d3d346622a3f7cbaa001 /indoteknik_custom/views/sale_order.xml
parent08c93fcf63a23eddae47b56863e4b90b022c87b5 (diff)
parent1ee6bd364ff290a3d8dddc6e9b599e52f8f66c4a (diff)
Merge branch 'odoo-backup' of bitbucket.org:altafixco/indoteknik-addons into odoo-backup
matches so
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 69dafe62..79604e75 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -46,6 +46,12 @@
type="object"
string="Refund"
class="btn-primary" />
+
+ <button name="action_open_sjo"
+ type="object"
+ string="Request Sourcing"
+ class="btn-primary"
+ attrs="{'invisible': [('state', '!=', 'draft')]}"/>
</xpath>
<xpath expr="//sheet" position="before">
<field name="partner_is_cbd_locked" invisible="1"/>
@@ -77,6 +83,14 @@
attrs="{'invisible': [('refund_count', '=', 0)]}">
<field name="refund_count" widget="statinfo" string="Refund"/>
</button>
+
+ <button type="object"
+ name="action_view_related_sjo"
+ class="oe_stat_button"
+ icon="fa-briefcase"
+ attrs="{'invisible': [('sourcing_job_count', '=', 0)]}">
+ <field name="sourcing_job_count" widget="statinfo" string="SJO"/>
+ </button>
</div>
<field name="payment_term_id" position="after">
<field name="create_uid" invisible="1"/>