跳至内容
菜单
此问题已终结
2 回复
352 查看

HI,


I have a problem with ocr to recognize venodor bill in odoo 12.0 because the function suddenly not work, someone have the same problem and have solve the problem?


thank you

形象
丢弃
最佳答案

Cause: OCR for vendor bills in Odoo 12.0 stopped working because the Odoo SA OCR service for version 12 was recently discontinued (around April–May 2025).

How to check: Check your server logs — if you see errors like 403 Forbidden or 410 Gone, this confirms the OCR endpoint was disabled.

Solutions:

  1. Upgrade to Odoo 14+ → fully supported OCR.
  2. Use a third-party OCR service (Google Vision, AWS Textract, Tesseract).
  3. Patch your OCR module to connect to your own OCR service
  4. ->  Many users are experiencing this recently. It is not caused by your code or server.

形象
丢弃
编写者

thank you

编写者 最佳答案

have you any idea to patch the module?

形象
丢弃

i think :
Create a new custom module.

Inherit document.ocr.provider.

Override _perform_ocr() to call your OCR API.
But I recommend you upgrade to a higher version.