Merge lp:~dorian-kemps/unifield-server/US-6374 into lp:unifield-server

Proposed by jftempo
Status: Needs review
Proposed branch: lp:~dorian-kemps/unifield-server/US-6374
Merge into: lp:unifield-server
Diff against target: 12 lines (+1/-1)
1 file modified
bin/addons/delivery_mechanism/delivery_mechanism.py (+1/-1)
To merge this branch: bzr merge lp:~dorian-kemps/unifield-server/US-6374
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+374914@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

5526. By Dorian

US-6374 [MERGE] Merge with trunk

5525. By Dorian

US-6374 [FIX] IN process: changed check on qty while processing more qty to the out move

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/delivery_mechanism/delivery_mechanism.py'
2--- bin/addons/delivery_mechanism/delivery_mechanism.py 2019-09-18 14:06:52 +0000
3+++ bin/addons/delivery_mechanism/delivery_mechanism.py 2019-10-30 13:23:22 +0000
4@@ -964,7 +964,7 @@
5 move_obj.write(cr, uid, [out_move.id], out_values, context=context)
6 processed_out_moves.append(out_move.id)
7 processed_out_moves_by_exp.setdefault(line.prodlot_id and line.prodlot_id.life_date or False, []).append(out_move.id)
8- elif uom_partial_qty > out_move.product_qty and out_moves[out_moves.index(out_move)] != out_moves[-1] and out_move.id not in processed_out_moves:
9+ elif uom_partial_qty > out_move.product_qty and out_move.id not in processed_out_moves:
10 # Just update the out move with the value of the out move with UoM of IN
11 out_qty = out_move.product_qty
12 if line.uom_id.id != out_move.product_uom.id:

Subscribers

People subscribed via source and target branches