Skip to content

[17.0][MIG] stock_picking_report_custom_description: Migration to 17.0 #363

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

Conversation

juancarlosonate-tecnativa
Copy link
Contributor

@juancarlosonate-tecnativa juancarlosonate-tecnativa commented Jan 8, 2025

Migration to 17.0

This pr is intended to replace #311 which has been inactive.

@Tecnativa TT52374

@pilarvargas-tecnativa @chienandalu Could you please review? Thx!

carlosdauden and others added 22 commits January 8, 2025 12:07
* README by fragments
* Remove models
* Fix report templates

[UPD] Update stock_picking_report_custom_description.pot

[UPD] README.rst
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-reporting-16.0/stock-logistics-reporting-16.0-stock_picking_report_custom_description
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_picking_report_custom_description/
Currently translated at 100.0% (2 of 2 strings)

Translation: stock-logistics-reporting-16.0/stock-logistics-reporting-16.0-stock_picking_report_custom_description
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_picking_report_custom_description/es/
Currently translated at 100.0% (2 of 2 strings)

Translation: stock-logistics-reporting-16.0/stock-logistics-reporting-16.0-stock_picking_report_custom_description
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_picking_report_custom_description/it/
By default the sale description is set as
f"{product_name}\n{description". If we pass that string as the
description_picking, when we print the report, the name will be
duplicated. To avoid that effect, we want to trim the product name from
the description passed to the picking by default.

TT52044
It isn't very common to write the name in batch. Anyway it would lead to
errors in it's current shape.

TT52171
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

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

There's already: #311

@juancarlosonate-tecnativa
Copy link
Contributor Author

There's already: #311

i've seen it before, but its been a long time without a response, and the pr is outdated, i thought it was appropriate to open a new pr, or am i missing something?

@chienandalu
Copy link
Member

There's already: #311

i've seen it before, but its been a long time without a response, and the pr is outdated, i thought it was appropriate to open a new pr, or am i missing something?

Ok, then. You can comment it in the top comment

Copy link
Contributor

@pilarvargas-tecnativa pilarvargas-tecnativa left a comment

Choose a reason for hiding this comment

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

👍

@pedrobaeza
Copy link
Member

/ocabot migration stock_picking_report_custom_description
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Jan 12, 2025
@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-363-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 1f6450f into OCA:17.0 Jan 12, 2025
5 of 7 checks passed
nico-foodles pushed a commit to nico-foodles/stock-logistics-reporting that referenced this pull request Apr 23, 2025
Signed-off-by pedrobaeza
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.