mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX] repair_refurbish, product with tracking show error when end repair order
This commit is contained in:
committed by
Mateu Griful
parent
cea5fd2113
commit
7a62a15b6c
@@ -3,7 +3,7 @@
|
||||
{
|
||||
"name": "MRP Repair Refurbish",
|
||||
"summary": "Create refurbished products during repair",
|
||||
"version": "12.0.1.0.1",
|
||||
"version": "12.0.1.1.1",
|
||||
"category": "Manufacturing",
|
||||
"website": "https://github.com/OCA/manufacture",
|
||||
"author": "Eficent, Odoo Community Association (OCA)",
|
||||
|
||||
@@ -49,8 +49,17 @@ class RepairOrder(models.Model):
|
||||
self.address_id.id or False,
|
||||
'location_id': self.location_dest_id.id,
|
||||
'location_dest_id': self.refurbish_location_dest_id.id,
|
||||
'restrict_lot_id': self.refurbish_lot_id.id,
|
||||
}
|
||||
'move_line_ids': [(0, 0, {
|
||||
'product_id': self.refurbish_product_id.id,
|
||||
'lot_id': self.refurbish_lot_id.id,
|
||||
'product_uom_qty': self.product_qty,
|
||||
'product_uom_id': self.product_uom.id or
|
||||
self.refurbish_product_id.uom_id.id,
|
||||
'qty_done': self.product_qty,
|
||||
'package_id': False,
|
||||
'result_package_id': False,
|
||||
'location_id': self.location_dest_id.id,
|
||||
'location_dest_id': self.refurbish_location_dest_id.id})]}
|
||||
|
||||
@api.multi
|
||||
def action_repair_done(self):
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
* Jordi Ballester Alomar <jordi.ballester@eficent.com>
|
||||
* Lois Rilo <lois.rilo@eficent.com>
|
||||
* Akim Juillerat <akim.juillerat@camptocamp.com>
|
||||
* Bhavesh Odedra <bodedra@opensourceintegrators.com>
|
||||
|
||||
Reference in New Issue
Block a user