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

[10.0][FIX] avoid reports with empty rows #66

Closed
wants to merge 1 commit into from

Conversation

pedrocs-exo
Copy link
Contributor

This is a fix to avoid having empty rows on the QWeb sale order
report that relate to the formatted_note field. If the field has no
content, it shouldn't be displayed. Also note that the default
formatted_note content is


and so we also need to prevent
printing when the field has that value.

This is a fix to avoid having empty rows on the QWeb sale order
report that relate to the formatted_note field. If the field has no
content, it shouldn't be displayed. Also note that the default
formatted_note content is <p><br></p> and so we also need to prevent
printing when the field has that value.
@pedrobaeza
Copy link
Member

But that are not empty rows... They have some HTML content. How did you come to this situation?

@pedrocs-exo
Copy link
Contributor Author

The default for html fields is:

<p><br></p>

I have that value on every order line. It certainly is html content but nevertheless is not something that the user entered so it should be considered as a form of "empty".

@pedrobaeza pedrobaeza added this to the 10.0 milestone Apr 1, 2019
@pedrobaeza
Copy link
Member

OK, I see that indeed that default value is added, but please don't reindent the XML. Just change the affected line.

@rousseldenis
Copy link
Contributor

@pedrocasi

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Apr 17, 2022
@github-actions github-actions bot closed this May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants