Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1859 Zobrazení

Hello Odoo Community,

I'm working on a stock management application in Odoo version 17 community and would like to align the module names with the specific terminology we use in our organization. Specifically, I want to rename the "Purchases" module to "Entries" and the "Sales" module to "Exits".

Is it possible to change the names of these modules and the associated tables in Odoo? If so, what would be the best approach to achieve this without disrupting the system's functionality? Any guidance or best practices would be greatly appreciated.

Thank you!

Avatar
Zrušit
Nejlepší odpověď

Hii fettahi nouhaila


Please refer to this question:  https://www.odoo.com/sk_SK/forum/pomoc-1/how-to-inherit-or-override-a-menu-item-67689

if you have any doubt please contact. I have done this.

 

Thanks & Regards,

Name : Yahoo Baba

Email: yahoobaba077@gmail.com

Avatar
Zrušit
Nejlepší odpověď

well, it is not recommended to change the names of these based  modules and the data table, as these are core modules and being used across the Odoo. 
one idea is that - using Translations: Odoo uses translations to manage the display names of menus and modules. You can leverage this feature to rename "Purchases" and "Sales" to "Entries" and "Exits" respectively.

Go to Settings > Translations > Languages > Load a Translation.

Choose the language you’re working with (usually English).

Navigate to Settings > Translations > Application Terms > Translated Terms.

Search for the term "Purchases" and replace it with "Entries". Do the same for "Sales" by replacing it with "Exits".

Customize Menus:

You can also manually adjust menu names by going to Settings > Technical > User Interface > Menu Items.

Search for the "Purchases" and "Sales" menus and rename them.



another option is to add the details in model definition.

example 

class PurchaseOrder(models.Model):

    _inherit = 'purchase.order'

    _description = 'Entry Order' 


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 15
4669
0
led 25
1257
1
čvc 25
513
0
lis 24
1237
0
říj 24
1494