[FIX] Scaffold according to new module structure

fixes #10074
This commit is contained in:
Yenthe
2015-12-15 10:17:59 +01:00
committed by Xavier Morel
parent 17896a92da
commit 8e81abfeb5
10 changed files with 14 additions and 8 deletions
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
from . import controllers
from . import models
@@ -1,3 +0,0 @@
# -*- coding: utf-8 -*-
import controllers
import models
@@ -25,11 +25,11 @@
# always loaded
'data': [
# 'security/ir.model.access.csv',
'views.xml',
'templates.xml',
'views/views.xml',
'views/templates.xml',
],
# only loaded in demonstration mode
'demo': [
'demo.xml',
'demo/demo.xml',
],
}
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import controllers
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import models
@@ -1,6 +1,5 @@
{%- set mod = name|snake -%}
{%- set model = "%s.%s"|format(mod, mod) -%}
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- explicit list view definition -->
@@ -41,7 +40,7 @@
</field>
</record>
-->
<!-- Top menu item -->
<!--
<menuitem name="{{name}}" id="{{mod}}.menu_root"/>