Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5193 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

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

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

PosBaseWidget.include({

//wirte your code inside

});

});

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 18
3187
0
лист. 17
4114
1
трав. 17
2580
2
трав. 20
4888
Ungroup items in POS Вирішено
1
квіт. 17
3707