From b3706859604af59f27233dd2530fb6bc7e9f3da2 Mon Sep 17 00:00:00 2001
From: Benjamin <benjamin@le-filament.com>
Date: Tue, 24 Dec 2019 12:22:55 +0100
Subject: [PATCH] [MIG] Make module installable in v12

---
 README.rst                      | 13 ++++++++-----
 __manifest__.py                 | 15 +--------------
 views/lefilament_sales_view.xml |  2 +-
 3 files changed, 10 insertions(+), 20 deletions(-)

diff --git a/README.rst b/README.rst
index 099eca7..f08db28 100644
--- a/README.rst
+++ b/README.rst
@@ -10,22 +10,25 @@ Le Filament - Sales
 This module depends upon *sale* module.
 
 This module provides:
- - Updated quotation tree view to display untaxed amount instead of taxed amount
- - Updated sale order tree view to display untaxed amount instead of taxed amount
- - Updated sale order tree view to display amount that remains to be invoiced
+
+* Updated quotation tree view to display untaxed amount instead of taxed amount
+* Updated sale order tree view to display untaxed amount instead of taxed amount
+* Updated sale order tree view to display amount that remains to be invoiced
 
 
 Credits
 =======
 
-Contributors ------------
+Contributors
+------------
 
 * Benjamin Rivier <benjamin@le-filament.com>
 * Remi Cazenave <remi@le-filament.com>
 * Juliana Poudou <juliana@le-filament.com>
 
 
-Maintainer ----------
+Maintainer
+----------
 
 .. image:: https://le-filament.com/img/logo-lefilament.png
    :alt: Le Filament
diff --git a/__manifest__.py b/__manifest__.py
index f6c3591..9713ad7 100644
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -1,21 +1,8 @@
-# -*- coding: utf-8 -*-
 {
     'name': 'Le Filament - Sales',
-
     'summary': "Generic Sales views update by Le Filament",
-
-    'version': '10.0.1.0',
+    'version': '12.0.1.0',
     'license': 'AGPL-3',
-    'description': """
-    Module Sales Le Filament
-
-    This module depends upon *sale* module.
-
-    This module provides updated tree views :
-     - quotation to display untaxed amount instead of taxed amount
-     - sale order to display untaxed amount instead of taxed amount
-     - sale order to display amount that remains to be invoiced
-    """,
     'author': 'LE FILAMENT',
     'category': 'Sales',
     'depends': ['sale'],
diff --git a/views/lefilament_sales_view.xml b/views/lefilament_sales_view.xml
index ca6202e..2cd64bf 100644
--- a/views/lefilament_sales_view.xml
+++ b/views/lefilament_sales_view.xml
@@ -75,7 +75,7 @@
         <field name="name">sale.order.form.editable.list</field>
         <field name="model">sale.order</field>
         <field name="inherit_id" ref="sale.view_order_form"/>
-        <field name="groups_id" eval="[(4, ref('product.group_stock_packaging')), (4, ref('sale.group_mrp_properties'))]"/>
+        <field name="groups_id" eval="[(4, ref('product.group_stock_packaging'))]"/>
         <field name="arch" type="xml">
             <xpath expr="//field[@name='order_line']/tree" position="attributes">
                 <attribute name="editable"/>
-- 
GitLab