From 1aa14c619f1b54a5b2a689a7afb668e1231bb614 Mon Sep 17 00:00:00 2001 From: gaikaz Date: Fri, 11 Sep 2020 14:42:18 +0300 Subject: [PATCH] pos_order_to_sale_order: Make JS extendable Return module's javascript widgets to make them extendable for other modules. Same idea as #535 --- pos_order_to_sale_order/static/src/js/screens.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pos_order_to_sale_order/static/src/js/screens.js b/pos_order_to_sale_order/static/src/js/screens.js index 98b84fa672..4d4c6c68b1 100644 --- a/pos_order_to_sale_order/static/src/js/screens.js +++ b/pos_order_to_sale_order/static/src/js/screens.js @@ -158,4 +158,9 @@ odoo.define('pos_order_to_sale_order.screens', function (require) { }, }); + return { + CreateSaleOrderButtonWidget: CreateSaleOrderButtonWidget, + CreateSaleOrderScreenWidget: CreateSaleOrderScreenWidget, + } + });