Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify product extra field (mass action) : translation not done #24080

Closed
code42fr opened this issue Mar 1, 2023 · 1 comment
Closed

Modify product extra field (mass action) : translation not done #24080

code42fr opened this issue Mar 1, 2023 · 1 comment
Labels
Bug This is a bug (something does not work as expected) Event: DevCamp 2023 Bordeaux

Comments

@code42fr
Copy link
Contributor

code42fr commented Mar 1, 2023

Bug

When we use mass action "modify extra field" on product listing, the extra field select values are not translated.

Environment Version

16.0.4

Environment OS

Linux homestead 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64

Environment Web server

Apache/2.4.41 (Ubuntu)

Environment PHP

7.4.33

Environment Database

MySQL or MariaDB 8.0.31-0ubuntu0.20.04.1

Environment URL(s)

/product/list.php

Expected and actual behavior

Values in extra field select should be translated using $langs->trans() function.

In this case, values in extra field select should be :

  • "Attribut supplémentaire 2"
  • "Attribut supplémentaire 1"
  • "Attribut supplémentaire 3"

Steps to reproduce the behavior

  • Add a product extrafield with translation key
  • Add translation of translation key
  • Go to product listing
  • Select one product or more
  • Select "Modify extra field" mass action
  • Extra field select values are not translated

Attached files

1

2

3

@code42fr code42fr added the Bug This is a bug (something does not work as expected) label Mar 1, 2023
IC-faycal added a commit to inovea-conseil/dolibarr that referenced this issue Jun 8, 2023
eldy added a commit that referenced this issue Jun 9, 2023
…ield_mass_action

FIX translation extrafield mass action #24080
@atm-maxime
Copy link
Member

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected) Event: DevCamp 2023 Bordeaux
Projects
None yet
Development

No branches or pull requests

3 participants