Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
16757 Ansichten

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
Verwerfen

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

Beste Antwort

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
Verwerfen
Beste Antwort

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
Verwerfen

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

Beste Antwort

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
Verwerfen
Autor

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)

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Jan. 18
5328
2
Jan. 21
5833
0
Dez. 17
3572
0
Okt. 15
4111
1
Juli 25
444