I want to add a new field that contains the name of the table that had that order in the pos receip of the resaturant module so I don't know which file to modify, I already have searched for similar examples but couldn't solve this
I first added the variable that containes the name of the table in the models fields (this variable is in the restaurant_table class so I have done an inheritance to the restaurant_printer class) :
pos_restaurant\static\src\js\multiprint.js
model: 'restaurant.printer',
fields: ['name','proxy_ip','product_categories_ids','name_table'],
seconde I have added this line in the pos_restaurant\static\src\xml\printbill.xml
<div id="name_table" style="text-align:center;"></div>
but nothing had changed in the ticket any ideas please?