mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[ADD] base_external_system: Implement interface/adapter (#993)
* [ADD] base_external_system: Implement interface/adapter for external systems * base_external_system: Fix OS model, add inherits, add validate * base_external_system: Usability and private key pass * base_external_system: Use contextmanager in adapter client * base_external_system: Move contextmanager to interface * base_external_system: Include contextmanager on adapter and system * base_external_system: Unify client * Use password widget for password field * Add tests & security * Fix lint * Add plaintext note
This commit is contained in:
committed by
Pedro M. Baeza
parent
e259028623
commit
21df00169e
17
base_external_system/demo/external_system_os_demo.xml
Executable file
17
base_external_system/demo/external_system_os_demo.xml
Executable file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright 2017 LasLabs Inc.
|
||||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
|
||||
-->
|
||||
|
||||
<odoo>
|
||||
|
||||
<record id="external_system_os" model="external.system.os">
|
||||
<field name="name">Example OS Connection</field>
|
||||
<field name="system_type">external.system.os</field>
|
||||
<field name="remote_path">/tmp</field>
|
||||
<field name="company_ids" eval="[(5, 0), (4, ref('base.main_company'))]" />
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user