code fixes

This commit is contained in:
Pawan Mehta 2019-12-10 23:30:33 +05:30 committed by Rohit Waghchaure
parent 2c13a0533b
commit 6e1ba43c3c

View File

@ -68,9 +68,9 @@ class ImportSupplierInvoice(Document):
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)
self.prepare_items_for_invoice(file_content, invoices_args)
invoices_args["taxes"] = get_taxes_from_file(file_content, self.tax_account) invoices_args["taxes"] = get_taxes_from_file(file_content, self.tax_account)
invoices_args["terms"] = get_payment_terms_from_file(file_content) invoices_args["terms"] = get_payment_terms_from_file(file_content)
self.prepare_items_for_invoice(file_content, invoices_args)
supplier_name = create_supplier(self.supplier_group, supp_dict) supplier_name = create_supplier(self.supplier_group, supp_dict)
address = create_address(supplier_name, supp_dict) address = create_address(supplier_name, supp_dict)