Browse Source

Merge branch 'hotfix'

version-14
Nabin Hait 8 years ago
parent
commit
0672f50b26
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      frappe/__init__.py
  2. +2
    -1
      frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py

+ 1
- 1
frappe/__init__.py View File

@@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json
from .exceptions import * from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template from .utils.jinja import get_jenv, get_template, render_template


__version__ = '7.1.9'
__version__ = '7.1.10'
__title__ = "Frappe Framework" __title__ = "Frappe Framework"


local = Local() local = Local()


+ 2
- 1
frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py View File

@@ -6,6 +6,7 @@ from __future__ import unicode_literals
import frappe import frappe


def execute(): def execute():
frappe.reload_doctype('Print Format')
frappe.db.sql(""" frappe.db.sql("""
update update
`tabPrint Format` `tabPrint Format`
@@ -13,4 +14,4 @@ def execute():
align_labels_left = 0, line_breaks = 0, show_section_headings = 0 align_labels_left = 0, line_breaks = 0, show_section_headings = 0
where where
custom_format = 1 custom_format = 1
""")
""")

Loading…
Cancel
Save