Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions server_management/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
=================
Server Management
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:271d636bec6addd8426db81ec2bbaaa82201ec7c4808bb16d6d0571b9cf53081
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Fqrtl--custom-lightgray.png?logo=github
:target: https://github.com/qrtl/qrtl-custom/tree/16.0/server_management
:alt: qrtl/qrtl-custom

|badge1| |badge2| |badge3|

This module is used to store server information.

Note: It does not interact with the servers in any way.

**Table of contents**

.. contents::
:local:

Usage
=====

To create server tags:

- Go to Server Management → Server Management → Server Tags.
- Create the tags you need.

To create server records:

- Go to Server Management → Server Management → Servers.
- Create a new record and enter the server information.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/qrtl/qrtl-custom/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/qrtl/qrtl-custom/issues/new?body=module:%20server_management%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Quartile

Maintainers
-----------

This module is part of the `qrtl/qrtl-custom <https://github.com/qrtl/qrtl-custom/tree/16.0/server_management>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions server_management/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions server_management/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2025 QWartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Server Management",
"category": "Tools",
"version": "16.0.1.0.0",
"author": "Quartile",
"website": "https://www.quartile.co",
"license": "AGPL-3",
"depends": ["base"],
"data": [
"security/ir.model.access.csv",
"views/server_tag_views.xml",
"views/server_server_views.xml",
"views/menuitem_views.xml",
],
"installable": True,
}
2 changes: 2 additions & 0 deletions server_management/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import server_server
from . import server_tag
16 changes: 16 additions & 0 deletions server_management/models/server_server.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2025 Quartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl

from odoo import fields, models


class ServerServer(models.Model):
_name = "server.server"
_description = "Servers"

name = fields.Char(string="Server Name", required=True)
partner_id = fields.Many2one("res.partner", required=True)
url = fields.Char(required=True)
info = fields.Text(string="General Information")
tags = fields.Many2many("server.tag")
active = fields.Boolean(default=True)
12 changes: 12 additions & 0 deletions server_management/models/server_tag.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2025 Quartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl

from odoo import fields, models


class ServeTag(models.Model):
_name = "server.tag"
_description = "Server Category"

name = fields.Char(string="Tag Name", required=True)
color = fields.Integer(string="Color Index")
3 changes: 3 additions & 0 deletions server_management/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module is used to store server information.

Note: It does not interact with the servers in any way.
9 changes: 9 additions & 0 deletions server_management/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
To create server tags:

- Go to Server Management → Server Management → Server Tags.
- Create the tags you need.

To create server records:

- Go to Server Management → Server Management → Servers.
- Create a new record and enter the server information.
5 changes: 5 additions & 0 deletions server_management/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_server_server_user,server.server.user,model_server_server,base.group_user,1,0,0,0
access_server_tag_user,server.tag.user,model_server_tag,base.group_user,1,0,0,0
access_server_server_manager,server.server.manager,model_server_server,base.group_system,1,1,1,1
access_server_tag_manager,server.tag.manager,model_server_tag,base.group_system,1,1,1,1
Binary file added server_management/static/description/icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading