Skip to content

Commit 8f2fa92

Browse files
committed
[IMP] estate: create new module estate account
created a new module to connect Real Estate with accounting features. create invoice when property sold
1 parent aaafc42 commit 8f2fa92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

estate/models/estate_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _onchange_garden(self):
6969
self.garden_orientation = 'north'
7070
else:
7171
self.garden_area = 0
72-
self.garden_orientation = None
72+
self.garden_orientation = False
7373

7474
def cancel_property(self):
7575
for record in self:

estate_account/models/estate_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
class EstateProperty(models.Model):
5-
_inherit="estate.property"
5+
_inherit = "estate.property"
66

77
def sold_property(self):
88
for record in self:

0 commit comments

Comments
 (0)