summaryrefslogtreecommitdiff
path: root/fixco_custom/views/stock_picking.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views/stock_picking.xml')
-rwxr-xr-xfixco_custom/views/stock_picking.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixco_custom/views/stock_picking.xml b/fixco_custom/views/stock_picking.xml
index c7890f7..073cd47 100755
--- a/fixco_custom/views/stock_picking.xml
+++ b/fixco_custom/views/stock_picking.xml
@@ -25,7 +25,7 @@
<button name="action_create_invoice_from_mr"
string="Create Bill"
type="object"
- attrs="{'invisible': [('state', '!=', 'done')]}"
+ attrs="{'invisible': [('state', '!=', 'done'), ('picking_type_code', '!=', 'incoming')]}"
/>
</button>