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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
1
heinäk. 19
|
9615 | ||
Popup window in pos
Ratkaistu
|
|
3
heinäk. 25
|
16819 | |
|
0
jouluk. 18
|
2785 | ||
|
1
marrask. 24
|
1087 | ||
|
4
lokak. 24
|
3316 |