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

[16.0][ADD] report_qweb_field_converter #857

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from

Conversation

AungKoKoLin1997
Copy link
Contributor

Related: #842

@qrtl

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-add-report_qweb_field_converter branch from badeade to 478cea9 Compare February 27, 2024 03:59
return super()._get_field(
record, field_name, expression, tagName, field_options, values
)
qweb_recs = self.env["qweb.field.converter"].search(
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Suggested change
qweb_recs = self.env["qweb.field.converter"].search(
qweb_recs = self.sudo().env["qweb.field.converter"].search(

We should either do this or make qweb.field.converter globally accessible. Please check and suggest which way is better. Portal users get 403 forbidden error when accessing their documents otherwise.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-add-report_qweb_field_converter branch from bf0355a to fede10a Compare March 27, 2024 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants