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

[FW][FIX] account_peppol: properly hide ocr button #163568

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented 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


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

Forward-Port-Of: #163524

`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

X-original-commit: d4b06d4
@robodoo
Copy link
Contributor

robodoo commented Apr 26, 2024

@fw-bot
Copy link
Contributor Author

fw-bot commented Apr 26, 2024

@aliyatastemirova @smetl this PR targets 17.0 and is the last of the forward-port chain.

To merge the full chain, use

@fw-bot r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@aliyatastemirova
Copy link
Contributor

@fw-bot r+

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Apr 26, 2024
@C3POdoo C3POdoo added the RD research & development, internal work label Apr 26, 2024
@robodoo robodoo closed this in d00c64e Apr 26, 2024
willylohws pushed a commit to willylohws/odoo that referenced this pull request May 1, 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 odoo#163568

X-original-commit: d4b06d4
Signed-off-by: Laurent Smet (las) <las@odoo.com>
Signed-off-by: Aliya Tastemirova (alta) <alta@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants