Skip to content

Commit 5f161e7

Browse files
committed
[ADD] Chapter 4
1 parent 7a16492 commit 5f161e7

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

estate/__manifest__.py

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,20 @@
1-
# -*- coding: utf-8 -*-
21
{
32
'name': "Estate",
4-
53
'summary': """
64
App module created specifically for the Server Framework 101 tutorial.
75
""",
8-
96
'description': """
107
App module created specifically for the Server Framework 101 tutorial.
118
""",
12-
139
'author': "Odoo",
1410
'website': "https://www.odoo.com",
15-
16-
# Categories can be used to filter modules in modules listing
17-
# Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml
18-
# for the full list
1911
'category': 'Tutorials',
2012
'version': '0.1',
21-
22-
# any module necessary for this one to work correctly
2313
'depends': ['base', 'web'],
2414
'application': True,
2515
'installable': True,
2616
'data': [
17+
'data/ir.model.access.csv',
2718
'views/templates.xml',
2819
],
29-
'assets': {
30-
'awesome_owl.assets_playground': [
31-
('include', 'web._assets_helpers'),
32-
('include', 'web._assets_backend_helpers'),
33-
'web/static/src/scss/pre_variables.scss',
34-
'web/static/lib/bootstrap/scss/_variables.scss',
35-
'web/static/lib/bootstrap/scss/_maps.scss',
36-
('include', 'web._assets_bootstrap'),
37-
('include', 'web._assets_core'),
38-
'web/static/src/libs/fontawesome/css/font-awesome.css',
39-
'awesome_owl/static/src/**/*',
40-
],
41-
},
42-
'license': 'AGPL-3'
43-
}
20+
}

estate/data/ir.model.access.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2+
estate.access_estate_property,access_estate_property,estate.model_estate_property,base.group_user,1,0,0,0

estate/models/estate_property.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
class EstatePropertyModel(models.Model):
44
_name = "estate_property"
55
_description = "Real Estate property database"
6-
76
name = fields.Char(required=True)
87
description = fields.Text()
98
postcode = fields.Char()

0 commit comments

Comments
 (0)