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_change_qty_reason #2030

Merged
merged 37 commits into from
Sep 18, 2024

Conversation

JasminSForgeFlow
Copy link
Contributor

Standard Migration

@ForgeFlow

@rousseldenis
Copy link
Contributor

/ocabot migration stock_change_qty_reason

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow 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. Preset reasons work well, the free text reasons are not usable though. With preset reasons disabled, you cannot edit the reason field while doing the inv. adjustment.

Also, not sure if both reasons fields should be displayed when using preset reasons.

image

@JasminSForgeFlow
Copy link
Contributor Author

Functional review. Preset reasons work well, the free text reasons are not usable though. With preset reasons disabled, you cannot edit the reason field while doing the inv. adjustment.

Also, not sure if both reasons fields should be displayed when using preset reasons.

image

The first reason is free text when we select any reason (2nd reason) in line while doing adjustment and click on apply, it will copy reason (2nd field) value to reason (1st field), and reason (2nd field) value set as False. reason(1st field) value is for historical purpose as reason (2nd filed) will be set False when adjustment done

@LoisRForgeFlow
Copy link
Contributor

Functional review. Preset reasons work well, the free text reasons are not usable though. With preset reasons disabled, you cannot edit the reason field while doing the inv. adjustment.
Also, not sure if both reasons fields should be displayed when using preset reasons.
image

The first reason is free text when we select any reason (2nd reason) in line while doing adjustment and click on apply, it will copy reason (2nd field) value to reason (1st field), and reason (2nd field) value set as False. reason(1st field) value is for historical purpose as reason (2nd filed) will be set False when adjustment done

@JasminSForgeFlow Sorry for the late reply.

If you want to keep it make it at least optional=hide, but in general it doesn't look very clean to me to keep both fields displayed. You should either go for preset reasons or not, if you starte with free text, you could do some custom migration or a custom module to show both reasons. In other words, we should think more on clean installations than on past sins or legacy issues.

Also, you haven't answered my second comment: the free text reason code is not editable even without pre-set reasons enabled.

rousseldenis and others added 21 commits September 17, 2024 16:45
Currently translated at 96.2% (25 of 26 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_change_qty_reason/fr/
Currently translated at 100.0% (26 of 26 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_change_qty_reason/zh_CN/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_change_qty_reason/
@JasminSForgeFlow JasminSForgeFlow force-pushed the 17.0-mig-stock_change_qty_reason branch from 30c419d to 15c3396 Compare September 17, 2024 11:40
@JasminSForgeFlow
Copy link
Contributor Author

Functional review. Preset reasons work well, the free text reasons are not usable though. With preset reasons disabled, you cannot edit the reason field while doing the inv. adjustment.
Also, not sure if both reasons fields should be displayed when using preset reasons.
image

The first reason is free text when we select any reason (2nd reason) in line while doing adjustment and click on apply, it will copy reason (2nd field) value to reason (1st field), and reason (2nd field) value set as False. reason(1st field) value is for historical purpose as reason (2nd filed) will be set False when adjustment done

@JasminSForgeFlow Sorry for the late reply.

If you want to keep it make it at least optional=hide, but in general it doesn't look very clean to me to keep both fields displayed. You should either go for preset reasons or not, if you starte with free text, you could do some custom migration or a custom module to show both reasons. In other words, we should think more on clean installations than on past sins or legacy issues.

Also, you haven't answered my second comment: the free text reason code is not editable even without pre-set reasons enabled.

this one is fixed.

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

I'm not able to write anything in the reason:

2024-09-17.16-52-56.mp4

@JasminSForgeFlow JasminSForgeFlow force-pushed the 17.0-mig-stock_change_qty_reason branch from 15c3396 to 180027a Compare September 18, 2024 04:08
@JasminSForgeFlow
Copy link
Contributor Author

I'm not able to write anything in the reason:

2024-09-17.16-52-56.mp4

its fixed, you can edit now

Copy link
Contributor

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

Functional test, all god now 👍

Thanks!

@LoisRForgeFlow
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-2030-by-LoisRForgeFlow-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 52ce133 into OCA:17.0 Sep 18, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@LoisRForgeFlow LoisRForgeFlow deleted the 17.0-mig-stock_change_qty_reason branch September 18, 2024 09:51
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.