odoo/odoo#163568

Created by fw-bot
label
odoo-dev:17.0-saas-16.4-peppol-hide-ocr-button-alta-_yhc-fw
head
b7bb5c8d3c3bf1b0e4d35cd130152f5102afa7c6
target
17.0
merged
3 weeks ago by Accounting, Aliya Tastemirova (alta)
forward-port of
odoo/odoo#163524

[FW][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

Forward-Port-Of: odoo/odoo#163524