OCA / web

Odoo web client UI related addons
GNU Affero General Public License v3.0
926 stars 1.87k forks source link

[14.0][ADD] New module web_custom_label #2801

Open majouda opened 5 months ago

majouda commented 5 months ago

This module allows you to easily modify the labels of a field without any development.

The module allows you to modify :

Exemple: As a simple user of the system, I want to rename the label "Internal Reference" to "SKU". I can easily use the custom labels menu to create a record that will do the job without any développement.

custom_field_list

TumbaoJu commented 5 months ago

@OCA/web-maintainers : Here is the module presented in the last OCA Days regarding the customization of label, helper, placeholder...

Thank you for your review.

FYI : @majouda @ahmedtrigui

etobella commented 5 months ago

@majouda some screenshots of the module and a standard description on the description of the PR would be great

abenzbiria commented 5 months ago

Hi @etobella ,

Thank you for your feedback. The description and screenshots of the module are located in the readme folder. Do you want us to add more details?

cc @majouda @ahmedtrigui cc @TumbaoJu

etobella commented 5 months ago

Here would be a great point for starting.

image

It is great to include the information on the readme, but we should remember that contributors are doing this on their free time. We need to make it easy for them to review. Otherwise, we don't know if the module is interesting and people might ignore the PR. I am just trying to help you on this :smile:

abenzbiria commented 5 months ago

Hi @etobella I really appreciate the attention you're giving to this PR. Thanks again for your help. What should we do to make this PR more understandable for the reviewers?

Should we add a description here in the comments along with some screenshots?

etobella commented 5 months ago

Yes, this way we all can see if it is intersting to us, otherwise, we need to dig in the module

ahmedtrigui commented 5 months ago

Hi @etobella @OCA/web-maintainers In community edition, there's no way to edit the label except through development. So this module allows you to customize the label of the field.

in addition, not only the label can be customized, but the placeholder, a selction field and a help for a field can alos be edited.

The module is userfriendly, the customer can make changes by himself. No technical skills are needed.

Please find attached an exmple of edited field label.
Capture d’écran du 2024-05-06 11-19-32 Capture d’écran du 2024-05-06 11-19-47

FYI @abenzbiria @TumbaoJu

majouda commented 4 months ago

Here would be a great point for starting.

image

It is great to include the information on the readme, but we should remember that contributors are doing this on their free time. We need to make it easy for them to review. Otherwise, we don't know if the module is interesting and people might ignore the PR. I am just trying to help you on this 😄

Done, thank you for your feedback.

TumbaoJu commented 4 months ago

@OCA/website-maintainers : All checks have passed. Can you review it and merge if everything is ok. Thank you in advance!