# -*- encoding: utf-8 -*- from openerp import models, api, fields class SaleOrder(models.Model): _inherit = 'sale.order' city = fields.Char(string='Ciudad', related="partner_id.city", readonly=True)