internal move: no validation for production lot

Bug #724820 reported by Steffi Frank (Bremskerl, DE)

This bug report was converted into a question: question #147194: internal move: no validation for production lot.

14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Medium
OpenERP Publisher's Warranty Team

Bug Description

steps to reproduce:

- product.form: enable 'track manufacturing lots'/'track incomings lots'/'track outgoing lots'
- warehouse/warehouse management/internal moves
- create a new entry from stock A to stock B (both internal)
- process/validate

expected behavior: error message "you must assign a production lot for this product"

occurred behavior: move gets in state 'done', stock without production lot

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Steffie,

I have checked your issue.

The related warning message only raised when the source or destination location type is supplier or customer.
If the location type is "internal" there is no need arise for these type of warning message and in "internal move" the source and destination both location type as a internal so no need this error message in internal move.

But you can have a option to assign a production lot field in internal move.

Hope you will agree with this.

Correct me if I am wrong.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

Hi Amit,

sorry, but I cannot agree: the stock manager decides which production lots have to be moved from stock A (e.g. Germany) to stock B (somewhere in the world). He enters this lots in the picking list. He prints the picking list, the stock worker (who's doing the physical picking) MUST have the information which production lots have to be moved. If he was allowed to choose any lot, stock level (in production lots) in both locations will get mixed up!

So in this case the stock mananger must get constrained to enter production lots in the internal move.

Another example: material in 'production', a worker finds out: bad quality (in one special lot). This special production lot now has to be moved out of 'stock free' back to 'quality control' or 'quarantine store'. If this will be done without entering a production lot in the move line: how to use traceability through OpenERP?

Means: it is a functional bug..... I hope you will agree.

Thanks

Amit Parik (amit-parik)
Changed in openobject-addons:
status: Invalid → Opinion
Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

once more: how will you ensure traceability for production lots on different locations while moving products internal WITHOUT production lot is allowed?

Revision history for this message
Jacques-Etienne Baudoux (jbaudoux) wrote :

Hi,
Add an onchange on the product.
If 'track manufacturing lots' is enabled (product.track_production==True) then 'production lot' must be required

Similar bugs are:
https://bugs.launchpad.net/openobject-addons/+bug/700928
https://bugs.launchpad.net/openobject-addons/+bug/739181

Changed in openobject-addons:
status: Opinion → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Changed in openobject-addons:
importance: Medium → High
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello,

It has been Fixed in lp:~openerp-dev/openobject-addons/trunk-bug-724820-ksa
Revision no : 4566
Revision ID: <email address hidden>

Thanks.

Changed in openobject-addons:
status: Confirmed → Fix Committed
qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
Changed in openobject-addons:
importance: High → Medium
status: Fix Released → In Progress
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello,

I am keeping this bug into a Wait state as the similar projection is being tracked at https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-bug-700928-jvo/+merge/55334.

Moreover, If I am not missing, we should do this change in all the view of stock.picking because moves have been internally written for each type of picking.

Thanks.

Revision history for this message
qdp (OpenERP) (qdp) wrote :

fix reverted in trunk, revision 4628.

Changed in openobject-addons:
status: In Progress → Invalid
Revision history for this message
qdp (OpenERP) (qdp) wrote :
Revision history for this message
Ferdinand (office-chricar) wrote :

may be someone could check

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

Other bug subscribers

Related questions

Remote bug watches

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