-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
[12.0][MIG] sale_layout_category_hide_detail #70
[12.0][MIG] sale_layout_category_hide_detail #70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Report Layout Categories* if you want to hide its lines of | ||
*Quotations / Sales Orders* and *Invoices* in the PDF report and in the | ||
website. | ||
This module allows you to set the new 'Show details' and 'Show subtotal' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change redaction to:
This module allows you to check/unchek the new 'Show details' and 'Show subtotal' flags in *Sale order... if you want to show or hide their lines or their subtotals in...
field on *True* will be shown without its lines and with the subtotal. | ||
#. In *Order lines* tab add a section line. | ||
#. Add some product lines. | ||
#. Add another section line, but this time, click on the *plus-circle* icon on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you can put here inline (figure
?) the icon.
sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.js
Show resolved
Hide resolved
sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.js
Outdated
Show resolved
Hide resolved
5b2ddd1
to
55adb91
Compare
@pedrobaeza I kept the same behavior as in the previous version: The option subtotal shown when details are shown and when you uncheck show details, show subtotal option is hide |
Changes Done |
sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.js
Outdated
Show resolved
Hide resolved
sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.js
Outdated
Show resolved
Hide resolved
3f3db1c
to
53c3c2d
Compare
Changes done, @yajo check it out please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much simpler. Thanks!
53c3c2d
to
eee4201
Compare
@pedrobaeza check it out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go for example to
If you both print or go to portal, you don't see any lines. That's because they don't have any section involved. You must take that into account as well.
eee4201
to
259ffb6
Compare
Thanks @pedrobaeza , even in the invoice report and in the portal invoice the lines were also not shown when there wasn't at least one section line. But I have already fixed it. |
Hide details for sections in sales orders and invoices for reports and customer portal
Currently translated at 100.0% (7 of 7 strings) Translation: sale-reporting-11.0/sale-reporting-11.0-sale_layout_category_hide_detail Translate-URL: https://translation.odoo-community.org/projects/sale-reporting-11-0/sale-reporting-11-0-sale_layout_category_hide_detail/es/
259ffb6
to
2635924
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems fine now. I have added the needed migration script when coming from previous version
/ocabot merge |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 8130967. Thanks a lot for contributing to OCA. ❤️ PS: Don't worry if GitHub says there are unmerged commits: it is due to a rebase before merge. All commits of this PR have been merged into |
@ernestotejeda I have just found that you lost the file account_portal_templates.xml in the migration. I'm restoring it. |
OK, seen that in invoices, the HTML is directly rendered from the same report than the PDF. |
Main changes:
boolean_fa_icon
, Addshow_in_line_section
option on fields statements in list views)Sale order
form vew andInvoice
form view to add fields in section linesCc @Tecnativa