Skip to content

Commit

Permalink
[MIG] document_hosting: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Jan 25, 2024
1 parent 6848da5 commit 5ff9730
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion document_hosting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
""",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"website": "https://github.com/coopiteasy/addons",
"category": "Document",
"depends": ["base", "web", "website", "mail"],
Expand Down
11 changes: 9 additions & 2 deletions document_hosting/views/res_config_settings_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="website.res_config_settings_view_form" />
<field name="arch" type="xml">
<div id="webmaster_settings" position="inside">
<xpath expr="//div[@id='google_analytics_setting']/.." position="after">
<h2>Documents</h2>
<div
class="row mt16 o_settings_container"
id="document_hosting_settings"
attrs="{'invisible': [('website_id', '=', False)]}"
>
<div id="document_hosting" class="col-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="display_document_page" />
Expand All @@ -16,7 +22,8 @@
<label for="display_document_page" />
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>

0 comments on commit 5ff9730

Please sign in to comment.