Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2392 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 15
4934
0
gen 25
1580
3
set 25
971
1
lug 25
1085
0
nov 24
1623