# Copyright (c) 2020, InfluxERP
# For license information, please see license.txt


from frappe.model.document import Document

# import frappe
import erpnext


class IncomeTaxSlab(Document):
	def validate(self):
		if self.company:
			self.currency = erpnext.get_company_currency(self.company)
