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 vasi26ro committed Feb 12, 2024
1 parent 71bc73a commit 7c8bec0
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 7c8bec0

Please sign in to comment.