Skip to content

Commit

Permalink
shopinvader_product_brand: fix compute url
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienbeau committed Jul 4, 2024
1 parent 9a013b0 commit a675ed9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shopinvader_product_brand/models/shopinvader_brand.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @author Sébastien BEAU <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

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


class ShopinvaderBrand(models.Model):
Expand Down Expand Up @@ -36,5 +36,6 @@ class ShopinvaderBrand(models.Model):
)
]

@api.depends("record_id.name", "lang_id")
def _compute_automatic_url_key(self):
self._generic_compute_automatic_url_key()

0 comments on commit a675ed9

Please sign in to comment.