mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
patch for payment term field in Supplier Type
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
if not frappe.db.has_column("Supplier Type", "payment_terms"):
|
||||||
|
frappe.db.sql("ALTER TABLE `tabSupplier Type` ADD COLUMN `payment_terms` VARCHAR(140) NULL")
|
||||||
Reference in New Issue
Block a user