Before this commit, if a related field's path definition contained a non-existing field (either because of a typo or field removal) the ORM would simply send a generic Python KeyError that didn't really help in debugging. With this commit, we raise our own KeyError stating which related field has the wrong path definition and exactly which field within the path is incorrect. See test for an example. closes odoo/odoo#31889 Signed-off-by: Adrian Torres (adt) <adt@odoo.com>