forked from shopinvader/odoo-shopinvader
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shopinvader_product_brand: fix compute url
- Loading branch information
1 parent
9a013b0
commit a675ed9
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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): | ||
|
@@ -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() |