Skip to content
Snippets Groups Projects
Commit 8e81abfe authored by Yenthe's avatar Yenthe Committed by Xavier Morel
Browse files

[FIX] Scaffold according to new module structure

fixes #10074
parent 17896a92
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
from . import controllers
from . 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',
],
}
# -*- coding: utf-8 -*-
import controllers
import models
from . import controllers
# -*- coding: utf-8 -*-
from . import models
{%- 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"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment