跳至内容
菜单
此问题已终结
2 回复
1925 查看

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!

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

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' 


形象
丢弃
相关帖文 回复 查看 活动
1
12月 15
4734
0
1月 25
1299
1
7月 25
614
0
11月 24
1282
0
10月 24
1560