mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
- 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)
19 lines
591 B
Python
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")
|