Vauxoo / addons-vauxoo

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
http://www.vauxoo.com
193 stars 288 forks source link

[ADD] stock_by_warehouse: Product availability in locations Widget #1415

Closed CarmenMiranda closed 4 years ago

CarmenMiranda commented 4 years ago

T#39295

[ADD] stock_by_warehouse: Product availability in locations Widget Adding a new widget with the name product_available_stock_locations to the product variant form that will allow the user to find all the locations where the product (product.product) is available, and the quantity that is in stock. The widget it will allow the user to see the locations and its quantity for each warehouse.

Task 39295 - Widget Stock by Warehouse and Locations

And updating the image for the widget by warehouse on the README file.

[ADD] Stock By Warehouse on Stock Module Adding a new module called stock_by_warehouse_stock where the widget warehouse (with the option 'by_location' set True) is going to be used from the stock.move.operations view, to allow the users to see where the product is located on the warehouse of the stock move.

Task 39295 - Widget on Stock Task 39295 - Widget on Stock 2 Task 39295 - Widget on Stock 3

Also, adding a new field called suggested_location_id where the is going to be set the location where the product has the highest quantity on stock. For later using it as a default location in a new field location_id for the stock move lines.

Task 39295 - Suggested location

This widget will only be seen on the stock moves when its transfer has the type of outgoing, and the default location will be set when the stock move doesn't have the state of 'done' or 'cancel'.

CarmenMiranda commented 4 years ago

Hi, @nhomar This is the PR, for the new widget by locations and its quantities for each warehouse, it only applies for Product Variants.