Before when you installed one localization e.g. PE, but then you would install another one with a demo company, then that demo company's demo invoices might have adapted to the structure of PE, while it might be for another country. In the meantime we check that the necessary latam_document_numbers are set. closes odoo/odoo#82998 X-original-commit: bef38eaee0e389554d35fede53a1224b72271d7f Signed-off-by: William André (wan) <wan@odoo.com> Signed-off-by: Josse Colpaert <jco@odoo.com>