-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
[14.0][MIG] sale_layout_category_hide_detail: Migration to 14.0 #170
[14.0][MIG] sale_layout_category_hide_detail: Migration to 14.0 #170
Conversation
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/
…nvoice" Propagate values in 'Show details' and 'Show subtotal' fields from Sale Order Lines to Invoice Lines
… tests + linting + JS for column not in fieldsInfo list
If a note line is put in first position, we get an error due to this missing condition. [UPD] Update sale_layout_category_hide_detail.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-reporting-13.0/sale-reporting-13.0-sale_layout_category_hide_detail Translate-URL: https://translation.odoo-community.org/projects/sale-reporting-13-0/sale-reporting-13-0-sale_layout_category_hide_detail/ [UPD] README.rst
Currently translated at 100.0% (11 of 11 strings) Translation: sale-reporting-13.0/sale-reporting-13.0-sale_layout_category_hide_detail Translate-URL: https://translation.odoo-community.org/projects/sale-reporting-13-0/sale-reporting-13-0-sale_layout_category_hide_detail/es/
Add a third clickable option on sections to hide all amounts in the detailed lines of a section. [UPD] Update sale_layout_category_hide_detail.pot sale_layout_category_hide_detail 13.0.1.1.0 Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-reporting-13.0/sale-reporting-13.0-sale_layout_category_hide_detail Translate-URL: https://translation.odoo-community.org/projects/sale-reporting-13-0/sale-reporting-13-0-sale_layout_category_hide_detail/
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.
@victoralmau is there any way to improve the layout? The three buttons are taking up to 25% of the sale order line width
especially in SOs without sections:
Although this in v13 is similar, I have applied the change to optimize space as much as possible. |
is there a specific reason for this fourth empty column? (sorry, I don't know the module very well and I don't see it in the past versions) |
This column must be shown because depending on the corresponding use case, the corresponding icon will be shown or not. |
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.
Functional review ok!
/ocabot migration sale_layout_category_hide_detail |
The migration issue (#98) has been updated to reference the current pull request. |
sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.js
Outdated
Show resolved
Hide resolved
sale_layout_category_hide_detail/views/sale_order_report_templates.xml
Outdated
Show resolved
Hide resolved
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.
LGTM!
… section line subtotal
…shed invoices or confirmed orders. Related to: OCA#128 (comment) TT38579
…olumns of the buttons so that the table takes up as little space as possible. TT38579
… allow inheritability. TT38579
9e615af
to
afb528c
Compare
This PR has the |
@pedrobaeza good now? |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 87a2aeb. Thanks a lot for contributing to OCA. ❤️ |
@victoralmau could you fix urls to icons in description files? @pedrobaeza this is an issue I've seen happening almost everytime there is an image/screenshot in description file, eg here, dunno if that's mentioned in guidelines or can be prevented differently |
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.
EDIT: line not correctly selected, see review below
Superseed #128
Changes done:
Please @pedrobaeza can you review it?
@Tecnativa TT38579