diff options
| author | Joren Van Onder <jov@odoo.com> | 2017-03-16 13:04:33 -0700 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-08-18 14:55:48 +0200 |
| commit | f86fd1c249ebf13b816fcc95d7144dca3f360997 (patch) | |
| tree | c07b5abb59841d09f1769c4128acb9c2aab00ab5 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 9e780ab711b2abcb80b29271ba793f5b8686b3ab (diff) | |
[IMP] point_of_sale: show currently selected item in selection widget
Before this the user was unable to see what value was currently
selected in the selection widget (used for selecting users and fiscal
positions). This implements support for an optional 'is_selected'
function which gets an item from 'list' as a parameter and should
return true when the item is currently selected.
This also removes the fiscal position name from the fiscal position
button because there wasn't much room on the button to fit the name
and with this feature that information is redundant.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
