diff options
| author | Dharmang Soni <dpr@odoo.com> | 2018-04-09 11:35:00 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-04-09 14:16:50 +0200 |
| commit | 75dd065eaa4670bcc6c742f3780e76e8134b83bf (patch) | |
| tree | 3ff5d51d0ce3be7f5cfaab2c6819733e20014f84 /addons/note/models/res_users.py | |
| parent | 92735de68da76e01b2db61747395fcb317ee11fb (diff) | |
[IMP] note: update note default columns
Purpose is to have first column holding all todos and reminders. We then
add a few columns for today / tomorrow / later to help people organize
themselves.
Diffstat (limited to 'addons/note/models/res_users.py')
| -rw-r--r-- | addons/note/models/res_users.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/note/models/res_users.py b/addons/note/models/res_users.py index 4cb4e3757c1..cfeba15922f 100644 --- a/addons/note/models/res_users.py +++ b/addons/note/models/res_users.py @@ -14,7 +14,7 @@ class Users(models.Model): user = super(Users, self).create(values) # for new employee, create his own 5 base note stages if user.has_group('base.group_user'): - for num in range(5): + for num in range(4): stage = self.env.ref('note.note_stage_%02d' % (num,), raise_if_not_found=False) if stage: stage.sudo().copy(default={'user_id': user.id}) |
