跳至內容
選單
此問題已被標幟
2 回覆
5185 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 18
3186
0
11月 17
4111
1
5月 17
2576
2
5月 20
4866
1
4月 17
3702