mrp_repair doesn't work with products with lot tracking

Bug #695343 reported by Manu
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

I'm using v5.0.15

All my products have the fields "Track production, incoming and outgoing lots" checked.

To reproduce it, create a new repair, add products in the operations list (the type doesn't matter) and different select source and destination locations (for example, from the main stock location to the repair location). Then try to finish the repair and the following error pops up:

"ValidateError

Error occurred while validating the field(s) prodlot_id: You must assign a production lot for this product."

There is no way to enter the product lot in the operations line so the system tries to create a stock move without product lot and as the product lot is required it fails, so mrp_repair is useless for products that require lot tracking.

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → Jay (OpenERP) (jvo-openerp)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Manu (manu-tiedra) wrote :

I won't mark the importance as Low. Probably Medium would be more accurate.

There are a lot of industries that require product lot tracing.

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

can you check if you still have the problem in trunk ?

Changed in openobject-addons:
status: Confirmed → Incomplete
Revision history for this message
Manu (manu-tiedra) wrote :

Fabien,

I have tried in trunk and I still have the same problem.

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

to be fixed in trunk, I set the status as confirmed.

Changed in openobject-addons:
status: Incomplete → Confirmed
Changed in openobject-addons:
assignee: Jay (OpenERP) (jvo-openerp) → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello,
It has been fixed in lp:~openerp-dev/openobject-addons/ksa-addons2/
Revision NO : 3915
Revision ID: <email address hidden>

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Manu (manu-tiedra) wrote :

Thanks for the fix. Will it be backported to v5?

I have checked the code and I think that you haven't defined the product lot field visible only to the "Usability – Extended View" group as it seems to me it is in other places...

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks for the prompt response Manu.

Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.

We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.

Thank you for your understanding!

Changed in openobject-addons:
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints

Remote bug watches

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