Odoo Help


sale agent field is empty in invoice

on 9/5/13, 6:36 AM 1,411 views

In OpenERp v7

A sale order is created with the customer having sale agent. After confirming the sale , I created the invoice. The Agent field in the created invoice is empty.

The agent is not populated from sale order to invoice.

Is there any change to be done in the latest version of the sale commission module downloaded from launchpad.




| 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 9/12/13, 2:16 AM

Hello !

If you want to transfer anything from Sales Order to invoice, then you have to override this method in your module which is written in Sale module in sale.py file.
If you are aware about OpenERP architecture and having python knowledge then you can do that.

def _prepare_invoice()

Acespritech Solutions Pvt. Ltd.
Mail: info@acespritech.com
Skype: acespritech
Blogs: http://acespritechblog.wordpress.com

Thanks for the answer , will try to extend that method in sale.py

on 9/19/13, 12:25 PM

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

0 follower(s)


Asked: 9/5/13, 6:36 AM
Seen: 1411 times
Last updated: 3/16/15, 8:10 AM