-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] estate: creates a new estate application module #231
base: 18.0
Are you sure you want to change the base?
Conversation
estate/data/res.country.state.csv
Outdated
@@ -0,0 +1,1766 @@ | |||
"id","country_id:id","name","code" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this file coming from??
estate/__manifest__.py
Outdated
'data': [ | ||
'security/ir.model.access.csv', # Add access rights | ||
'views/estate_property_views.xml', # Add the XML file | ||
|
||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'data': [ | |
'security/ir.model.access.csv', # Add access rights | |
'views/estate_property_views.xml', # Add the XML file | |
], | |
'data': [ | |
'security/ir.model.access.csv', | |
'views/estate_property_views.xml', | |
], |
estate/__init__.py
Outdated
@@ -0,0 +1,2 @@ | |||
from . import models | |||
from . import data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from . import data |
only import the folders that contain python files
estate/security/__init__.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file
estate/views/__init__.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file as well
estate/models/estate_property.py
Outdated
_order = "sequence" | ||
|
||
name = fields.Char('Property Name', required=True, translate=True) | ||
barn = fields.Char(string='Namei barn', required=True, translate=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this field???!!!
No description provided.