ソースを参照

simple fix in assign to

version-14
Anand Doshi 13年前
コミット
2cd4531a8d
2個のファイルの変更2行の追加2行の削除
  1. +1
    -1
      py/webnotes/boot.py
  2. +1
    -1
      py/webnotes/widgets/form/assign_to.py

+ 1
- 1
py/webnotes/boot.py ファイルの表示

@@ -41,7 +41,7 @@ def get_bootinfo():


# remove email settings from control panel dict # remove email settings from control panel dict
for field in ['mail_login', 'mail_password', 'mail_port', 'outgoing_mail_server', 'use_ssl']: for field in ['mail_login', 'mail_password', 'mail_port', 'outgoing_mail_server', 'use_ssl']:
del cp[field]
if field in cp: del cp[field]
# system info # system info
bootinfo['control_panel'] = cp.copy() bootinfo['control_panel'] = cp.copy()


+ 1
- 1
py/webnotes/widgets/form/assign_to.py ファイルの表示

@@ -110,7 +110,7 @@ def notify_assignment(assigned_by, owner, doc_type, doc_name, action='CLOSE', no
arg = { arg = {
'uid': owner, 'uid': owner,
'comment': "A new task, %s, has been assigned to you by %s." \ 'comment': "A new task, %s, has been assigned to you by %s." \
% (assignment, webnotes.session.get('uer')),
% (assignment, webnotes.session.get('user')),
'notify': notify 'notify': notify
} }
from home.page.my_company import my_company from home.page.my_company import my_company


読み込み中…
キャンセル
保存