This question has been flagged
1 Reply
6835 Views

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.

Avatar
Discard
Best Answer

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.

Avatar
Discard