Debian Codegraph @

addons/sale_management/models/res_company.py

raw symbols SCIP
1 # Part of Odoo. See LICENSE file for full copyright and licensing details.
2
3 from odoo import fields, models
4
5
6 class ResCompany(models.Model):
7 _inherit = "res.company"
8 _check_company_auto = True
9
10 sale_order_template_id = fields.Many2one(
11 "sale.order.template", string="Default Sale Template",
12 domain="['|', ('company_id', '=', False), ('company_id', '=', id)]",
13 check_company=True,
14 )