summaryrefslogtreecommitdiff
path: root/fixco_custom/views/detail_order.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views/detail_order.xml')
-rwxr-xr-xfixco_custom/views/detail_order.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/fixco_custom/views/detail_order.xml b/fixco_custom/views/detail_order.xml
index 711f908..60a335c 100755
--- a/fixco_custom/views/detail_order.xml
+++ b/fixco_custom/views/detail_order.xml
@@ -20,6 +20,18 @@
<field name="model">detail.order</field>
<field name="arch" type="xml">
<form>
+ <header>
+ <button name="execute_queue"
+ string="Create Detail Order"
+ type="object"
+ attrs="{'readonly': [('detail_order', '!=', False)]}"
+ />
+ <button name="execute_queue_detail"
+ string="Create SO"
+ type="object"
+ attrs="{'invisible': [('sale_id', '!=', False)]}"
+ />
+ </header>
<sheet>
<group>
<group>