Skip to content

Commit bfee85e

Browse files
committed
Merge branch '19.0-onboarding-waoun' of github.com:odoo-dev/tutorials into 19.0-onboarding-waoun
2 parents 2ff7967 + 6fa131b commit bfee85e

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
@@ -10,6 +10,7 @@ class Estateproperty(models.Model):
1010

1111
name = fields.Char('Title', required=True)
1212
description = fields.Text('Description', required=True)
13+
notes = fields.Html()
1314
postcode = fields.Char('Postcode', required=True)
1415
date_availability = fields.Date('Available From', copy=False, default=fields.Datetime.now() + relativedelta(months=3))
1516
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
@@ -90,6 +90,9 @@
9090
<field name="offer_ids"/>
9191
</group>
9292
</page>
93+
<page name="notes" string="Notes">
94+
<field name="notes"/>
95+
</page>
9396
<page string="Other Info">
9497
<group>
9598
<field name="salesperson"/>

0 commit comments

Comments
 (0)