Problem/Motivation

When using rounding with OMR currency getting wrong rounded value because of no decimals are set to be displayed.

Proposed resolution

Remove decimals property from currency declaration so it will be automatically assigned a higher value (default 2).

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

SurfinSpirit created an issue. See original summary.

apugacescu’s picture

apugacescu’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: commerce_omr-remove-decimals-2754501-2-7.patch, failed testing.

The last submitted patch, 2: commerce_omr-remove-decimals-2754501-2-7.patch, failed testing.

The last submitted patch, 2: commerce_omr-remove-decimals-2754501-2-7.patch, failed testing.

The last submitted patch, 2: commerce_omr-remove-decimals-2754501-2-7.patch, failed testing.

danielmrichards’s picture

Ignore the test fails above. Seems the unit tests have stopped working.

danielmrichards’s picture

Status: Needs work » Needs review

  • SurfinSpirit authored 2a5243c on 7.x-1.x
    Issue #2754501 by SurfinSpirit: Remove decimals value from currency...
danielmrichards’s picture

Committed and pushed to dev. Thanks!

danielmrichards’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.