Precommit V14

This commit is contained in:
Darío Lodeiros
2020-10-21 12:54:21 +02:00
parent a2ead12060
commit 9554737792
50 changed files with 740 additions and 458 deletions

View File

@@ -2,8 +2,7 @@
# Copyright 2019 Dario Lodeiros
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import _, models
from odoo.exceptions import MissingError
from odoo import models
from odoo.http import request
@@ -21,7 +20,8 @@ class IrHttp(models.AbstractModel):
user.pms_property_id.id,
user.pms_property_id.name,
),
# TODO: filter all properties based on the current set of active companies
# TODO: filter all properties based on
# the current set of active companies
"allowed_pms_properties": [
(property.id, property.name)
for property in user.pms_property_ids