[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
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user