[FIX]pms: property get value review

This commit is contained in:
Darío Lodeiros
2021-03-06 09:58:47 +01:00
parent baba44290e
commit 05cec12b24
4 changed files with 6 additions and 17 deletions

View File

@@ -8,11 +8,6 @@ from odoo.http import request
class ResUsers(models.Model):
_inherit = "res.users"
# Default Methods ang Gets
@api.model
def _get_default_pms_property(self):
return self.env.user.pms_property_id
# Fields declaration
pms_property_id = fields.Many2one(
"pms.property",