MO ignores "valid from" and "valid until"

Bug #1154816 reported by Gilles Lehoux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Summary: The manufacturing order proceeds despite what the "valid from" and "valid until" fields say.

v7

Reproduce

Create a BOM and set the first item's "Valid from" to last year and "Valid until" to yesterday.
Save.
Produce.
The manufacturing will procede and deduct the component from inventory. (!)
Go back to the same BOM and set the first item's "Valid from" to tomorrow and and "Valid until" to next year.
Save
Produce.
The manufacturing will procede and deduct the component from inventory. (!)

Expected.
Manufacturing should not use items in the BOM if the date of manufacture is outside the valid period.

Or, I don't understand the purpose of the "valid" fields.

Revision history for this message
Ray Carnes (rcarnes) wrote :

See https://bugs.launchpad.net/openobject-addons/+bug/1049415

There is a suggested patch for 6.1 that you may be able to use or re-factor.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.