Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] account_peppol: properly hide ocr button #163524

Conversation

aliyatastemirova
Copy link
Contributor

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

@aliyatastemirova aliyatastemirova marked this pull request as ready for review April 26, 2024 11:26
@aliyatastemirova
Copy link
Contributor Author

@fw-bot up to 17.0

@robodoo
Copy link
Contributor

robodoo commented Apr 26, 2024

@fw-bot
Copy link
Contributor

fw-bot commented Apr 26, 2024

Forward-porting to '17.0'.

`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
@aliyatastemirova aliyatastemirova force-pushed the saas-16.4-peppol-hide-ocr-button-alta branch from 2d321fb to 5b66c29 Compare April 26, 2024 11:45
Copy link
Contributor

@smetl smetl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@C3POdoo C3POdoo added the RD research & development, internal work label Apr 26, 2024
robodoo pushed a commit that referenced this pull request Apr 26, 2024
`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

closes #163524

Signed-off-by: Laurent Smet (las) <las@odoo.com>
@robodoo robodoo closed this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants