Odoo Help


How to transfer values of user defined fields from a delivery order to an invoice?

on 6/4/13, 6:32 AM 1,127 views


I created some user defined fields within the models delivery order and invoice. (Same name in both models)

Now I create an invoice from a delivery order and want the values for those user defined fields to be transfered automatically to the same fields in the invoice.

How can I transfer this field values? Is it possible by doing it just with xml without any python changes? Where should I start?

Thanks for help in advance.



| 3 2 6
Gandhinagar, India

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

On 6/4/13, 10:25 AM

Hello !

You have to override this method in stock.py file.
def _prepare_invoice()

Acespritech Solutions Pvt. Ltd.
Mail: info@acespritech.com
Skype: acespritech
Blog: http://www.acespritechblog.wordpress.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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/4/13, 6:32 AM
Seen: 1127 times
Last updated: 3/16/15, 8:10 AM