Skip to content
Permalink
Browse files

[FIX] stock: do not create products from replenishment wizard.

closes #38256

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
  • Loading branch information...
Feyensv committed Oct 9, 2019
1 parent f33c9a1 commit 3b4a0e817b0b6656f0545003f003d4167cd3e2ec
Showing with 2 additions and 1 deletion.
  1. +2 −1 addons/stock/wizard/product_replenish_views.xml
@@ -15,7 +15,8 @@
<field name="product_has_variants" invisible="1"/>
<field name="product_id"
domain="[('product_tmpl_id', '=', product_tmpl_id)]"
attrs="{'readonly': [('product_has_variants', '=', False)]}"/>
attrs="{'readonly': [('product_has_variants', '=', False)]}"
options="{'no_create_edit':1}"/>
<field name="product_uom_category_id" invisible="1"/>
<label for="quantity"/>
<div class="o_row">

0 comments on commit 3b4a0e8

Please sign in to comment.
You can’t perform that action at this time.