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 Mar 31, 2023
1 parent 4585085 commit 3f68074
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 3f68074

Please sign in to comment.