工艺外协代码
This commit is contained in:
@@ -397,7 +397,7 @@ class RePurchaseOrder(models.Model):
|
||||
"name": production.procurement_group_id.name,
|
||||
"date_required": fields.Datetime.now(),
|
||||
"product_uom_id":server_template.uom_id.id,
|
||||
"product_qty": 1,
|
||||
"product_qty": production.product_qty,
|
||||
"request_id": False,
|
||||
"move_dest_ids": False,
|
||||
"orderpoint_id": False,
|
||||
@@ -420,7 +420,7 @@ class RePurchaseOrder(models.Model):
|
||||
('detailed_type', '=', 'service')])
|
||||
server_product_process.append((0, 0, {
|
||||
'product_id': server_template.product_variant_id.id,
|
||||
'product_qty': 1,
|
||||
'product_qty': production.product_uom_qty,
|
||||
'product_uom': server_template.uom_id.id,
|
||||
'related_product': production.product_id.id,
|
||||
'manual_part_number': pp.part_number,
|
||||
|
||||
Reference in New Issue
Block a user