Hi,
I would like to know , how can i fetch user id of selected table order , i found this in floors.js
this.pos.table
Can I use this.pos.table.order.user_id or this.pos.table.order.cashier_id to fetch the userid for the selected table order
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I would like to know , how can i fetch user id of selected table order , i found this in floors.js
this.pos.table
Can I use this.pos.table.order.user_id or this.pos.table.order.cashier_id to fetch the userid for the selected table order
Thanks
I found answer, i just printed this.pos.get_order() in console and got the properties related to the pos.get_order()
this.pos.get_order().sync_info.created.user.id
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
@Amitabh how did you go about adding this to the POS order print out?