POS: Fixed typo in the case of using SCALE_BARCODE_FORMAT to price

Fixed a little typo that happened in the caso of the user setting the
parameter SCALE_BARCODE_FORMAT to price. It was also added a test
that would cover such case.

Change-Id: Iace5aa495c0fb06164c37c1825d294c88f21afdc