From aef215017907b3b437ebfe4eb0855c18cb22d644 Mon Sep 17 00:00:00 2001
From: "Laurent Mignon (aka lmi)" <laurent.mignon@acsone.eu>
Date: Mon, 19 Jan 2015 14:11:11 +0100
Subject: [PATCH] [IMP] let scaffold render files ending by .rst and .html

closes #4773
---
 openerp/cli/scaffold.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openerp/cli/scaffold.py b/openerp/cli/scaffold.py
index fdbcfb9e4fcc..dc6800d5de81 100644
--- a/openerp/cli/scaffold.py
+++ b/openerp/cli/scaffold.py
@@ -121,7 +121,7 @@ class template(object):
                 os.makedirs(destdir)
 
             with open(dest, 'wb') as f:
-                if ext not in ('.py', '.xml', '.csv', '.js'):
+                if ext not in ('.py', '.xml', '.csv', '.js', '.rst', '.html'):
                     f.write(content)
                 else:
                     env.from_string(content)\
-- 
GitLab