[FIX] repair: forbids add service as repair parts

This commit is contained in:
svs-odoo
2019-09-18 07:50:59 +00:00
parent 8b24456ecf
commit 36b1843b43
+1 -1
View File
@@ -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"/>