Files
rma/product_warranty/models/res_company.py
2021-08-11 09:40:38 +01:00

18 lines
577 B
Python

# Copyright 2016 Joel Grand-Guillaume, Cyril Gaudin (Camptocamp)
# Copyright 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.",
)