Hey people, i wanna create a button to check my pending tickets, i have already the view but i want to set a new button to have even a quiker acces and i thought adding next to the chat one or activities would be great, but i have no clue and dont see any info or documentation, thanks so much
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ờ
1
Trả lời
1521
Lượt xem
Hello Marcos,
To add button on top menu next to chat button, we need to register component in Systray. Here is odoo office document. please look into that
import { registry } from "@web/core/registry"; class MySystrayItem extends Component { // some component ... } registry.category("systray").add("myAddon.myItem", { Component: MySystrayItem, });
The systray registry is an ordered registry (with the sequence number):
const item = { Component: MySystrayItem }; registry.category("systray").add("myaddon.some_description", item, { sequence: 43 });
Thanks,
Vimal Rughani (Founder and CTO)
Himanjali Intelligent Automation Pvt Ltd
Contact: +91- 972-606-7737
Email: hello@himanjali.com
Newsletter: The Odoo Scoop
Website: www.himanjali.com
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ýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 9 24
|
1170 | ||
|
1
thg 5 24
|
1703 | ||
|
3
thg 5 24
|
1927 | ||
|
1
thg 5 25
|
1346 | ||
Custom footer in report PDF
Đã xử lý
|
|
1
thg 6 25
|
1662 |