[10.0] MOs are shown on all production kanbans #15008

Closed
lem8r opened this Issue Jan 10, 2017 · 1 comment

Projects

None yet

3 participants

@lem8r
Contributor
lem8r commented Jan 10, 2017 edited

Impacted versions: Odoo 10

Steps to reproduce: Create two warehouses. There will be two manufacturing kanbans for each WH on the Dashboard. Create MO on any WH. That MO will be shown on both kanbans.

Current behavior: Manufacturing orders related to specific warehouse are shown on all manufacturing kanbans (dashboard).

Expected behavior: MOs are shown on manufacturing kanban of related warehouse.

Video/Screenshot link (optional):
All manufacturings were on YourCompany WH only
2wh-manufacture

@jco-odoo
Contributor

Indeed, forgot to filter on the picking type itself.

@jco-odoo jco-odoo added a commit to odoo-dev/odoo that referenced this issue Jan 11, 2017
@jco-odoo jco-odoo [FIX] mrp: filter computed fields for manufacturing picking types on …
…the inventory dashboard by picking type fixes #15008
181a471
@jco-odoo jco-odoo added a commit to odoo-dev/odoo that referenced this issue Jan 11, 2017
@jco-odoo jco-odoo [FIX] mrp: filter computed fields for manufacturing picking types on …
…the inventory dashboard by picking type fixes #15008

Before, the quantities on any manufacturing picking type vignette in the dashboard,
would show the totals of all picking types and clicking on it would show
the manufacturing orders of all picking types.

With this fix, as with pickings, it will only show the amount of mos
and the mos of that specific picking type.
487eb69
@jco-odoo jco-odoo added a commit to odoo-dev/odoo that referenced this issue Jan 16, 2017
@jco-odoo jco-odoo [FIX] mrp: filter computed fields for manufacturing picking types on …
…the inventory dashboard by picking type fixes #15008

Before, the quantities on any manufacturing picking type vignette in the dashboard,
would show the totals of all picking types and clicking on it would show
the manufacturing orders of all picking types.  This is important in the
case you have multiple warehouses with manufacturing picking type.

With this fix, as with pickings, it will only show the amount of mos
and the mos of that specific picking type.
0e07a29
@sle-odoo sle-odoo added a commit that closed this issue Jan 17, 2017
@jco-odoo @sle-odoo jco-odoo + sle-odoo [FIX] mrp: manufacturing vignette in inventory dashboard
When clicking on the "manufacturing" vignette in the inventory
dashboard, the records were not filtered correctly (example: add a new
warehouse, a new "manufacturing" vignette appears for this warehouse in
the inventory dashboard, clicking on it would display the MO of all the
warehouses).

With this fix, as with the pickings, it will only show the count of MO
filtered to that specific picking type in the vignette, and clicking on
it will displayed the filtered ones.

We implementent the method of the compute field the same way the similar
method for the picking is implemented.

fixes #15008
ffe1375
@sle-odoo sle-odoo closed this in ffe1375 Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment