Odoo Help


1 Answer

Yenthe Van Ginneken Belgium

--Yenthe Van Ginneken--
| 9 9 12
Turnhout, Belgium
--Yenthe Van Ginneken--

My Odoo training platform: https://www.oocademy.com
My Odoo blog: http://www.odoo.yenthevg.com/
My Twitter: https://twitter.com/Yenthe666

Yenthe Van Ginneken Belgium
1/14/19, 10:31 AM

Hi Delphine,

I've just checked the module and you're right. This is in fact a poor design choice. The only thing that happens when there is an issue with the OCR is that the state for the field 'extract_state' is set to 'error_status'. You can see the behaviour at https://github.com/odoo/enterprise/blob/46a48261ab649442816f6594d24bff476b4bdb6b/account_invoice_extract/models/account_invoice.py#L156 

I made a PR at Odoo so that atleast something gets added in the log and I've asked the developers for feedback. See https://github.com/odoo/enterprise/pull/3424 if you have access to the enterprise code.

You can still report this behaviour to Odoo at https://www.odoo.com/help as this is a legitimate problem.


1 Comment
Yenthe Van Ginneken Belgium
1/16/19, 5:10 AM

A basic log warning is now added in V12 at https://github.com/odoo/enterprise/pull/3434

Further improvements and warnings will be coming soon (see https://github.com/odoo/enterprise/pull/3424#issuecomment-454055286)

Ask a Question
Keep Informed
2 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now