Skip to content

Commit 71658fa

Browse files
committed
[FIX] null-safe procurement handling for stock
1 parent f6e489f commit 71658fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

altinkaya_stock/wizard/wizard_create_procurement_move.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def create_procurement(self, group_id, warehouse_id, qty):
187187
if not group_id:
188188
group_id = self.env["procurement.group"].create(
189189
{
190-
"name": warehouse_id.name + " Açan: " + self.env.user.name,
190+
"name": f"{warehouse_id.name or ''} Açan: {self.env.user.name or ''}",
191191
}
192192
)
193193
values = {

0 commit comments

Comments
 (0)