Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5157 Tampilan

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
Buang
Jawaban Terbai

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

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

PosBaseWidget.include({

//wirte your code inside

});

});

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 18
3185
0
Nov 17
4103
1
Mei 17
2564
2
Mei 20
4855
1
Apr 17
3693