mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-13 22:51:49 +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()
|
||||
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:
|
||||
args = {}
|
||||
if isinstance(args, str):
|
||||
|
||||
Reference in New Issue
Block a user