Files
rma/product_warranty/models/res_company.py
2019-04-29 15:12:47 +05:30

17 lines
567 B
Python

# © 2016 Joel Grand-Guillaume, Cyril Gaudin (Camptocamp)
# © 2009-2013 Akretion, Emmanuel Samyn, Raphaël Valyi, Sébastien Beau
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class ResCompany(models.Model):
_inherit = "res.company"
crm_return_address_id = fields.Many2one(
'res.partner',
string='Return address',
help="Default address where the customers has to send back the "
"returned product. If empty, the address is the "
"company address.")