Print Format Error: Invalid field name: show_taxes_as_table_in_print

Hi. I had in my server updated from ERPNext V12 to:
ERPNext: v14.28.1 (version-14)
Frappe Framework: v14.40.1 (version-14)
Frappe HR: v15.0.0-dev (develop)
Payments: v0.0.1 (develop)

I can not print any Purchase Invoice, Sales Invoice or Payment Entry, but it is ok to print Customer, for example.

I get the error:
Invalid field name: **show_taxes_as_table_in_print**

show_taxes_as_table_in_print is present in erpnext/accounts/doctype/accounts_settings/accounts_settings.json but it is not included as a field in the Doctype Account and certainly does not appear in the UI in Account Settings as a check field

Any help is greatly appreciated!

I know that show_taxes_as_table_in_print must be a field in the Accounts Settings Doctype, so I suppose that when the update was done, there was some database migration that did not occur. I could add it manually through the customize form, but I don’t think that is a good approach.

  • Do any of you happen to know which bench command(s) should I execute?

Thanks again

Well, in case anyone runs into this, it was a matter of updating to the latest v14 version :\

Run the following bench command to get rid of this error, replace [sitename] with your sitename

bench --site [sitename] migrate

Thanks. Even thought I already solved it, it’s good to know the command, and welcome to the Community!