Chained locations: processing first move does not copy prod.lot in chained moves

Bug #763437 reported by Steffi Frank (Bremskerl, DE)
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

I defined my warehouse like this:

'Stock' with chained location 'Quality Control'
'Quality Control' with chained location 'Stock free'

Create a new RFQ and convert it to PO, system generates 3 stock moves:
1. 'Supplier' --> 'Stock'
2. 'Stock' --> 'Quality Control'
3. 'Quality Control' --> 'Stock free'

Open 'Receptions' enter a new production lot and process
Stock move 2 and 3 don't get an update in field 'production lot'

I know, this is an issue Olivier already said it won't get fixed (bug 722538). But, sorry, lot-handling in OpenERP is really uncomfortable, you can't expect the stock workers to work like this....

Maybe there is chance through modifications made for 'internal tracking'? Can't be that complicated to copy the production lot from stock move 1 in move 2 and 3....

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → Fix Released
milestone: none → 6.0.3
Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi Jay,

Your patch in revision 4672 causes an issue with production orders because
if move.move_dest_id.state in ('waiting', 'confirmed'):
if move.prodlot_id.id:
9 + self.write(cr, uid, [move.move_dest_id.id], {'prodlot_id':move.prodlot_id.id})

Revision history for this message
Omar (Pexego) (omar7r) wrote :

Excuse me Jay, I complete my message:

It's wrong because, consumed products in production order have as move_dest_id, the final production move, then, when you consume the first production move line with lot, it writes in final move this lot too.

Regards

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

Omar,

I would prefer an example where we can face it.

This fix was specifically designed for copying lot into chained move.

We would like to rectify the issue at earliest if it really causes a block.

Thanks for your reactivity always.

Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi Jay,

I attach a video file.

Regards

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

Excuse me Omar,

Sorry to say but the video is not getting opened!

Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi Jay,

I use Opera and it works but I test it with Firefox and Chrome and it isn't. Try wget.

Regards

Revision history for this message
Manu (manu-tiedra) wrote :

Jay, hopefully you can fix product lots properly as a lot of people refuse to further evaluate OpenERP when they see the unconfortable that is to work with product lots in OpenERP.

Maybe some YAML tests for the scenario proposed by steffi will help, as it is a very common scenario IMHO. Also some additional tests for manufacturing and product lots could finally make product lot fully working for everybody.

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

Thanks to both of you for your interest.

I would like to request you to note the steps here, meanwhile I am trying to get this video.

Be rest assured, as soon as the bug is found, we would fix it.

Thanks.

Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

Omar, #2: we already reported a bug for this 'strange' behaviour...

Revision history for this message
Omar (Pexego) (omar7r) wrote :

Hi Steffi,

Link? please.

Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

sorry, I thought I copied it already... https://bugs.launchpad.net/openobject-addons/+bug/767208

Changed in openobject-addons:
status: Fix Released → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Valencia Rodrigues (OpenERP) (vro-openerp) wrote :

Hello,

This has been by 4716 <email address hidden> in the branch lp:~openerp-dev/openobject-addons/6.0-bug-767208-vro.

It will be merged into stable soon.

Thanks

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Valencia Rodrigues (OpenERP) (vro-openerp) wrote :

Hello,

This issue has been fixed in stable v6 by revision 4717 <email address hidden>.

Thanks to Bruno Bottacini for contributing the fix.

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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