parent
65db9cea25
commit
88ce11f03d
@ -766,13 +766,13 @@ def get_delivery_note_serial_no(item_code, qty, delivery_note):
|
|||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def auto_fetch_serial_number(
|
def auto_fetch_serial_number(
|
||||||
qty: float,
|
qty: int,
|
||||||
item_code: str,
|
item_code: str,
|
||||||
warehouse: str,
|
warehouse: str,
|
||||||
posting_date: Optional[str] = None,
|
posting_date: Optional[str] = None,
|
||||||
batch_nos: Optional[Union[str, List[str]]] = None,
|
batch_nos: Optional[Union[str, List[str]]] = None,
|
||||||
for_doctype: Optional[str] = None,
|
for_doctype: Optional[str] = None,
|
||||||
exclude_sr_nos: Optional[List[str]] = None,
|
exclude_sr_nos=None,
|
||||||
) -> List[str]:
|
) -> List[str]:
|
||||||
|
|
||||||
filters = frappe._dict({"item_code": item_code, "warehouse": warehouse})
|
filters = frappe._dict({"item_code": item_code, "warehouse": warehouse})
|
||||||
|
@ -715,8 +715,8 @@ def get_itemwise_batch(warehouse, posting_date, company, item_code=None):
|
|||||||
def get_stock_balance_for(
|
def get_stock_balance_for(
|
||||||
item_code: str,
|
item_code: str,
|
||||||
warehouse: str,
|
warehouse: str,
|
||||||
posting_date: str,
|
posting_date,
|
||||||
posting_time: str,
|
posting_time,
|
||||||
batch_no: Optional[str] = None,
|
batch_no: Optional[str] = None,
|
||||||
with_valuation_rate: bool = True,
|
with_valuation_rate: bool = True,
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user