-
-
Notifications
You must be signed in to change notification settings - Fork 723
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
[16.0][IMP] stock_inventory: various fixes #2029
Conversation
Allow to create stock.quants making the quants smart button not invisible when quantity is equal to 0. (Removing one of the invisible conditions). [IMP] stock_inventory: adds exclude_sublocation flag [IMP] stock_inventory: Add flag to autocomplete adjustment when fully done. [IMP] stock_inventory Add company to adjustments to avoid multi-company errors. Adds information fields to tree view. Also adds 'Assign to' in stock inventory that propagates to quants. Also propagates the date field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ty
I'm merging to align with v15. /ocabot merge major |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at b90679c. Thanks a lot for contributing to OCA. ❤️ |
<delete model="ir.ui.menu" id="stock.menu_action_inventory_tree" /> | ||
<record id="stock.menu_action_inventory_tree" model="ir.ui.menu"> | ||
<field name="active" eval="False" /> | ||
</record> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we already have the module installed, the view does not exist anymore, so we can not access to "stock.menu_action_inventory_tree" and an error occurs.
@DavidJForgeFlow @LoisRForgeFlow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! You can just update the module "stock" and then install / update the "stock_inventory" module!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, but depending of the odoo hosting infrastructure, it is not a suitable / clean solution. Returning to the previous line of code or a small migration script will work without effort. what do you think ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"You can just update the module "stock" and then install / update the "stock_inventory" module!" - I confirm this works but it's not intuitive or documented anywhere except in this thread. A better solution needs to be found. Is it possible to force the upgrade of "stock" before upgrading this module?
Forward port of #1991 #2010.
Supersedes #2017
@ForgeFlow