Skip to content

Commit 6ffae9b

Browse files
committed
[ADD] estate_account: Init
1 parent 5feba0e commit 6ffae9b

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

estate_account/__init__.py

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

estate_account/__manifest__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
'name': 'Estate Accounting',
3+
'license': 'LGPL-3',
4+
'version': '1.0',
5+
'depends': ['estate', 'account'],
6+
'author': 'Odoo S.A.',
7+
'category': 'Category',
8+
'description': """
9+
Real Estate Accounting module
10+
""",
11+
'application': True,
12+
'data': [
13+
],
14+
}

estate_account/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import estate_property
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from odoo import models
2+
3+
4+
class EstateProperty(models.Model):
5+
_inherit = 'estate.property'
6+
7+
def action_mark_as_sold(self):
8+
return super().action_mark_as_sold()

0 commit comments

Comments
 (0)