[REN] namespace rename
This commit is contained in:
parent
ffd2140c92
commit
509d934191
|
@ -14,7 +14,7 @@
|
||||||
'website': "http://www.yourcompany.com",
|
'website': "http://www.yourcompany.com",
|
||||||
|
|
||||||
# Categories can be used to filter modules in modules listing
|
# Categories can be used to filter modules in modules listing
|
||||||
# Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml
|
# Check https://github.com/flectra/flectra/blob/master/flectra/addons/base/module/module_data.xml
|
||||||
# for the full list
|
# for the full list
|
||||||
'category': 'Uncategorized',
|
'category': 'Uncategorized',
|
||||||
'version': '0.1',
|
'version': '0.1',
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{%- set model = "%s.%s"|format(mod, mod) -%}
|
{%- set model = "%s.%s"|format(mod, mod) -%}
|
||||||
{%- set root = "/%s/%s"|format(mod, mod) -%}
|
{%- set root = "/%s/%s"|format(mod, mod) -%}
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from odoo import http
|
from flectra import http
|
||||||
|
|
||||||
# class {{ mod|pascal }}(http.Controller):
|
# class {{ mod|pascal }}(http.Controller):
|
||||||
# @http.route('{{ root }}/', auth='public')
|
# @http.route('{{ root }}/', auth='public')
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{%- set mod= name|snake -%}
|
{%- set mod= name|snake -%}
|
||||||
{%- set model = "%s.%s"|format(mod, mod) -%}
|
{%- set model = "%s.%s"|format(mod, mod) -%}
|
||||||
<odoo>
|
<flectra>
|
||||||
<data>
|
<data>
|
||||||
<!-- {% for item in range(5) %} -->
|
<!-- {% for item in range(5) %} -->
|
||||||
<!-- <record id="object{{ item }}" model="{{ model }}"> -->
|
<!-- <record id="object{{ item }}" model="{{ model }}"> -->
|
||||||
|
@ -9,4 +9,4 @@
|
||||||
<!-- </record> -->
|
<!-- </record> -->
|
||||||
<!-- {% endfor %} -->
|
<!-- {% endfor %} -->
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</flectra>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from odoo import models, fields, api
|
from flectra import models, fields, api
|
||||||
|
|
||||||
# class {{ name|snake }}(models.Model):
|
# class {{ name|snake }}(models.Model):
|
||||||
# _name = '{{ name|snake }}.{{ name|snake }}'
|
# _name = '{{ name|snake }}.{{ name|snake }}'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<odoo>
|
<flectra>
|
||||||
<data>
|
<data>
|
||||||
<!-- <template id="listing"> -->
|
<!-- <template id="listing"> -->
|
||||||
<!-- <ul> -->
|
<!-- <ul> -->
|
||||||
|
@ -19,4 +19,4 @@
|
||||||
<!-- </dl> -->
|
<!-- </dl> -->
|
||||||
<!-- </template> -->
|
<!-- </template> -->
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</flectra>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{%- set mod = name|snake -%}
|
{%- set mod = name|snake -%}
|
||||||
{%- set model = "%s.%s"|format(mod, mod) -%}
|
{%- set model = "%s.%s"|format(mod, mod) -%}
|
||||||
<odoo>
|
<flectra>
|
||||||
<data>
|
<data>
|
||||||
<!-- explicit list view definition -->
|
<!-- explicit list view definition -->
|
||||||
<!--
|
<!--
|
||||||
|
@ -59,4 +59,4 @@
|
||||||
action="{{mod}}.action_server"/>
|
action="{{mod}}.action_server"/>
|
||||||
-->
|
-->
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</flectra>
|
||||||
|
|
|
@ -309,7 +309,7 @@ def load_information_from_description_file(module, mod_path=None):
|
||||||
# default values for descriptor
|
# default values for descriptor
|
||||||
info = {
|
info = {
|
||||||
'application': False,
|
'application': False,
|
||||||
'author': 'Flectra S.A.',
|
'author': 'FlectraHQ',
|
||||||
'auto_install': False,
|
'auto_install': False,
|
||||||
'category': 'Uncategorized',
|
'category': 'Uncategorized',
|
||||||
'depends': [],
|
'depends': [],
|
||||||
|
@ -320,7 +320,7 @@ def load_information_from_description_file(module, mod_path=None):
|
||||||
'post_load': None,
|
'post_load': None,
|
||||||
'version': '1.0',
|
'version': '1.0',
|
||||||
'web': False,
|
'web': False,
|
||||||
'website': 'https://www.flectra.com',
|
'website': 'https://www.flectrahq.com',
|
||||||
'sequence': 100,
|
'sequence': 100,
|
||||||
'summary': '',
|
'summary': '',
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ from ..exceptions import except_orm
|
||||||
from .orm import Model, TransientModel, AbstractModel
|
from .orm import Model, TransientModel, AbstractModel
|
||||||
|
|
||||||
# Deprecated, kept for backward compatibility.
|
# Deprecated, kept for backward compatibility.
|
||||||
# openerp.exceptions.Warning should be used instead.
|
# flectra.exceptions.Warning should be used instead.
|
||||||
except_osv = except_orm
|
except_osv = except_orm
|
||||||
|
|
||||||
# Deprecated, kept for backward compatibility.
|
# Deprecated, kept for backward compatibility.
|
||||||
|
|
|
@ -39,7 +39,7 @@ def exp_about(extended=False):
|
||||||
@return string if extended is False else tuple
|
@return string if extended is False else tuple
|
||||||
"""
|
"""
|
||||||
|
|
||||||
info = _('See http://openerp.com')
|
info = _('See http://flectrahq.com')
|
||||||
|
|
||||||
if extended:
|
if extended:
|
||||||
return info, flectra.release.version
|
return info, flectra.release.version
|
||||||
|
|
Loading…
Reference in New Issue