forked from Mapan/odoo17e
16 lines
489 B
Python
16 lines
489 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = "res.config.settings"
|
|
|
|
rental_sign_tmpl_id = fields.Many2one(
|
|
"sign.template",
|
|
related="company_id.rental_sign_tmpl_id",
|
|
string="Default Document",
|
|
help="Set a default document template for all rentals in the current company",
|
|
readonly=False,
|
|
)
|