Added a Button in Odoo POS
In button click action how to change url / call controller like
http://localhost:8069/pos/web#action=pos.ui
to http://localhost:8069/pos/event
Anyone help me to resolve in this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Added a Button in Odoo POS
In button click action how to change url / call controller like
http://localhost:8069/pos/web#action=pos.ui
to http://localhost:8069/pos/event
Anyone help me to resolve in this?
Type the below code in your function
window.open("www.google.com");
Then a new window will open and the page will be loaded.
If you want this to done in a button click then,
$('#stocks').click(function(){
window.open("www.google.com");
}
in the above code stocks is the name of the button which is created in the xml view. all the other must the the same
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 | |
---|---|---|---|---|
|
1
thg 7 19
|
9654 | ||
Popup window in pos
Đã xử lý
|
|
3
thg 7 25
|
16865 | |
|
0
thg 12 18
|
2821 | ||
|
1
thg 11 24
|
1130 | ||
|
4
thg 10 24
|
3380 |