Skip to content

Commit

Permalink
Merge pull request #288 from akretion/14.0-fix-module_analysis_price
Browse files Browse the repository at this point in the history
14.0 fix module analysis price
  • Loading branch information
sebastienbeau authored Jan 14, 2024
2 parents 3d8250a + 5a40719 commit 2fb9ea3
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 2fb9ea3

Please sign in to comment.