Merge branch 'hotfix'
This commit is contained in:
commit
d801437f5f
@ -5,7 +5,7 @@ import frappe
|
|||||||
from erpnext.hooks import regional_overrides
|
from erpnext.hooks import regional_overrides
|
||||||
from frappe.utils import getdate
|
from frappe.utils import getdate
|
||||||
|
|
||||||
__version__ = '10.1.79'
|
__version__ = '10.1.80'
|
||||||
|
|
||||||
def get_default_company(user=None):
|
def get_default_company(user=None):
|
||||||
'''Get default company for user'''
|
'''Get default company for user'''
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors and contributors
|
|
||||||
# For license information, please see license.txt
|
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
import frappe
|
|
||||||
from frappe.model.document import Document
|
|
||||||
|
|
||||||
class Lead(Document):
|
|
||||||
pass
|
|
@ -1,8 +0,0 @@
|
|||||||
import frappe
|
|
||||||
|
|
||||||
def set_required_items(production_order):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def reserve_for_production(production_order):
|
|
||||||
'''Reserve pending raw materials for production'''
|
|
||||||
pass
|
|
@ -5,7 +5,7 @@ from erpnext.regional.india import states, state_numbers
|
|||||||
from erpnext.controllers.taxes_and_totals import get_itemised_tax, get_itemised_taxable_amount
|
from erpnext.controllers.taxes_and_totals import get_itemised_tax, get_itemised_taxable_amount
|
||||||
|
|
||||||
def validate_gstin_for_india(doc, method):
|
def validate_gstin_for_india(doc, method):
|
||||||
if not hasattr(doc, 'gstin'):
|
if not hasattr(doc, 'gstin') or not doc.gstin:
|
||||||
return
|
return
|
||||||
|
|
||||||
doc.gstin = doc.gstin.upper().strip()
|
doc.gstin = doc.gstin.upper().strip()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user