I encounter this problem when developing an App.
Basically, if I try adding a Custom Field to Company Doctype, at the end of the Setup Wizard it will fail.
After checking, I figure out it’s because of the query that create the Company, it includes the new Custom Field while in database there is no correspondent column. Do we have any solution for it ? Should I use another method to install Custom Field to Company ?