Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
5189 Представления

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
4112
1
мая 17
2577
2
мая 20
4869
1
апр. 17
3705