Skip to content

Commit

Permalink
pos_order_to_sale_order: Make JS extendable
Browse files Browse the repository at this point in the history
Return module's javascript widgets to make them extendable for other modules.

Same idea as OCA#535
  • Loading branch information
gaikaz authored and zamberjo committed Apr 3, 2023
1 parent daf6449 commit 1aa14c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pos_order_to_sale_order/static/src/js/screens.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,9 @@ odoo.define('pos_order_to_sale_order.screens', function (require) {
},
});

return {
CreateSaleOrderButtonWidget: CreateSaleOrderButtonWidget,
CreateSaleOrderScreenWidget: CreateSaleOrderScreenWidget,
}

});

0 comments on commit 1aa14c6

Please sign in to comment.