Files
rma/product_warranty/models/res_company.py
bima 1b816e1ea8 Migrate to v10.0
- Add dependency sale because group "group_sale_salesman" and "group_sale_manager" are defined on modul sales_team
  * sale depend to sales_team
  * update ir.model.access base. -> sales_team.
- Fix product.prod_config_main not compatible and moved to sale.prod_config_main
- Make removed col="6 when add product supplier info field too small (width)
2021-08-11 09:40:38 +01:00

19 lines
591 B
Python

# -*- coding: utf-8 -*-
# © 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")