Hello,
I successfully set up a kitchen printer via posbox. I however find the kitchen ticket to be too scanty in terms of the order details. I would therefore like to add the following details:
1. The Point of sale Name
2. The name of the User/Cashier who made the order.
I figured I can get the user id by editing the return object of the computeChanges function in /point_of_sale/static/src/js/multiprint.js to be
return {
'user':json.user_id,
'date': json.creation_date,
'new': add,
'cancelled': rem,
'table': json.table || false,
'floor': json.floor || false,
'name': json.name || 'unknown order',
'time': {
'hours': hours,
'minutes': minutes,
},
};
I then add these details to the qweb template. This however gives me the user id instead of the name. Anyone with an idea on how I can add these details to the ticket?