odoo/odoo#163524

Created by Accounting, Aliya Tastemirova (alta)
label
odoo-dev:saas-16.4-peppol-hide-ocr-button-alta
head
5b66c29c60d1140756a90ee5582a7cdaf91fcb24
target
saas-16.4
merged
3 weeks ago by Accounting, Laurent Smet (las)
forward-ports

[FIX] account_peppol: properly hide ocr button

`extract_can_show_send_button` is a computed readonly field, providing a default value doesn't do anything. By setting `is_in_extractable_state` to `False` by default, we can hide the ocr button.

no task, noticed while fixing a traceback in saas-17.1



---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr