diff options
| author | Joren Van Onder <jov@odoo.com> | 2018-02-20 17:26:34 -0800 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2018-02-21 16:12:40 -0800 |
| commit | 3ae382f8df28b3b7482325b147796b73b1e357eb (patch) | |
| tree | 38af59d9bb22e976e502e294c679e71320ee47f3 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | dbb713c2f836892de516e8d5e313a5dab8919a56 (diff) | |
[FIX] point_of_sale: do not recompute manually set prices
The POS recomputes order lines when the pricelist changes. This is
different from the sale app on purpose: in a usual POS flow the customer
and thus pricelist is selected after taking the order.
But users commonly use a 'Miscellaneous' product when they are selling
something that is not in their POS system. The user can select this
product and manually set the price. When now a customer is
selected (even if the pricelist has not changed) these miscellaneous
order lines get recomputed. So now the cashier is forced to input
these prices again.
To avoid this we keep track of lines that have had their price changed
through the UI and we don't update them.
opw-817353
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
