Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
5180 Näkymät

I want to run the Point of Sale in full screen in the android version of Chromium.

On desktop I can achieve this by typing 

document.body.webkitRequestFullScreen();

in the js console.


I'd like to make it happen automatically, whenever I start the POS in Chromium.

I've tried inserting lines into the source code of the point_of_sale addon with no success.

Avatar
Hylkää
Paras vastaus

odoo.define('module_name.filename',function(require){
"use strict";

var PosBaseWidget = require('point_of_sale.BaseWidget');

PosBaseWidget.include({

//wirte your code inside

});

});

Avatar
Hylkää
Paras vastaus

Can you please tell me the steps of how to make a desktop automticlly as fullscreen

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 18
3186
0
marrask. 17
4110
1
toukok. 17
2573
2
toukok. 20
4863
1
huhtik. 17
3702