MOrderLine.setPrice should not override UnitOfMeasure

Description

This is only a bug during FitNesse testing that does not engage Callout resulting in Price been null, and while setting Price, it also sets UOM from the Product when it should first check if User has set an UOM value already.

I was testing a different 6Pack UOM and this was discovered to override with Product's base UOM which is Each.

Patch attached merely makes sure the UOM is empty before doing so.

Environment

None

Status

Assignee

redhuan d. oon

Reporter

redhuan d. oon

Labels

None

Tested By

None

Fix versions

Priority

Minor
Configure