[IMP] base: improve list view of ir.action.todo + fixed typo in state label
authorOlivier Dony <odo@openerp.com>
Thu, 23 Sep 2010 10:54:10 +0000 (12:54 +0200)
committerOlivier Dony <odo@openerp.com>
Thu, 23 Sep 2010 10:54:10 +0000 (12:54 +0200)
bzr revid: odo@openerp.com-20100923105410-it7wqr3lwjkps9wx

bin/addons/base/ir/ir.xml
bin/addons/base/ir/ir_actions.py

index 5890317..e76af79 100644 (file)
                 <tree editable="bottom" string="Config Wizard Steps">
                     <field name="sequence"/>
                     <field name="action_id"/>
+                    <field name="restart"/>
                     <field name="state" readonly="1"/>
-                    <button name="action_launch" states="open" string="Launch" type="object" icon="gtk-execute" help="Launch Configuration Wizard"/>
+                    <button name="action_open" states="cancel,skip,done" string="Set as todo" type="object" icon="gtk-convert"/>
+                    <button name="action_launch" states="open" string="Launch this wizard" type="object" icon="gtk-execute"/>
                 </tree>
             </field>
         </record>
                     <field name="groups_id" nolabel="1" colspan="4"/>
                     <group colspan="4" col="4">
                         <field name="state" colspan="2" readonly="1"/>
-                        <button name="action_launch" states="open" string="Launch" type="object" icon="gtk-execute" help="Launch Configuration Wizard"/>
-                        <button name="action_open" states="cancel,skip,done"
-                            string="Set as Todo" type="object"
-                            icon="gtk-convert"/>
+                        <button name="action_launch" states="open" string="Launch" type="object" icon="gtk-execute" help="Launch this wizard"/>
+                        <button name="action_open" states="cancel,skip,done" string="Set as todo" type="object" icon="gtk-convert"/>
                     </group>
                 </form>
             </field>
index 964d36a..a20d780 100644 (file)
@@ -753,7 +753,7 @@ act_window_close()
 TODO_STATES = [('open', 'To Do'),
                ('done', 'Done'),
                ('skip','Skipped'),
-               ('cancel','Cancel')]
+               ('cancel','Cancelled')]
 
 class ir_actions_todo(osv.osv):
     _name = 'ir.actions.todo'