fix: import supplier invoice not working
This commit is contained in:
parent
7a05662e9f
commit
60c1855014
@ -64,7 +64,8 @@ class ImportSupplierInvoice(Document):
|
|||||||
"buying_price_list": self.default_buying_price_list
|
"buying_price_list": self.default_buying_price_list
|
||||||
}
|
}
|
||||||
|
|
||||||
if not invoices_args.get("invoice_no", ''): return
|
if not invoices_args.get("bill_no", ''):
|
||||||
|
frappe.throw(_("Numero has not set in the XML file"))
|
||||||
|
|
||||||
supp_dict = get_supplier_details(file_content)
|
supp_dict = get_supplier_details(file_content)
|
||||||
invoices_args["destination_code"] = get_destination_code_from_file(file_content)
|
invoices_args["destination_code"] = get_destination_code_from_file(file_content)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user