Skip to content
Snippets Groups Projects
Commit 0f05b491 authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[FIX] hr_timesheet_sheet: domain was wrong in js widget

parent 29896805
No related branches found
No related tags found
No related merge requests found
......@@ -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}',
},
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment