summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2019-07-17 14:49:53 +0000
committerPierre Masereel <pim@odoo.com>2019-07-23 12:32:17 +0000
commit0244f2e55d3774b9fe186ec12600254b06418219 (patch)
tree274be04d8e3aea180e973147c06fb268816d670f /addons/web/static/src/js/views/basic/basic_controller.js
parent76fc5b772d3fbff282a2b8042770126024036f19 (diff)
[FIX] point_of_sale: fiscal position map to empty tax
This commit fixes the following faulty behaviors: 1. There is a traceback in the pos ui when the selected customer has fiscal position that maps a tax to nothing. To prevent this behavior, we avoid to add the undefined tax destination. 2. When you change the customer in pos ui from someone who has fiscal position to someone without, the tax in the order remains to be based on the previous customer. The tax should change to original tax of the product or to the tax mapped by the default fiscal position of the session. To avoid this behavior, we now set the default fiscal position on the order when a customer has no fiscal position. closes odoo/odoo#34955 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions