summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfixco_custom/views/detail_order.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/views/detail_order.xml b/fixco_custom/views/detail_order.xml
index 422c471..228f9e4 100755
--- a/fixco_custom/views/detail_order.xml
+++ b/fixco_custom/views/detail_order.xml
@@ -32,7 +32,7 @@
<button name="execute_queue_detail"
string="Create SO"
type="object"
- attrs="{'invisible': [('sale_id', '!=', True)]}"
+ attrs="{'invisible': [('sale_id', '!=', True), ('detail_order', '!=', False)]}"
/>
</header>
<sheet>