Skip to content

Commit 8813ed0

Browse files
author
John75SunCity
committed
fix: Add missing 'partner' variable to pickup request template
The portal_pickup_request_create template uses partner.commercial_partner_id.name but the controller wasn't passing 'partner' in the values dict.
1 parent fb3001f commit 8813ed0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

records_management/controllers/portal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3931,6 +3931,7 @@ def portal_request_create(self, request_type, **post):
39313931

39323932
values = {
39333933
'request_type': request_type,
3934+
'partner': partner,
39343935
'departments': departments,
39353936
'containers': containers_sudo,
39363937
'container_data': container_data, # Safe data without ORM access

0 commit comments

Comments
 (0)