Skip to content
Browse files

[FIX] stock: product replenishment

The replenish action shouldn't be accessible through the action dropdown 
(it makes no sense to replenish consumables or services).
It is already accessible on the product/template form when applicable.

Closes #38238
  • Loading branch information...
Feyensv committed Oct 9, 2019
1 parent 4ad7a99 commit ba7409b333b7d6c9eec92e06bdabb4103099d342
Showing with 3 additions and 1 deletion.
  1. +3 −1 addons/stock/wizard/product_replenish_views.xml
@@ -49,7 +49,9 @@
<field name="name">Replenish</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.replenish</field>
<field name="binding_model_id" ref="product.model_product_product"/>
<!-- binding_model_id evaluated to False
to remove it in existing db's as it was bug-prone -->
<field name="binding_model_id" eval="False"/>
<field name="view_mode">form</field>
<field name="view_id" ref="view_product_replenish"/>
<field name="target">new</field>

0 comments on commit ba7409b

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