[IMP] Views

This commit is contained in:
Darío Lodeiros
2021-03-21 19:21:07 +01:00
parent 7281496081
commit 8e7f68f2b9
9 changed files with 340 additions and 96 deletions

View File

@@ -4,16 +4,15 @@ from odoo import api, fields, models
class PmsCheckinPartner(models.Model):
_inherit = "pms.checkin.partner"
lastname = fields.Char(
"Last Name",
compute="_compute_lastname",
firstname = fields.Char(
"First Name",
compute="_compute_firstname",
store=True,
readonly=False,
)
firstname = fields.Char(
lastname = fields.Char(
"Last Name",
compute="_compute_firstname",
compute="_compute_lastname",
store=True,
readonly=False,
)