Initial commit: Odoomates Odoo packages (12 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:49:21 +02:00
commit 3b38c49bf0
526 changed files with 34983 additions and 0 deletions

View file

@ -0,0 +1,46 @@
# Task Check List
Evaluate task completion on the basis of checklists
## Installation
```bash
pip install odoo-bringout-odoomates-task_check_list
```
## Dependencies
This addon depends on:
- project
## Manifest Information
- **Name**: Task Check List
- **Version**: 1.0.0
- **Category**: Project
- **License**: LGPL-3
- **Installable**: True
## Source
Custom addon from bringout-odoomates vendor, addon `task_check_list`.
## License
This package maintains the original LGPL-3 license from the addon.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Reports: doc/REPORTS.md
- Security: doc/SECURITY.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Task_check_list Module - task_check_list
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for task_check_list. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [project](../../odoo-bringout-oca-ocb-project)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon task_check_list or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-odoomates-task_check_list"
# or
uv pip install odoo-bringout-odoomates-task_check_list"
```

View file

@ -0,0 +1,13 @@
# Models
Detected core models and extensions in task_check_list.
```mermaid
classDiagram
class task_checklist
class project_task
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: task_check_list. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon task_check_list
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,34 @@
# Security
Access control and security definitions in task_check_list.
## Access Control Lists (ACLs)
Model access permissions defined in:
- **[ir.model.access.csv](../task_check_list/security/ir.model.access.csv)**
- 1 model access rules
## Record Rules
Row-level security rules defined in:
```mermaid
graph TB
subgraph "Security Layers"
A[Users] --> B[Groups]
B --> C[Access Control Lists]
C --> D[Models]
B --> E[Record Rules]
E --> F[Individual Records]
end
```
Security files overview:
- **[ir.model.access.csv](../task_check_list/security/ir.model.access.csv)**
- Model access permissions (CRUD rights)
Notes
- Access Control Lists define which groups can access which models
- Record Rules provide row-level security (filter records by user/group)
- Security groups organize users and define permission sets
- All security is enforced at the ORM level by Odoo

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon task_check_list
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-odoomates-task_check_list"
version = "16.0.0"
description = "Task Check List - Checklist for Task Completion"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-ocb-project>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["task_check_list"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]

View file

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
###################################################################################
# Odoo Mates
# Copyright (C) 2019-TODAY Odoo Mates.
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from . import models

View file

@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
{
'name': 'Task Check List',
'version': '1.0.0',
'summary': """Checklist for Task Completion""",
'description': """Evaluate task completion on the basis of checklists""",
'category': 'Project',
'author': 'Odoo Mates',
'company': 'Odoo Mates',
'maintainer': 'Odoo Mates',
'website': 'http://odoomates.tech',
'depends': ['project'],
'live_test_url': 'https://www.youtube.com/watch?v=bEhhlB2dNT0',
'data': [
'security/ir.model.access.csv',
'views/project_task_view.xml',
'views/task_checklist_view.xml',
],
'demo': [
'demo/checklist_demo.xml'
],
'images': ['static/description/banner.jpg'],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="task_check_list1" model="task.checklist">
<field name="name">Analysis</field>
<field name="description">Analysing the entire process</field>
</record>
<record id="task_check_list2" model="task.checklist">
<field name="name">Planning</field>
<field name="description">Well Planning</field>
</record>
<record id="task_check_list3" model="task.checklist">
<field name="name">Designing</field>
<field name="description">Apt design</field>
</record>
<record id="task_check_list4" model="task.checklist">
<field name="name">Implementation</field>
<field name="description">Strategic Implementation</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,7 @@
## Module <task_check_list>
#### 10.12.2021
#### Version 15.0.1.0.0
##### ADD
- initial commit

View file

@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import task_check_list

View file

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
from odoo import models, fields, api
class ProjectTask(models.Model):
_inherit = 'project.task'
@api.depends('task_checklist')
def checklist_progress(self):
total_len = self.env['task.checklist'].search_count([])
for rec in self:
if total_len != 0:
check_list_len = len(rec.task_checklist)
rec.checklist_progress = (check_list_len * 100) / total_len
else:
rec.checklist_progress = 0
task_checklist = fields.Many2many('task.checklist', string='Check List')
checklist_progress = fields.Float(compute=checklist_progress, string='Progress', store=True,
default=0.0)
max_rate = fields.Integer(string='Maximum rate', default=100)
class TaskChecklist(models.Model):
_name = 'task.checklist'
_description = 'Checklist for the task'
name = fields.Char(string='Name', required=True)
description = fields.Char(string='Description')

View file

@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_task_checklist,access_task_checklist,model_task_checklist,base.group_user,1,1,1,
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_task_checklist access_task_checklist model_task_checklist base.group_user 1 1 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -0,0 +1,98 @@
<section class="oe_container oe_dark">
<div class="col-md-12">
<h2 class="oe_slogan" style="font-size: 35px;color:#2C0091"><b>Task Check List</b></h2>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align:center;">
<h1 style=" text-align: center;">
<span align="center" style="color:#148963;">
<span class="fa fa-star fa-spin">
</span>
Features:</span>
</h1>
<p class="fa fa-hand-o-right" style="color:CRIMSON;font-size: 25px;">
<span style="color:#2dd280;font-size: 15px;">Manage checklist for tasks.</span>
</p><br/>
<p class="fa fa-hand-o-right" style="color:CRIMSON;font-size: 25px;">
<span style="color:#2dd280;font-size: 15px;">Track progress of task using checklist completion.</span>
</p><br/>
</div>
<br/>
</div>
</section>
<p style="text-align:center;"><a target="_blank" href="https://www.gnu.org/licenses/agpl-3.0"><img src="https://img.shields.io/badge/License-AGPL%20v3-blue.svg" alt="License: AGPL v3"></a><br>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_centeralign oe_websiteonly">
<h4 class="oe_slogan"><a href="https://www.youtube.com/watch?v=bEhhlB2dNT0" target="_blank" style="color: #FFFFFF !important; border-radius: 0; background-color: #9c676e; border-color: #005ca7; padding: 15px; font-weight: bold;">
<i class="fa fa-youtube"></i>
Watch on YouTube
</a></h4>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h3 class="oe_slogan" style="color:olive;">Checklist Configuration</h3>
<div class="oe_demo oe_picture oe_screenshot">
<img src="task_check_list_1.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="task_check_list_2.png">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h3 class="oe_slogan" style="color:olive;">Task checklist</h3>
<div class="oe_demo oe_picture oe_screenshot">
<img src="task_check_list_3.png">
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h3 class="oe_slogan" style="color:olive;">Task Kanban</h3>
<div class="oe_demo oe_picture oe_screenshot">
<img src="task_check_list_4.png">
</div>
</div>
</section>
<hr style="width: 100%;height: 4px;background: #2C0091;margin: 0px 0px;">
<hr style="width: 100%;height: 4px;background: #148963;margin: 0px 0px;">
<section class="oe_container oe_dark">
<div class="oe_row ">
<div class="oe_slogan text-center">
<img src="odoo_mates.png"/>
<div style="color:#269900;">
<h3 style="color:#2C0091;font-size: 25px;">If you need any help or want more features, just contact us:</h3><br>
<h3 style="color:#2C0091;font-size: 20px;">Email: <a href="odoomates@gmail.com">odoomates@gmail.com</a> <br></h3>
</div>
<div class="oe_slogan">
<h2>
<a target="_blank" href="https://www.facebook.com/odoomate/" target="new">
<i class="fa fa-facebook-square" style="font-size:38px;"></i>
</a>
<a target="_blank" href="https://twitter.com/odoomates/" target="new">
<i class="fa fa-twitter" style="font-size:38px;"></i>
</a>
<a href="#" target="_blank">
<i class="fa fa-linkedin" style="font-size:38px;"></i>
</a>
<a target="_blank" href="https://www.youtube.com/channel/UCVKlUZP7HAhdQgs-9iTJklQ">
<i class="fa fa-youtube-play" style="font-size:38px;"></i>
</a>
</h2>
</div>
</div>
</div>
</section>
<hr style="width: 100%;height: 4px;background: #148963;margin: 0px 0px;">
<hr style="width: 100%;height: 4px;background: #2C0091;margin: 0px 0px;">

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

View file

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.ui.view" id="view_task_form2_inherit_form_view">
<field name="name">project.task.form.view</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="arch" type="xml">
<page name="extra_info" position="after">
<page name="checklist" string="Checklist">
<group>
<group string="Checklist">
<field name="task_checklist" widget="many2many_checkboxes"/>
</group>
<group string="Completed">
<field name="checklist_progress" widget="percentpie"/>
</group>
</group>
</page>
</page>
</field>
</record>
<record model="ir.ui.view" id="view_task_tree2_inherit_tree_view">
<field name="name">project.task.tree.view</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_tree2"/>
<field name="arch" type="xml">
<field name="stage_id" position="before">
<field name="checklist_progress" widget="progressbar"/>
</field>
</field>
</record>
<record model="ir.ui.view" id="view_task_kanban_inherit">
<field name="name">project.task</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_kanban"/>
<field name="arch" type="xml">
<xpath expr="//templates" position="before">
<field name="checklist_progress"/>
<field name="max_rate"/>
</xpath>
<xpath expr="//field[@name='project_id']" position="after">
<li>
<field name="checklist_progress" widget="gauge"
options="{'max_field': 'max_rate', 'style': 'width:160px; height: 120px;'}">
</field>
</li>
</xpath>
</field>
</record>
</odoo>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_task_checklist" model="ir.actions.act_window">
<field name="name">Task Checklist</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">task.checklist</field>
<field name="view_mode">tree,form</field>
<field name="domain">[]</field>
<field name="context">{}</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create New Checklist
</p>
</field>
</record>
<menuitem id="task_check_list_menu"
name="Task Checklist"
parent="project.menu_project_config"
sequence="3"
action="action_task_checklist"/>
</odoo>