From e491d86d034ac1ba86692526d788d14dafeafa88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Gil=20Sorribes?= Date: Fri, 21 Dec 2018 12:53:33 +0100 Subject: [PATCH] [11.0][IMP] Improve module stock_orderpoint_manual_procurement --- .../wizards/make_procurement_orderpoint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py b/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py index e4f1f67d4..0bce7f860 100644 --- a/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py +++ b/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py @@ -69,6 +69,7 @@ class MakeProcurementOrderpoint(models.TransientModel): values = item.orderpoint_id._prepare_procurement_values(item.qty) values['date_planned'] = fields.Datetime.to_string( fields.Date.from_string(item.date_planned)) + values['requested_uid'] = self.env.user # Run procurement try: self.env['procurement.group'].run(