[REN] rename namespace

This commit is contained in:
Flectra committed 2018-01-16 02:34:37 -08:00
1 parent 769eafb483
commit b79252ec3e
4392 files changed
+10147 -10144

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from odoo import http
from odoo.http import request
from flectra import http
from flectra.http import request
class WebsiteLivechat(http.Controller):
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<flectra>
<data noupdate="1">
<record id="im_livechat_channel_data_website" model="im_livechat.channel">
<field name="name">YourWebsiteWithOdoo.com</field>
<field name="name">YourWebsiteWithFlectra.com</field>
<field name="default_message">Hello, how may I help you?</field>
</record>
@@ -12,4 +12,4 @@
</record>
</data>
</odoo>
</flectra>
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from odoo import api, models, fields
from odoo.addons.http_routing.models.ir_http import slug
from odoo.tools.translate import html_translate
from flectra import api, models, fields
from flectra.addons.http_routing.models.ir_http import slug
from flectra.tools.translate import html_translate
class ImLivechatChannel(models.Model):
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
from flectra import fields, models
class ResConfigSettings(models.TransientModel):
+2 -2
View File
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
from flectra import fields, models
class Website(models.Model):
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<flectra>
<data>
<record id="im_livechat_channel_rule_public" model="ir.rule">
@@ -14,4 +14,4 @@
</record>
</data>
</odoo>
</flectra>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<flectra>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.website.livechat</field>
@@ -25,4 +25,4 @@
</field>
</record>
</odoo>
</flectra>
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<flectra>
<data>
<!--
Integrate Livechat in Common Frontend for Website
Template registering all the assets required to execute the Livechat from a page containing Odoo
Template registering all the assets required to execute the Livechat from a page containing Flectra
-->
<template id="assets_frontend" name="im_livechat assets frontend" inherit_id="website.assets_frontend">
<xpath expr="." position="inside">
@@ -176,4 +176,4 @@
</template>
</data>
</odoo>
</flectra>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<flectra>
<data>
<record id="im_livechat_channel_form_view" model="ir.ui.view">
@@ -17,4 +17,4 @@
</record>
</data>
</odoo>
</flectra>