Merge branch 'master' into develop
This commit is contained in:
commit
5dd12cb4f0
@ -2,7 +2,7 @@
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
__version__ = '7.1.16'
|
||||
__version__ = '7.1.17'
|
||||
|
||||
def get_default_company(user=None):
|
||||
'''Get default company for user'''
|
||||
|
@ -9,6 +9,8 @@ def execute():
|
||||
if not cint(frappe.defaults.get_global_default("auto_accounting_for_stock")):
|
||||
return
|
||||
|
||||
frappe.reload_doctype("Purchase Invoice")
|
||||
|
||||
for pi in frappe.db.sql("""select name from `tabPurchase Invoice`
|
||||
where update_stock=1 and docstatus=1 order by posting_date asc""", as_dict=1):
|
||||
|
||||
|
@ -23,7 +23,7 @@ class StudentAdmission(WebsiteGenerator):
|
||||
context.parents = [{'name': 'admissions', 'title': _('All Student Admissions') }]
|
||||
|
||||
def get_title(self):
|
||||
return _("Admissions for {0}").format(self.academic_term)
|
||||
return _("Admissions for {0}").format(self.academic_year)
|
||||
|
||||
def get_list_context(context):
|
||||
context.title = _("Student Admissions")
|
||||
|
@ -66,7 +66,8 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({
|
||||
});
|
||||
}
|
||||
|
||||
if(this.frm.fields_dict["packed_items"].grid.get_field('batch_no')) {
|
||||
if(this.frm.fields_dict["packed_items"] &&
|
||||
this.frm.fields_dict["packed_items"].grid.get_field('batch_no')) {
|
||||
this.frm.set_query("batch_no", "packed_items", function(doc, cdt, cdn) {
|
||||
return me.set_query_for_batch(doc, cdt, cdn)
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user