[IMP] point_of_sale: track session logins
authorAntony Lesuisse <al@openerp.com>
Wed, 20 Aug 2014 13:07:56 +0000 (15:07 +0200)
committerAntony Lesuisse <al@openerp.com>
Wed, 20 Aug 2014 13:13:46 +0000 (15:13 +0200)
commitd421f9a3656789d220e4bb22056d81539ce0f7f4
tree4c4f36c3827d5cb99da9d4896dee731a42472142
parent6c5cde609e85f55b583012c989409a6d48440372
[IMP] point_of_sale: track session logins

the pos session now keeps track of the session logins, and that number is
included in in the order reference. This prevents orders generated in parallely
created sessions from having the same reference, and also helps reduce fraud.
addons/point_of_sale/controllers/main.py
addons/point_of_sale/point_of_sale.py
addons/point_of_sale/static/src/js/models.js