mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
Merge pull request #53031 from diptanilsaha/regional_ta
This commit is contained in:
@@ -31,7 +31,7 @@ def update_itemised_tax_data(doc):
|
|||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def export_invoices(filters=None):
|
def export_invoices(filters: str | None = None):
|
||||||
frappe.has_permission("Sales Invoice", throw=True)
|
frappe.has_permission("Sales Invoice", throw=True)
|
||||||
|
|
||||||
invoices = frappe.get_all(
|
invoices = frappe.get_all(
|
||||||
@@ -359,7 +359,7 @@ def prepare_and_attach_invoice(doc, replace=False):
|
|||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def generate_single_invoice(docname):
|
def generate_single_invoice(docname: str):
|
||||||
doc = frappe.get_doc("Sales Invoice", docname)
|
doc = frappe.get_doc("Sales Invoice", docname)
|
||||||
frappe.has_permission("Sales Invoice", doc=doc, throw=True)
|
frappe.has_permission("Sales Invoice", doc=doc, throw=True)
|
||||||
|
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ def get_columns():
|
|||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def irs_1099_print(filters):
|
def irs_1099_print(filters: str):
|
||||||
if not filters:
|
if not filters:
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user