Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5168 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

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

PosBaseWidget.include({

//wirte your code inside

});

});

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 18
3185
0
thg 11 17
4107
1
thg 5 17
2571
2
thg 5 20
4859
1
thg 4 17
3701