Skip to content

Commit

Permalink
module_analysis_price: add missing depends
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienbeau committed Jan 14, 2024
1 parent 3d8250a commit 5a40719
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module_analysis_price/models/ir_module_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).


from odoo import fields, models
from odoo import api, fields, models


class IrModuleModule(models.Model):
Expand All @@ -15,6 +15,7 @@ class IrModuleModule(models.Model):
store=True,
)

@api.depends("python_code_qty", "xml_code_qty", "js_code_qty")
def _compute_code_qty(self):
for record in self:
record.code_qty = (
Expand Down

0 comments on commit 5a40719

Please sign in to comment.