Iam using odoo v10 i want to add notebook in contact by code please tell me the location of its xml and py files.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
The files located in Odoo/Odoo/Addons/Base/Res but you should not make any changes in original Odoo files. you should make your own model and do everything trough inheritince
Hi you can get which model and xml_id you need to inherit easily by following this step:
- activate developer mode (add ?debug= after web/ in url)
- hover mouse pointer over a field in form view, it will show details of that field including its model (for contacts model is res.partner)
- there will be a dropdown for debug mode on top right corner of your screen, click on it and select edit form view, from there you will be able to get the xml id of the form
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký