summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/repair/views/repair_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/repair/views/repair_views.xml b/addons/repair/views/repair_views.xml
index 4069a9f4369..2f46197514e 100644
--- a/addons/repair/views/repair_views.xml
+++ b/addons/repair/views/repair_views.xml
@@ -116,7 +116,7 @@
</form>
<tree string="Operations" editable="bottom">
<field name="type"/>
- <field name="product_id"/>
+ <field name="product_id" domain="[('type', '!=', 'service')]"/>
<field name='name' optional="show"/>
<field name="product_uom_category_id" invisible="1"/>
<field name="lot_id" domain="[('product_id', '=', product_id)]" context="{'default_product_id': product_id}" groups="stock.group_production_lot"/>