ACP2E-5127: Saving a company with a non-English Admin locale resets Credit Limit to zero

The ACP2E-5127 patch fixes the issue where saving a company in the Admin resets its Credit Limit to 0 when the Admin user’s Interface Locale is not English. This patch is available when the Quality Patches Tool (QPT) 1.1.84 is installed. The patch ID is ACP2E-5127. Please note that this issue is scheduled to be fixed in Adobe Commerce B2B 1.5.4.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) B2B 1.5.3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) B2B 1.3.3 - 1.5.3
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Saving a company in the Admin resets its Credit Limit to 0 when the Admin user’s Interface Locale is not English, for example German.

Prerequisites:

B2B is installed.

Steps to reproduce:

  1. In the Admin, go to Stores > Settings > Configuration > General > B2B Features and set Enable Company to Yes.
  2. Add a new company in the Admin. Set Credit Limit to 1234.56 and click Save.
  3. In the Admin, go to System > Permissions > All Users, click the Admin user’s name, set Interface Locale to German (Germany), and click Save User. Sign in as that user.
  4. Reopen the same company, change another field, such as Company Legal Name, without changing Credit Limit, and click Save.
  5. Reopen the company and check Credit Limit in the Company Credit section.

Expected results:

The Credit Limit remains the same.

Actual results:

The Credit Limit is reset to 0.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
commerce-operations-help-tools