Skip to Content
Menu
This question has been flagged
2 Replies
4181 Views

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
Discard
Best Answer

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

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

PosBaseWidget.include({

//wirte your code inside

});

});

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 18
2374
0
Nov 17
3317
1
May 17
1610
2
May 20
3789
1
Apr 17
2772