[FIX] repair: forbids add service as repair parts
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user