[FIX] pos_sale: misspelled setup method

Because the setup method is not properly executed, sale order management
screen crashes when viewed in mobile screen.

X-original-commit: c27716c97c4d32bb0b12f3772ea55941fa423c63
Part-of: odoo/odoo#95282
This commit is contained in:
Joseph Caburnay
2022-07-05 00:50:52 +02:00
parent 691ef8e9f7
commit 424635bf1b
@@ -7,7 +7,7 @@ odoo.define('point_of_sale.MobileSaleOrderManagementScreen', function (require)
const MobileSaleOrderManagementScreen = (SaleOrderManagementScreen) => {
class MobileSaleOrderManagementScreen extends SaleOrderManagementScreen {
settup() {
setup() {
super.setup();
useListener('click-order', this._onShowDetails)
this.mobileState = useState({ showDetails: false });