Merge lp:~camptocamp/openobject-addons/7.0-fix-1190259 into lp:openobject-addons/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~camptocamp/openobject-addons/7.0-fix-1190259 |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
91 lines (+12/-12) 3 files modified
analytic_user_function/analytic_user_function_view.xml (+8/-8) hr_timesheet/hr_timesheet_view.xml (+2/-2) hr_timesheet_sheet/hr_timesheet_sheet_view.xml (+2/-2) |
To merge this branch: | bzr merge lp:~camptocamp/openobject-addons/7.0-fix-1190259 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+169136@code.launchpad.net |
This proposal supersedes a proposal from 2013-06-12.
Description of the change
[FIX] analytic_
Unmerged revisions
- 9232. By Yannick Vaucher @ Camptocamp
-
[FIX] hr_timesheet - operator in domain
- 9231. By Yannick Vaucher @ Camptocamp
-
[IMP] hr_timesheet - domain and context of account_id in hr_timesheet_line view, also removed checked on parent_id != False as this seems too restricitve and filtering on type should be enough
- 9230. By Yannick Vaucher @ Camptocamp
-
[IMP] hr_timesheet_sheet - domain and context of account_id in hr_timesheet_sheet view
- 9229. By Yannick Vaucher @ Camptocamp
-
[IMP] analytic_
user_function - use attributes instead of replace in view inheritance in order to keep domain and context - 9228. By Yannick Vaucher @ Camptocamp
-
[FIX] analytic_
user_function - also add contract in domain for hr_timesheet_line view inherits - 9227. By Yannick Vaucher @ Camptocamp
-
[FIX] analytic_
user_function - wrong override of domain for account_id in timesheet lines
An other option would be to use the boolean field 'use_timehseets'
There is a bigger cleaning to do about it in hr_timesheet and hr_timesheet_sheet modules
Complete domain might be ,'in',[ 'normal' , 'contract']), ('state', '<>', 'close' ),('use_ timesheets' ,'=',1) ]
[('type'
gtAnd complete context should be: "{'default_ use_timesheets' : 1, 'default_type': 'contract'}"
context=