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

[17.0][MIG] stock_lot_production_date: Migration to 17.0 #1683

Merged
merged 17 commits into from
Dec 13, 2024

Conversation

SodexisTeam
Copy link
Member

No description provided.

sebalix and others added 16 commits August 28, 2024 16:09
Currently translated at 100.0% (3 of 3 strings)

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

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_lot_production_date
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_lot_production_date/ca/
Currently translated at 66.6% (2 of 3 strings)

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

Translation: stock-logistics-workflow-16.0/stock-logistics-workflow-16.0-stock_lot_production_date
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_lot_production_date/es/
@rafaelbn
Copy link
Member

/ocabot migration stock_lot_production_date

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Aug 28, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 28, 2024
61 tasks
@SodexisTeam SodexisTeam force-pushed the 17.0-mig-stock_lot_production_date branch from fdb3992 to aea2649 Compare August 28, 2024 13:14
@rolandojduartem
Copy link

LGTM 👍

cc @hugho-ad @Hernannc

@rolandojduartem
Copy link

Hi, @moylop260, please, could you merge it?

@@ -67,6 +67,7 @@ Contributors
------------

- Sébastien Alix <[email protected]>
- SodexisTeam <[email protected]>

Choose a reason for hiding this comment

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

Please, remove the contributor change but add as maintainer

I mean, add a input in the __manifest__.py file with:
"maintainers": ["SodexisTeam"],

Choose a reason for hiding this comment

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

Also the change in the index.html

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@moylop260 This is not correct.

The philosophy behind "maintainers" is that should use individual github accounts, not organization ones.

Copy link
Member Author

Choose a reason for hiding this comment

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

@rousseldenis We are going to follow your advice and start using individual account.

Copy link
Contributor

Choose a reason for hiding this comment

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

@SodexisTeam yes, indeed, declaring a PR with organization account seems OK, but contributors and maintainers should rely on individual accounts. The company can appear on authors part when applicable.

Choose a reason for hiding this comment

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

@rousseldenis This is not correct.

Thank you for your advice, I didn't know it

Could you refer your advice, please? (I didn't find any related with this "not correct")

We are going to follow your advice and start using individual ACC

@SodexisTeam will you change it the value in maintainer?

Copy link
Member Author

Choose a reason for hiding this comment

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

@moylop260 We are working on it.

@SodexisTeam SodexisTeam force-pushed the 17.0-mig-stock_lot_production_date branch from aea2649 to a1df4be Compare October 23, 2024 13:50
@@ -8,5 +8,6 @@ class StockProductionLot(models.Model):
_inherit = "stock.lot"

production_date = fields.Datetime(
help="This is the date when the goods with this lot/serial number have been produced."
help="This is the date when the goods with this \

Choose a reason for hiding this comment

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

Revert this change to original way, please

The original line is good for our guidelines

Copy link
Member Author

Choose a reason for hiding this comment

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

@moylop260 We have issue with pre-commit in this line so we used the "", now we have removed that. Please check once again.

Choose a reason for hiding this comment

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

What issue?

I mean, the length of the line is good for the guidelines defined but not sure what was the problem?

Copy link
Member Author

Choose a reason for hiding this comment

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

@moylop260 The error we got is
ruff.....................................................................Failed
hook id: ruff
exit code: 1

stock_lot_production_date/models/stock_lot.py:11:89: E501 Line too long (94 > 88)
Found 1 error.

Actual length of the line in our file is 94 but in the .ruff.toml file it is mentioned that "E501", # line too long (default 88).

Copy link

@moylop260 moylop260 Oct 28, 2024

Choose a reason for hiding this comment

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

@sbidoul Did we change to length 88 or it was a default hidden?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think we changed anything in that area recently. Probably ruff and black+flake8 have a slightly different interpretation.

@rousseldenis
Copy link
Contributor

@sebalix Do you agree the maintainers change(adoption) ?

@SodexisTeam SodexisTeam force-pushed the 17.0-mig-stock_lot_production_date branch from a1df4be to 9448b13 Compare October 24, 2024 09:04
@SodexisTeam SodexisTeam force-pushed the 17.0-mig-stock_lot_production_date branch from 9448b13 to 87cccbe Compare October 29, 2024 10:28
@moylop260
Copy link

@rousseldenis @sebalix

Any blocking comment?

@rolandojduartem
Copy link

Hi, what happened with PR? could we merge it? @SodexisTeam @moylop260

@atchuthan atchuthan force-pushed the 17.0-mig-stock_lot_production_date branch from 87cccbe to df71060 Compare December 12, 2024 09:54
@rolandojduartem
Copy link

@moylop260 could you review again?

@moylop260
Copy link

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-1683-by-moylop260-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit d543351 into OCA:17.0 Dec 13, 2024
6 of 7 checks passed
@atchuthan atchuthan deleted the 17.0-mig-stock_lot_production_date branch December 17, 2024 05:49
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.