Files
odoo_source/addons/pad_project/models/project_config_settings.py
T

12 lines
389 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ProjectConfigSettings(models.TransientModel):
_inherit = "project.config.settings"
pad_server = fields.Char(related="company_id.pad_server", string="Pad Server")
pad_key = fields.Char(related="company_id.pad_key", string="Pad Api Key")