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

[14.0][MIG] sale_layout_category_hide_detail: Migration to 14.0 #170

Merged

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Aug 26, 2022

Superseed #128

Changes done:

Please @pedrobaeza can you review it?

@Tecnativa TT38579

ernestotejeda and others added 14 commits August 26, 2022 09:34
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/
Copy link
Contributor

@francesco-ooops francesco-ooops left a 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

image

especially in SOs without sections:

image

@victoralmau
Copy link
Member Author

@victoralmau is there any way to improve the layout? The three buttons are taking up to 25% of the sale order line width

Although this in v13 is similar, I have applied the change to optimize space as much as possible.

@francesco-ooops
Copy link
Contributor

@victoralmau is there any way to improve the layout? The three buttons are taking up to 25% of the sale order line width

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)

image

@victoralmau
Copy link
Member Author

This column must be shown because depending on the corresponding use case, the corresponding icon will be shown or not.

Copy link
Contributor

@francesco-ooops francesco-ooops left a comment

Choose a reason for hiding this comment

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

Functional review ok!

@pedrobaeza
Copy link
Member

/ocabot migration sale_layout_category_hide_detail

@OCA-git-bot OCA-git-bot added this to the 14.0 milestone Aug 29, 2022
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 29, 2022
6 tasks
@OCA-git-bot
Copy link
Contributor

The migration issue (#98) has been updated to reference the current pull request.
however, a previous pull request was referenced : #128.
Perhaps you should check that there is no duplicate work.
CC : @rousseldenis

Copy link

@elvise elvise left a comment

Choose a reason for hiding this comment

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

LGTM!

…olumns of the buttons so that the table takes up as little space as possible.

TT38579
@victoralmau victoralmau force-pushed the 14.0-mig-sale_layout_category_hide_detail branch from 9e615af to afb528c Compare August 29, 2022 10:15
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@francesco-ooops
Copy link
Contributor

@pedrobaeza good now?

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 14.0-ocabot-merge-pr-170-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit a93708b into OCA:14.0 Sep 1, 2022
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 87a2aeb. Thanks a lot for contributing to OCA. ❤️

@francesco-ooops
Copy link
Contributor

@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

Copy link

@jeroenev jeroenev left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet