minor fix
This commit is contained in:
parent
444770b1b3
commit
5e4d8b292e
10
booking.py
10
booking.py
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue