[FIX] mrp: don't see produce button if don't have necessary quantity

lp bug: https://launchpad.net/bugs/1181168 fixed

bzr revid: mat@openerp.com-20130730150747-9yhd6xt0k7nhadbu
This commit is contained in:
Martin Trigaux 2013-07-30 17:07:47 +02:00
commit ce11369083
1 changed files with 2 additions and 2 deletions

View File

@ -620,8 +620,8 @@
<form string="Manufacturing Orders" version="7.0">
<header>
<button name="button_confirm" states="draft" string="Confirm Production" class="oe_highlight"/>
<button name="%(act_mrp_product_produce)d" states="confirmed,ready,in_production" string="Produce" type="action" class="oe_highlight"/>
<button name="force_production" states="confirmed" string="Force Reservation" type="object"/>
<button name="%(act_mrp_product_produce)d" states="ready,in_production" string="Produce" type="action" class="oe_highlight"/>
<button name="force_production" states="confirmed" string="Force Reservation" type="object" class="oe_highlight"/>
<button name="force_production" states="picking_except" string="Force Reservation" type="object"/>
<button name="button_produce" states="ready" string="Mark as Started"/>
<button name="button_recreate" states="picking_except" string="Recreate Picking"/>