fix: patch to set invoice type on POS Settings

This commit is contained in:
diptanilsaha
2025-08-12 11:32:44 +05:30
parent 4cc6596d44
commit 0941b908dd
2 changed files with 7 additions and 0 deletions

View File

@@ -433,3 +433,4 @@ erpnext.patches.v15_0.remove_sales_partner_from_consolidated_sales_invoice
erpnext.patches.v15_0.update_uae_zero_rated_fetch
erpnext.patches.v15_0.add_company_payment_gateway_account
erpnext.patches.v16_0.update_serial_no_reference_name
erpnext.patches.v16_0.set_invoice_type_in_pos_settings

View File

@@ -0,0 +1,6 @@
import frappe
def execute():
if not frappe.db.get_single_value("POS Settings", "invoice_type"):
frappe.db.set_single_value("POS Settings", "invoice_type", "POS Invoice")