mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-13 17:20:36 +00:00
chore(selling): annotate make_sales_invoice arguments
This commit is contained in:
@@ -1122,7 +1122,12 @@ def get_qty_net_of_returns(so_item) -> float:
|
|||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def make_sales_invoice(source_name, target_doc=None, ignore_permissions=False, args=None):
|
def make_sales_invoice(
|
||||||
|
source_name: str,
|
||||||
|
target_doc: str | dict | Document | None = None,
|
||||||
|
ignore_permissions: bool = False,
|
||||||
|
args: str | dict | None = None,
|
||||||
|
):
|
||||||
if args is None:
|
if args is None:
|
||||||
args = {}
|
args = {}
|
||||||
if isinstance(args, str):
|
if isinstance(args, str):
|
||||||
|
|||||||
Reference in New Issue
Block a user