-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] shopinvader_search_engine_product_media: Allows to configure me…
…dia_data_url_strategy Add missing view to allows to set strategy to use when generating the url to a product media
- Loading branch information
Showing
6 changed files
with
22 additions
and
2 deletions.
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
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
Empty file.
3 changes: 3 additions & 0 deletions
3
shopinvader_search_engine_product_media/readme/newsfragments/1518.bugfix
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Allows to configure the strategy to apply to generate the url for a given media | ||
from the search engine backend form view. The field was declared on the model | ||
but not displayed on the form. This change adds the field to the form view. |
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
14 changes: 14 additions & 0 deletions
14
shopinvader_search_engine_product_media/views/se_backend.xml
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
|
||
<record id="se_backend_form_view" model="ir.ui.view"> | ||
<field name="model">se.backend</field> | ||
<field name="inherit_id" ref="connector_search_engine.se_backend_form_view" /> | ||
<field name="arch" type="xml"> | ||
<field name="backend_type" position="after"> | ||
<field name="media_data_url_strategy" /> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
</odoo> |