[DATA] +attachements storage in filesystem
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 17 Jan 2017 10:29:25 +0000 (11:29 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 17 Jan 2017 10:29:25 +0000 (11:29 +0100)
__openerp__.py
data/document.xml [new file with mode: 0644]

index fa0f732..c5117d6 100644 (file)
@@ -43,6 +43,7 @@ It installs the profile for bike co-ops to manage some features like:
     ],
     'update_xml': [
         'data/base.xml',
+        'data/document.xml',
         'data/point_of_sale.xml',
         'data/sale.xml',
         'data/stock.xml',
diff --git a/data/document.xml b/data/document.xml
new file mode 100644 (file)
index 0000000..2083637
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+        <record id="filestore" model="ir.config_parameter">
+            <field name="key">ir_attachment.location</field>
+            <field name="value">file:///filestore</field>
+        </record>
+    </data>
+</openerp>