From b2981705c5ca2f0f9a0d8735db63325332e9e450 Mon Sep 17 00:00:00 2001
From: Benjamin <Benjamin@MBP-de-Benj.(none)>
Date: Mon, 29 Jan 2018 12:03:27 +0100
Subject: [PATCH] fix erreur vues

---
 __manifest__.py             |  4 ++--
 data/ir_module_category.xml | 14 +++++++-------
 views/views.xml             |  6 +++---
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/__manifest__.py b/__manifest__.py
index be45d59..d9939ec 100644
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -22,11 +22,11 @@
     'license': 'AGPL-3',
     'depends': ['crm','account'],
     'data': [
+        'security/lefilament_dashboard_security.xml',
+        'security/ir.model.access.csv',
         'views/assets.xml',
         'views/views.xml',
         'views/schedule.xml',
-        'security/lefilament_dashboard_security.xml',
-        'security/ir.model.access.csv',
 	    'data/ir_module_category.xml'
     ],
     'qweb': [
diff --git a/data/ir_module_category.xml b/data/ir_module_category.xml
index 3a24e2e..c7e4878 100644
--- a/data/ir_module_category.xml
+++ b/data/ir_module_category.xml
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <odoo>
-
-  <record model="ir.module.category" id="module_category_dashboard">
-    <field name="name">Dashboard</field>
-    <field name="description">Show main company dashboard</field>
-    <field name="sequence">30</field>
-  </record>
-
+	<data>
+	  <record model="ir.module.category" id="module_category_dashboard">
+	    <field name="name">Dashboard</field>
+	    <field name="description">Show main company dashboard</field>
+	    <field name="sequence">30</field>
+	  </record>
+	</data>
 </odoo>
diff --git a/views/views.xml b/views/views.xml
index 9472844..7b3ee33 100644
--- a/views/views.xml
+++ b/views/views.xml
@@ -94,10 +94,10 @@
             <field name="name">Le Filament Dashboard Formview</field>
             <field name="model">lefilament.dashboard</field>
             <field name="arch" type="xml">
-                <header>
-                    <button string="MaJ Valeurs" type="object" name="dashboard_values" class="oe_highlight"/>
-                </header>
                 <form string="Liste des Mois">
+                    <header>
+                        <button string="MaJ Valeurs" type="object" name="dashboard_values" class="oe_highlight"/>
+                    </header>
                     <div class="container">
                         <div class="col-xs-12 tdb_form">
                             <h3>Mois</h3>
-- 
GitLab