Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
16750 Переглядів

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)

Related Posts Відповіді Переглядів Дія
0
січ. 18
5320
2
січ. 21
5825
0
груд. 17
3568
0
жовт. 15
4107
1
лип. 25
433