mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[IMP] base_external_dbsource: Add company field to backend
fw-port from b7f439e04a
This commit is contained in:
committed by
Ángel Rivas
parent
b387f08f39
commit
d7afa87c33
@@ -57,6 +57,11 @@ class BaseExternalDbsource(models.Model):
|
||||
- Elasticsearch: https://user:%s@localhost:9200
|
||||
""",
|
||||
)
|
||||
company_id = fields.Many2one(
|
||||
comodel_name="res.company",
|
||||
string="Company",
|
||||
default=lambda self: self.env.user.company_id,
|
||||
)
|
||||
conn_string_full = fields.Text(readonly=True, compute="_compute_conn_string_full")
|
||||
password = fields.Char("Password")
|
||||
client_cert = fields.Text()
|
||||
|
||||
Reference in New Issue
Block a user