when i try to save the PO,SO,PI,SI system gives me error and restricted from save document, how can I solve this. here is the log
File “apps/frappe/frappe/app.py”, line 66, in application
response = frappe.api.handle()
File “apps/frappe/frappe/api.py”, line 54, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 47, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/handler.py”, line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “apps/frappe/frappe/init.py”, line 1608, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/desk/form/save.py”, line 28, in savedocs
doc.save()
File “apps/frappe/frappe/model/document.py”, line 305, in save
return self._save(*args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 339, in _save
self.run_before_save_methods()
File “apps/frappe/frappe/model/document.py”, line 1045, in run_before_save_methods
self.run_method(“validate”)
File “apps/frappe/frappe/model/document.py”, line 914, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1264, in composer
return composed(self, method, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1246, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “apps/frappe/frappe/model/document.py”, line 911, in fn
return method_object(*args, **kwargs)
File “apps/erpnext/erpnext/selling/doctype/sales_order/sales_order.py”, line 48, in validate
super(SalesOrder, self).validate()
File “apps/erpnext/erpnext/controllers/selling_controller.py”, line 32, in validate
super(SellingController, self).validate()
File “apps/erpnext/erpnext/controllers/stock_controller.py”, line 45, in validate
super(StockController, self).validate()
File “apps/erpnext/erpnext/controllers/accounts_controller.py”, line 158, in validate
self.calculate_taxes_and_totals()
File “apps/erpnext/erpnext/controllers/accounts_controller.py”, line 347, in calculate_taxes_and_totals
calculate_taxes_and_totals(self)
File “apps/erpnext/erpnext/controllers/taxes_and_totals.py”, line 31, in init
self.calculate()
File “apps/erpnext/erpnext/controllers/taxes_and_totals.py”, line 61, in calculate
self.set_item_wise_tax_breakup()
File “apps/erpnext/erpnext/controllers/taxes_and_totals.py”, line 911, in set_item_wise_tax_breakup
self.doc.other_charges_calculation = get_itemised_tax_breakup_html(self.doc)
File “apps/erpnext/erpnext/controllers/taxes_and_totals.py”, line 958, in get_itemised_tax_breakup_html
itemised_tax, itemised_taxable_amount = get_itemised_tax_breakup_data(doc)
ValueError: not enough values to unpack (expected 2, got 1)