[REN] namespace rename

This commit is contained in:
Flectra 2018-01-17 23:27:06 -08:00
parent ffd2140c92
commit 509d934191
9 changed files with 13 additions and 13 deletions

View File

@ -14,7 +14,7 @@
'website': "http://www.yourcompany.com",
# 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
'category': 'Uncategorized',
'version': '0.1',

View File

@ -2,7 +2,7 @@
{%- set model = "%s.%s"|format(mod, mod) -%}
{%- set root = "/%s/%s"|format(mod, mod) -%}
# -*- coding: utf-8 -*-
from odoo import http
from flectra import http
# class {{ mod|pascal }}(http.Controller):
# @http.route('{{ root }}/', auth='public')

View File

@ -1,6 +1,6 @@
{%- set mod= name|snake -%}
{%- set model = "%s.%s"|format(mod, mod) -%}
<odoo>
<flectra>
<data>
<!-- {% for item in range(5) %} -->
<!-- <record id="object{{ item }}" model="{{ model }}"> -->
@ -9,4 +9,4 @@
<!-- </record> -->
<!-- {% endfor %} -->
</data>
</odoo>
</flectra>

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from odoo import models, fields, api
from flectra import models, fields, api
# class {{ name|snake }}(models.Model):
# _name = '{{ name|snake }}.{{ name|snake }}'

View File

@ -1,4 +1,4 @@
<odoo>
<flectra>
<data>
<!-- <template id="listing"> -->
<!-- <ul> -->
@ -19,4 +19,4 @@
<!-- </dl> -->
<!-- </template> -->
</data>
</odoo>
</flectra>

View File

@ -1,6 +1,6 @@
{%- set mod = name|snake -%}
{%- set model = "%s.%s"|format(mod, mod) -%}
<odoo>
<flectra>
<data>
<!-- explicit list view definition -->
<!--
@ -59,4 +59,4 @@
action="{{mod}}.action_server"/>
-->
</data>
</odoo>
</flectra>

View File

@ -309,7 +309,7 @@ def load_information_from_description_file(module, mod_path=None):
# default values for descriptor
info = {
'application': False,
'author': 'Flectra S.A.',
'author': 'FlectraHQ',
'auto_install': False,
'category': 'Uncategorized',
'depends': [],
@ -320,7 +320,7 @@ def load_information_from_description_file(module, mod_path=None):
'post_load': None,
'version': '1.0',
'web': False,
'website': 'https://www.flectra.com',
'website': 'https://www.flectrahq.com',
'sequence': 100,
'summary': '',
}

View File

@ -5,7 +5,7 @@ from ..exceptions import except_orm
from .orm import Model, TransientModel, AbstractModel
# Deprecated, kept for backward compatibility.
# openerp.exceptions.Warning should be used instead.
# flectra.exceptions.Warning should be used instead.
except_osv = except_orm
# Deprecated, kept for backward compatibility.

View File

@ -39,7 +39,7 @@ def exp_about(extended=False):
@return string if extended is False else tuple
"""
info = _('See http://openerp.com')
info = _('See http://flectrahq.com')
if extended:
return info, flectra.release.version