Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5175 มุมมอง

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
3186
0
พ.ย. 17
4108
1
พ.ค. 17
2572
2
พ.ค. 20
4861
Ungroup items in POS แก้ไขแล้ว
1
เม.ย. 17
3702