mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-11-02 20:30:20 -06:00
[REN] rename namespace
This commit is contained in:
1 parent
769eafb483
commit
b79252ec3e
4392 files changed
+10147
-10144
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# -*- 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 . import controllers
|
||||
from . import models
|
||||
@@ -5,7 +5,7 @@
|
||||
'category': 'Marketing',
|
||||
'sequence': 166,
|
||||
'summary': 'Publish Events and Manage Online Registrations on your Website',
|
||||
'website': 'https://www.odoo.com/page/website-builder',
|
||||
'website': 'https://flectrahq.com/page/website-builder',
|
||||
'description': "",
|
||||
'depends': ['website', 'website_partner', 'website_mail', 'event'],
|
||||
'data': [
|
||||
|
||||
@@ -6,9 +6,9 @@ import werkzeug
|
||||
from datetime import datetime, timedelta
|
||||
from dateutil.relativedelta import relativedelta
|
||||
|
||||
from odoo import fields, http, _
|
||||
from odoo.addons.http_routing.models.ir_http import slug
|
||||
from odoo.http import request
|
||||
from flectra import fields, http, _
|
||||
from flectra.addons.http_routing.models.ir_http import slug
|
||||
from flectra.http import request
|
||||
|
||||
|
||||
class WebsiteEventController(http.Controller):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<flectra>
|
||||
<data noupdate="1">
|
||||
|
||||
<record id="menu_events" model="website.menu">
|
||||
@@ -32,4 +32,4 @@
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
</flectra>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<flectra>
|
||||
|
||||
<record id="base.res_partner_1" model="res.partner">
|
||||
<field name="website_published">True</field>
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
<record id="event.event_0" model="event.event">
|
||||
<field name="website_published">True</field>
|
||||
<field name="twitter_hashtag">odoo</field>
|
||||
<field name="twitter_hashtag">flectra</field>
|
||||
<field name="description"><![CDATA[
|
||||
<section class="s_text_block_image_fw oe_img_bg" style="background-position: 50% 100%; background-image: url(/web/image/website.s_background_image_02);">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="bg-black-25 col-md-9 mb64 mt64">
|
||||
<h2 style="font-size:62px">5 Intensive Days</h2>
|
||||
<h4 class="text-muted"><font style="color: rgb(255, 255, 255); font-size: 24px;">to learn <i>Odoo Programming</i></font></h4>
|
||||
<h4 class="text-muted"><font style="color: rgb(255, 255, 255); font-size: 24px;">to learn <i>Flectra Programming</i></font></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="panel-heading text-center">
|
||||
<h2 style="margin: 0">Day 2</h2>
|
||||
|
||||
<p class="text-muted" style="margin: 0">Odoo Web Client</p>
|
||||
<p class="text-muted" style="margin: 0">Flectra Web Client</p>
|
||||
</div>
|
||||
|
||||
<ul class="list-group"><li class="list-group-item">Introduction to JQuery</li>
|
||||
@@ -131,7 +131,7 @@
|
||||
<li>Participants preferably have a functional knowledge of our software (see Functional Training).</li>
|
||||
</ul><p></p>
|
||||
|
||||
<p>To get more information, visit the <a target="_blank" href="http://odoo.com/">Odoo Official Website</a>.</p>
|
||||
<p>To get more information, visit the <a target="_blank" href="http://flectra.com/">Flectra Official Website</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -166,7 +166,7 @@
|
||||
</record>
|
||||
<record id="event.event_1" model="event.event">
|
||||
<field name="website_published">True</field>
|
||||
<field name="twitter_hashtag">odoo</field>
|
||||
<field name="twitter_hashtag">flectra</field>
|
||||
<field name="description"><![CDATA[
|
||||
<section class="s_text_block_image_fw oe_img_bg" style="background-position: 50% 100%; background-image: url(/web/image/website.s_background_image_01);">
|
||||
<div class="container">
|
||||
@@ -221,7 +221,7 @@
|
||||
<div class="panel-heading text-center">
|
||||
<h2 style="margin: 0">Day 2</h2>
|
||||
|
||||
<p class="text-muted" style="margin: 0">Odoo Web Client</p>
|
||||
<p class="text-muted" style="margin: 0">Flectra Web Client</p>
|
||||
</div>
|
||||
|
||||
<ul class="list-group"><li class="list-group-item">Introduction to JQuery</li>
|
||||
@@ -289,7 +289,7 @@
|
||||
<li>Participants preferably have a functional knowledge of our software (see Functional Training).</li>
|
||||
</ul><p></p>
|
||||
|
||||
<p>To get more information, visit the <a target="_blank" href="http://odoo.com/">Odoo Official Website</a>.</p>
|
||||
<p>To get more information, visit the <a target="_blank" href="http://flectra.com/">Flectra Official Website</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -325,7 +325,7 @@
|
||||
</record>
|
||||
<record id="event.event_2" model="event.event">
|
||||
<field name="website_published">True</field>
|
||||
<field name="twitter_hashtag">odoo</field>
|
||||
<field name="twitter_hashtag">flectra</field>
|
||||
</record>
|
||||
|
||||
<record id="base.res_partner_2" model="res.partner">
|
||||
@@ -336,7 +336,7 @@
|
||||
</record>
|
||||
<record id="event.event_3" model="event.event">
|
||||
<field name="website_published">True</field>
|
||||
<field name="twitter_hashtag">odoo</field>
|
||||
<field name="twitter_hashtag">flectra</field>
|
||||
<field name="description"><![CDATA[
|
||||
<section class="s_text_block_image_fw oe_img_bg oe_custom_bg" style="background-image: url(/web/image/website.s_cover_default_image); background-position: 50% 100%">
|
||||
<div class="container">
|
||||
@@ -391,7 +391,7 @@
|
||||
<div class="panel-heading text-center">
|
||||
<h2 style="margin: 0">Day 2</h2>
|
||||
|
||||
<p class="text-muted" style="margin: 0">Odoo Web Client</p>
|
||||
<p class="text-muted" style="margin: 0">Flectra Web Client</p>
|
||||
</div>
|
||||
|
||||
<ul class="list-group"><li class="list-group-item">Introduction to JQuery</li>
|
||||
@@ -459,7 +459,7 @@
|
||||
<li>Participants preferably have a functional knowledge of our software (see Functional Training).</li>
|
||||
</ul><p></p>
|
||||
|
||||
<p>To get more information, visit the <a target="_blank" href="https://www.odoo.com/">Odoo Official Website</a>.</p>
|
||||
<p>To get more information, visit the <a target="_blank" href="https://www.flectra.com/">Flectra Official Website</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -490,4 +490,4 @@
|
||||
]]></field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
</flectra>
|
||||
@@ -1,7 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.addons.http_routing.models.ir_http import slug
|
||||
from flectra import api, fields, models, _
|
||||
from flectra.addons.http_routing.models.ir_http import slug
|
||||
|
||||
|
||||
class EventType(models.Model):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<flectra>
|
||||
<record id="event_event_public" model="ir.rule">
|
||||
<field name="name">event: Public</field>
|
||||
<field name="model_id" ref="event.model_event_event"/>
|
||||
@@ -14,4 +14,4 @@
|
||||
<record id="event.group_event_manager" model="res.groups">
|
||||
<field name="implied_ids" eval="[(4, ref('website.group_website_publisher'))]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
</flectra>
|
||||
@@ -1,4 +1,4 @@
|
||||
odoo.define("website_event.tour", function (require) {
|
||||
flectra.define("website_event.tour", function (require) {
|
||||
"use strict";
|
||||
|
||||
var core = require("web.core");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
odoo.define('website_event.editor', function (require) {
|
||||
flectra.define('website_event.editor', function (require) {
|
||||
"use strict";
|
||||
|
||||
var core = require('web.core');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
odoo.define('website_event.registration_form.instance', function (require) {
|
||||
flectra.define('website_event.registration_form.instance', function (require) {
|
||||
'use strict';
|
||||
|
||||
require('web_editor.ready');
|
||||
@@ -17,7 +17,7 @@ return instance.appendTo($form).then(function () {
|
||||
|
||||
//==============================================================================
|
||||
|
||||
odoo.define('website_event.website_event', function (require) {
|
||||
flectra.define('website_event.website_event', function (require) {
|
||||
|
||||
var ajax = require('web.ajax');
|
||||
var Widget = require('web.Widget');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
odoo.define('website_event.geolocation', function (require) {
|
||||
flectra.define('website_event.geolocation', function (require) {
|
||||
'use strict';
|
||||
|
||||
var sAnimation = require('website.content.snippets.animation');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# -*- 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 . import test_ui
|
||||
@@ -1,8 +1,8 @@
|
||||
import odoo.tests
|
||||
import flectra.tests
|
||||
|
||||
|
||||
@odoo.tests.common.at_install(False)
|
||||
@odoo.tests.common.post_install(True)
|
||||
class TestUi(odoo.tests.HttpCase):
|
||||
@flectra.tests.common.at_install(False)
|
||||
@flectra.tests.common.post_install(True)
|
||||
class TestUi(flectra.tests.HttpCase):
|
||||
def test_admin(self):
|
||||
self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('event')", "odoo.__DEBUG__.services['web_tour.tour'].tours.event.ready", login='admin')
|
||||
self.phantom_js("/", "flectra.__DEBUG__.services['web_tour.tour'].run('event')", "flectra.__DEBUG__.services['web_tour.tour'].tours.event.ready", login='admin')
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<flectra>
|
||||
|
||||
<template id="event_script" inherit_id="website.assets_frontend" name="Country Events Snippet Script">
|
||||
<xpath expr="/t" position="inside">
|
||||
@@ -709,8 +709,8 @@
|
||||
<xpath expr="//footer" position="inside">
|
||||
<div class="container mt16 mb8">
|
||||
<div class="pull-right" t-ignore="true" t-if="not editable">
|
||||
Powered by <a target="_blank" class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>.
|
||||
Try the <a target="_blank" href="http://www.odoo.com/page/website-builder">open source website builder</a>.
|
||||
Powered by <a target="_blank" class="label label-danger" href="http://www.flectra.com/page/website-builder">Flectra</a>.
|
||||
Try the <a target="_blank" href="http://www.flectra.com/page/website-builder">open source website builder</a>.
|
||||
</div>
|
||||
<div class="pull-left text-muted">
|
||||
Copyright &copy; <span t-field="res_company.name">Company name</span>
|
||||
@@ -726,4 +726,4 @@
|
||||
<li groups="event.group_event_manager"><a href="#" data-action="new_event"><i class="fa fa-glass"/><p>New Event</p></a></li>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
</flectra>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<flectra>
|
||||
|
||||
<record id="event_type_view_form_inherit_website" model="ir.ui.view">
|
||||
<field name="name">event.type.view.form.inherit.website</field>
|
||||
@@ -57,4 +57,4 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</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.event</field>
|
||||
@@ -22,4 +22,4 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
</flectra>
|
||||
Reference in new issue
Block a user