Browse Source

flake 8

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

6
onchange_helper/models/base.py

@ -2,9 +2,9 @@
# Copyright 2016-2017 Camptocamp (http://www.camptocamp.com/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import api, models
class Base(models.AbstractModel):
_inherit = 'base'
@ -46,6 +46,4 @@ class Base(models.AbstractModel):
return {
f: v for f, v in all_values.items()
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