Просмотр исходного кода

[fix] email alert in sync (#2135)

version-14
Rushabh Mehta 8 лет назад
committed by GitHub
Родитель
Сommit
106eff83d5
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      frappe/model/sync.py

+ 1
- 1
frappe/model/sync.py Просмотреть файл

@@ -55,7 +55,7 @@ def sync_for(app_name, force=0, sync_everything = False, verbose=False):
def get_doc_files(files, start_path, force=0, sync_everything = False, verbose=False):
"""walk and sync all doctypes and pages"""

document_type = ['doctype', 'page', 'report', 'print_format', 'website_theme', 'web_form']
document_type = ['doctype', 'page', 'report', 'print_format', 'website_theme', 'web_form', 'email_alert']
for doctype in document_type:
doctype_path = os.path.join(start_path, doctype)
if os.path.exists(doctype_path):


Загрузка…
Отмена
Сохранить