projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe290b
)
[FIX] mrp_repair: use action_done to validate a operation componenents when ending...
author
Martin Trigaux
<mat@openerp.com>
Fri, 18 Oct 2013 11:44:00 +0000
(13:44 +0200)
committer
Martin Trigaux
<mat@openerp.com>
Fri, 18 Oct 2013 11:44:00 +0000
(13:44 +0200)
bzr revid: mat@openerp.com-
20131018114400
-f1iaoynu1vlq325o
addons/mrp_repair/mrp_repair.py
patch
|
blob
|
history
diff --git
a/addons/mrp_repair/mrp_repair.py
b/addons/mrp_repair/mrp_repair.py
index
7bab1c0
..
9c0ab0e
100644
(file)
--- a/
addons/mrp_repair/mrp_repair.py
+++ b/
addons/mrp_repair/mrp_repair.py
@@
-521,8
+521,9
@@
class mrp_repair(osv.osv):
'location_dest_id': move.location_dest_id.id,
'tracking_id': False,
'prodlot_id': move.prodlot_id and move.prodlot_id.id or False,
- 'state': 'done',
+ 'state': 'assigned',
})
+ move_obj.action_done(cr, uid, [move_id], context=context)
repair_line_obj.write(cr, uid, [move.id], {'move_id': move_id, 'state': 'done'}, context=context)
if repair.deliver_bool:
pick_name = seq_obj.get(cr, uid, 'stock.picking.out')