AttributeError: 'NoneType' object has no attribute 'fieldtype' in Sales and Purchase Invoice

Seems like there are no fields called "base_total_taxes_and_charges” or “base_rounding_adjustment” in Sales Invoice doctype. Can you confirm?

If that is the case, try to execute bench reload-doc accounts doctype sales_invoice from frappe-bench directory.

2 Likes