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][MIG] stock_quant_manual_assign #2213

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

Conversation

mav-adhoc
Copy link
Contributor

No description provided.

fanha99 and others added 30 commits December 5, 2024 09:07
* Better layout
* Remove active_id dependency in some computed fields
* Clean code
* Refine constraint
* Take into account if the current line is previously reserved before clicking on the button.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_quant_manual_assign/
There are cases where auto-filling of qty_done of stock move line is not desirable.
e.g. you assign quants manually for some of the moves in a picking and not the others,
in such case you need to go over all the moves in the picking to either remove qty_done
or fill it in to proceed with the validation of the entire moves. Auto-fill behavior is
also troublesome when this function is used in a manufacturing order. i.e. having
qty_done of the component move live messes up the outcome of the production.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_quant_manual_assign/
Currently translated at 100.0% (31 of 31 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_quant_manual_assign/fr/
@rousseldenis
Copy link
Contributor

/ocabot migration stock_quant_manual_assign

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Dec 5, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 5, 2024
23 tasks
@mav-adhoc mav-adhoc force-pushed the 18.0-mig-stock_quant_manual_assign branch 17 times, most recently from 0f60e09 to 8f3f803 Compare December 5, 2024 18:40
{
"name": "Test Combo Product",
"type": "combo",
"combo_ids": [(6, 0, [combo_product.id])],
Copy link
Contributor

Choose a reason for hiding this comment

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

@mav-adhoc It was a luck that this worked. combo_ids model is product.combo. So, change the model here above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was trying to use type consu instead but i was getting this error: "Quants cannot be created for consumables or services."

Copy link
Contributor

Choose a reason for hiding this comment

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

There is a new property on products that allows to manage stock quantities. is_storable field.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@mav-adhoc mav-adhoc force-pushed the 18.0-mig-stock_quant_manual_assign branch from 8f3f803 to 2458b2b Compare December 6, 2024 15:58
@mav-adhoc mav-adhoc force-pushed the 18.0-mig-stock_quant_manual_assign branch from 2458b2b to 8fbb894 Compare December 6, 2024 16:14
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

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.