Skip to Content
Menu
This question has been flagged
3 Replies
16443 Views

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 ?

Avatar
Discard

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

Best Answer

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 :)

Avatar
Discard
Best Answer

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

Avatar
Discard

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

Best Answer

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/

Avatar
Discard
Author

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)

Related Posts Replies Views Activity
0
Jan 18
5054
2
Jan 21
5536
0
Dec 17
3343
0
Oct 15
3941
3
May 25
1465