Skip to content

Commit 6fa131b

Browse files
committed
[IMP] estate: Add notes.
1 parent 1d50e6a commit 6fa131b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

estate/models/estate_property.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Estateproperty(models.Model):
88

99
name = fields.Char('Title', required=True)
1010
description = fields.Text('Description', required=True)
11+
notes = fields.Html()
1112
postcode = fields.Char('Postcode', required=True)
1213
date_availability = fields.Date('Available From', copy=False, default=fields.Datetime.now() + relativedelta(months=3))
1314
expected_price = fields.Float('Expected Price', required=True)

estate/views/estate_property_views.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
<field name="offer_ids"/>
8787
</group>
8888
</page>
89+
<page name="notes" string="Notes">
90+
<field name="notes"/>
91+
</page>
8992
<page string="Other Info">
9093
<group>
9194
<field name="salesperson"/>

0 commit comments

Comments
 (0)