diff options
| author | Goffin Simon <sig@odoo.com> | 2018-04-10 11:51:01 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-04-10 16:47:26 +0200 |
| commit | 8d851e4a17ca41f6a00a3937b789f04240a67c59 (patch) | |
| tree | 10a29d983d5f3bbe2848c18d32b35ffaed852874 | |
| parent | d805354123c3b838230c96f5055400e203b375fa (diff) | |
[FIX] mrp_repair: repair fee lines without product_id filled
It's impossible to add a repair fee line without a product because the
product uom is required.
opw:1833233
| -rw-r--r-- | addons/mrp_repair/views/mrp_repair_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp_repair/views/mrp_repair_views.xml b/addons/mrp_repair/views/mrp_repair_views.xml index 44d302d20a6..4b954ecdc93 100644 --- a/addons/mrp_repair/views/mrp_repair_views.xml +++ b/addons/mrp_repair/views/mrp_repair_views.xml @@ -150,7 +150,7 @@ </group> </form> <tree string="Fees" editable="bottom"> - <field name="product_id" domain="[('type','=','service')]"/> + <field name="product_id" domain="[('type','=','service')]" required="True"/> <field name='name'/> <field name="product_uom_qty" string="Quantity"/> <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/> |
