Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
acc_enedis_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Le Filament
Opération Auto-Consommation Collective
acc_enedis_api
Commits
e92bc8b7
Commit
e92bc8b7
authored
2 years ago
by
Juliana
Browse files
Options
Downloads
Patches
Plain Diff
[UPD]Review config views
parent
418b1c95
Branches
Branches containing commit
No related tags found
1 merge request
!2
[UPD]Review config views
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/res_config_settings_views.xml
+31
-55
31 additions, 55 deletions
views/res_config_settings_views.xml
with
31 additions
and
55 deletions
views/res_config_settings_views.xml
+
31
−
55
View file @
e92bc8b7
...
@@ -4,16 +4,10 @@
...
@@ -4,16 +4,10 @@
<record
id=
"res_config_settings_view_form"
model=
"ir.ui.view"
>
<record
id=
"res_config_settings_view_form"
model=
"ir.ui.view"
>
<field
name=
"name"
>
res.config.settings.view.form.inherit.app
</field>
<field
name=
"name"
>
res.config.settings.view.form.inherit.app
</field>
<field
name=
"model"
>
res.config.settings
</field>
<field
name=
"model"
>
res.config.settings
</field>
<field
name=
"inherit_id"
ref=
"
base
.res_config_settings_view_form"
/>
<field
name=
"inherit_id"
ref=
"
acc_operation
.res_config_settings_view_form"
/>
<field
name=
"arch"
type=
"xml"
>
<field
name=
"arch"
type=
"xml"
>
<xpath
expr=
"//div[hasclass('settings')]"
position=
"inside"
>
<xpath
expr=
"//div[@id='acc_settings_block']"
position=
"inside"
>
<div
<h2>
API Enedis
</h2>
class=
"app_settings_block"
data-string=
"ACC"
string=
"ACC"
data-key=
"acc_enedis_api"
>
<h2>
ACC
</h2>
<div
<div
class=
"row mt16 o_settings_container"
class=
"row mt16 o_settings_container"
id=
"acc_selection_settings"
id=
"acc_selection_settings"
...
@@ -28,6 +22,8 @@
...
@@ -28,6 +22,8 @@
<field
name=
"url_enedis"
/>
<field
name=
"url_enedis"
/>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-12 col-lg-6 o_setting_box"
id=
"api_enedis"
>
<div
class=
"o_setting_right_pane"
>
<div
class=
"o_setting_right_pane"
>
<label
string=
"API Autorisations URL"
for=
"url_auth"
/>
<label
string=
"API Autorisations URL"
for=
"url_auth"
/>
<div
class=
"text-muted"
>
<div
class=
"text-muted"
>
...
@@ -48,28 +44,8 @@
...
@@ -48,28 +44,8 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</xpath>
</xpath>
</field>
</field>
</record>
</record>
<record
id=
"action_acc_config_settings"
model=
"ir.actions.act_window"
>
<field
name=
"name"
>
Configuration
</field>
<field
name=
"type"
>
ir.actions.act_window
</field>
<field
name=
"res_model"
>
res.config.settings
</field>
<field
name=
"view_id"
ref=
"res_config_settings_view_form"
/>
<field
name=
"view_mode"
>
form
</field>
<field
name=
"target"
>
inline
</field>
<field
name=
"context"
>
{'module' : 'acc_enedis_api', 'bin_size': False}
</field>
</record>
<menuitem
id=
"menu_acc_general_settings"
name=
"Configuration"
parent=
"acc_operation.menu_acc_config"
sequence=
"0"
action=
"action_acc_config_settings"
groups=
"base.group_system"
/>
</odoo>
</odoo>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment