[FIX] stock, physical inventory: display split button on confirmed state too
authorqdp-launchpad@tinyerp.com <>
Mon, 22 Nov 2010 18:15:53 +0000 (19:15 +0100)
committerqdp-launchpad@tinyerp.com <>
Mon, 22 Nov 2010 18:15:53 +0000 (19:15 +0100)
bzr revid: qdp-launchpad@tinyerp.com-20101122181553-rj2dm1ciuyhz200p

addons/stock/stock_view.xml

index c9be557..6fa7a79 100644 (file)
                                 <field name="prod_lot_id" groups="base.group_extended"/>
                                 <button name="%(stock.action_view_stock_inventory_line_split)d"
                                     string="Split inventory lines" groups="base.group_extended"
-                                    type="action" icon="terp-stock_effects-object-colorize" states="draft"/>
+                                    type="action" icon="terp-stock_effects-object-colorize" states="draft,confirm"/>
                                 <field name="state" invisible="True"/>
                             </tree>
                             <form string="Products ">