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

[4120][REF][ADD] report_csv, report_format_option #117

Merged
merged 8 commits into from
Apr 3, 2024

Conversation

AungKoKoLin1997
Copy link
Contributor

name="encoding"
attrs="{'invisible': [('report_type', '!=', 'csv')]}"
/>
<field name="encoding" />
Copy link
Member

Choose a reason for hiding this comment

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

Can we add a show_encoding compute field and do this?

Suggested change
<field name="encoding" />
<field name="encoding" attrs="{'invisible': [('show_encoding', '=', False)]}"/>

Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

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

@AungKoKoLin1997 Please go ahead and create a PR in the OCA repo upon following up on comments.

Copy link
Member

Choose a reason for hiding this comment

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

Please remove this file.

@@ -0,0 +1 @@
This module adds an encoding option for reports. It is not meant to stand alone; instead, it will be used as a base for other reporting-related modules (e.g., report_csv).
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This module adds an encoding option for reports. It is not meant to stand alone; instead, it will be used as a base for other reporting-related modules (e.g., report_csv).
This is a technical module to add encoding fields to ir.actions.report model and it does nothing by itself. The module is expected to be a dependency of other reporting modules (e.g., report_csv).

@yostashiro yostashiro force-pushed the 16.0-add-report_encoding branch from d5bac16 to 774728b Compare April 1, 2024 08:00
@yostashiro yostashiro changed the title [4120][ADD][REF] report_encoding, report_csv [4120][REF][ADD] report_csv, report_format_option Apr 3, 2024
@yostashiro yostashiro merged commit 230cfd8 into 16.0 Apr 3, 2024
3 checks passed
@yostashiro yostashiro deleted the 16.0-add-report_encoding branch April 3, 2024 07:41
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.

2 participants