Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

add name of the table in the pos restaurant receipt?

By
amina
on 2/29/16, 5:29 AM 566 views

is there any possible way to add the name of the table that had the order in the printed bill of the restaurant module,and which file needs to be modified?I have already posted this question in details with all things that I have tried to add in some files but unfortunatlywith no answer! any help would be appreciated.

Thanks.

0
anis
On 5/25/16, 5:49 AM

thanks very helpful

0
amina
On 3/2/16, 4:37 AM

for all people who have interest in this I figured out how to add that field so first I thought that only the pos restaurant module files that needs to be modified so I was wrong and it's what it was all about,so the main file that should be modified is the addons\point_of_sale\static\src\xml\pos.xml ,to specifiy it's the PosTicket template,so the modification showed up right away because after all that restaurant module depends on the main point of sale 

 I added my code just after the shop widget like :

 Table: <t t-esc="widget.pos.table.name"/><br />

and name of the table was added in the printed ticket 

hope this helps you

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/29/16, 5:29 AM
Seen: 566 times
Last updated: 5/25/16, 5:49 AM