Skip to content

Commit

Permalink
Modify attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpurnell1 committed Sep 30, 2024
1 parent 24765b3 commit 5e8a85d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion estate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Estate", # The name that will appear in the App list
"version": "17.0.0.11", # Version
"version": "17.0.0.12", # Version
"application": True, # This line says the module is an App, and not a module
"depends": ["base"], # dependencies
"data": [
Expand Down
4 changes: 2 additions & 2 deletions estate/models/estate_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ class EstateProperty(models.Model):
name = fields.Char(required=True)
description = fields.Text()
postcode = fields.Char()
date_availability = fields.Date()
date_availability = fields.Date(copy=False)
expected_price = fields.Float(required=True)
selling_price = fields.Float()
selling_price = fields.Float(readonly=True, copy=False)
bedrooms = fields.Integer()
living_area = fields.Integer()
facades = fields.Integer()
Expand Down
2 changes: 1 addition & 1 deletion estate/views/estate_property_views.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<odoo>
<record id="estate_property_action" model="ir.actions.act_window">
<field name="name">Test Action</field>
<field name="name">Properties</field>
<field name="res_model">estate.property</field>
<field name="view_mode">list,form</field>
</record>
Expand Down

0 comments on commit 5e8a85d

Please sign in to comment.