Skip to content

Commit

Permalink
[IMP] shopinvader_search_engine: StrictExtendableBaseModel is provide…
Browse files Browse the repository at this point in the history
…d by extendable_pydantic
  • Loading branch information
lmignon committed Oct 13, 2023
1 parent 80c4e4a commit 76526e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions shopinvader_search_engine/readme/newsfragments/1423.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Technical changes to import the *StrictExtendableBaseModel* from its new
location in the *extendable_pydantic* module.
2 changes: 1 addition & 1 deletion shopinvader_search_engine_image/schemas/image_data.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo.addons.extendable_fastapi.schemas import StrictExtendableBaseModel
from extendable_pydantic import StrictExtendableBaseModel


class ImageData(StrictExtendableBaseModel):
Expand Down
2 changes: 1 addition & 1 deletion shopinvader_search_engine_image/schemas/images_mixin.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from extendable_pydantic import StrictExtendableBaseModel
from pydantic import fields

from odoo.addons.extendable_fastapi.schemas import StrictExtendableBaseModel
from odoo.addons.search_engine_image_thumbnail.models.se_indexable_record import (
SeIndexableRecord,
)
Expand Down

0 comments on commit 76526e5

Please sign in to comment.