[IMP] visible produce button on 'Ready to Produce' state in mo
authorForam Katharotiya (OpenERP) <fka@tinyerp.com>
Wed, 3 Jul 2013 06:52:56 +0000 (12:22 +0530)
committerForam Katharotiya (OpenERP) <fka@tinyerp.com>
Wed, 3 Jul 2013 06:52:56 +0000 (12:22 +0530)
bzr revid: fka@tinyerp.com-20130703065256-wn65bwb8xzovbfef

addons/mrp/mrp_view.xml

index 562fa29..c73a25d 100644 (file)
                 <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"/>