c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29580
[Bug 806932] Re: my timesheet - link to "Timesheet Lines" must only show lines of this timesheet
in 6.0, rev 3461 I find
<act_window
context="{'search_default_sheet_id': [active_id]}"
id="act_hr_timesheet_sheet_sheet_2_hr_analytic_timesheet"
name="Timesheet Lines"
res_model="hr.analytic.timesheet"
src_model="hr_timesheet_sheet.sheet"/>
and I see "ALL" lines of all users and all days
this happens for a user with just the necessary right to enter time
sheet lines and this user can modify all others time sheet lines - a bit
a horror
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/806932
Title:
my timesheet - link to "Timesheet Lines" must only show lines of this
timesheet
Status in OpenERP Modules (addons):
Opinion
Bug description:
currently it shows all lines from all users -
Context Value of "Timesheet Lines" must be at least
{'search_default_sheet_id': ['active_id'],'search_default_user_id':uid}
to restrict the lines to the current user
and possible to the current timesheet
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/806932/+subscriptions
References