Skip to content

Commit 060a02e

Browse files
committed
[ADD] bacula2_crm: модуль для клиента
1 parent 8905e3e commit 060a02e

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed

bacula2_crm/README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
======================================
2+
CRM modifications for Bacula Systems
3+
======================================
4+
5+
* Adds tracking for following Lead/Opportunity fields

bacula2_crm/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models

bacula2_crm/__manifest__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": """CRM modifications for Bacula Systems""",
3+
"version": "16.0.0.1.0",
4+
"author": "IT-Projects LLC, Eugene Molotov",
5+
"support": "it@it-projects.info",
6+
"website": "https://github.com/it-projects-llc/bacula-addons",
7+
"license": "LGPL-3",
8+
"depends": [
9+
"crm",
10+
],
11+
"data": [],
12+
"demo": [],
13+
}

bacula2_crm/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import crm_lead

bacula2_crm/models/crm_lead.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from odoo import fields, models
2+
3+
4+
class Lead(models.Model):
5+
_inherit = "crm.lead"
6+
7+
date_closed = fields.Datetime(tracking=True)

bacula2_crm/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"

0 commit comments

Comments
 (0)