Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
1).How we can customize the front end of the POS web session ?
2).How can we access attributes of other model in java script ?.
Am about to create a pos coupon module for redeem coupon.I created a button Redeem Coupon in POS Payment session.And i need to check the coupon number entered during the session with the coupon number from the master .So how can i check this in JS...how can i access the coupon number and check with the inputted.
1. First, you should learn this lesson: https://www.odoo.com/documentation/8.0/howtos/web.html
Be master at Widget.
Then, depend on what you want to customize, navigate it in java script source code of point_of_sale module. POS UI is made of widgets. Widgets are defined in screens.js and widgets.js
2. Have a look at "Communication with the Odoo Server" section in the above link.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/24/16, 8:10 AM|
|Seen: 479 times|
|Last updated: 3/28/16, 5:25 AM|