summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAntoine Vandevenne (anv) <anv@odoo.com>2019-09-23 09:40:15 +0000
committerAntoine Vandevenne (anv) <anv@odoo.com>2019-09-25 15:58:17 +0000
commitf976a1080300f724cfe2bc365d677901e2c20726 (patch)
treee7af4d41601f2ee340ce3bcf683614ed09f2dabe /addons/web/static/src/js/views/basic/basic_model.js
parent48b76921bed09807292e834a6e502be31e8fef14 (diff)
[FIX] sale: fix returning to sale from rental portal
This commit changes the behavior of the 'Back to edit mode' button in the customer portal preview of sales order. If the sales order is a rental order, the user is sent back to the Rental app. If not, the button makes him return to the Sale app. This doesn't take into account the app in which the order was opened: if a rental order was opened in the Sale app, the portal will send the user back to the Rental app. task-2071281 closes odoo/odoo#37423 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions