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

[18.0][MIG] stock_picking_auto_create_lot: Migration to 18.0 #1781

Open
wants to merge 57 commits into
base: 18.0
Choose a base branch
from

Conversation

cem-adhoc
Copy link

No description provided.

sergio-teruel and others added 30 commits November 28, 2024 08:47
- Promoted to Production/Stable
- Put maintainer
- Regenerate README
- Unify string
- Adapt translations accordingly
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_picking_auto_create_lot
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_picking_auto_create_lot/
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-workflow-13.0/stock-logistics-workflow-13.0-stock_picking_auto_create_lot
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-13-0/stock-logistics-workflow-13-0-stock_picking_auto_create_lot/zh_CN/
Create lots using create_multi to reduce queries in case of large pickings.

Hide the serial assignement for products that are not enabled for it.
Disable tracking, allows to inherit common tests values
…n_done

As the picking could be validated by other means than button, allows
to set lot anyway.

Improve tests
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-workflow-13.0/stock-logistics-workflow-13.0-stock_picking_auto_create_lot
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-13-0/stock-logistics-workflow-13-0-stock_picking_auto_create_lot/
AungKoKoLin1997 and others added 15 commits November 28, 2024 08:47
…e lots in pickings filling lot_name field instead of create all lots.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_picking_auto_create_lot
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_auto_create_lot/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

Translation: stock-logistics-workflow-17.0/stock-logistics-workflow-17.0-stock_picking_auto_create_lot
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_picking_auto_create_lot/it/
@cem-adhoc cem-adhoc force-pushed the 18.0-mig-stock_picking_auto_create_lot branch from 1d172ae to 80d0266 Compare November 28, 2024 19:45
@cem-adhoc cem-adhoc force-pushed the 18.0-mig-stock_picking_auto_create_lot branch from 80d0266 to ca419c7 Compare November 28, 2024 20:04
@cem-adhoc cem-adhoc force-pushed the 18.0-mig-stock_picking_auto_create_lot branch from ca419c7 to 4ea848a Compare November 28, 2024 20:07
Copy link

@luc-adhoc luc-adhoc 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

Copy link

@JrAdhoc JrAdhoc left a comment

Choose a reason for hiding this comment

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

functional and technical review. LGTM

@rousseldenis
Copy link
Contributor

/ocabot migration stock_picking_auto_create_lot

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Dec 6, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 6, 2024
26 tasks
@@ -27,7 +27,7 @@ def _create_product(cls, tracking="lot", auto=True):
return cls.env["product.product"].create(
{
"name": name,
"type": "product",
"type": "consu",
Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO, should be ìs_storable` too.

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.