Skip to content

Commit e97a713

Browse files
author
raibr
committed
[IMP] estate: Implement salesperson management and link to properties
1 parent f073fa7 commit e97a713

File tree

22 files changed

+93
-63
lines changed

22 files changed

+93
-63
lines changed

awesome_clicker/__manifest__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "Awesome Clicker",
4-
53
'summary': """
64
Starting module for "Master the Odoo web framework, chapter 1: Build a Clicker game"
75
""",
8-
96
'description': """
107
Starting module for "Master the Odoo web framework, chapter 1: Build a Clicker game"
118
""",
12-
139
'author': "Odoo",
1410
'website': "https://www.odoo.com/",
1511
'category': 'Tutorials',
1612
'version': '0.1',
1713
'application': True,
1814
'installable': True,
1915
'depends': ['base', 'web'],
20-
2116
'data': [],
2217
'assets': {
2318
'web.assets_backend': [
2419
'awesome_clicker/static/src/**/*',
2520
],
26-
2721
},
28-
'license': 'AGPL-3'
22+
'license': 'AGPL-3',
2923
}

awesome_dashboard/__manifest__.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "Awesome Dashboard",
4-
53
'summary': """
64
Starting module for "Discover the JS framework, chapter 2: Build a dashboard"
75
""",
8-
96
'description': """
107
Starting module for "Discover the JS framework, chapter 2: Build a dashboard"
118
""",
12-
139
'author': "Odoo",
1410
'website': "https://www.odoo.com/",
1511
'category': 'Tutorials',
1612
'version': '0.1',
1713
'application': True,
1814
'installable': True,
1915
'depends': ['base', 'web', 'mail', 'crm'],
20-
2116
'data': [
2217
'views/views.xml',
2318
],
@@ -26,5 +21,5 @@
2621
'awesome_dashboard/static/src/**/*',
2722
],
2823
},
29-
'license': 'AGPL-3'
24+
'license': 'AGPL-3',
3025
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from . import controllers
1+
from . import controllers

awesome_dashboard/controllers/controllers.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
import logging
42
import random
53

@@ -8,6 +6,7 @@
86

97
logger = logging.getLogger(__name__)
108

9+
1110
class AwesomeDashboard(http.Controller):
1211
@http.route('/awesome_dashboard/statistics', type='jsonrpc', auth='user')
1312
def get_statistics(self):
@@ -31,6 +30,5 @@ def get_statistics(self):
3130
's': random.randint(0, 150),
3231
'xl': random.randint(0, 150),
3332
},
34-
'total_amount': random.randint(100, 1000)
33+
'total_amount': random.randint(100, 1000),
3534
}
36-

awesome_gallery/__manifest__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "Gallery View",
43
'summary': """
54
Starting module for "Master the Odoo web framework, chapter 3: Create a Gallery View"
65
""",
7-
86
'description': """
97
Starting module for "Master the Odoo web framework, chapter 3: Create a Gallery View"
108
""",
11-
129
'version': '0.1',
1310
'application': True,
1411
'category': 'Tutorials',
@@ -23,5 +20,5 @@
2320
],
2421
},
2522
'author': 'Odoo S.A.',
26-
'license': 'AGPL-3'
23+
'license': 'AGPL-3',
2724
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# -*- coding: utf-8 -*-
21
from odoo import fields, models
32

43

54
class ActWindowView(models.Model):
65
_inherit = 'ir.actions.act_window.view'
76

8-
view_mode = fields.Selection(selection_add=[
9-
('gallery', "Awesome Gallery")
10-
], ondelete={'gallery': 'cascade'})
7+
view_mode = fields.Selection(selection_add=[('gallery', "Awesome Gallery")], ondelete={'gallery': 'cascade'})

awesome_kanban/__manifest__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "Awesome Kanban",
43
'summary': """
54
Starting module for "Master the Odoo web framework, chapter 4: Customize a kanban view"
65
""",
7-
86
'description': """
97
Starting module for "Master the Odoo web framework, chapter 4: Customize a kanban view.
108
""",
11-
129
'version': '0.1',
1310
'application': True,
1411
'category': 'Tutorials',
@@ -23,5 +20,5 @@
2320
],
2421
},
2522
'author': 'Odoo S.A.',
26-
'license': 'AGPL-3'
23+
'license': 'AGPL-3',
2724
}

awesome_owl/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from . import controllers
1+
from . import controllers

awesome_owl/__manifest__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "Awesome Owl",
4-
53
'summary': """
64
Starting module for "Discover the JS framework, chapter 1: Owl components"
75
""",
8-
96
'description': """
107
Starting module for "Discover the JS framework, chapter 1: Owl components"
118
""",
12-
139
'author': "Odoo",
1410
'website': "https://www.odoo.com",
15-
1611
# Categories can be used to filter modules in modules listing
1712
# Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml
1813
# for the full list
1914
'category': 'Tutorials',
2015
'version': '0.1',
21-
2216
# any module necessary for this one to work correctly
2317
'depends': ['base', 'web'],
2418
'application': True,
@@ -39,5 +33,5 @@
3933
'awesome_owl/static/src/**/*',
4034
],
4135
},
42-
'license': 'AGPL-3'
36+
'license': 'AGPL-3',
4337
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
# -*- coding: utf-8 -*-
2-
3-
from . import controllers
1+
from . import controllers

0 commit comments

Comments
 (0)