Files
pms/hotel_calendar/models/ir_actions_act_window_view.py
QS5ELkMu 8850cc90f5 [IMP] Moved calendar settings to res.users model (#56)
* [IMP] Moved calendar settings to res.users model

* [IMP] Added default colours
2018-11-10 17:32:05 +01:00

9 lines
321 B
Python

# Copyright 2018 Alexandre Díaz <dev@redneboa.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
class ActWindowView(models.Model):
_inherit = 'ir.actions.act_window.view'
view_mode = fields.Selection(selection_add=[('pms', "PMS"), ('mpms', 'Management PMS')])