Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2033 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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' 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 15
4775
0
thg 1 25
1351
3
thg 9 25
337
1
thg 7 25
659
0
thg 11 24
1305