Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
5296 Ansichten

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
Verwerfen
Beste Antwort

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

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

PosBaseWidget.include({

//wirte your code inside

});

});

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 18
3262
0
Nov. 17
4202
1
Mai 17
2675
2
Mai 20
5065
1
Apr. 17
3869