mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] Precommit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Copyright 2017 Dario Lodeiros
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import models, fields
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class RoomClosureReason(models.Model):
|
||||
@@ -8,10 +8,8 @@ class RoomClosureReason(models.Model):
|
||||
_description = "Cause of out of service"
|
||||
|
||||
# Fields declaration
|
||||
name = fields.Char('Name', translate=True, required=True)
|
||||
name = fields.Char("Name", translate=True, required=True)
|
||||
pms_property_ids = fields.Many2many(
|
||||
'pms.property',
|
||||
string='Properties',
|
||||
required=False,
|
||||
ondelete='restrict')
|
||||
description = fields.Text('Description', translate=True)
|
||||
"pms.property", string="Properties", required=False, ondelete="restrict"
|
||||
)
|
||||
description = fields.Text("Description", translate=True)
|
||||
|
||||
Reference in New Issue
Block a user