diff options
| author | DBR (OpenERP) <dbr@tinyerp.com> | 2010-09-06 16:29:13 +0530 |
|---|---|---|
| committer | DBR (OpenERP) <dbr@tinyerp.com> | 2010-09-06 16:29:13 +0530 |
| commit | 2c1cdf6b0eaa3fadfe39720107e3848962fb14ea (patch) | |
| tree | 66c25544cf4aef8a7037f5b2ca39f04102416ffd | |
| parent | ca439309582e51b12ab41431de535bf46f34f239 (diff) | |
[MOD]hr_timesheet_sheet : usability improvement
bzr revid: dbr@tinyerp.com-20100906105913-zmig3xokniuvpztj
| -rw-r--r-- | addons/hr_timesheet_sheet/hr_timesheet_sheet.py | 2 | ||||
| -rw-r--r-- | addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index eff72612710..c9f92b1dddd 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -753,7 +753,7 @@ class res_company(osv.osv): "computation for one sheet. Set this to 0 if you do not want any control."), } _defaults = { - 'timesheet_range': lambda *args: 'month', + 'timesheet_range': lambda *args: 'week', 'timesheet_max_difference': lambda *args: 0.0 } diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index e4c4fde9cc9..dec14079bb9 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -148,10 +148,10 @@ </notebook> <field name="state"/> <group col="4" colspan="2"> - <button name="button_confirm" states="draft" string="Confirm" type="object" icon="terp-gtk-jump-to-rtl"/> + <button name="button_confirm" states="draft" string="Confirm" type="object" icon="terp-camera_test"/> <button name="action_set_to_draft" states="done" string="Set to Draft" type="object" icon="terp-stock_effects-object-colorize"/> <button name="cancel" states="confirm" string="Refuse" type="workflow" icon="gtk-cancel"/> - <button name="done" states="confirm" string="Accept" type="workflow" icon="terp-camera_test"/> + <button name="done" states="confirm" string="Approve" type="workflow" icon="gtk-jump-to"/> </group> </form> </field> @@ -165,7 +165,7 @@ <search string="Search Timesheet"> <group col="10" colspan="4"> <filter icon="terp-document-new" string="In Draft" domain="[('state','in',('draft', 'new'))]" help="Unvalidated Timesheets"/> - <filter icon="terp-gtk-go-back-rtl" string="To Approve" domain="[('state','=','confirm')]" help="Confirmed Timesheets"/> + <filter icon="terp-camera_test" string="To Approve" domain="[('state','=','confirm')]" help="Confirmed Timesheets"/> <separator orientation="vertical"/> <field name="user_id" select="1"/> <field name="date_from"/> |
