تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5183 أدوات العرض

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
مارس 18
3186
0
نوفمبر 17
4110
1
مايو 17
2573
2
مايو 20
4864
1
أبريل 17
3702