diff options
| author | Damien Bouvy <dbo@odoo.com> | 2015-08-28 10:45:15 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2015-08-28 10:45:15 +0200 |
| commit | 0f05b49185f0d3b2d2bbeab3df02147d7ecbefe8 (patch) | |
| tree | 906e91cf0247335866eaaf3cc6b4edc9e355cef0 | |
| parent | 29896805ca432a59dbf3c50073c7add6cd8503ac (diff) | |
[FIX] hr_timesheet_sheet: domain was wrong in js widget
| -rw-r--r-- | addons/hr_timesheet_sheet/static/src/js/timesheet.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/hr_timesheet_sheet/static/src/js/timesheet.js b/addons/hr_timesheet_sheet/static/src/js/timesheet.js index edde1c879bf..4b472c42ddb 100644 --- a/addons/hr_timesheet_sheet/static/src/js/timesheet.js +++ b/addons/hr_timesheet_sheet/static/src/js/timesheet.js @@ -249,13 +249,8 @@ var WeeklyTimesheet = form_common.FormWidget.extend(form_common.ReinitializeWidg name: "account", type: "many2one", domain: [ - ['type','in',['normal', 'contract']], - ['state', '<>', 'close'], ['id', 'not in', _.pluck(self.accounts, "account")], ], - context: { - default_type: "contract", - }, modifiers: '{"required": true}', }, }); |
