Merge pull request #1777 from anandpdoshi/hotfix
Default Letterhead, Item wise Price List Rate
This commit is contained in:
commit
2aaf1de7fe
@ -161,7 +161,7 @@ def get_data():
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "report",
|
"type": "report",
|
||||||
"is_query_report": True,
|
"is_query_report": False,
|
||||||
"name": "Item-wise Price List Rate",
|
"name": "Item-wise Price List Rate",
|
||||||
"doctype": "Item Price",
|
"doctype": "Item Price",
|
||||||
},
|
},
|
||||||
|
|||||||
@ -56,3 +56,4 @@ erpnext.patches.v4_0.update_tax_amount_after_discount
|
|||||||
execute:frappe.reset_perms("GL Entry") #2014-06-09
|
execute:frappe.reset_perms("GL Entry") #2014-06-09
|
||||||
execute:frappe.reset_perms("Stock Ledger Entry") #2014-06-09
|
execute:frappe.reset_perms("Stock Ledger Entry") #2014-06-09
|
||||||
erpnext.patches.v4_0.create_custom_fields_for_india_specific_fields
|
erpnext.patches.v4_0.create_custom_fields_for_india_specific_fields
|
||||||
|
erpnext.patches.v4_0.save_default_letterhead
|
||||||
|
|||||||
13
erpnext/patches/v4_0/save_default_letterhead.py
Normal file
13
erpnext/patches/v4_0/save_default_letterhead.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||||
|
# License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
"""save default letterhead to set default_letter_head_content"""
|
||||||
|
try:
|
||||||
|
letter_head = frappe.get_doc("Letter Head", {"is_default": 1})
|
||||||
|
letter_head.save()
|
||||||
|
except frappe.DoesNotExistError:
|
||||||
|
pass
|
||||||
@ -5,8 +5,8 @@
|
|||||||
"doctype": "Report",
|
"doctype": "Report",
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"is_standard": "Yes",
|
"is_standard": "Yes",
|
||||||
"json": "{\"filters\":[[\"Item Price\",\"price_list\",\"like\",\"%\"],[\"Item Price\",\"item_code\",\"like\",\"%\"]],\"columns\":[[\"name\",\"Item Price\"],[\"price_list\",\"Item Price\"],[\"item_code\",\"Item Price\"],[\"item_name\",\"Item Price\"],[\"item_description\",\"Item Price\"],[\"ref_rate\",\"Item Price\"],[\"buying\",\"Item Price\"],[\"selling\",\"Item Price\"],[\"currency\",\"Item Price\"]],\"sort_by\":\"Item Price.modified\",\"sort_order\":\"desc\",\"sort_by_next\":\"\",\"sort_order_next\":\"desc\"}",
|
"json": "{\"filters\":[[\"Item Price\",\"price_list\",\"like\",\"%\"],[\"Item Price\",\"item_code\",\"like\",\"%\"]],\"columns\":[[\"name\",\"Item Price\"],[\"price_list\",\"Item Price\"],[\"item_code\",\"Item Price\"],[\"item_name\",\"Item Price\"],[\"item_description\",\"Item Price\"],[\"price_list_rate\",\"Item Price\"],[\"buying\",\"Item Price\"],[\"selling\",\"Item Price\"],[\"currency\",\"Item Price\"]],\"sort_by\":\"Item Price.modified\",\"sort_order\":\"desc\",\"sort_by_next\":\"\",\"sort_order_next\":\"desc\"}",
|
||||||
"modified": "2014-06-03 07:18:17.097955",
|
"modified": "2014-06-09 10:21:15.097955",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Item-wise Price List Rate",
|
"name": "Item-wise Price List Rate",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user