Odoo Help


1 Answer

IBS Group Morocco

--IBS Group--
| 4 6 10
Tetouan, Morocco
--IBS Group--

We are ranked Top 3 🥉  in odoo's 🔐 Security Research Program.

We develop and maintain Odoo applications and Mobile apps for more than 25 businesses and SMEs around the world operating in logistics, trade, industry and services.

We also extend existing Odoo implementations beyond their functional and technical limitations, by integrating new modules like ones related to Data Migration, Business Intelligence and Data Analytics.

We also connect odoo to any external system like Salesforce, Magento, Prestashop, ...

We speak 🇲🇦 (Arabic) 🇬🇧 (English) 🇫🇷 (French) 🇪🇸 (Spanish)

We operate from 🇲🇦 (Morocco) and 🇧🇪 (Belgium)

📫 us at contact@odoo.ma or 🤙 📱 at +212 (0) 539 99 29 18 / +32 (0) 2 361 40 88
🔗 Visit our website http://www.odoo.ma

IBS Group Morocco
10/6/13, 3:17 PM

This can be achieved, however it can't be done through some configuration, it requires code modification.

The Point of Sale module has a set of screens, you can make the receipt screen show up first when you click the Cash button, and then add a button to this screen that will take you to the actual payment screen.

in file widgets.js, go to line 127 and change 'payment' to 'receipt', so it becomes:


in file screens.js go to line 825 which is under:

                label: _t('Next Order'),
                icon: '/point_of_sale/static/src/img/icons/png48/go-next.png',
                click: function() { self.finishOrder(); },

And add the following right after it:

                label: _t('Payment'),
                icon: '/point_of_sale/static/src/img/icons/png48/go-next.png',
                click: function() { self.pos_widget.screen_selector.set_current_screen('payment'); },

The process becomes Cash button -> Receipt -> Payment -> Receipt.

Matthew Fournier United States
10/7/13, 2:32 PM

Any idea where I should start looking? Probably in screens.js, models.js, or widgets.js. I'm thinking just copying the entire print functionality from the sale and putting it somewhere on the sidebar.

IBS Group Morocco
10/7/13, 7:27 PM

I updated my answer, check it out.

Matthew Fournier United States
10/9/13, 3:20 PM

Just what I needed! Thank you!

IBS Group Morocco
10/9/13, 3:22 PM

You are welcome.

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now