Skip to content

Commit 7b4b83e

Browse files
committed
Merge PR OCA#2442 into 17.0
Signed-off-by HviorForgeFlow
2 parents b5f4432 + 0370960 commit 7b4b83e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

purchase_request/models/stock_rule.py

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def _prepare_purchase_request(self, origin, values):
4141
"company_id": values["company_id"].id,
4242
"picking_type_id": self.picking_type_id.id,
4343
"group_id": group_id or False,
44+
"requested_by": self.env.context.get("uid", self.env.uid),
45+
"assigned_to": False,
4446
}
4547

4648
@api.model

0 commit comments

Comments
 (0)