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
[9.0] [NEW] stock_available_unreserved #206
[9.0] [NEW] stock_available_unreserved #206
Conversation
cc @sbidoul |
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.
Runbot is not available but tested on local 👍
return domain_quant | ||
|
||
@api.multi | ||
def _product_available_not_res_hook(self, quants): |
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.
I don't understand why this is necessary. The hook is only at the end of the '_product_available' method so we just need to call super to inherit, don't we?
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.
Not really because you do not have quants when you inherit
Thanks for your feedback @Cedric-Pigeon |
Can you provide tests? |
3ede64a
to
eec1063
Compare
c6b4fad
to
8cf0c32
Compare
Even if this one was pushed some months ago, maybe more reviews should be preferable. Moreover, one function is not covered by tests. |
Thanks @rousseldenis. We will make a separate PR to cover with tests the missing function. |
@jbeficent Otherwise 👍 ;-) |
@rousseldenis |
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
* [ADD] new module 'stock_available_unreserved'
Stock Available Unreserved
This module allows users to check the quantity of a stocked product that is
available on-hand, and that has not yet been reserved for use anywhere else.
This key figure is very important during the monitoring of the warehouse
execution, because it assists users to ensure that the flow of products will
not be stuck due to a sudden unavailability of stock.
If the warehouse personnel ensures that the unreserved quantity on hand > 0,
then nobody will be stuck in pickings or manufacturing orders waiting for
the availability of unreserved stock.