Odoo Help


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.


How to add partner_id copy to account_invoice

on 12/18/15, 8:50 AM 374 views

How can I add a new field named partner_id_shipping to the account_invoice. It is the same like partner_id but with an other name.

How Can I implement this with a new modul?

I try this:

from import openerp.osv fields, osv

class account_invoice(osv.osv):
_inherit = 'account.invoice'

_columns = {

'partner_id_shipping': fields.Many2one(, string='Partner', change_default=True,
required=True, readonly=True, states={'draft''readonly': [(, False)]},

Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 12/18/15, 12:27 PM

Have you seen https://apps.openerp.com/apps/modules/8.0/account_invoice_shipping_address/

This module adds a shipping address field to the invoice, also it fills it in sale and picking invoicing

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)


Asked: 12/18/15, 8:50 AM
Seen: 374 times
Last updated: 12/18/15, 12:27 PM