Skip to content

Commit

Permalink
mod_dep
Browse files Browse the repository at this point in the history
  • Loading branch information
fpodoo committed May 12, 2019
1 parent ba2e006 commit 6888bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odoo/addons/base/models/ir_module.py
Expand Up @@ -901,7 +901,7 @@ class ModuleDependency(models.Model):
module_id = fields.Many2one('ir.module.module', 'Module', ondelete='cascade')

# the module corresponding to the dependency, and its status
depend_id = fields.Many2one('ir.module.module', 'Dependency', compute='_compute_depend')
depend_id = fields.Many2one('ir.module.module', 'Dependency', compute='_compute_depend', store=True)

This comment has been minimized.

Copy link
@nhomar

nhomar May 12, 2019

Collaborator

just to let you know, in devel time, if you add a new dependency, and you set store=True you will probably face a problem with the updating process of the dependencies. Did you test such case?

state = fields.Selection(DEP_STATES, string='Status', compute='_compute_state')

@api.multi
Expand Down

0 comments on commit 6888bcf

Please sign in to comment.