New requisition template generates with incorrect name for product name and code

Description

After generating a new requisition template and then initiating a requisition using that template, the columns that should contain product names and codes are empty. This is due to incorrect names generated in new template.

Repro steps:
1. Delete/edit template for one of the programs to not be used in any facility type (Remove associated facilities from existing program's requisition template)
2. Click "Add Requisition Template" at the bottom of the Requisition Template page
3. Add it to all facility types that were removed in step 1.
4. Save
5. Initiate a requisition for the same program that the template was created
6. Notice that product name and code in the requisition are empty

Expected:
Product name and code are populated

Cause:
The "name" field in columnsMap is incorrect for product name and code.
"productName" should be "orderable.fullProductName"
"productCode" should be "orderable.productCode"

IMPORTANT!
Need to verify that all other columns are named and work correctly when a new requisition template is added.

Environment

None

Assignee

Mateusz Kwiatkowski

Reporter

Sebastian Brudziński

Labels

None

Story Points

2

Time tracking

8h

Components

Sprint

None

Fix versions

Affects versions

Priority

Blocker
Configure