[FIX] HR : Job positions were missing the statusbar widget on form view
authorSerpent Consulting Services <support@serpentcs.com>
Thu, 3 Nov 2011 15:41:39 +0000 (21:11 +0530)
committerSerpent Consulting Services <support@serpentcs.com>
Thu, 3 Nov 2011 15:41:39 +0000 (21:11 +0530)
lp bug: https://launchpad.net/bugs/885677 fixed

bzr revid: support@serpentcs.com-20111103154139-fyehb7marciauo15

addons/hr/hr_view.xml

index a59269b..c7c34cb 100644 (file)
                         </page>
                     </notebook>
                     <group col="6" colspan="4">
-                        <field name="state"/>
+                        <field name="state" widget="statusbar" statusbar_visible="open,recruit,old" statusbar_colors='{"open":"blue","old":"grey"}'/>
                         <button name="job_recruitement" string="In Recruitement" states="open" type="object" icon="gtk-go-forward"/>
                         <button name="job_open" string="In Position" states="old,recruit" type="object" icon="terp-camera_test"/>
                         <button name="job_old" string="Mark as Old" states="open,recruit" type="object" icon="gtk-cancel"/>