minor fix

This commit is contained in:
KevinMendez01 2021-01-29 14:46:09 -05:00
parent 444770b1b3
commit 5e4d8b292e
2 changed files with 6 additions and 6 deletions

View File

@ -685,11 +685,11 @@ class BookingLine(ModelSQL, ModelView):
'occupied_room': ('The room is occupied in the date %s'),
'restring_room': ('The room %s is in restring access for quarantine protocolo!'),
})
cls._buttons.update({
'create_guest': {
},
)
# cls._buttons.update({
# 'create_guest': {
#
# }
# )
@classmethod
def write(cls, *args):

View File

@ -85,7 +85,7 @@ class Operation(Workflow, ModelSQL, ModelView):
states=STATES_OP)
accommodation = fields.Many2One('product.product', 'Accommodation Product',
domain=[('kind', '=', 'accommodation')], states=STATES_OP)
start_date = fields.Date('Arrival Date', states=STATES_OP, required=True, readonly=True)
start_date = fields.Date('Arrival Date', states=STATES_OP)
end_date = fields.Date('Departure Date', states=STATES_OP)
description = fields.Char('Description', states=STATES_OP)
state = fields.Selection(OPERATION_STATES, 'State', readonly=True)