Sign In/Out by Project

Bug #1283446 reported by Christian Lambricht
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HR - Timesheet Management
New
Undecided
Unassigned

Bug Description

"Sign In/Out by Project" functionality supports only normal analytic account... not contract type? while "timesheet sheet" supports both!

Revision history for this message
Christian Lambricht (christian-lambricht) wrote :

After some work I find a possible work around...

hr_timesheet_sign_in_out_view.xml

-- <field name="account_id" colspan="2"/>
++ <field domain="[('type','in',['normal', 'contract']), ('state', '&lt;&gt;', 'close'),('use_timesheets','=',1)]" name="account_id" context="{'default_use_timesheets': 1}" required="1" colspan="2"/>

I still have to do some test
If you have any feedback on your side, they will be welcome :)

Revision history for this message
Rudolf Schnapka (rs-t3) wrote :

tested and works.
there is another report on this also delivering a diff. There are several other view that also might need a change in this context.
If I remember correctly it is on OCB-branch.
Attached is that diff (couldn't find the source reference anymore sorry!)

thanks to all reporting and fixing people here ;-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.