Skip to content

Commit 2703918

Browse files
committed
[FIX] estate : estate_account had import error
-Fixed path of estate_account module.
1 parent df39f15 commit 2703918

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

estate/__manifest__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@
1313
'views/estate_property_tag_views.xml',
1414
'views/estate_menus.xml'
1515
],
16-
1716
}

estate/estate_account/models/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

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

estate/estate_account/models/estate_property.py renamed to estate_account/models/estate_property.py

Lines changed: 2 additions & 2 deletions
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 action_sold(self):
88
self.env['account.move'].create({
@@ -13,7 +13,7 @@ def action_sold(self):
1313
{
1414
"name": "selling price commission (6%)",
1515
"quantity": 1,
16-
"price_unit": self.selling_price * 0.06 ,
16+
"price_unit": self.selling_price * 0.06,
1717
}
1818
),
1919
Command.create(

0 commit comments

Comments
 (0)