コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
16918 ビュー

Would it be possible to set up a second display aimed to : * show the customer his cart; * current total and price of each scanned article * display product information; * display advertisement * ...

.... while the employee keep his own main POS display.

Has anyone ever worked on that ? Has anyone has an idea about how to achieve that ?

アバター
破棄

I tried a basic example before and it should work for you too.

is it possible to open the new window in the second monitor?

Hy Marc, Did you get the solution. I want the same solution. will appreciate your help. Thanks

最善の回答

I tried a basic example and it should work for you too.

In addons/point_of_sale/static/src/js

main.js

function secondDisplay(line1,line2){
window.open("http://192.168.56.10:5000/cdisplay?line1="+ String(line1) + "&line2=" + String(line2));
}

Note: 192.168.56.10:5000 is just flask :)

models.js

Find the addProduct's method and do this

addProduct: function(product, options){
            options = options || {};
            var attr = product.toJSON();
            ...
            this.selectLine(this.getLastOrderline());
            **secondDisplay(product.get('name'),product.get('list_price')+" "+this.pos.get('currency').symbol);**

Hope that get you started :)

アバター
破棄
最善の回答

Hello !

We have implemented many features in POS.
Please visit our blog: http://acespritechblog.wordpress.com

Thanks,
Acespritech Solutions Pvt. Ltd.
www.acespritech.com
Mail: info@acespritech.com
Skype: acespritech

アバター
破棄

I'm not sure but I don't think that this is the right place to advertise your modules.

最善の回答

hi Mark,

We (my company) have developped some special features in the POS for our customers.

I've made a tutorial about how to make a module from A to Z and how to modify the POS. I've added some features to the POS.

Maybe it's not exactly what you need, but that may be a first step for you to develop such features you need.

The tutorial is in french (I haven't translated it yet) but maybe you can go with Google translate or something like that.

I have not enough karma for now , but you should find it around there:

http ://thierry-godin.developpez.com/openerp/tutoriel-openerp-realisation-module-web-pour-point-vente/

And now I made an English version here :

http ://thierry-godin.developpez.com/openerp/tutorial-module-creation-pos-modification-english-version/

アバター
破棄
著作者

Bonjour Thierry,

You made an impressive work and your tutorial is really complete. Thanks for the answer.

Thanks for the answer,

Thank you, You welcome.

take a look at the English version (I added the link in my answer)

関連投稿 返信 ビュー 活動
0
1月 18
5542
2
1月 21
6030
0
12月 17
3815
0
10月 15
4329
1
8月 25
686