From 95ea64c5a360896aa1336da9752396d7df5c0f1c Mon Sep 17 00:00:00 2001 From: Tanguy Charlier Date: Tue, 10 May 2016 15:13:31 +0200 Subject: [PATCH] [FIX] hr_timesheet_sheet: fix forward port mistake The field account_type no longer exists so this line shouldn't have been forward-ported. Backport from master of rev 3888b3f6f510eea919b432970215ea9816c08ad0 --- addons/hr_timesheet_sheet/static/src/js/timesheet.js | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/hr_timesheet_sheet/static/src/js/timesheet.js b/addons/hr_timesheet_sheet/static/src/js/timesheet.js index b3191e49eb5..067fcc233eb 100644 --- a/addons/hr_timesheet_sheet/static/src/js/timesheet.js +++ b/addons/hr_timesheet_sheet/static/src/js/timesheet.js @@ -258,7 +258,6 @@ var WeeklyTimesheet = form_common.FormWidget.extend(form_common.ReinitializeWidg type: "many2one", domain: [ ['id', 'not in', _.pluck(this.projects, "project")], - ['account_type', '=', 'normal'], // TODO: Do not forward-port to master ], modifiers: '{"required": true}', },