mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
20 lines
566 B
Python
20 lines
566 B
Python
from odoo import fields, models
|
|
|
|
|
|
class PmsProperty(models.Model):
|
|
_inherit = "pms.property"
|
|
|
|
police_type = fields.Selection(
|
|
[
|
|
("guardia_civil", "Guardia Civil"),
|
|
("policia_nacional", "Policía Nacional"),
|
|
("ertxaintxa", "Ertxaintxa"),
|
|
("mossos", "Mossos_d'esquadra"),
|
|
],
|
|
string="Police Type",
|
|
default="guardia_civil",
|
|
)
|
|
police_number = fields.Char("Police Number", size=10)
|
|
police_user = fields.Char("Police User")
|
|
police_pass = fields.Char("Police Password")
|