Browse Source

flake 8

pull/1458/head
MonsieurB 6 years ago
parent
commit
8e7cbba98d
  1. 4
      onchange_helper/models/base.py

4
onchange_helper/models/base.py

@ -2,9 +2,9 @@
# Copyright 2016-2017 Camptocamp (http://www.camptocamp.com/) # Copyright 2016-2017 Camptocamp (http://www.camptocamp.com/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import api, models from odoo import api, models
class Base(models.AbstractModel): class Base(models.AbstractModel):
_inherit = 'base' _inherit = 'base'
@ -47,5 +47,3 @@ class Base(models.AbstractModel):
f: v for f, v in all_values.items() f: v for f, v in all_values.items()
if not self._fields[f].compute if not self._fields[f].compute
and (f in values or f in new_values)} and (f in values or f in new_values)}
Loading…
Cancel
Save