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 new fields to Point of sale receipt

By
João Sequeira
on 5/20/15, 12:24 PM 1,107 views

Hello

I want to add information about the company and client to each point of sale receipt. I saw that this can be done changing  the class pos-sale-ticket in the file pos.xml.

Normally to make the prints i use custom rml files in a custom module, can i do the same? Creating a RML of the pos-receipt, instead of making changes in the point-of-sale module.


Thanks

João Sequeira

1

Parikshit

--Parikshit--
939
| 6 3 8
Ahmedabad, India
--Parikshit--

Working as an OpenERP/Odoo developer both experience in web and addons. you can contact me at:

E-mail : parikshitvaghasiya@gmail.com

Blog : parikshitvaghasiya.blogspot.in

Stackoverflow : http://stackoverflow.com/users/5089106/parikshit-vaghasiya

Parikshit
On 8/31/15, 2:40 AM

Hello

Please Contact me on

parikshitvaghasiya@gmail.com

Thanks,

0

Acespritech

--Acespritech--
839
| 3 2 6
India
--Acespritech--

Having 8+ years of OpenERP Experience. We are Specialized in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.


Skype : acespritech

Email : info@acespritech.com

Acespritech
On 9/4/15, 2:10 AM

Hello !


As you know that you have to change in pos-sale-ticket in xml file so that is correct.

Now you can print like <t t-esc="widget.pos.company.name"/>

So instead of name, you can put other fields information but for that again you have to load those fields in model.js file where model: 'res.company', and all fields information is added.


Thanks,

Acespritech Solutions Pvt. Ltd.

Skype: acespritech

info@acespritech.com

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: 5/20/15, 12:24 PM
Seen: 1107 times
Last updated: 9/4/15, 2:10 AM