diff --git a/openerp/cli/scaffold.py b/openerp/cli/scaffold.py
index fdbcfb9e4fcc5d1f19ad5d56424c089cc5a13a78..dc6800d5de81ab76de4e57cd7724df0829a18a2a 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)\