mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-18 03:32:03 +02:00
Initial commit: Technical packages
This commit is contained in:
commit
3473fa71a0
873 changed files with 297766 additions and 0 deletions
45
odoo-bringout-oca-ocb-iap_crm/README.md
Normal file
45
odoo-bringout-oca-ocb-iap_crm/README.md
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# IAP / CRM
|
||||
|
||||
Bridge between IAP and CRM
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-iap_crm
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- crm
|
||||
- iap_mail
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: IAP / CRM
|
||||
- **Version**: 1.0
|
||||
- **Category**: Hidden/Tools
|
||||
- **License**: LGPL-3
|
||||
- **Installable**: True
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/OCB](https://github.com/OCA/OCB) branch 16.0, addon `iap_crm`.
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original LGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.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
|
||||
32
odoo-bringout-oca-ocb-iap_crm/doc/ARCHITECTURE.md
Normal file
32
odoo-bringout-oca-ocb-iap_crm/doc/ARCHITECTURE.md
Normal 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 Iap_crm Module - iap_crm
|
||||
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.
|
||||
3
odoo-bringout-oca-ocb-iap_crm/doc/CONFIGURATION.md
Normal file
3
odoo-bringout-oca-ocb-iap_crm/doc/CONFIGURATION.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for iap_crm. Configure related models, access rights, and options as needed.
|
||||
3
odoo-bringout-oca-ocb-iap_crm/doc/CONTROLLERS.md
Normal file
3
odoo-bringout-oca-ocb-iap_crm/doc/CONTROLLERS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
6
odoo-bringout-oca-ocb-iap_crm/doc/DEPENDENCIES.md
Normal file
6
odoo-bringout-oca-ocb-iap_crm/doc/DEPENDENCIES.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- [crm](../../odoo-bringout-oca-ocb-crm)
|
||||
- [iap_mail](../../odoo-bringout-oca-ocb-iap_mail)
|
||||
4
odoo-bringout-oca-ocb-iap_crm/doc/FAQ.md
Normal file
4
odoo-bringout-oca-ocb-iap_crm/doc/FAQ.md
Normal 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 iap_crm or install in UI.
|
||||
7
odoo-bringout-oca-ocb-iap_crm/doc/INSTALL.md
Normal file
7
odoo-bringout-oca-ocb-iap_crm/doc/INSTALL.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-ocb-iap_crm"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-ocb-iap_crm"
|
||||
```
|
||||
12
odoo-bringout-oca-ocb-iap_crm/doc/MODELS.md
Normal file
12
odoo-bringout-oca-ocb-iap_crm/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in iap_crm.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class crm_lead
|
||||
```
|
||||
|
||||
Notes
|
||||
- Classes show model technical names; fields omitted for brevity.
|
||||
- Items listed under _inherit are extensions of existing models.
|
||||
6
odoo-bringout-oca-ocb-iap_crm/doc/OVERVIEW.md
Normal file
6
odoo-bringout-oca-ocb-iap_crm/doc/OVERVIEW.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: iap_crm. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon iap_crm
|
||||
- License: LGPL-3
|
||||
3
odoo-bringout-oca-ocb-iap_crm/doc/REPORTS.md
Normal file
3
odoo-bringout-oca-ocb-iap_crm/doc/REPORTS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Reports
|
||||
|
||||
This module does not define custom reports.
|
||||
8
odoo-bringout-oca-ocb-iap_crm/doc/SECURITY.md
Normal file
8
odoo-bringout-oca-ocb-iap_crm/doc/SECURITY.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Security
|
||||
|
||||
This module does not define custom security rules or access controls beyond Odoo defaults.
|
||||
|
||||
Default Odoo security applies:
|
||||
- Base user access through standard groups
|
||||
- Model access inherited from dependencies
|
||||
- No custom row-level security rules
|
||||
5
odoo-bringout-oca-ocb-iap_crm/doc/TROUBLESHOOTING.md
Normal file
5
odoo-bringout-oca-ocb-iap_crm/doc/TROUBLESHOOTING.md
Normal 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.
|
||||
7
odoo-bringout-oca-ocb-iap_crm/doc/USAGE.md
Normal file
7
odoo-bringout-oca-ocb-iap_crm/doc/USAGE.md
Normal 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 iap_crm
|
||||
```
|
||||
3
odoo-bringout-oca-ocb-iap_crm/doc/WIZARDS.md
Normal file
3
odoo-bringout-oca-ocb-iap_crm/doc/WIZARDS.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
4
odoo-bringout-oca-ocb-iap_crm/iap_crm/__init__.py
Normal file
4
odoo-bringout-oca-ocb-iap_crm/iap_crm/__init__.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import models
|
||||
18
odoo-bringout-oca-ocb-iap_crm/iap_crm/__manifest__.py
Normal file
18
odoo-bringout-oca-ocb-iap_crm/iap_crm/__manifest__.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
|
||||
{
|
||||
'name': "IAP / CRM",
|
||||
'summary': """Bridge between IAP and CRM""",
|
||||
'description': """Bridge between IAP and CRM""",
|
||||
'category': 'Hidden/Tools',
|
||||
'version': '1.0',
|
||||
'depends': [
|
||||
'crm',
|
||||
'iap_mail',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
26
odoo-bringout-oca-ocb-iap_crm/iap_crm/i18n/bs.po
Normal file
26
odoo-bringout-oca-ocb-iap_crm/iap_crm/i18n/bs.po
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * iap_crm
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-06 13:31+0000\n"
|
||||
"PO-Revision-Date: 2024-02-06 13:31+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: iap_crm
|
||||
#: model:ir.model,name:iap_crm.model_crm_lead
|
||||
msgid "Lead/Opportunity"
|
||||
msgstr "Potencijal/Prilika"
|
||||
|
||||
#. module: iap_crm
|
||||
#: model:ir.model.fields,field_description:iap_crm.field_crm_lead__reveal_id
|
||||
msgid "Reveal ID"
|
||||
msgstr "Otkrij ID"
|
||||
26
odoo-bringout-oca-ocb-iap_crm/iap_crm/i18n/iap_crm.pot
Normal file
26
odoo-bringout-oca-ocb-iap_crm/iap_crm/i18n/iap_crm.pot
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * iap_crm
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-06 13:31+0000\n"
|
||||
"PO-Revision-Date: 2024-02-06 13:31+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: iap_crm
|
||||
#: model:ir.model,name:iap_crm.model_crm_lead
|
||||
msgid "Lead/Opportunity"
|
||||
msgstr ""
|
||||
|
||||
#. module: iap_crm
|
||||
#: model:ir.model.fields,field_description:iap_crm.field_crm_lead__reveal_id
|
||||
msgid "Reveal ID"
|
||||
msgstr ""
|
||||
4
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/__init__.py
Normal file
4
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/__init__.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import crm_lead
|
||||
13
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/crm_lead.py
Normal file
13
odoo-bringout-oca-ocb-iap_crm/iap_crm/models/crm_lead.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class Lead(models.Model):
|
||||
_inherit = 'crm.lead'
|
||||
|
||||
reveal_id = fields.Char(string='Reveal ID') # Technical ID of reveal request done by IAP
|
||||
|
||||
def _merge_get_fields(self):
|
||||
return super(Lead, self)._merge_get_fields() + ['reveal_id']
|
||||
43
odoo-bringout-oca-ocb-iap_crm/pyproject.toml
Normal file
43
odoo-bringout-oca-ocb-iap_crm/pyproject.toml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-ocb-iap_crm"
|
||||
version = "16.0.0"
|
||||
description = "IAP / CRM - Bridge between IAP and CRM"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-crm>=16.0.0",
|
||||
"odoo-bringout-oca-ocb-iap_mail>=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 = ["iap_crm"]
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = [
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue