@@ -137,4 +137,4 @@ from ${object.company_id.name}.
-
+
diff --git a/addons/account/data/payment_receipt_data.xml b/addons/account/data/payment_receipt_data.xml
index 3190edfb15..826919424e 100644
--- a/addons/account/data/payment_receipt_data.xml
+++ b/addons/account/data/payment_receipt_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -42,4 +42,4 @@ ${user.signature | safe}
}"
/>
-
+
diff --git a/addons/account/demo/account_demo.xml b/addons/account/demo/account_demo.xml
index 8f2f139f4b..333a82a03d 100644
--- a/addons/account/demo/account_demo.xml
+++ b/addons/account/demo/account_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -53,4 +53,4 @@
-
+
diff --git a/addons/account/models/account.py b/addons/account/models/account.py
index 9e7d2a59a0..760bec54c8 100644
--- a/addons/account/models/account.py
+++ b/addons/account/models/account.py
@@ -3,11 +3,11 @@
import time
import math
-from odoo.osv import expression
-from odoo.tools.float_utils import float_round as round
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
-from odoo.exceptions import UserError, ValidationError
-from odoo import api, fields, models, _
+from flectra.osv import expression
+from flectra.tools.float_utils import float_round as round
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.exceptions import UserError, ValidationError
+from flectra import api, fields, models, _
class AccountAccountType(models.Model):
@@ -362,13 +362,13 @@ class AccountJournal(models.Model):
inbound_payment_method_ids = fields.Many2many('account.payment.method', 'account_journal_inbound_payment_method_rel', 'journal_id', 'inbound_payment_method',
domain=[('payment_type', '=', 'inbound')], string='Debit Methods', default=lambda self: self._default_inbound_payment_methods(),
- help="Manual: Get paid by cash, check or any other method outside of Odoo.\n"\
+ help="Manual: Get paid by cash, check or any other method outside of Flectra.\n"\
"Electronic: Get paid automatically through a payment acquirer by requesting a transaction on a card saved by the customer when buying or subscribing online (payment token).\n"\
- "Batch Deposit: Encase several customer checks at once by generating a batch deposit to submit to your bank. When encoding the bank statement in Odoo,you are suggested to reconcile the transaction with the batch deposit. Enable this option from the settings.")
+ "Batch Deposit: Encase several customer checks at once by generating a batch deposit to submit to your bank. When encoding the bank statement in Flectra,you are suggested to reconcile the transaction with the batch deposit. Enable this option from the settings.")
outbound_payment_method_ids = fields.Many2many('account.payment.method', 'account_journal_outbound_payment_method_rel', 'journal_id', 'outbound_payment_method',
domain=[('payment_type', '=', 'outbound')], string='Payment Methods', default=lambda self: self._default_outbound_payment_methods(),
- help="Manual:Pay bill by cash or any other method outside of Odoo.\n"\
- "Check:Pay bill by check and print it from Odoo.\n"\
+ help="Manual:Pay bill by cash or any other method outside of Flectra.\n"\
+ "Check:Pay bill by check and print it from Flectra.\n"\
"SEPA Credit Transfer: Pay bill from a SEPA Credit Transfer file you submit to your bank. Enable this option from the settings.")
at_least_one_inbound = fields.Boolean(compute='_methods_compute', store=True)
at_least_one_outbound = fields.Boolean(compute='_methods_compute', store=True)
diff --git a/addons/account/models/account_analytic_line.py b/addons/account/models/account_analytic_line.py
index 1d212d31bf..e0db42ca90 100644
--- a/addons/account/models/account_analytic_line.py
+++ b/addons/account/models/account_analytic_line.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
from math import copysign
diff --git a/addons/account/models/account_bank_statement.py b/addons/account/models/account_bank_statement.py
index 671d3b6a60..a1219c5a87 100644
--- a/addons/account/models/account_bank_statement.py
+++ b/addons/account/models/account_bank_statement.py
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models, _
-from odoo.osv import expression
-from odoo.tools import float_is_zero, pycompat
-from odoo.tools import float_compare, float_round, float_repr
-from odoo.tools.misc import formatLang
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, _
+from flectra.osv import expression
+from flectra.tools import float_is_zero, pycompat
+from flectra.tools import float_compare, float_round, float_repr
+from flectra.tools.misc import formatLang
+from flectra.exceptions import UserError, ValidationError
import time
import math
@@ -378,7 +378,7 @@ class AccountBankStatementLine(models.Model):
@api.constrains('amount')
def _check_amount(self):
# Allow to enter bank statement line with an amount of 0,
- # so that user can enter/import the exact bank statement they have received from their bank in Odoo
+ # so that user can enter/import the exact bank statement they have received from their bank in Flectra
if self.journal_id.type != 'bank' and self.currency_id.is_zero(self.amount):
raise ValidationError(_('A Cash transaction can\'t have a 0 amount.'))
diff --git a/addons/account/models/account_cash_rounding.py b/addons/account/models/account_cash_rounding.py
index 1f962e5453..6bec9f4b8a 100644
--- a/addons/account/models/account_cash_rounding.py
+++ b/addons/account/models/account_cash_rounding.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api, _
-from odoo.tools import float_round
+from flectra import models, fields, api, _
+from flectra.tools import float_round
class AccountCashRounding(models.Model):
diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py
index 27e9dcdd7e..0213a3ca75 100644
--- a/addons/account/models/account_invoice.py
+++ b/addons/account/models/account_invoice.py
@@ -9,13 +9,13 @@ from lxml import etree
from dateutil.relativedelta import relativedelta
from werkzeug.urls import url_encode
-from odoo import api, exceptions, fields, models, _
-from odoo.tools import float_is_zero, float_compare, pycompat
-from odoo.tools.misc import formatLang
+from flectra import api, exceptions, fields, models, _
+from flectra.tools import float_is_zero, float_compare, pycompat
+from flectra.tools.misc import formatLang
-from odoo.exceptions import AccessError, UserError, RedirectWarning, ValidationError, Warning
+from flectra.exceptions import AccessError, UserError, RedirectWarning, ValidationError, Warning
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
import logging
_logger = logging.getLogger(__name__)
diff --git a/addons/account/models/account_journal_dashboard.py b/addons/account/models/account_journal_dashboard.py
index 26cb462b35..ebad4b5016 100644
--- a/addons/account/models/account_journal_dashboard.py
+++ b/addons/account/models/account_journal_dashboard.py
@@ -3,10 +3,10 @@ from datetime import datetime, timedelta
from babel.dates import format_datetime, format_date
-from odoo import models, api, _, fields
-from odoo.release import version
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF
-from odoo.tools.misc import formatLang
+from flectra import models, api, _, fields
+from flectra.release import version
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT as DF
+from flectra.tools.misc import formatLang
class account_journal(models.Model):
_inherit = "account.journal"
diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py
index 5a80b5d98f..18108c936b 100644
--- a/addons/account/models/account_move.py
+++ b/addons/account/models/account_move.py
@@ -2,13 +2,13 @@
import time
from collections import OrderedDict
-from odoo import api, fields, models, _
-from odoo.osv import expression
-from odoo.exceptions import RedirectWarning, UserError, ValidationError
-from odoo.tools.misc import formatLang
-from odoo.tools import float_is_zero, float_compare
-from odoo.tools.safe_eval import safe_eval
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models, _
+from flectra.osv import expression
+from flectra.exceptions import RedirectWarning, UserError, ValidationError
+from flectra.tools.misc import formatLang
+from flectra.tools import float_is_zero, float_compare
+from flectra.tools.safe_eval import safe_eval
+from flectra.addons import decimal_precision as dp
from lxml import etree
#----------------------------------------------------------
@@ -1239,7 +1239,7 @@ class AccountMoveLine(models.Model):
# Create tax lines
tax_lines_vals = []
if context.get('apply_taxes') and vals.get('tax_ids'):
- # Get ids from triplets : https://www.odoo.com/documentation/10.0/reference/orm.html#odoo.models.Model.write
+ # Get ids from triplets : https://www.flectra.com/documentation/10.0/reference/orm.html#flectra.models.Model.write
tax_ids = [tax['id'] for tax in self.resolve_2many_commands('tax_ids', vals['tax_ids']) if tax.get('id')]
# Since create() receives ids instead of recordset, let's just use the old-api bridge
taxes = self.env['account.tax'].browse(tax_ids)
diff --git a/addons/account/models/account_payment.py b/addons/account/models/account_payment.py
index e30e7efc34..e66f45a568 100644
--- a/addons/account/models/account_payment.py
+++ b/addons/account/models/account_payment.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api, _
-from odoo.exceptions import UserError, ValidationError
+from flectra import models, fields, api, _
+from flectra.exceptions import UserError, ValidationError
MAP_INVOICE_TYPE_PARTNER_TYPE = {
'out_invoice': 'customer',
@@ -32,10 +32,10 @@ class account_abstract_payment(models.AbstractModel):
payment_type = fields.Selection([('outbound', 'Send Money'), ('inbound', 'Receive Money')], string='Payment Type', required=True)
payment_method_id = fields.Many2one('account.payment.method', string='Payment Method Type', required=True, oldname="payment_method",
- help="Manual: Get paid by cash, check or any other method outside of Odoo.\n"\
+ help="Manual: Get paid by cash, check or any other method outside of Flectra.\n"\
"Electronic: Get paid automatically through a payment acquirer by requesting a transaction on a card saved by the customer when buying or subscribing online (payment token).\n"\
- "Check: Pay bill by check and print it from Odoo.\n"\
- "Batch Deposit: Encase several customer checks at once by generating a batch deposit to submit to your bank. When encoding the bank statement in Odoo, you are suggested to reconcile the transaction with the batch deposit.To enable batch deposit,module account_batch_deposit must be installed.\n"\
+ "Check: Pay bill by check and print it from Flectra.\n"\
+ "Batch Deposit: Encase several customer checks at once by generating a batch deposit to submit to your bank. When encoding the bank statement in Flectra, you are suggested to reconcile the transaction with the batch deposit.To enable batch deposit,module account_batch_deposit must be installed.\n"\
"SEPA Credit Transfer: Pay bill from a SEPA Credit Transfer file you submit to your bank. To enable sepa credit transfer, module account_sepa must be installed ")
payment_method_code = fields.Char(related='payment_method_id.code',
help="Technical field used to adapt the interface to the payment type selected.", readonly=True)
diff --git a/addons/account/models/chart_template.py b/addons/account/models/chart_template.py
index 04e67f7d3b..888c0d2fd9 100644
--- a/addons/account/models/chart_template.py
+++ b/addons/account/models/chart_template.py
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
-from odoo.exceptions import AccessError
-from odoo import api, fields, models, _
-from odoo import SUPERUSER_ID
-from odoo.exceptions import UserError
+from flectra.exceptions import AccessError
+from flectra import api, fields, models, _
+from flectra import SUPERUSER_ID
+from flectra.exceptions import UserError
import logging
diff --git a/addons/account/models/company.py b/addons/account/models/company.py
index 1465c69082..64be319d18 100644
--- a/addons/account/models/company.py
+++ b/addons/account/models/company.py
@@ -3,10 +3,10 @@
from datetime import timedelta, datetime
import calendar
-from odoo import fields, models, api, _
-from odoo.exceptions import ValidationError
-from odoo.exceptions import UserError
-from odoo.tools.float_utils import float_round, float_is_zero
+from flectra import fields, models, api, _
+from flectra.exceptions import ValidationError
+from flectra.exceptions import UserError
+from flectra.tools.float_utils import float_round, float_is_zero
class ResCompany(models.Model):
diff --git a/addons/account/models/partner.py b/addons/account/models/partner.py
index 4482b4e1c4..b8108fc92c 100644
--- a/addons/account/models/partner.py
+++ b/addons/account/models/partner.py
@@ -4,10 +4,10 @@ from ast import literal_eval
from operator import itemgetter
import time
-from odoo import api, fields, models, _
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
-from odoo.exceptions import ValidationError
-from odoo.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
+from flectra import api, fields, models, _
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.exceptions import ValidationError
+from flectra.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
class AccountFiscalPosition(models.Model):
_name = 'account.fiscal.position'
diff --git a/addons/account/models/product.py b/addons/account/models/product.py
index 0070cbc1fa..b55565587c 100644
--- a/addons/account/models/product.py
+++ b/addons/account/models/product.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class ProductCategory(models.Model):
diff --git a/addons/account/models/res_config_settings.py b/addons/account/models/res_config_settings.py
index 44182604d5..00eb52b92f 100644
--- a/addons/account/models/res_config_settings.py
+++ b/addons/account/models/res_config_settings.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class ResConfigSettings(models.TransientModel):
diff --git a/addons/account/models/web_planner.py b/addons/account/models/web_planner.py
index 40e7f44676..22f6462a1c 100644
--- a/addons/account/models/web_planner.py
+++ b/addons/account/models/web_planner.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from odoo import api, models
+from flectra import api, models
class PlannerAccount(models.Model):
diff --git a/addons/account/report/__init__.py b/addons/account/report/__init__.py
index e31bd86151..bfd9fd8efb 100644
--- a/addons/account/report/__init__.py
+++ b/addons/account/report/__init__.py
@@ -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 account_financial_report
from . import account_invoice_report
diff --git a/addons/account/report/account_aged_partner_balance.py b/addons/account/report/account_aged_partner_balance.py
index fd2fef466f..c85bd70c2f 100644
--- a/addons/account/report/account_aged_partner_balance.py
+++ b/addons/account/report/account_aged_partner_balance.py
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
import time
-from odoo import api, models, _
-from odoo.exceptions import UserError
-from odoo.tools import float_is_zero
+from flectra import api, models, _
+from flectra.exceptions import UserError
+from flectra.tools import float_is_zero
from datetime import datetime
from dateutil.relativedelta import relativedelta
diff --git a/addons/account/report/account_balance.py b/addons/account/report/account_balance.py
index 93842ff137..ce5d014a7c 100644
--- a/addons/account/report/account_balance.py
+++ b/addons/account/report/account_balance.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
import time
-from odoo import api, models, _
-from odoo.exceptions import UserError
+from flectra import api, models, _
+from flectra.exceptions import UserError
class ReportTrialBalance(models.AbstractModel):
diff --git a/addons/account/report/account_financial_report.py b/addons/account/report/account_financial_report.py
index 0dd860b1d1..cfd6ee70f2 100644
--- a/addons/account/report/account_financial_report.py
+++ b/addons/account/report/account_financial_report.py
@@ -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 api, models, fields
+from flectra import api, models, fields
# ---------------------------------------------------------
# Account Financial Report
diff --git a/addons/account/report/account_general_ledger.py b/addons/account/report/account_general_ledger.py
index 9c3c79dacf..87b7a417f0 100644
--- a/addons/account/report/account_general_ledger.py
+++ b/addons/account/report/account_general_ledger.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
import time
-from odoo import api, models, _
-from odoo.exceptions import UserError
+from flectra import api, models, _
+from flectra.exceptions import UserError
class ReportGeneralLedger(models.AbstractModel):
diff --git a/addons/account/report/account_invoice_report.py b/addons/account/report/account_invoice_report.py
index 62c2fe786a..9799ba8016 100644
--- a/addons/account/report/account_invoice_report.py
+++ b/addons/account/report/account_invoice_report.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import tools
-from odoo import models, fields, api
+from flectra import tools
+from flectra import models, fields, api
class AccountInvoiceReport(models.Model):
diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml
index 0502c7dcc6..6d9b023236 100644
--- a/addons/account/report/account_invoice_report_view.xml
+++ b/addons/account/report/account_invoice_report_view.xml
@@ -1,5 +1,5 @@
-
+account.invoice.report.pivot
@@ -132,4 +132,4 @@
view_mode="graph"/>
-
+
diff --git a/addons/account/report/account_journal.py b/addons/account/report/account_journal.py
index 83e1b8bda8..8ae2d3e83c 100644
--- a/addons/account/report/account_journal.py
+++ b/addons/account/report/account_journal.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
import time
-from odoo import api, models, _
-from odoo.exceptions import UserError
+from flectra import api, models, _
+from flectra.exceptions import UserError
class ReportJournal(models.AbstractModel):
diff --git a/addons/account/report/account_overdue_report.py b/addons/account/report/account_overdue_report.py
index dbfd933c99..d31d1f3226 100644
--- a/addons/account/report/account_overdue_report.py
+++ b/addons/account/report/account_overdue_report.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import time
-from odoo import api, fields, models
+from flectra import api, fields, models
class ReportOverdue(models.AbstractModel):
diff --git a/addons/account/report/account_partner_ledger.py b/addons/account/report/account_partner_ledger.py
index 2da6c42abe..de33ee50e9 100644
--- a/addons/account/report/account_partner_ledger.py
+++ b/addons/account/report/account_partner_ledger.py
@@ -2,9 +2,9 @@
from datetime import datetime
import time
-from odoo import api, models, _
-from odoo.exceptions import UserError
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT
+from flectra import api, models, _
+from flectra.exceptions import UserError
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT
class ReportPartnerLedger(models.AbstractModel):
diff --git a/addons/account/report/account_report_financial.py b/addons/account/report/account_report_financial.py
index 65560736ff..b095ed903f 100644
--- a/addons/account/report/account_report_financial.py
+++ b/addons/account/report/account_report_financial.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
import time
-from odoo import api, models, _
-from odoo.exceptions import UserError
+from flectra import api, models, _
+from flectra.exceptions import UserError
class ReportFinancial(models.AbstractModel):
diff --git a/addons/account/report/account_report_payment_receipt_templates.xml b/addons/account/report/account_report_payment_receipt_templates.xml
index a08104c459..79fc60a2a0 100644
--- a/addons/account/report/account_report_payment_receipt_templates.xml
+++ b/addons/account/report/account_report_payment_receipt_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -57,4 +57,4 @@
-
+
diff --git a/addons/account/report/account_tax.py b/addons/account/report/account_tax.py
index bcaf3697c2..6d3649fdcb 100644
--- a/addons/account/report/account_tax.py
+++ b/addons/account/report/account_tax.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import api, models, _
-from odoo.exceptions import UserError
+from flectra import api, models, _
+from flectra.exceptions import UserError
class ReportTax(models.AbstractModel):
diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml
index c527729765..abacf2db35 100644
--- a/addons/account/security/account_security.xml
+++ b/addons/account/security/account_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -150,4 +150,4 @@
-
+
diff --git a/addons/account/static/src/css/account_bank_and_cash.css b/addons/account/static/src/css/account_bank_and_cash.css
index 1d2a4fba74..4775a3d1f8 100644
--- a/addons/account/static/src/css/account_bank_and_cash.css
+++ b/addons/account/static/src/css/account_bank_and_cash.css
@@ -28,4 +28,4 @@
.o_payment_label{
padding-right: 20px;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/account/static/src/js/account_dashboard_setup_bar.js b/addons/account/static/src/js/account_dashboard_setup_bar.js
index 1af9416008..565b847112 100644
--- a/addons/account/static/src/js/account_dashboard_setup_bar.js
+++ b/addons/account/static/src/js/account_dashboard_setup_bar.js
@@ -1,4 +1,4 @@
-odoo.define('account.dashboard_setup_bar', function (require) {
+flectra.define('account.dashboard_setup_bar', function (require) {
"use strict";
var core = require('web.core');
@@ -166,7 +166,7 @@ var AccountSetupBarController = KanbanController.extend({
/**
* @private
- * @param {OdooEvent} e
+ * @param {FlectraEvent} e
*/
_onDashboardOpenAction: function (e) {
var action_name = e.data.action_name;
@@ -179,19 +179,19 @@ var AccountSetupBarController = KanbanController.extend({
/**
* Manages the clicks on the setup bar buttons.
**/
- _triggerCompanyButtonAction: function (odooEvent) {
+ _triggerCompanyButtonAction: function (flectraEvent) {
var self = this
- if (odooEvent.data.rpc_method !== undefined) {
+ if (flectraEvent.data.rpc_method !== undefined) {
self._rpc({
model: 'res.company',
- method: odooEvent.data.rpc_method,
+ method: flectraEvent.data.rpc_method,
args: [],
})
.then(
function(rslt_action) {
if (rslt_action !== undefined) {
self.do_action(rslt_action, {
- action_context: odooEvent.data.context,
+ action_context: flectraEvent.data.context,
on_close: function () {
self.trigger_up('reload'); //Reloads the dashboard to refresh the status of the setup bar.
},
diff --git a/addons/account/static/src/js/account_payment_field.js b/addons/account/static/src/js/account_payment_field.js
index 1e5171e1f4..1b0063804b 100644
--- a/addons/account/static/src/js/account_payment_field.js
+++ b/addons/account/static/src/js/account_payment_field.js
@@ -1,4 +1,4 @@
-odoo.define('account.payment', function (require) {
+flectra.define('account.payment', function (require) {
"use strict";
var AbstractField = require('web.AbstractField');
diff --git a/addons/account/static/src/js/reconciliation/reconciliation_action.js b/addons/account/static/src/js/reconciliation/reconciliation_action.js
index 79724846cb..0486c0877d 100644
--- a/addons/account/static/src/js/reconciliation/reconciliation_action.js
+++ b/addons/account/static/src/js/reconciliation/reconciliation_action.js
@@ -1,4 +1,4 @@
-odoo.define('account.ReconciliationClientAction', function (require) {
+flectra.define('account.ReconciliationClientAction', function (require) {
"use strict";
var ReconciliationModel = require('account.ReconciliationModel');
@@ -207,7 +207,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
* to 'create' or 'match', the other lines switch to 'inactive' mode
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onAction: function (event) {
var self = this;
@@ -234,7 +234,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
* call 'changeName' model method
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onChangeName: function (event) {
var self = this;
@@ -253,7 +253,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
* call 'closeStatement' model method
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onCloseStatement: function (event) {
var self = this;
@@ -272,7 +272,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
/**
* Load more statement and render them
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onLoadMore: function (event) {
return this._loadMore(this.model.defaultDisplayQty);
@@ -283,7 +283,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
* values and notifications then open the first available line
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onValidate: function (event) {
var self = this;
@@ -340,7 +340,7 @@ var ManualAction = StatementAction.extend({
* first available line
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onValidate: function (event) {
var self = this;
diff --git a/addons/account/static/src/js/reconciliation/reconciliation_model.js b/addons/account/static/src/js/reconciliation/reconciliation_model.js
index 249e8b2086..8c6595a401 100644
--- a/addons/account/static/src/js/reconciliation/reconciliation_model.js
+++ b/addons/account/static/src/js/reconciliation/reconciliation_model.js
@@ -1,4 +1,4 @@
-odoo.define('account.ReconciliationModel', function (require) {
+flectra.define('account.ReconciliationModel', function (require) {
"use strict";
var BasicModel = require('web.BasicModel');
diff --git a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js
index ed3b5ca3d4..9b21da9b52 100644
--- a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js
+++ b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('account.ReconciliationRenderer', function (require) {
+flectra.define('account.ReconciliationRenderer', function (require) {
"use strict";
var Widget = require('web.Widget');
@@ -575,7 +575,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, {
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onFieldChanged: function (event) {
event.stopPropagation();
diff --git a/addons/account/static/src/js/tour_bank_statement_reconciliation.js b/addons/account/static/src/js/tour_bank_statement_reconciliation.js
index b56b8747f1..1d3402090d 100644
--- a/addons/account/static/src/js/tour_bank_statement_reconciliation.js
+++ b/addons/account/static/src/js/tour_bank_statement_reconciliation.js
@@ -1,4 +1,4 @@
-odoo.define('account.tour_bank_statement_reconciliation', function(require) {
+flectra.define('account.tour_bank_statement_reconciliation', function(require) {
'use strict';
var core = require('web.core');
diff --git a/addons/account/static/src/less/account_dashboard.less b/addons/account/static/src/less/account_dashboard.less
index bd63593f0b..5594681738 100644
--- a/addons/account/static/src/less/account_dashboard.less
+++ b/addons/account/static/src/less/account_dashboard.less
@@ -1,12 +1,12 @@
.o_kanban_view.o_kanban_dashboard.o_account_kanban {
&:not(.o_kanban_nocontent) .o_account_dashboard_header{
- margin: (0 - @o-kanban-record-margin) (@o-kanban-record-margin - @odoo-horizontal-padding) @o-kanban-record-margin;
+ margin: (0 - @o-kanban-record-margin) (@o-kanban-record-margin - @flectra-horizontal-padding) @o-kanban-record-margin;
}
.o_account_dashboard_header {
.o-flex(1, 0, 100%);
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
h4 {
font-size: @font-size-base;
diff --git a/addons/account/static/src/less/account_journal_dashboard.less b/addons/account/static/src/less/account_journal_dashboard.less
index 7e8741e5f5..32c2c9c3e8 100644
--- a/addons/account/static/src/less/account_journal_dashboard.less
+++ b/addons/account/static/src/less/account_journal_dashboard.less
@@ -6,17 +6,17 @@
}
.o_kanban_card_settings {
- padding-top: @odoo-horizontal-padding/2;
- padding-bottom: @odoo-horizontal-padding/2;
+ padding-top: @flectra-horizontal-padding/2;
+ padding-bottom: @flectra-horizontal-padding/2;
border-top: 1px solid;
- border-color: @odoo-brand-lightsecondary;
+ border-color: @flectra-brand-lightsecondary;
}
.o_dashboard_star {
font-size: 12px;
&.fa-star-o {
- color: @odoo-main-color-muted;
+ color: @flectra-main-color-muted;
&:hover {
color: gold;
}
@@ -27,7 +27,7 @@
}
.o_dashboard_graph {
- margin-bottom: -@odoo-horizontal-padding/2;
+ margin-bottom: -@flectra-horizontal-padding/2;
}
}
@@ -54,7 +54,7 @@
}
g.tick.major {
// Don't know why, but leads to strange bold text
- // stroke: @odoo-brand-primary;
+ // stroke: @flectra-brand-primary;
line {
display: none;
@@ -68,13 +68,13 @@
g.nv-linesWrap {
g.nv-group.nv-series-0 {
fill-opacity: 0.3 !important;
- fill: @odoo-brand-primary !important;
- stroke: @odoo-brand-primary !important;
+ fill: @flectra-brand-primary !important;
+ stroke: @flectra-brand-primary !important;
.nv-point {
visibility: hidden;
r: 3;
- stroke: @odoo-brand-primary !important;
+ stroke: @flectra-brand-primary !important;
fill: white;
stroke-width: 2;
}
@@ -95,11 +95,11 @@
g.nv-group.nv-series-0 {
g.past {
opacity: 0.5;
- fill: @odoo-brand-primary !important;
+ fill: @flectra-brand-primary !important;
}
g.future {
opacity: 0.5;
- fill: @odoo-brand-optional !important;
+ fill: @flectra-brand-optional !important;
}
}
}
diff --git a/addons/account/static/src/less/account_reconciliation.less b/addons/account/static/src/less/account_reconciliation.less
index 66b39301fb..deb0c76c3f 100644
--- a/addons/account/static/src/less/account_reconciliation.less
+++ b/addons/account/static/src/less/account_reconciliation.less
@@ -42,7 +42,7 @@
.o_view_nocontent {
max-width: none;
padding: 0 10%;
- color: @odoo-main-color-muted;
+ color: @flectra-main-color-muted;
font-size: 125%;
}
diff --git a/addons/account/static/src/xml/account_reconciliation.xml b/addons/account/static/src/xml/account_reconciliation.xml
index 94bef90a6f..7d24458fda 100644
--- a/addons/account/static/src/xml/account_reconciliation.xml
+++ b/addons/account/static/src/xml/account_reconciliation.xml
@@ -21,7 +21,7 @@
-
+
diff --git a/addons/account/static/tests/account_dashboard_setup_bar_tests.js b/addons/account/static/tests/account_dashboard_setup_bar_tests.js
index 4729467a13..de34dc0ab8 100644
--- a/addons/account/static/tests/account_dashboard_setup_bar_tests.js
+++ b/addons/account/static/tests/account_dashboard_setup_bar_tests.js
@@ -1,4 +1,4 @@
-odoo.define('account.setup_bar_tests', function (require) {
+flectra.define('account.setup_bar_tests', function (require) {
"use strict";
var testUtils = require('web.test_utils');
diff --git a/addons/account/static/tests/account_payment_field_tests.js b/addons/account/static/tests/account_payment_field_tests.js
index 1bbeaf6d35..dfbffe2e5e 100644
--- a/addons/account/static/tests/account_payment_field_tests.js
+++ b/addons/account/static/tests/account_payment_field_tests.js
@@ -1,4 +1,4 @@
-odoo.define('account.reconciliation_field_tests', function (require) {
+flectra.define('account.reconciliation_field_tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/account/static/tests/reconciliation_tests.js b/addons/account/static/tests/reconciliation_tests.js
index 93e4a2f365..ddf2c57dd9 100644
--- a/addons/account/static/tests/reconciliation_tests.js
+++ b/addons/account/static/tests/reconciliation_tests.js
@@ -1,4 +1,4 @@
-odoo.define('account.reconciliation_tests.data', function () {
+flectra.define('account.reconciliation_tests.data', function () {
"use strict";
var Datas = {};
@@ -502,7 +502,7 @@ Datas.getParams = function () {
return Datas;
});
-odoo.define('account.reconciliation_tests', function (require) {
+flectra.define('account.reconciliation_tests', function (require) {
"use strict";
var ReconciliationClientAction = require('account.ReconciliationClientAction');
@@ -663,7 +663,7 @@ QUnit.module('account', {
QUnit.test('Reconciliation validate without proposition', function (assert) {
assert.expect(1);
- // Test added to prevent this issue happening again: https://github.com/odoo/odoo/commit/3549688b21eb65e16b9c3f2b6462eb8d8b52cd47
+ // Test added to prevent this issue happening again: https://github.com/flectra/flectra/commit/3549688b21eb65e16b9c3f2b6462eb8d8b52cd47
var clientAction = new ReconciliationClientAction.StatementAction(null, this.params.options);
testUtils.addMockEnvironment(clientAction, {
data: this.params.data,
@@ -703,7 +703,7 @@ QUnit.module('account', {
QUnit.test('Reconciliation validate with proposition', function (assert) {
assert.expect(1);
- // Test added to check this functionality: https://github.com/odoo/odoo/commit/2f3b469dee6f18cbccce1cdf2a81cfe57960c533
+ // Test added to check this functionality: https://github.com/flectra/flectra/commit/2f3b469dee6f18cbccce1cdf2a81cfe57960c533
var clientAction = new ReconciliationClientAction.StatementAction(null, this.params.options);
testUtils.addMockEnvironment(clientAction, {
data: this.params.data,
diff --git a/addons/account/test/account_minimal_test.xml b/addons/account/test/account_minimal_test.xml
index e127af9b28..09a4e98621 100644
--- a/addons/account/test/account_minimal_test.xml
+++ b/addons/account/test/account_minimal_test.xml
@@ -1,5 +1,5 @@
-
+
@@ -307,4 +307,4 @@
-
+
diff --git a/addons/account/test/account_report.yml b/addons/account/test/account_report.yml
index 24cefb19ce..70226f2264 100644
--- a/addons/account/test/account_report.yml
+++ b/addons/account/test/account_report.yml
@@ -14,7 +14,7 @@
-
!python {model: account.invoice, id: False}: |
import os
- from odoo import tools
+ from flectra import tools
data, format = ref('account.report_invoice').render(ref('account.account_invoice_customer0'))
if tools.config['test_report_directory']:
open(os.path.join(tools.config['test_report_directory'], 'account-invoice.'+format), 'wb+').write(data)
@@ -23,7 +23,7 @@
-
!python {model: res.partner, id: False}: |
import os
- from odoo import tools
+ from flectra import tools
data, format = ref('account.report_overdue').render([ref('base.res_partner_1'),ref('base.res_partner_2'),ref('base.res_partner_12')])
if tools.config['test_report_directory']:
open(os.path.join(tools.config['test_report_directory'], 'account-report_overdue.'+format), 'wb+').write(data)
@@ -33,7 +33,7 @@
!python {model: account.account, id: False}: |
ctx={}
data_dict = {'chart_account_id':ref('account.chart0')}
- from odoo.tools import test_reports
+ from flectra.tools import test_reports
test_reports.try_report_action(self.env.cr, self.env.uid, 'action_account_aged_balance_view',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Account Balance Sheet in Normal mode
@@ -41,7 +41,7 @@
!python {model: account.account, id: False}: |
ctx={}
data_dict = {'chart_account_id':ref('account.chart0'), 'account_report_id': ref('account_financial_report_balancesheet0')}
- from odoo.tools import test_reports
+ from flectra.tools import test_reports
test_reports.try_report_action(self.env.cr, self.env.uid, 'action_account_report',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Account Balance Report in Normal mode through the wizard - From Account Chart
@@ -49,7 +49,7 @@
!python {model: account.account, id: False}: |
ctx={}
data_dict = {'chart_account_id':ref('account.chart0')}
- from odoo.tools import test_reports
+ from flectra.tools import test_reports
test_reports.try_report_action(self.env.cr, self.env.uid, 'action_account_balance_menu',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the General Ledger Report (in Landscape Mode)
@@ -57,7 +57,7 @@
!python {model: account.account, id: False}: |
ctx={}
data_dict = {'chart_account_id':ref('account.chart0')}
- from odoo.tools import test_reports
+ from flectra.tools import test_reports
test_reports.try_report_action(self.env.cr, self.env.uid, 'action_account_general_ledger_menu',wiz_data=data_dict, context=ctx, our_module='account')
-
Print the Profit-Loss Report in Normal Mode
@@ -65,5 +65,5 @@
!python {model: account.account, id: False}: |
ctx={}
data_dict = {'chart_account_id':ref('account.chart0'), 'target_move': 'all', 'account_report_id': ref('account_financial_report_balancesheet0')}
- from odoo.tools import test_reports
+ from flectra.tools import test_reports
test_reports.try_report_action(self.env.cr, self.env.uid, 'action_account_report',wiz_data=data_dict, context=ctx, our_module='account')
diff --git a/addons/account/tests/account_test_classes.py b/addons/account/tests/account_test_classes.py
index 8477f4109d..2889ea01b9 100644
--- a/addons/account/tests/account_test_classes.py
+++ b/addons/account/tests/account_test_classes.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests.common import HttpCase
-from odoo.exceptions import ValidationError
+from flectra.tests.common import HttpCase
+from flectra.exceptions import ValidationError
class AccountingTestCase(HttpCase):
""" This class extends the base TransactionCase, in order to test the
diff --git a/addons/account/tests/account_test_users.py b/addons/account/tests/account_test_users.py
index caa17a9a82..afd47474c9 100644
--- a/addons/account/tests/account_test_users.py
+++ b/addons/account/tests/account_test_users.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class AccountTestUsers(AccountingTestCase):
diff --git a/addons/account/tests/test_account_customer_invoice.py b/addons/account/tests/test_account_customer_invoice.py
index 2f7142e67d..0ee5d03c28 100644
--- a/addons/account/tests/test_account_customer_invoice.py
+++ b/addons/account/tests/test_account_customer_invoice.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_users import AccountTestUsers
+from flectra.addons.account.tests.account_test_users import AccountTestUsers
import datetime
diff --git a/addons/account/tests/test_account_invoice_rounding.py b/addons/account/tests/test_account_invoice_rounding.py
index 9b0ef0fc9e..abd1fde579 100644
--- a/addons/account/tests/test_account_invoice_rounding.py
+++ b/addons/account/tests/test_account_invoice_rounding.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
-from odoo.exceptions import ValidationError
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.exceptions import ValidationError
import time
diff --git a/addons/account/tests/test_account_move_closed_period.py b/addons/account/tests/test_account_move_closed_period.py
index f0b700247f..1ed6013c9c 100644
--- a/addons/account/tests/test_account_move_closed_period.py
+++ b/addons/account/tests/test_account_move_closed_period.py
@@ -1,7 +1,7 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
-from odoo.osv.orm import except_orm
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.osv.orm import except_orm
from datetime import datetime, timedelta
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT
class TestPeriodState(AccountingTestCase):
"""
diff --git a/addons/account/tests/test_account_supplier_invoice.py b/addons/account/tests/test_account_supplier_invoice.py
index 357ac04f8f..50475ef006 100644
--- a/addons/account/tests/test_account_supplier_invoice.py
+++ b/addons/account/tests/test_account_supplier_invoice.py
@@ -1,5 +1,5 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
-from odoo.exceptions import Warning
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.exceptions import Warning
class TestAccountSupplierInvoice(AccountingTestCase):
diff --git a/addons/account/tests/test_account_validate_account_move.py b/addons/account/tests/test_account_validate_account_move.py
index db59505af2..adde6352f2 100644
--- a/addons/account/tests/test_account_validate_account_move.py
+++ b/addons/account/tests/test_account_validate_account_move.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestAccountValidateAccount(AccountingTestCase):
diff --git a/addons/account/tests/test_bank_statement_reconciliation.py b/addons/account/tests/test_bank_statement_reconciliation.py
index 7932b32d1f..148ddb1fff 100644
--- a/addons/account/tests/test_bank_statement_reconciliation.py
+++ b/addons/account/tests/test_bank_statement_reconciliation.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestBankStatementReconciliation(AccountingTestCase):
diff --git a/addons/account/tests/test_bank_stmt_reconciliation_widget_ui.py b/addons/account/tests/test_bank_stmt_reconciliation_widget_ui.py
index 9db8bba061..7fb2c40e93 100644
--- a/addons/account/tests/test_bank_stmt_reconciliation_widget_ui.py
+++ b/addons/account/tests/test_bank_stmt_reconciliation_widget_ui.py
@@ -1,8 +1,8 @@
-from odoo.tests import HttpCase
+from flectra.tests import HttpCase
class TestUi(HttpCase):
post_install = True
at_install = False
def test_01_admin_bank_statement_reconciliation(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('bank_statement_reconciliation', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.bank_statement_reconciliation", login="admin")
+ self.phantom_js("/", "flectra.__DEBUG__.services['web.Tour'].run('bank_statement_reconciliation', 'test')", "flectra.__DEBUG__.services['web.Tour'].tours.bank_statement_reconciliation", login="admin")
diff --git a/addons/account/tests/test_fiscal_position.py b/addons/account/tests/test_fiscal_position.py
index 320c94cca8..2375ca3425 100644
--- a/addons/account/tests/test_fiscal_position.py
+++ b/addons/account/tests/test_fiscal_position.py
@@ -1,4 +1,4 @@
-from odoo.tests import common
+from flectra.tests import common
class TestFiscalPosition(common.TransactionCase):
"""Tests for fiscal positions in auto apply (account.fiscal.position).
diff --git a/addons/account/tests/test_manual_reconciliation.py b/addons/account/tests/test_manual_reconciliation.py
index c9c286711f..f1c7029530 100644
--- a/addons/account/tests/test_manual_reconciliation.py
+++ b/addons/account/tests/test_manual_reconciliation.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestManualReconciliation(AccountingTestCase):
diff --git a/addons/account/tests/test_payment.py b/addons/account/tests/test_payment.py
index 329402d99f..a7c5a528fa 100644
--- a/addons/account/tests/test_payment.py
+++ b/addons/account/tests/test_payment.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
import time
class TestPayment(AccountingTestCase):
diff --git a/addons/account/tests/test_product_id_change.py b/addons/account/tests/test_product_id_change.py
index 2aeb4309b9..fb03b0d0ad 100644
--- a/addons/account/tests/test_product_id_change.py
+++ b/addons/account/tests/test_product_id_change.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
import time
class TestProductIdChange(AccountingTestCase):
diff --git a/addons/account/tests/test_reconciliation.py b/addons/account/tests/test_reconciliation.py
index b91d474895..7782f885b9 100644
--- a/addons/account/tests/test_reconciliation.py
+++ b/addons/account/tests/test_reconciliation.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
import time
import unittest
diff --git a/addons/account/tests/test_search.py b/addons/account/tests/test_search.py
index 9f2057d110..8495a36a99 100644
--- a/addons/account/tests/test_search.py
+++ b/addons/account/tests/test_search.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_users import AccountTestUsers
+from flectra.addons.account.tests.account_test_users import AccountTestUsers
class TestSearch(AccountTestUsers):
diff --git a/addons/account/tests/test_setup_bar.py b/addons/account/tests/test_setup_bar.py
index d790e56233..3d67421c41 100644
--- a/addons/account/tests/test_setup_bar.py
+++ b/addons/account/tests/test_setup_bar.py
@@ -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.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestSetupBar(AccountingTestCase):
diff --git a/addons/account/tests/test_tax.py b/addons/account/tests/test_tax.py
index 4ca0f8c6ab..ec5ca3e957 100644
--- a/addons/account/tests/test_tax.py
+++ b/addons/account/tests/test_tax.py
@@ -1,4 +1,4 @@
-from odoo.addons.account.tests.account_test_users import AccountTestUsers
+from flectra.addons.account.tests.account_test_users import AccountTestUsers
import time
diff --git a/addons/account/tests/test_templates_consistency.py b/addons/account/tests/test_templates_consistency.py
index 74f86415e1..b4665dfa8a 100644
--- a/addons/account/tests/test_templates_consistency.py
+++ b/addons/account/tests/test_templates_consistency.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from odoo.tests.common import HttpCase
+from flectra.tests.common import HttpCase
class AccountingTestTemplConsistency(HttpCase):
diff --git a/addons/account/views/account.xml b/addons/account/views/account.xml
index b0e207336c..338f0c91c8 100644
--- a/addons/account/views/account.xml
+++ b/addons/account/views/account.xml
@@ -1,5 +1,5 @@
-
+
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/account/views/account_analytic_view.xml b/addons/account/views/account_analytic_view.xml
index cf94c946cc..1fda723bba 100644
--- a/addons/account/views/account_analytic_view.xml
+++ b/addons/account/views/account_analytic_view.xml
@@ -1,5 +1,5 @@
-
+account.analytic.line.form.inherit.account
@@ -102,4 +102,4 @@
groups="analytic.group_analytic_accounting"/>
-
+
diff --git a/addons/account/views/account_cash_rounding_view.xml b/addons/account/views/account_cash_rounding_view.xml
index 67fa2e5fc6..ebd7863d42 100644
--- a/addons/account/views/account_cash_rounding_view.xml
+++ b/addons/account/views/account_cash_rounding_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -61,4 +61,4 @@
-
+
diff --git a/addons/account/views/account_dashboard_setup_bar.xml b/addons/account/views/account_dashboard_setup_bar.xml
index c6a1c2edb5..ee212cd966 100644
--- a/addons/account/views/account_dashboard_setup_bar.xml
+++ b/addons/account/views/account_dashboard_setup_bar.xml
@@ -1,4 +1,4 @@
-
+account.journal.dashboard.kanban.jsaccount.journal
@@ -9,4 +9,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/account/views/account_end_fy.xml b/addons/account/views/account_end_fy.xml
index 04decacb70..228e0fa4f2 100644
--- a/addons/account/views/account_end_fy.xml
+++ b/addons/account/views/account_end_fy.xml
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/addons/account/views/account_financial_report_data.xml b/addons/account/views/account_financial_report_data.xml
index fc224a0f1b..227568fca1 100644
--- a/addons/account/views/account_financial_report_data.xml
+++ b/addons/account/views/account_financial_report_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -665,7 +665,7 @@
Click to create a customer invoice.
- Odoo's electronic invoicing allows to ease and fasten the
+ Flectra's electronic invoicing allows to ease and fasten the
collection of customer payments. Your customer receives the
invoice by email and he can pay online and/or import it
in his own system.
@@ -811,4 +811,4 @@
src_model="account.journal"/>
-
+
diff --git a/addons/account/views/account_report.xml b/addons/account/views/account_report.xml
index 06e077e7d8..118bca80b5 100644
--- a/addons/account/views/account_report.xml
+++ b/addons/account/views/account_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/account/views/account_tip_data.xml b/addons/account/views/account_tip_data.xml
index 8a71be7775..f462088219 100644
--- a/addons/account/views/account_tip_data.xml
+++ b/addons/account/views/account_tip_data.xml
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/addons/account/views/account_unit_test.xml b/addons/account/views/account_unit_test.xml
index 5a176e58ce..70d0988e14 100644
--- a/addons/account/views/account_unit_test.xml
+++ b/addons/account/views/account_unit_test.xml
@@ -1,5 +1,5 @@
-
+
@@ -59,4 +59,4 @@
paid
-
+
diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml
index 40f6e5a03a..535cbb565d 100644
--- a/addons/account/views/account_view.xml
+++ b/addons/account/views/account_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -719,7 +719,7 @@
occurring over a given period of time on a bank account. You
should receive this periodicaly from your bank.
- Odoo allows you to reconcile a statement line directly with
+ Flectra allows you to reconcile a statement line directly with
the related sale or puchase invoices.
@@ -802,7 +802,7 @@
A bank statement line is a financial transaction on a bank account.
- Odoo allows you to reconcile a statement line directly with
+ Flectra allows you to reconcile a statement line directly with
the related sale or puchase invoice(s).
@@ -1526,7 +1526,7 @@
A journal entry consists of several journal items, each of
which is either a debit or a credit transaction.
- Odoo automatically creates one journal entry per accounting
+ Flectra automatically creates one journal entry per accounting
document: invoice, refund, vendor payment, bank statements,
etc. So, you should record journal entries manually only/mainly
for miscellaneous operations.
@@ -2246,4 +2246,4 @@
- This guide will help you get started with Odoo Accounting.
+ This guide will help you get started with Flectra Accounting.
Once you're done, you'll benefit from:
@@ -28,11 +28,11 @@
Your Trial Balance (list of accounts and their balances).
Your outstanding invoices, payments, and undeposited funds.
-
Enjoy your Odoo experience,
+
Enjoy your Flectra experience,
- For the Odoo Team,
+ For the Flectra Team,
Fabien Pinckaers, Founder
@@ -116,7 +116,7 @@
-
Odoo can manage multiple companies, but we suggest to setup everything for your first company before configuring the other ones.
+
Flectra can manage multiple companies, but we suggest to setup everything for your first company before configuring the other ones.
@@ -142,7 +142,7 @@
Chart of Accounts
Before continuing, you must install the Chart of Account related to your country (or the generic one if your country is not listed).
- Odoo has already preconfigured a few taxes according to your country. Simply review them and check if you need more.
+ Flectra has already preconfigured a few taxes according to your country. Simply review them and check if you need more.
Check the Taxes configuration:
@@ -170,7 +170,7 @@
- To manage the tax applied when invoicing a Company, Odoo uses the concept of Fiscal Position: they serve to automatically set the right tax and/or account according to the customer country and state.
+ To manage the tax applied when invoicing a Company, Flectra uses the concept of Fiscal Position: they serve to automatically set the right tax and/or account according to the customer country and state.
We can handle the whole import process
- for you: simply send your Odoo project
+ for you: simply send your Flectra project
manager a CSV file containing all your
data.
@@ -263,7 +263,7 @@
Your Products
- A product in Odoo is something you sell or buy
+ A product in Flectra is something you sell or buy
whether or not it is goods, consumables, or services.
Choose how you want to create your products:
@@ -297,7 +297,7 @@
We can handle the whole import process
- for you: simply send your Odoo project
+ for you: simply send your Flectra project
manager a CSV file containing all your
products.
@@ -321,7 +321,7 @@
In your old accounting software, print a trial balance
@@ -330,7 +330,7 @@
It's common practice to change your accounting software
at the end of a fiscal year. This allows you to have less
data to import and balances to set. If you plan to do so,
- we recommend you start using Odoo for invoicing and payments
+ we recommend you start using Flectra for invoicing and payments
now, and then move all other accounting transactions at a later time.
@@ -340,19 +340,19 @@
Outstanding Transactions
If you want to be able to send your customers their statements
- from Odoo, you first need to record all outstanding transactions
+ from Flectra, you first need to record all outstanding transactions
in the payable and receivable accounts. These would be invoices
that have not been paid or payments that have not been reconciled.
Registering outstanding invoices and payments can be a huge undertaking,
- but you can start using Odoo without it by:
+ but you can start using Flectra without it by:
Sending customer statements (outstanding invoices) manually during the transition period
Registering payments related to outstanding invoices separately in a different account (e.g. Account Receivables 2014)
- If you want to be able to send customer statements from Odoo, you must:
+ If you want to be able to send customer statements from Flectra, you must:
@@ -394,14 +394,14 @@
Extra Features
- Odoo Accounting has many free extra-features:
+ Flectra Accounting has many free extra-features:
Assets Management
Manage your various fixed assets, such as buildings, machinery, materials, cars, etc..., and calculate their associated depreciation over time.
@@ -464,7 +464,7 @@
When inviting users, you will need to define which access rights they are allowed to have.
This is done by assigning a role to each user.
-
There are three different levels of access rights in Odoo:
+
There are three different levels of access rights in Flectra:
Test the following three scenarios in order to assist you in familiarizing yourself with Odoo:
+
Test the following three scenarios in order to assist you in familiarizing yourself with Flectra:
@@ -566,7 +566,7 @@
Record Bank Statement
Reconcile with existing transaction
- In this case, Odoo should automatically match the bank statement with the previously recorded check transaction.
+ In this case, Flectra should automatically match the bank statement with the previously recorded check transaction.
@@ -596,7 +596,7 @@
Vendor Flow
-
Test the following three scenarios in order to assist you in familiarizing yourself with Odoo:
+
Test the following three scenarios in order to assist you in familiarizing yourself with Flectra:
@@ -606,7 +606,7 @@
-
Create the bill in Odoo with a proper due date, and create the vendor if it doesnt' exist yet.
+
Create the bill in Flectra with a proper due date, and create the vendor if it doesnt' exist yet.
Cash transactions (for which there is no invoice or bill), should be entered directly into your Cash Registers bank account.
Validate the bill after encoding the products and taxes.
@@ -643,7 +643,7 @@
-
Odoo should do most of the reconciliation work automatically, so you'll only need to review a few of them when a 'Reconcile Items' button appears on your Vendor Bills dash.
+
Flectra should do most of the reconciliation work automatically, so you'll only need to review a few of them when a 'Reconcile Items' button appears on your Vendor Bills dash.
@@ -658,9 +658,9 @@
Congratulations, you're done!
We hope this tool helped you implement our accounting application.
-
Don't hesitate to send us an email to describe your experience or to suggest improvements !
-
-The Odoo Team
-
+
Don't hesitate to send us an email to describe your experience or to suggest improvements !
+
-The Flectra Team
+
@@ -678,4 +678,4 @@
-
+
diff --git a/addons/account/wizard/__init__.py b/addons/account/wizard/__init__.py
index 1529b39279..8d9f54a2cc 100644
--- a/addons/account/wizard/__init__.py
+++ b/addons/account/wizard/__init__.py
@@ -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 account_reconcile
diff --git a/addons/account/wizard/account_financial_report.py b/addons/account/wizard/account_financial_report.py
index 0ea2c6e55c..885acca351 100644
--- a/addons/account/wizard/account_financial_report.py
+++ b/addons/account/wizard/account_financial_report.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class AccountingReport(models.TransientModel):
diff --git a/addons/account/wizard/account_financial_report_view.xml b/addons/account/wizard/account_financial_report_view.xml
index 3d73e7b376..2ac12a72b9 100644
--- a/addons/account/wizard/account_financial_report_view.xml
+++ b/addons/account/wizard/account_financial_report_view.xml
@@ -1,5 +1,5 @@
-
+Accounting Report
@@ -69,4 +69,4 @@
-
+
diff --git a/addons/account/wizard/account_invoice_refund.py b/addons/account/wizard/account_invoice_refund.py
index 4fdd998f21..1f064a0780 100644
--- a/addons/account/wizard/account_invoice_refund.py
+++ b/addons/account/wizard/account_invoice_refund.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api, _
-from odoo.tools.safe_eval import safe_eval
-from odoo.exceptions import UserError
+from flectra import models, fields, api, _
+from flectra.tools.safe_eval import safe_eval
+from flectra.exceptions import UserError
class AccountInvoiceRefund(models.TransientModel):
diff --git a/addons/account/wizard/account_invoice_refund_view.xml b/addons/account/wizard/account_invoice_refund_view.xml
index 1bfcc5e255..111c26d371 100644
--- a/addons/account/wizard/account_invoice_refund_view.xml
+++ b/addons/account/wizard/account_invoice_refund_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -58,4 +58,4 @@
-
+
diff --git a/addons/account/wizard/account_invoice_state.py b/addons/account/wizard/account_invoice_state.py
index 1b5aa387a6..b4231dc8fc 100644
--- a/addons/account/wizard/account_invoice_state.py
+++ b/addons/account/wizard/account_invoice_state.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import models, api, _
-from odoo.exceptions import UserError
+from flectra import models, api, _
+from flectra.exceptions import UserError
class AccountInvoiceConfirm(models.TransientModel):
diff --git a/addons/account/wizard/account_invoice_state_view.xml b/addons/account/wizard/account_invoice_state_view.xml
index 068f2ac655..2cf24b2cca 100644
--- a/addons/account/wizard/account_invoice_state_view.xml
+++ b/addons/account/wizard/account_invoice_state_view.xml
@@ -1,4 +1,4 @@
-
+
@@ -27,4 +27,4 @@
view_mode="form" target="new" view_type="form" />
-
+
diff --git a/addons/account/wizard/account_move_reversal.py b/addons/account/wizard/account_move_reversal.py
index 9fecac50a2..24bf9f21de 100644
--- a/addons/account/wizard/account_move_reversal.py
+++ b/addons/account/wizard/account_move_reversal.py
@@ -1,5 +1,5 @@
-from odoo import models, fields, api
-from odoo.tools.translate import _
+from flectra import models, fields, api
+from flectra.tools.translate import _
class AccountMoveReversal(models.TransientModel):
"""
diff --git a/addons/account/wizard/account_move_reversal_view.xml b/addons/account/wizard/account_move_reversal_view.xml
index dbe59d4ae3..2de7a15755 100644
--- a/addons/account/wizard/account_move_reversal_view.xml
+++ b/addons/account/wizard/account_move_reversal_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -29,4 +29,4 @@
-
+
diff --git a/addons/account/wizard/account_reconcile.py b/addons/account/wizard/account_reconcile.py
index 42e3e44109..6e4dec80e6 100644
--- a/addons/account/wizard/account_reconcile.py
+++ b/addons/account/wizard/account_reconcile.py
@@ -1,5 +1,5 @@
-from odoo import models, fields, api, _
-from odoo.tools.float_utils import float_round
+from flectra import models, fields, api, _
+from flectra.tools.float_utils import float_round
class AccountMoveLineReconcile(models.TransientModel):
diff --git a/addons/account/wizard/account_reconcile_view.xml b/addons/account/wizard/account_reconcile_view.xml
index 4225438b35..5b641a3618 100644
--- a/addons/account/wizard/account_reconcile_view.xml
+++ b/addons/account/wizard/account_reconcile_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -56,4 +56,4 @@
-
+
diff --git a/addons/account/wizard/account_report_aged_partner_balance.py b/addons/account/wizard/account_report_aged_partner_balance.py
index caf29c1fa5..0899be62b8 100644
--- a/addons/account/wizard/account_report_aged_partner_balance.py
+++ b/addons/account/wizard/account_report_aged_partner_balance.py
@@ -3,8 +3,8 @@
import time
from datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class AccountAgedTrialBalance(models.TransientModel):
diff --git a/addons/account/wizard/account_report_aged_partner_balance_view.xml b/addons/account/wizard/account_report_aged_partner_balance_view.xml
index 630474d5d0..6791dc4519 100644
--- a/addons/account/wizard/account_report_aged_partner_balance_view.xml
+++ b/addons/account/wizard/account_report_aged_partner_balance_view.xml
@@ -1,5 +1,5 @@
-
+Aged Partner Balance
@@ -7,7 +7,7 @@
+
diff --git a/addons/account/wizard/account_report_common.py b/addons/account/wizard/account_report_common.py
index f7cba98548..9712be6b8b 100644
--- a/addons/account/wizard/account_report_common.py
+++ b/addons/account/wizard/account_report_common.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
class AccountCommonReport(models.TransientModel):
diff --git a/addons/account/wizard/account_report_common_account.py b/addons/account/wizard/account_report_common_account.py
index bbb217d5b2..263b1dbe7e 100644
--- a/addons/account/wizard/account_report_common_account.py
+++ b/addons/account/wizard/account_report_common_account.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class AccountCommonAccountReport(models.TransientModel):
diff --git a/addons/account/wizard/account_report_common_journal.py b/addons/account/wizard/account_report_common_journal.py
index 2e7ffd1c38..3d10c50003 100644
--- a/addons/account/wizard/account_report_common_journal.py
+++ b/addons/account/wizard/account_report_common_journal.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class AccountCommonJournalReport(models.TransientModel):
diff --git a/addons/account/wizard/account_report_common_partner.py b/addons/account/wizard/account_report_common_partner.py
index 21ff0d5e33..c7f3af4321 100644
--- a/addons/account/wizard/account_report_common_partner.py
+++ b/addons/account/wizard/account_report_common_partner.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class AccountingCommonPartnerReport(models.TransientModel):
diff --git a/addons/account/wizard/account_report_common_view.xml b/addons/account/wizard/account_report_common_view.xml
index 569a95b82a..5c8c9fddcc 100644
--- a/addons/account/wizard/account_report_common_view.xml
+++ b/addons/account/wizard/account_report_common_view.xml
@@ -1,5 +1,5 @@
-
+Common Report
@@ -32,4 +32,4 @@
new
-
+
diff --git a/addons/account/wizard/account_report_general_ledger.py b/addons/account/wizard/account_report_general_ledger.py
index ca8766696a..a39b5265be 100644
--- a/addons/account/wizard/account_report_general_ledger.py
+++ b/addons/account/wizard/account_report_general_ledger.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models, _
-from odoo.exceptions import UserError
+from flectra import fields, models, _
+from flectra.exceptions import UserError
class AccountReportGeneralLedger(models.TransientModel):
diff --git a/addons/account/wizard/account_report_general_ledger_view.xml b/addons/account/wizard/account_report_general_ledger_view.xml
index 680cd08849..50fb1ea884 100644
--- a/addons/account/wizard/account_report_general_ledger_view.xml
+++ b/addons/account/wizard/account_report_general_ledger_view.xml
@@ -1,5 +1,5 @@
-
+General Ledger
@@ -37,4 +37,4 @@
groups="account.group_account_user"
/>
-
+
diff --git a/addons/account/wizard/account_report_partner_ledger.py b/addons/account/wizard/account_report_partner_ledger.py
index 0dc5dff606..aa06becf17 100644
--- a/addons/account/wizard/account_report_partner_ledger.py
+++ b/addons/account/wizard/account_report_partner_ledger.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models, _
-from odoo.exceptions import UserError
+from flectra import fields, models, _
+from flectra.exceptions import UserError
class AccountPartnerLedger(models.TransientModel):
diff --git a/addons/account/wizard/account_report_partner_ledger_view.xml b/addons/account/wizard/account_report_partner_ledger_view.xml
index 62f05c655d..b4a26ed21e 100644
--- a/addons/account/wizard/account_report_partner_ledger_view.xml
+++ b/addons/account/wizard/account_report_partner_ledger_view.xml
@@ -1,5 +1,5 @@
-
+Partner Ledger
@@ -38,4 +38,4 @@
groups="account.group_account_user"
/>
-
+
diff --git a/addons/account/wizard/account_report_print_journal.py b/addons/account/wizard/account_report_print_journal.py
index fee6144198..aef096902d 100644
--- a/addons/account/wizard/account_report_print_journal.py
+++ b/addons/account/wizard/account_report_print_journal.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class AccountPrintJournal(models.TransientModel):
diff --git a/addons/account/wizard/account_report_print_journal_view.xml b/addons/account/wizard/account_report_print_journal_view.xml
index 5103f6aabe..5240c82a5c 100644
--- a/addons/account/wizard/account_report_print_journal_view.xml
+++ b/addons/account/wizard/account_report_print_journal_view.xml
@@ -1,5 +1,5 @@
-
+Journals Audit
@@ -34,4 +34,4 @@
groups="account.group_account_manager,account.group_account_user"
/>
-
+
diff --git a/addons/account/wizard/account_report_tax.py b/addons/account/wizard/account_report_tax.py
index 4e2c2e21e5..a9aa60e933 100644
--- a/addons/account/wizard/account_report_tax.py
+++ b/addons/account/wizard/account_report_tax.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import models
+from flectra import models
class AccountTaxReport(models.TransientModel):
diff --git a/addons/account/wizard/account_report_tax_view.xml b/addons/account/wizard/account_report_tax_view.xml
index a65ae7b05e..2bf2cf1721 100644
--- a/addons/account/wizard/account_report_tax_view.xml
+++ b/addons/account/wizard/account_report_tax_view.xml
@@ -1,5 +1,5 @@
-
+Tax Reports
@@ -32,4 +32,4 @@
-
+
diff --git a/addons/account/wizard/account_report_trial_balance.py b/addons/account/wizard/account_report_trial_balance.py
index 38809a9566..19e664968e 100644
--- a/addons/account/wizard/account_report_trial_balance.py
+++ b/addons/account/wizard/account_report_trial_balance.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class AccountBalanceReport(models.TransientModel):
diff --git a/addons/account/wizard/account_report_trial_balance_view.xml b/addons/account/wizard/account_report_trial_balance_view.xml
index 12c0f34dd5..1da85bf3f8 100644
--- a/addons/account/wizard/account_report_trial_balance_view.xml
+++ b/addons/account/wizard/account_report_trial_balance_view.xml
@@ -1,6 +1,6 @@
-
+Trial Balance
@@ -35,4 +35,4 @@
action="action_account_balance_menu"
groups="account.group_account_user"/>
-
+
diff --git a/addons/account/wizard/account_unreconcile.py b/addons/account/wizard/account_unreconcile.py
index 10ccb7bd1c..fc1ee6eebe 100644
--- a/addons/account/wizard/account_unreconcile.py
+++ b/addons/account/wizard/account_unreconcile.py
@@ -1,4 +1,4 @@
-from odoo import models, api
+from flectra import models, api
class AccountUnreconcile(models.TransientModel):
diff --git a/addons/account/wizard/account_unreconcile_view.xml b/addons/account/wizard/account_unreconcile_view.xml
index 1c7927b2f8..e035977a8a 100644
--- a/addons/account/wizard/account_unreconcile_view.xml
+++ b/addons/account/wizard/account_unreconcile_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -28,4 +28,4 @@
-
+
diff --git a/addons/account/wizard/account_validate_account_move.py b/addons/account/wizard/account_validate_account_move.py
index f74b7aefb5..9c882ec02b 100644
--- a/addons/account/wizard/account_validate_account_move.py
+++ b/addons/account/wizard/account_validate_account_move.py
@@ -1,5 +1,5 @@
-from odoo import models, api, _
-from odoo.exceptions import UserError
+from flectra import models, api, _
+from flectra.exceptions import UserError
class ValidateAccountMove(models.TransientModel):
diff --git a/addons/account/wizard/account_validate_move_view.xml b/addons/account/wizard/account_validate_move_view.xml
index 2d94db9afb..22a2a5e1ac 100644
--- a/addons/account/wizard/account_validate_move_view.xml
+++ b/addons/account/wizard/account_validate_move_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -31,4 +31,4 @@
-
+
diff --git a/addons/account/wizard/pos_box.py b/addons/account/wizard/pos_box.py
index f720449d55..e8eae51680 100644
--- a/addons/account/wizard/pos_box.py
+++ b/addons/account/wizard/pos_box.py
@@ -1,5 +1,5 @@
-from odoo import models, fields, api, _
-from odoo.exceptions import UserError
+from flectra import models, fields, api, _
+from flectra.exceptions import UserError
class CashBox(models.TransientModel):
_register = False
diff --git a/addons/account/wizard/pos_box.xml b/addons/account/wizard/pos_box.xml
index f325c39a33..e26f67b0d7 100644
--- a/addons/account/wizard/pos_box.xml
+++ b/addons/account/wizard/pos_box.xml
@@ -1,5 +1,5 @@
-
+cash_box_in
@@ -56,4 +56,4 @@
key2="client_action_multi"
id="action_cash_box_out" />
-
+
diff --git a/addons/account/wizard/setup_wizards.py b/addons/account/wizard/setup_wizards.py
index f31cb6812b..b02258061c 100644
--- a/addons/account/wizard/setup_wizards.py
+++ b/addons/account/wizard/setup_wizards.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class FinancialYearOpeningWizard(models.TransientModel):
@@ -9,7 +9,7 @@ class FinancialYearOpeningWizard(models.TransientModel):
company_id = fields.Many2one(comodel_name='res.company', required=True)
opening_move_posted = fields.Boolean(string='Opening Move Posted', compute='_compute_opening_move_posted')
- opening_date = fields.Date(string='Opening Date', required=True, related='company_id.account_opening_date', help="Date from which the accounting is managed in Odoo. It is the date of the opening entry.")
+ opening_date = fields.Date(string='Opening Date', required=True, related='company_id.account_opening_date', help="Date from which the accounting is managed in Flectra. It is the date of the opening entry.")
fiscalyear_last_day = fields.Integer(related="company_id.fiscalyear_last_day", required=True,
help="The last day of the month will be taken if the chosen day doesn't exist.")
fiscalyear_last_month = fields.Selection(selection=[(1, 'January'), (2, 'February'), (3, 'March'), (4, 'April'), (5, 'May'), (6, 'June'), (7, 'July'), (8, 'August'), (9, 'September'), (10, 'October'), (11, 'November'), (12, 'December')],
diff --git a/addons/account/wizard/setup_wizards_view.xml b/addons/account/wizard/setup_wizards_view.xml
index d10e753a28..bac2d9bab4 100644
--- a/addons/account/wizard/setup_wizards_view.xml
+++ b/addons/account/wizard/setup_wizards_view.xml
@@ -1,6 +1,6 @@
-
+
@@ -160,4 +160,4 @@
-
+
diff --git a/addons/account/wizard/wizard_tax_adjustments.py b/addons/account/wizard/wizard_tax_adjustments.py
index 8c5002347c..17bba6cf80 100644
--- a/addons/account/wizard/wizard_tax_adjustments.py
+++ b/addons/account/wizard/wizard_tax_adjustments.py
@@ -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 models, fields, api
+from flectra import models, fields, api
class TaxAdjustments(models.TransientModel):
diff --git a/addons/account/wizard/wizard_tax_adjustments_view.xml b/addons/account/wizard/wizard_tax_adjustments_view.xml
index 3d4ed0a9e9..6ad03047ee 100644
--- a/addons/account/wizard/wizard_tax_adjustments_view.xml
+++ b/addons/account/wizard/wizard_tax_adjustments_view.xml
@@ -1,5 +1,5 @@
-
+tax.adjustments.wizard.form
@@ -32,4 +32,4 @@
-
+
diff --git a/addons/account_analytic_default/__init__.py b/addons/account_analytic_default/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/account_analytic_default/__init__.py
+++ b/addons/account_analytic_default/__init__.py
@@ -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 models
diff --git a/addons/account_analytic_default/__manifest__.py b/addons/account_analytic_default/__manifest__.py
index 3559efb426..66bd8258c6 100644
--- a/addons/account_analytic_default/__manifest__.py
+++ b/addons/account_analytic_default/__manifest__.py
@@ -1,8 +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.
{
'name': 'Account Analytic Defaults',
+ "author":"Odoo S.A",
'version': '1.0',
'category': 'Accounting',
'description': """
@@ -17,7 +18,7 @@ Allows to automatically select analytic accounts based on criterions:
* Company
* Date
""",
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'depends': ['sale_stock'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/account_analytic_default/models/__init__.py b/addons/account_analytic_default/models/__init__.py
index 1df432cd76..8d5b8d598c 100644
--- a/addons/account_analytic_default/models/__init__.py
+++ b/addons/account_analytic_default/models/__init__.py
@@ -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 account_analytic_default
from . import sale_order_line
diff --git a/addons/account_analytic_default/models/account_analytic_default.py b/addons/account_analytic_default/models/account_analytic_default.py
index 9ef2add29b..aea90eff68 100644
--- a/addons/account_analytic_default/models/account_analytic_default.py
+++ b/addons/account_analytic_default/models/account_analytic_default.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class AccountAnalyticDefault(models.Model):
diff --git a/addons/account_analytic_default/models/sale_order_line.py b/addons/account_analytic_default/models/sale_order_line.py
index 9997f9ba1c..32bc61a81f 100644
--- a/addons/account_analytic_default/models/sale_order_line.py
+++ b/addons/account_analytic_default/models/sale_order_line.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class SaleOrderLine(models.Model):
diff --git a/addons/account_analytic_default/security/account_analytic_default_security.xml b/addons/account_analytic_default/security/account_analytic_default_security.xml
index 5183a7fb2d..f3e9881c11 100644
--- a/addons/account_analytic_default/security/account_analytic_default_security.xml
+++ b/addons/account_analytic_default/security/account_analytic_default_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/account_analytic_default/views/account_analytic_default_view.xml b/addons/account_analytic_default/views/account_analytic_default_view.xml
index 262f61b309..0d5861efe5 100644
--- a/addons/account_analytic_default/views/account_analytic_default_view.xml
+++ b/addons/account_analytic_default/views/account_analytic_default_view.xml
@@ -1,5 +1,5 @@
-
+account.analytic.default.treeaccount.analytic.default
@@ -122,4 +122,4 @@
src_model="res.users"
context="{'search_default_user_id': [active_id], 'default_user_id': active_id}"
groups="analytic.group_analytic_accounting"/>
-
+
diff --git a/addons/account_analytic_default/views/res_config_settings_views.xml b/addons/account_analytic_default/views/res_config_settings_views.xml
index 9e204e6968..34d27e0cac 100644
--- a/addons/account_analytic_default/views/res_config_settings_views.xml
+++ b/addons/account_analytic_default/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.account.analytic.default
@@ -14,5 +14,5 @@
-
+
diff --git a/addons/account_asset/__init__.py b/addons/account_asset/__init__.py
index f17ad3dbae..5cf102c628 100644
--- a/addons/account_asset/__init__.py
+++ b/addons/account_asset/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/account_asset/__manifest__.py b/addons/account_asset/__manifest__.py
index 6f60136fb1..5500de18ab 100644
--- a/addons/account_asset/__manifest__.py
+++ b/addons/account_asset/__manifest__.py
@@ -1,8 +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.
{
'name': 'Assets Management',
+ "author":"Odoo S.A",
'depends': ['account'],
'description': """
Assets management
@@ -11,7 +12,7 @@ Manage assets owned by a company or a person.
Keeps track of depreciations, and creates corresponding journal entries.
""",
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'category': 'Accounting',
'sequence': 32,
'demo': [
diff --git a/addons/account_asset/data/account_asset_data.xml b/addons/account_asset/data/account_asset_data.xml
index 3f9a28987d..5e8c0fad5d 100644
--- a/addons/account_asset/data/account_asset_data.xml
+++ b/addons/account_asset/data/account_asset_data.xml
@@ -1,5 +1,5 @@
-
+Account Asset: Generate asset entries
@@ -10,4 +10,4 @@
-1
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/account_asset/models/__init__.py b/addons/account_asset/models/__init__.py
index 93b31dc775..89999d5cec 100644
--- a/addons/account_asset/models/__init__.py
+++ b/addons/account_asset/models/__init__.py
@@ -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 account
from . import account_asset
diff --git a/addons/account_asset/models/account.py b/addons/account_asset/models/account.py
index 7a2a3bc496..f5d13b5213 100644
--- a/addons/account_asset/models/account.py
+++ b/addons/account_asset/models/account.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class AccountMove(models.Model):
diff --git a/addons/account_asset/models/account_asset.py b/addons/account_asset/models/account_asset.py
index 8d4119659f..45bf685da7 100644
--- a/addons/account_asset/models/account_asset.py
+++ b/addons/account_asset/models/account_asset.py
@@ -1,14 +1,14 @@
# -*- 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.
import calendar
from datetime import date, datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError, ValidationError
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF
-from odoo.tools import float_compare, float_is_zero
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError, ValidationError
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT as DF
+from flectra.tools import float_compare, float_is_zero
class AccountAssetCategory(models.Model):
diff --git a/addons/account_asset/models/account_invoice.py b/addons/account_asset/models/account_invoice.py
index dd22ea851f..b2960c2835 100644
--- a/addons/account_asset/models/account_invoice.py
+++ b/addons/account_asset/models/account_invoice.py
@@ -1,12 +1,12 @@
# -*- 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 datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF
+from flectra import api, fields, models
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT as DF
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
class AccountInvoice(models.Model):
diff --git a/addons/account_asset/models/product.py b/addons/account_asset/models/product.py
index 0934a95f4b..636f74123f 100644
--- a/addons/account_asset/models/product.py
+++ b/addons/account_asset/models/product.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ProductTemplate(models.Model):
diff --git a/addons/account_asset/report/__init__.py b/addons/account_asset/report/__init__.py
index 092b527cf0..60ded67974 100644
--- a/addons/account_asset/report/__init__.py
+++ b/addons/account_asset/report/__init__.py
@@ -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 account_asset_report
diff --git a/addons/account_asset/report/account_asset_report.py b/addons/account_asset/report/account_asset_report.py
index 540d7880f3..697976baf2 100644
--- a/addons/account_asset/report/account_asset_report.py
+++ b/addons/account_asset/report/account_asset_report.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class AssetAssetReport(models.Model):
_name = "asset.asset.report"
diff --git a/addons/account_asset/report/account_asset_report_views.xml b/addons/account_asset/report/account_asset_report_views.xml
index ff097ad935..be959b540a 100644
--- a/addons/account_asset/report/account_asset_report_views.xml
+++ b/addons/account_asset/report/account_asset_report_views.xml
@@ -1,5 +1,5 @@
-
+asset.asset.report.pivot
@@ -74,4 +74,4 @@
-
+
diff --git a/addons/account_asset/security/account_asset_security.xml b/addons/account_asset/security/account_asset_security.xml
index 02320b922d..52039fbbdc 100644
--- a/addons/account_asset/security/account_asset_security.xml
+++ b/addons/account_asset/security/account_asset_security.xml
@@ -1,5 +1,5 @@
-
+Account Asset Category multi-company
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/account_asset/static/src/js/account_asset.js b/addons/account_asset/static/src/js/account_asset.js
index 1a403adbb6..f984915bb1 100644
--- a/addons/account_asset/static/src/js/account_asset.js
+++ b/addons/account_asset/static/src/js/account_asset.js
@@ -1,4 +1,4 @@
-odoo.define('account_asset.widget', function(require) {
+flectra.define('account_asset.widget', function(require) {
"use strict";
/**
diff --git a/addons/account_asset/static/tests/account_asset_tests.js b/addons/account_asset/static/tests/account_asset_tests.js
index f59af58d91..a502199cbc 100644
--- a/addons/account_asset/static/tests/account_asset_tests.js
+++ b/addons/account_asset/static/tests/account_asset_tests.js
@@ -1,4 +1,4 @@
-odoo.define('account_asset.widget_tests', function (require) {
+flectra.define('account_asset.widget_tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/account_asset/test/account_asset_demo_test.xml b/addons/account_asset/test/account_asset_demo_test.xml
index c9e85df732..51106efd52 100644
--- a/addons/account_asset/test/account_asset_demo_test.xml
+++ b/addons/account_asset/test/account_asset_demo_test.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/account_asset/views/product_views.xml b/addons/account_asset/views/product_views.xml
index d58c8ae31a..a2d410981e 100644
--- a/addons/account_asset/views/product_views.xml
+++ b/addons/account_asset/views/product_views.xml
@@ -1,5 +1,5 @@
-
+Product Template (form)
@@ -14,4 +14,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/account_asset/views/res_config_settings_views.xml b/addons/account_asset/views/res_config_settings_views.xml
index 3b197660be..ef1b2a18cb 100644
--- a/addons/account_asset/views/res_config_settings_views.xml
+++ b/addons/account_asset/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.account.asset
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/account_asset/wizard/__init__.py b/addons/account_asset/wizard/__init__.py
index 0cd53499c6..54b7d20366 100644
--- a/addons/account_asset/wizard/__init__.py
+++ b/addons/account_asset/wizard/__init__.py
@@ -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 asset_depreciation_confirmation_wizard
from . import asset_modify
diff --git a/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py b/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py
index 4ba3245871..4edaa53cff 100644
--- a/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py
+++ b/addons/account_asset/wizard/asset_depreciation_confirmation_wizard.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class AssetDepreciationConfirmationWizard(models.TransientModel):
diff --git a/addons/account_asset/wizard/asset_depreciation_confirmation_wizard_views.xml b/addons/account_asset/wizard/asset_depreciation_confirmation_wizard_views.xml
index ee12b16724..b1be743043 100644
--- a/addons/account_asset/wizard/asset_depreciation_confirmation_wizard_views.xml
+++ b/addons/account_asset/wizard/asset_depreciation_confirmation_wizard_views.xml
@@ -1,5 +1,5 @@
-
+asset.depreciation.confirmation.wizardasset.depreciation.confirmation.wizard
@@ -36,4 +36,4 @@
id="menu_asset_depreciation_confirmation_wizard"
parent="account.menu_finance_entries_generate_entries" sequence="111" groups="base.group_no_one"/>
-
+
diff --git a/addons/account_asset/wizard/asset_modify.py b/addons/account_asset/wizard/asset_modify.py
index d31df65645..7747f32265 100644
--- a/addons/account_asset/wizard/asset_modify.py
+++ b/addons/account_asset/wizard/asset_modify.py
@@ -1,10 +1,10 @@
# -*- 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 lxml import etree
-from odoo import api, fields, models, _
-from odoo.osv.orm import setup_modifiers
+from flectra import api, fields, models, _
+from flectra.osv.orm import setup_modifiers
class AssetModify(models.TransientModel):
diff --git a/addons/account_asset/wizard/asset_modify_views.xml b/addons/account_asset/wizard/asset_modify_views.xml
index 6e0335376e..89c87ef2df 100644
--- a/addons/account_asset/wizard/asset_modify_views.xml
+++ b/addons/account_asset/wizard/asset_modify_views.xml
@@ -1,5 +1,5 @@
-
+wizard.asset.modify.form
@@ -38,4 +38,4 @@
new
-
+
diff --git a/addons/account_bank_statement_import/account_bank_statement_import.py b/addons/account_bank_statement_import/account_bank_statement_import.py
index afd62cc359..f6ccd9945a 100644
--- a/addons/account_bank_statement_import/account_bank_statement_import.py
+++ b/addons/account_bank_statement_import/account_bank_statement_import.py
@@ -2,9 +2,9 @@
import base64
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.addons.base.res.res_bank import sanitize_account_number
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.addons.base.res.res_bank import sanitize_account_number
import logging
_logger = logging.getLogger(__name__)
@@ -37,7 +37,7 @@ class AccountBankStatementImport(models.TransientModel):
currency_code, account_number, stmts_vals = self.with_context(active_id=self.ids[0])._parse_file(base64.b64decode(self.data_file))
# Check raw data
self._check_parsed_data(stmts_vals)
- # Try to find the currency and journal in odoo
+ # Try to find the currency and journal in flectra
currency, journal = self._find_additional_data(currency_code, account_number)
# If no journal found, ask the user about creating one
if not journal:
@@ -100,7 +100,7 @@ class AccountBankStatementImport(models.TransientModel):
- 'amount': float
- 'unique_import_id': string
-o 'account_number': string
- Will be used to find/create the res.partner.bank in odoo
+ Will be used to find/create the res.partner.bank in flectra
-o 'note': string
-o 'partner_name': string
-o 'ref': string
diff --git a/addons/account_bank_statement_import/account_bank_statement_import_view.xml b/addons/account_bank_statement_import/account_bank_statement_import_view.xml
index 27d945d64e..32905bcbdd 100644
--- a/addons/account_bank_statement_import/account_bank_statement_import_view.xml
+++ b/addons/account_bank_statement_import/account_bank_statement_import_view.xml
@@ -1,5 +1,5 @@
-
+Import Bank Statements
@@ -52,4 +52,4 @@
-
+
diff --git a/addons/account_bank_statement_import/account_import_tip_data.xml b/addons/account_bank_statement_import/account_import_tip_data.xml
index 8a71be7775..f462088219 100644
--- a/addons/account_bank_statement_import/account_import_tip_data.xml
+++ b/addons/account_bank_statement_import/account_import_tip_data.xml
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/addons/account_bank_statement_import/account_journal.py b/addons/account_bank_statement_import/account_journal.py
index 5986442788..ae991aa8a2 100644
--- a/addons/account_bank_statement_import/account_journal.py
+++ b/addons/account_bank_statement_import/account_journal.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api
+from flectra import models, fields, api
class AccountJournal(models.Model):
diff --git a/addons/account_bank_statement_import/demo/partner_bank.xml b/addons/account_bank_statement_import/demo/partner_bank.xml
index bec745cfa1..5a8516837e 100644
--- a/addons/account_bank_statement_import/demo/partner_bank.xml
+++ b/addons/account_bank_statement_import/demo/partner_bank.xml
@@ -1,5 +1,5 @@
-
+
@@ -31,4 +31,4 @@
-
+
diff --git a/addons/account_bank_statement_import/wizard/journal_creation.py b/addons/account_bank_statement_import/wizard/journal_creation.py
index d5572980e4..7751df04cb 100644
--- a/addons/account_bank_statement_import/wizard/journal_creation.py
+++ b/addons/account_bank_statement_import/wizard/journal_creation.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class AccountBankStatementImportJounalCreation(models.TransientModel):
diff --git a/addons/account_bank_statement_import/wizard/journal_creation.xml b/addons/account_bank_statement_import/wizard/journal_creation.xml
index 666c70d9f6..88497183f0 100644
--- a/addons/account_bank_statement_import/wizard/journal_creation.xml
+++ b/addons/account_bank_statement_import/wizard/journal_creation.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,7 +7,7 @@
account.bank.statement.import.journal.creation
-
+
diff --git a/addons/account_budget/__init__.py b/addons/account_budget/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/account_budget/__init__.py
+++ b/addons/account_budget/__init__.py
@@ -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 models
diff --git a/addons/account_budget/__manifest__.py b/addons/account_budget/__manifest__.py
index b9b7766c65..e9a55e9e3a 100644
--- a/addons/account_budget/__manifest__.py
+++ b/addons/account_budget/__manifest__.py
@@ -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.
{
'name': 'Budgets Management',
@@ -27,7 +27,7 @@ Three reports are available:
3. The last one is available from the Analytic Chart of Accounts. It gives
the spreading, for the selected Analytic Accounts of Budgets.
""",
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'depends': ['account'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/account_budget/data/account_budget_demo.xml b/addons/account_budget/data/account_budget_demo.xml
index 2c8654419e..0eceeaeb30 100644
--- a/addons/account_budget/data/account_budget_demo.xml
+++ b/addons/account_budget/data/account_budget_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/account_budget/models/__init__.py b/addons/account_budget/models/__init__.py
index a57168c04b..317008cfff 100644
--- a/addons/account_budget/models/__init__.py
+++ b/addons/account_budget/models/__init__.py
@@ -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 account_budget
from . import account_analytic_account
diff --git a/addons/account_budget/models/account_analytic_account.py b/addons/account_budget/models/account_analytic_account.py
index 4f80f8ce7a..538fe808dc 100644
--- a/addons/account_budget/models/account_analytic_account.py
+++ b/addons/account_budget/models/account_analytic_account.py
@@ -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 AccountAnalyticAccount(models.Model):
_inherit = "account.analytic.account"
diff --git a/addons/account_budget/models/account_budget.py b/addons/account_budget/models/account_budget.py
index b27f389cdb..3a83bccb31 100644
--- a/addons/account_budget/models/account_budget.py
+++ b/addons/account_budget/models/account_budget.py
@@ -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, fields, models, _
-from odoo.tools import ustr
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, _
+from flectra.tools import ustr
+from flectra.exceptions import UserError, ValidationError
# ---------------------------------------------------------
# Budgets
diff --git a/addons/account_budget/security/account_budget_security.xml b/addons/account_budget/security/account_budget_security.xml
index edd9638188..47ccf39d4b 100644
--- a/addons/account_budget/security/account_budget_security.xml
+++ b/addons/account_budget/security/account_budget_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -28,4 +28,4 @@
-
+
diff --git a/addons/account_budget/tests/__init__.py b/addons/account_budget/tests/__init__.py
index 1e3f1e3c91..ac65bf5f6d 100644
--- a/addons/account_budget/tests/__init__.py
+++ b/addons/account_budget/tests/__init__.py
@@ -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 common
from . import test_theoreticalamount
diff --git a/addons/account_budget/tests/common.py b/addons/account_budget/tests/common.py
index 36757dba6d..9cfac5c9f1 100644
--- a/addons/account_budget/tests/common.py
+++ b/addons/account_budget/tests/common.py
@@ -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.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
import time
@@ -10,7 +10,7 @@ class TestAccountBudgetCommon(AccountingTestCase):
def setUp(self):
super(TestAccountBudgetCommon, self).setUp()
- # In order to check account budget module in Odoo I created a budget with few budget positions
+ # In order to check account budget module in Flectra I created a budget with few budget positions
# Checking if the budgetary positions have accounts or not
account_ids = self.env['account.account'].search([
('user_type_id', '=', self.ref('account.data_account_type_revenue')),
diff --git a/addons/account_budget/tests/test_account_budget.py b/addons/account_budget/tests/test_account_budget.py
index 690ae50594..50674a306a 100644
--- a/addons/account_budget/tests/test_account_budget.py
+++ b/addons/account_budget/tests/test_account_budget.py
@@ -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 .common import TestAccountBudgetCommon
-from odoo.fields import Date
+from flectra.fields import Date
import datetime
diff --git a/addons/account_budget/tests/test_theoreticalamount.py b/addons/account_budget/tests/test_theoreticalamount.py
index cde8f81a9b..245550b704 100644
--- a/addons/account_budget/tests/test_theoreticalamount.py
+++ b/addons/account_budget/tests/test_theoreticalamount.py
@@ -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 .common import TestAccountBudgetCommon
try:
@@ -7,7 +7,7 @@ try:
except ImportError:
from mock import patch
-from odoo.fields import Datetime
+from flectra.fields import Datetime
# ---------------------------------------------------------
# Tests
@@ -41,7 +41,7 @@ class TestTheoreticalAmount(TestAccountBudgetCommon):
'planned_amount': -364,
})
- self.patcher = patch('odoo.addons.account_budget.models.account_budget.fields.Datetime', wraps=Datetime)
+ self.patcher = patch('flectra.addons.account_budget.models.account_budget.fields.Datetime', wraps=Datetime)
self.mock_datetime = self.patcher.start()
def test_01(self):
diff --git a/addons/account_budget/views/account_analytic_account_views.xml b/addons/account_budget/views/account_analytic_account_views.xml
index 0b19a8eaa6..95b4e8f3a4 100644
--- a/addons/account_budget/views/account_analytic_account_views.xml
+++ b/addons/account_budget/views/account_analytic_account_views.xml
@@ -1,5 +1,5 @@
-
+account.analytic.account.form.inherit.budgetaccount.analytic.account
@@ -35,4 +35,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/account_budget/views/account_budget_views.xml b/addons/account_budget/views/account_budget_views.xml
index 6c7d8859b6..af5859f734 100644
--- a/addons/account_budget/views/account_budget_views.xml
+++ b/addons/account_budget/views/account_budget_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -307,4 +307,4 @@
src_model="account.analytic.account"
id="act_account_analytic_account_cb_lines"/>
-
+
diff --git a/addons/account_budget/views/res_config_settings_views.xml b/addons/account_budget/views/res_config_settings_views.xml
index 154fb8de5d..32a11341b6 100644
--- a/addons/account_budget/views/res_config_settings_views.xml
+++ b/addons/account_budget/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.account.budget
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/account_cancel/__init__.py b/addons/account_cancel/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/account_cancel/__init__.py
+++ b/addons/account_cancel/__init__.py
@@ -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 models
diff --git a/addons/account_cancel/__manifest__.py b/addons/account_cancel/__manifest__.py
index 2d259641f5..fb64a23b5c 100644
--- a/addons/account_cancel/__manifest__.py
+++ b/addons/account_cancel/__manifest__.py
@@ -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.
{
'name': 'Cancel Journal Entries',
@@ -21,7 +21,7 @@ It also operates on invoices, bank statements, payments ...
Be careful with this module as it has audit implications. Cancelling accounting entries is not authorized in all countries.
""",
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'depends': ['account'],
'data': ['views/account_views.xml'],
'demo': [],
diff --git a/addons/account_cancel/models/__init__.py b/addons/account_cancel/models/__init__.py
index 062a533e8c..7e11559593 100644
--- a/addons/account_cancel/models/__init__.py
+++ b/addons/account_cancel/models/__init__.py
@@ -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 account_bank_statement
diff --git a/addons/account_cancel/models/account_bank_statement.py b/addons/account_cancel/models/account_bank_statement.py
index f5e23e0b47..14abd6ec05 100644
--- a/addons/account_cancel/models/account_bank_statement.py
+++ b/addons/account_cancel/models/account_bank_statement.py
@@ -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 models, api, _
-from odoo.exceptions import UserError
+from flectra import models, api, _
+from flectra.exceptions import UserError
class BankStatement(models.Model):
diff --git a/addons/account_cancel/views/account_views.xml b/addons/account_cancel/views/account_views.xml
index 428c6b4414..1333bd8405 100644
--- a/addons/account_cancel/views/account_views.xml
+++ b/addons/account_cancel/views/account_views.xml
@@ -1,5 +1,5 @@
-
+account.journal.formaccount.journal
@@ -81,4 +81,4 @@
-
+
diff --git a/addons/account_check_printing/__init__.py b/addons/account_check_printing/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/account_check_printing/__init__.py
+++ b/addons/account_check_printing/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/account_check_printing/__manifest__.py b/addons/account_check_printing/__manifest__.py
index 345f20c27a..04fbdc4be5 100644
--- a/addons/account_check_printing/__manifest__.py
+++ b/addons/account_check_printing/__manifest__.py
@@ -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.
{
'name': 'Check Printing Base',
@@ -11,7 +11,7 @@ This module offers the basic functionalities to make payments by printing checks
It must be used as a dependency for modules that provide country-specific check templates.
The check settings are located in the accounting journals configuration page.
""",
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'depends': ['account'],
'data': [
'data/account_check_printing_data.xml',
diff --git a/addons/account_check_printing/data/account_check_printing_data.xml b/addons/account_check_printing/data/account_check_printing_data.xml
index d4c3704f4d..1524d600dd 100644
--- a/addons/account_check_printing/data/account_check_printing_data.xml
+++ b/addons/account_check_printing/data/account_check_printing_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -23,4 +23,4 @@ if records:
-
+
diff --git a/addons/account_check_printing/models/__init__.py b/addons/account_check_printing/models/__init__.py
index d24b030109..4500b8c874 100644
--- a/addons/account_check_printing/models/__init__.py
+++ b/addons/account_check_printing/models/__init__.py
@@ -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 account_journal
from . import account_payment
diff --git a/addons/account_check_printing/models/account_journal.py b/addons/account_check_printing/models/account_journal.py
index 2424427252..bc17ff3729 100644
--- a/addons/account_check_printing/models/account_journal.py
+++ b/addons/account_check_printing/models/account_journal.py
@@ -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 models, fields, api, _
-from odoo.exceptions import ValidationError
+from flectra import models, fields, api, _
+from flectra.exceptions import ValidationError
class AccountJournal(models.Model):
_inherit = "account.journal"
diff --git a/addons/account_check_printing/models/account_payment.py b/addons/account_check_printing/models/account_payment.py
index aa49b0f199..f297734956 100644
--- a/addons/account_check_printing/models/account_payment.py
+++ b/addons/account_check_printing/models/account_payment.py
@@ -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 models, fields, api, _
-from odoo.exceptions import UserError, ValidationError
+from flectra import models, fields, api, _
+from flectra.exceptions import UserError, ValidationError
class AccountRegisterPayments(models.TransientModel):
diff --git a/addons/account_check_printing/models/chart_template.py b/addons/account_check_printing/models/chart_template.py
index fc053b576e..2aeabbc891 100644
--- a/addons/account_check_printing/models/chart_template.py
+++ b/addons/account_check_printing/models/chart_template.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, models
+from flectra import api, models
class WizardMultiChartsAccounts(models.TransientModel):
diff --git a/addons/account_check_printing/views/account_journal_views.xml b/addons/account_check_printing/views/account_journal_views.xml
index 92989a46fa..31d02105f1 100644
--- a/addons/account_check_printing/views/account_journal_views.xml
+++ b/addons/account_check_printing/views/account_journal_views.xml
@@ -1,5 +1,5 @@
-
+account.journal.dashboard.kanban.inheritedaccount.journal
@@ -49,4 +49,4 @@
-
+
diff --git a/addons/account_check_printing/views/account_payment_views.xml b/addons/account_check_printing/views/account_payment_views.xml
index f3836a4409..730980c700 100644
--- a/addons/account_check_printing/views/account_payment_views.xml
+++ b/addons/account_check_printing/views/account_payment_views.xml
@@ -1,5 +1,5 @@
-
+account.payment.form.inheritedaccount.payment
@@ -60,4 +60,4 @@
-
+
diff --git a/addons/account_check_printing/wizard/__init__.py b/addons/account_check_printing/wizard/__init__.py
index 2cdbcdb8b4..c5686a6200 100644
--- a/addons/account_check_printing/wizard/__init__.py
+++ b/addons/account_check_printing/wizard/__init__.py
@@ -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 print_prenumbered_checks
diff --git a/addons/account_check_printing/wizard/print_prenumbered_checks.py b/addons/account_check_printing/wizard/print_prenumbered_checks.py
index 1e2dd235bc..6b8588cd29 100644
--- a/addons/account_check_printing/wizard/print_prenumbered_checks.py
+++ b/addons/account_check_printing/wizard/print_prenumbered_checks.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class PrintPreNumberedChecks(models.TransientModel):
diff --git a/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml b/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml
index 428ff9c2de..b56bdd571b 100644
--- a/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml
+++ b/addons/account_check_printing/wizard/print_prenumbered_checks_views.xml
@@ -1,5 +1,5 @@
-
+Print Pre-numbered Checks
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/account_invoicing/__init__.py b/addons/account_invoicing/__init__.py
index 67dee8c60d..7eb1309519 100644
--- a/addons/account_invoicing/__init__.py
+++ b/addons/account_invoicing/__init__.py
@@ -1,2 +1,2 @@
# -*- 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.
diff --git a/addons/account_invoicing/__manifest__.py b/addons/account_invoicing/__manifest__.py
index 038e76dfb0..79ba75de11 100644
--- a/addons/account_invoicing/__manifest__.py
+++ b/addons/account_invoicing/__manifest__.py
@@ -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.
{
'name': 'Invoicing Management',
@@ -14,7 +14,7 @@ The specific and easy-to-use Invoicing system in Odoo allows you to keep track o
You could use this simplified accounting in case you work with an (external) account to keep your books, and you still want to keep track of payments. This module also offers you an easy method of registering payments, without having to encode complete abstracts of account.
""",
'category': 'Invoicing Management',
- 'website': 'https://www.odoo.com/page/billing',
+ 'website': 'https://flectrahq.com/page/billing',
'depends': ['account'],
'data': [
'views/account_menuitem_views.xml',
diff --git a/addons/account_invoicing/static/src/js/tour.js b/addons/account_invoicing/static/src/js/tour.js
index 2c76f93635..06f9c2d8ac 100644
--- a/addons/account_invoicing/static/src/js/tour.js
+++ b/addons/account_invoicing/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define('account_invoicing.tour', function(require) {
+flectra.define('account_invoicing.tour', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/account_invoicing/views/account_invoicing_templates.xml b/addons/account_invoicing/views/account_invoicing_templates.xml
index 0d2c17a798..7924d91f57 100644
--- a/addons/account_invoicing/views/account_invoicing_templates.xml
+++ b/addons/account_invoicing/views/account_invoicing_templates.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/addons/account_invoicing/views/account_invoicing_views.xml b/addons/account_invoicing/views/account_invoicing_views.xml
index 923de74916..17ef663b8a 100644
--- a/addons/account_invoicing/views/account_invoicing_views.xml
+++ b/addons/account_invoicing/views/account_invoicing_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.account.invoicing
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/account_invoicing/views/account_menuitem_views.xml b/addons/account_invoicing/views/account_menuitem_views.xml
index 947b92fe03..b28c312a28 100644
--- a/addons/account_invoicing/views/account_menuitem_views.xml
+++ b/addons/account_invoicing/views/account_menuitem_views.xml
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/addons/account_invoicing/views/product_template_views.xml b/addons/account_invoicing/views/product_template_views.xml
index b9ce26f3f3..82aa3f5f36 100644
--- a/addons/account_invoicing/views/product_template_views.xml
+++ b/addons/account_invoicing/views/product_template_views.xml
@@ -1,5 +1,5 @@
-
+product.template.invoice.policyproduct.template
@@ -10,4 +10,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/account_payment/__init__.py b/addons/account_payment/__init__.py
index 3ea0f0cac4..83f48777e4 100644
--- a/addons/account_payment/__init__.py
+++ b/addons/account_payment/__init__.py
@@ -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
\ No newline at end of file
diff --git a/addons/account_payment/controllers/__init__.py b/addons/account_payment/controllers/__init__.py
index f453df5749..bfac064434 100644
--- a/addons/account_payment/controllers/__init__.py
+++ b/addons/account_payment/controllers/__init__.py
@@ -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 portal
from . import payment
\ No newline at end of file
diff --git a/addons/account_payment/controllers/payment.py b/addons/account_payment/controllers/payment.py
index 80924b910b..49a67ad5e2 100644
--- a/addons/account_payment/controllers/payment.py
+++ b/addons/account_payment/controllers/payment.py
@@ -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 http, _
-from odoo.addons.portal.controllers.portal import _build_url_w_params
-from odoo.http import request, route
+from flectra import http, _
+from flectra.addons.portal.controllers.portal import _build_url_w_params
+from flectra.http import request, route
class PaymentPortal(http.Controller):
diff --git a/addons/account_payment/controllers/portal.py b/addons/account_payment/controllers/portal.py
index a2247288fd..e2feed24e0 100644
--- a/addons/account_payment/controllers/portal.py
+++ b/addons/account_payment/controllers/portal.py
@@ -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.addons.account.controllers.portal import PortalAccount
-from odoo.http import request
+from flectra.addons.account.controllers.portal import PortalAccount
+from flectra.http import request
class PortalAccount(PortalAccount):
diff --git a/addons/account_payment/models/__init__.py b/addons/account_payment/models/__init__.py
index 8d8e41dece..c42bded194 100644
--- a/addons/account_payment/models/__init__.py
+++ b/addons/account_payment/models/__init__.py
@@ -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 account_invoice
from . import payment
diff --git a/addons/account_payment/models/account_invoice.py b/addons/account_payment/models/account_invoice.py
index 12d377a537..e24b63a028 100644
--- a/addons/account_payment/models/account_invoice.py
+++ b/addons/account_payment/models/account_invoice.py
@@ -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 AccountInvoice(models.Model):
diff --git a/addons/account_payment/models/payment.py b/addons/account_payment/models/payment.py
index 0ad11d3978..32fbe10458 100644
--- a/addons/account_payment/models/payment.py
+++ b/addons/account_payment/models/payment.py
@@ -1,10 +1,10 @@
# -*- 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.
import logging
-from odoo import fields, models, _
-from odoo.tools import float_compare
+from flectra import fields, models, _
+from flectra.tools import float_compare
_logger = logging.getLogger(__name__)
diff --git a/addons/account_payment/views/account_invoice_views.xml b/addons/account_payment/views/account_invoice_views.xml
index 0eaf313cab..39991917d5 100644
--- a/addons/account_payment/views/account_invoice_views.xml
+++ b/addons/account_payment/views/account_invoice_views.xml
@@ -1,5 +1,5 @@
-
+account.invoice.view.form.inherit.paymentaccount.invoice
@@ -14,4 +14,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/account_payment/views/account_portal_templates.xml b/addons/account_payment/views/account_portal_templates.xml
index 46e745e146..755160ca5b 100644
--- a/addons/account_payment/views/account_portal_templates.xml
+++ b/addons/account_payment/views/account_portal_templates.xml
@@ -1,4 +1,4 @@
-
+
Status
@@ -123,4 +123,4 @@
-
+
diff --git a/addons/account_payment/views/payment_views.xml b/addons/account_payment/views/payment_views.xml
index e83f69909f..197375cf26 100644
--- a/addons/account_payment/views/payment_views.xml
+++ b/addons/account_payment/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+payment.transaction.view.form.inherit.account.paymentpayment.transaction
@@ -10,4 +10,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/account_tax_python/__init__.py b/addons/account_tax_python/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/account_tax_python/__init__.py
+++ b/addons/account_tax_python/__init__.py
@@ -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 models
diff --git a/addons/account_tax_python/__manifest__.py b/addons/account_tax_python/__manifest__.py
index 7bf983c4cc..1f27fabecd 100644
--- a/addons/account_tax_python/__manifest__.py
+++ b/addons/account_tax_python/__manifest__.py
@@ -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.
{
'name': "Define Taxes as Python Code",
diff --git a/addons/account_tax_python/models/__init__.py b/addons/account_tax_python/models/__init__.py
index 728620e312..bd9eff1568 100644
--- a/addons/account_tax_python/models/__init__.py
+++ b/addons/account_tax_python/models/__init__.py
@@ -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 account_tax
diff --git a/addons/account_tax_python/models/account_tax.py b/addons/account_tax_python/models/account_tax.py
index 8b438b8285..c618a6f641 100644
--- a/addons/account_tax_python/models/account_tax.py
+++ b/addons/account_tax_python/models/account_tax.py
@@ -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 models, fields, api
-from odoo.tools.safe_eval import safe_eval
+from flectra import models, fields, api
+from flectra.tools.safe_eval import safe_eval
class AccountTaxPython(models.Model):
diff --git a/addons/account_tax_python/views/account_tax_views.xml b/addons/account_tax_python/views/account_tax_views.xml
index 7b9c70dcd6..91af431b9f 100644
--- a/addons/account_tax_python/views/account_tax_views.xml
+++ b/addons/account_tax_python/views/account_tax_views.xml
@@ -1,5 +1,5 @@
-
+account.tax.form.inheritedaccount.tax
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/account_test/__init__.py b/addons/account_test/__init__.py
index 2609681a93..589a2be5b3 100644
--- a/addons/account_test/__init__.py
+++ b/addons/account_test/__init__.py
@@ -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 models
from . import report
diff --git a/addons/account_test/__manifest__.py b/addons/account_test/__manifest__.py
index 98e3f8dd14..6185232677 100644
--- a/addons/account_test/__manifest__.py
+++ b/addons/account_test/__manifest__.py
@@ -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.
# Copyright (c) 2011 CCI Connect asbl (http://www.cciconnect.be) All Rights Reserved.
# Philmer
@@ -8,7 +8,7 @@
'name': 'Accounting Consistency Tests',
'version': '1.0',
'category': 'Accounting',
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'description': """
Asserts on accounting.
======================
diff --git a/addons/account_test/data/accounting_assert_test_data.xml b/addons/account_test/data/accounting_assert_test_data.xml
index a0cfbf17c4..dfabfb9eda 100644
--- a/addons/account_test/data/accounting_assert_test_data.xml
+++ b/addons/account_test/data/accounting_assert_test_data.xml
@@ -1,5 +1,5 @@
-
+1
@@ -100,7 +100,7 @@ if res:
Test 6Â : Invoices statusCheck that paid/reconciled invoices are not in 'Open' state -->
-
+
diff --git a/addons/account_test/models/__init__.py b/addons/account_test/models/__init__.py
index 2fbb777482..4ecb5bd721 100644
--- a/addons/account_test/models/__init__.py
+++ b/addons/account_test/models/__init__.py
@@ -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 accounting_assert_test
diff --git a/addons/account_test/models/accounting_assert_test.py b/addons/account_test/models/accounting_assert_test.py
index f2ee18f67d..3278790972 100644
--- a/addons/account_test/models/accounting_assert_test.py
+++ b/addons/account_test/models/accounting_assert_test.py
@@ -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
CODE_EXEC_DEFAULT = '''\
res = []
diff --git a/addons/account_test/report/__init__.py b/addons/account_test/report/__init__.py
index 8476cf00cf..49f1b01029 100644
--- a/addons/account_test/report/__init__.py
+++ b/addons/account_test/report/__init__.py
@@ -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 report_account_test
diff --git a/addons/account_test/report/accounting_assert_test_reports.xml b/addons/account_test/report/accounting_assert_test_reports.xml
index 8eb8102c61..741a2c8119 100644
--- a/addons/account_test/report/accounting_assert_test_reports.xml
+++ b/addons/account_test/report/accounting_assert_test_reports.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/account_test/report/report_account_test.py b/addons/account_test/report/report_account_test.py
index ac64c1faea..bdf7ff82b7 100644
--- a/addons/account_test/report/report_account_test.py
+++ b/addons/account_test/report/report_account_test.py
@@ -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.
import datetime
-from odoo import api, models, _
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, models, _
+from flectra.tools.safe_eval import safe_eval
#
# Use period and Journal for selection or resources
#
diff --git a/addons/account_test/report/report_account_test_templates.xml b/addons/account_test/report/report_account_test_templates.xml
index 6bd95f5d88..af8015ff80 100644
--- a/addons/account_test/report/report_account_test_templates.xml
+++ b/addons/account_test/report/report_account_test_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/account_test/views/accounting_assert_test_views.xml b/addons/account_test/views/accounting_assert_test_views.xml
index 4e96168f2a..d41fe98e13 100644
--- a/addons/account_test/views/accounting_assert_test_views.xml
+++ b/addons/account_test/views/accounting_assert_test_views.xml
@@ -1,5 +1,5 @@
-
+accounting.assert.test.tree
@@ -80,4 +80,4 @@ Example:
-
+
diff --git a/addons/account_voucher/__init__.py b/addons/account_voucher/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/account_voucher/__init__.py
+++ b/addons/account_voucher/__init__.py
@@ -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 models
diff --git a/addons/account_voucher/__manifest__.py b/addons/account_voucher/__manifest__.py
index 47ad10e75e..a83e26bb8a 100644
--- a/addons/account_voucher/__manifest__.py
+++ b/addons/account_voucher/__manifest__.py
@@ -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.
{
'name' : 'Sale & Purchase Vouchers',
@@ -25,7 +25,7 @@ This module manages:
""",
'category': 'Accounting',
'sequence': 20,
- 'website' : 'https://www.odoo.com/page/billing',
+ 'website' : 'https://flectrahq.com/page/billing',
'depends' : ['account'],
'demo' : [],
'data' : [
diff --git a/addons/account_voucher/data/account_voucher_data.xml b/addons/account_voucher/data/account_voucher_data.xml
index e2407e8c22..62683f33d7 100644
--- a/addons/account_voucher/data/account_voucher_data.xml
+++ b/addons/account_voucher/data/account_voucher_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/account_voucher/models/__init__.py b/addons/account_voucher/models/__init__.py
index 9fcbd08c89..3a7a2efa4c 100644
--- a/addons/account_voucher/models/__init__.py
+++ b/addons/account_voucher/models/__init__.py
@@ -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 account_voucher
\ No newline at end of file
diff --git a/addons/account_voucher/models/account_voucher.py b/addons/account_voucher/models/account_voucher.py
index f6fc6efbf2..09a1dae947 100644
--- a/addons/account_voucher/models/account_voucher.py
+++ b/addons/account_voucher/models/account_voucher.py
@@ -1,10 +1,10 @@
# -*- 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, api, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError
+from flectra import fields, models, api, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError
class AccountVoucher(models.Model):
diff --git a/addons/account_voucher/security/account_voucher_security.xml b/addons/account_voucher/security/account_voucher_security.xml
index c32e720f67..5c9863dea7 100644
--- a/addons/account_voucher/security/account_voucher_security.xml
+++ b/addons/account_voucher/security/account_voucher_security.xml
@@ -1,5 +1,5 @@
-
+Voucher multi-company
@@ -14,4 +14,4 @@
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
+
diff --git a/addons/account_voucher/test/account_voucher.yml b/addons/account_voucher/test/account_voucher.yml
index df195e58d6..f25dd9007a 100644
--- a/addons/account_voucher/test/account_voucher.yml
+++ b/addons/account_voucher/test/account_voucher.yml
@@ -5,7 +5,7 @@
uid: 'res_users_account_voucher_user'
-
- In order to check account voucher module in Odoo I create a customer voucher
+ In order to check account voucher module in Flectra I create a customer voucher
-
!record {model: account.voucher, id: account_voucher_voucherforaxelor0, view: view_sale_receipt_form}:
voucher_type: sale
diff --git a/addons/account_voucher/views/account_voucher_views.xml b/addons/account_voucher/views/account_voucher_views.xml
index c0bec72cc5..4e0170cb90 100644
--- a/addons/account_voucher/views/account_voucher_views.xml
+++ b/addons/account_voucher/views/account_voucher_views.xml
@@ -1,5 +1,5 @@
-
+account.voucher.treeaccount.voucher
@@ -432,4 +432,4 @@
-
+
diff --git a/addons/analytic/__init__.py b/addons/analytic/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/analytic/__init__.py
+++ b/addons/analytic/__init__.py
@@ -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 models
diff --git a/addons/analytic/__manifest__.py b/addons/analytic/__manifest__.py
index 74499219a6..547a3f33f8 100644
--- a/addons/analytic/__manifest__.py
+++ b/addons/analytic/__manifest__.py
@@ -1,10 +1,10 @@
# -*- 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.
{
'name' : 'Analytic Accounting',
'version': '1.1',
- 'website' : 'https://www.odoo.com/page/accounting',
+ 'website' : 'https://flectrahq.com/page/accounting',
'category': 'Hidden/Dependency',
'depends' : ['base', 'decimal_precision', 'mail'],
'description': """
diff --git a/addons/analytic/data/analytic_account_demo.xml b/addons/analytic/data/analytic_account_demo.xml
index e1c2244f1a..1626756644 100644
--- a/addons/analytic/data/analytic_account_demo.xml
+++ b/addons/analytic/data/analytic_account_demo.xml
@@ -1,5 +1,5 @@
-
+Leaves
@@ -70,4 +70,4 @@
Commercial & Marketing
-
+
diff --git a/addons/analytic/data/analytic_demo.xml b/addons/analytic/data/analytic_demo.xml
index 8e97402670..cad607484b 100644
--- a/addons/analytic/data/analytic_demo.xml
+++ b/addons/analytic/data/analytic_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/analytic/models/__init__.py b/addons/analytic/models/__init__.py
index d1fd64b96f..eb5982b7d7 100644
--- a/addons/analytic/models/__init__.py
+++ b/addons/analytic/models/__init__.py
@@ -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 analytic_account
diff --git a/addons/analytic/models/analytic_account.py b/addons/analytic/models/analytic_account.py
index a87a948e1f..531d1cb617 100644
--- a/addons/analytic/models/analytic_account.py
+++ b/addons/analytic/models/analytic_account.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class AccountAnalyticTag(models.Model):
diff --git a/addons/analytic/security/analytic_security.xml b/addons/analytic/security/analytic_security.xml
index 12e2ed75cb..bc6f92f278 100644
--- a/addons/analytic/security/analytic_security.xml
+++ b/addons/analytic/security/analytic_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -24,4 +24,4 @@
-
+
diff --git a/addons/analytic/views/analytic_account_views.xml b/addons/analytic/views/analytic_account_views.xml
index 179d6f7865..a930635a84 100644
--- a/addons/analytic/views/analytic_account_views.xml
+++ b/addons/analytic/views/analytic_account_views.xml
@@ -1,5 +1,5 @@
-
+account.analytic.tag.treeaccount.analytic.tag
@@ -69,7 +69,7 @@
No activity yet on this account.
- In Odoo, sales orders and projects are implemented using
+ In Flectra, sales orders and projects are implemented using
analytic accounts. You can track costs and revenues to analyse
your margins easily.
@@ -328,7 +328,7 @@
No activity yet.
- In Odoo, sales orders and projects are implemented using
+ In Flectra, sales orders and projects are implemented using
analytic accounts. You can track costs and revenues to analyse
your margins easily.
@@ -342,4 +342,4 @@
-
+
diff --git a/addons/anonymization/__init__.py b/addons/anonymization/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/anonymization/__init__.py
+++ b/addons/anonymization/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/anonymization/__manifest__.py b/addons/anonymization/__manifest__.py
index 1ddd445e9d..598cab3b48 100644
--- a/addons/anonymization/__manifest__.py
+++ b/addons/anonymization/__manifest__.py
@@ -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.
{
diff --git a/addons/anonymization/data/anonymization_demo.xml b/addons/anonymization/data/anonymization_demo.xml
index 91a107bae2..b49c0608c7 100644
--- a/addons/anonymization/data/anonymization_demo.xml
+++ b/addons/anonymization/data/anonymization_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,5 +18,5 @@
-
+
diff --git a/addons/anonymization/models/__init__.py b/addons/anonymization/models/__init__.py
index fb6fe0e781..9c27782ebd 100644
--- a/addons/anonymization/models/__init__.py
+++ b/addons/anonymization/models/__init__.py
@@ -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 anonymization
diff --git a/addons/anonymization/models/anonymization.py b/addons/anonymization/models/anonymization.py
index a0c9038293..0eeb0228a9 100644
--- a/addons/anonymization/models/anonymization.py
+++ b/addons/anonymization/models/anonymization.py
@@ -1,12 +1,12 @@
# -*- 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 itertools import groupby
from operator import itemgetter
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import pycompat
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import pycompat
FIELD_STATES = [('clear', 'Clear'), ('anonymized', 'Anonymized'), ('not_existing', 'Not Existing'), ('new', 'New')]
ANONYMIZATION_HISTORY_STATE = [('started', 'Started'), ('done', 'Done'), ('in_exception', 'Exception occured')]
diff --git a/addons/anonymization/views/anonymization_views.xml b/addons/anonymization/views/anonymization_views.xml
index c29680d819..8756a64a5e 100644
--- a/addons/anonymization/views/anonymization_views.xml
+++ b/addons/anonymization/views/anonymization_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -145,4 +145,4 @@
parent="menu_administration_anonymization"
sequence="20" />
-
+
diff --git a/addons/anonymization/wizard/__init__.py b/addons/anonymization/wizard/__init__.py
index fe8d7d1c64..70ffc06599 100644
--- a/addons/anonymization/wizard/__init__.py
+++ b/addons/anonymization/wizard/__init__.py
@@ -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 anonymize_wizard
diff --git a/addons/anonymization/wizard/anonymize_wizard.py b/addons/anonymization/wizard/anonymize_wizard.py
index 4ba71b0345..65a4e03925 100644
--- a/addons/anonymization/wizard/anonymize_wizard.py
+++ b/addons/anonymization/wizard/anonymize_wizard.py
@@ -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.
import base64
import json
@@ -9,12 +9,12 @@ import random
from lxml import etree
from operator import itemgetter
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.release import version_info
-from odoo.tools import pickle
-from odoo.tools.safe_eval import safe_eval
-from odoo.addons.anonymization.models.anonymization import group
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.release import version_info
+from flectra.tools import pickle
+from flectra.tools.safe_eval import safe_eval
+from flectra.addons.anonymization.models.anonymization import group
WIZARD_ANONYMIZATION_STATES = [('clear', 'Clear'), ('anonymized', 'Anonymized'), ('unstable', 'Unstable')]
diff --git a/addons/anonymization/wizard/anonymize_wizard_views.xml b/addons/anonymization/wizard/anonymize_wizard_views.xml
index abe577e855..1e03a5d05a 100644
--- a/addons/anonymization/wizard/anonymize_wizard_views.xml
+++ b/addons/anonymization/wizard/anonymize_wizard_views.xml
@@ -1,5 +1,5 @@
-
+ir.model.fields.anonymize.wizard.form
@@ -41,4 +41,4 @@
parent="anonymization.menu_administration_anonymization"
sequence="30" />
-
+
diff --git a/addons/association/__init__.py b/addons/association/__init__.py
index 67dee8c60d..7eb1309519 100644
--- a/addons/association/__init__.py
+++ b/addons/association/__init__.py
@@ -1,2 +1,2 @@
# -*- 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.
diff --git a/addons/association/__manifest__.py b/addons/association/__manifest__.py
index 5a49299ac6..8e7515c5a5 100644
--- a/addons/association/__manifest__.py
+++ b/addons/association/__manifest__.py
@@ -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.
{
diff --git a/addons/association/views/association_views.xml b/addons/association/views/association_views.xml
index 48210e76e9..67b5f5c2f9 100644
--- a/addons/association/views/association_views.xml
+++ b/addons/association/views/association_views.xml
@@ -1,9 +1,9 @@
-
+
-
+
diff --git a/addons/auth_crypt/__init__.py b/addons/auth_crypt/__init__.py
index be9f4fab00..0803f61949 100644
--- a/addons/auth_crypt/__init__.py
+++ b/addons/auth_crypt/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 models
diff --git a/addons/auth_crypt/__manifest__.py b/addons/auth_crypt/__manifest__.py
index c5dc5463c4..d10a7a72f8 100644
--- a/addons/auth_crypt/__manifest__.py
+++ b/addons/auth_crypt/__manifest__.py
@@ -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.
{
'name': 'Password Encryption',
diff --git a/addons/auth_crypt/models/res_users.py b/addons/auth_crypt/models/res_users.py
index 708998acbd..79fe7c5ec4 100644
--- a/addons/auth_crypt/models/res_users.py
+++ b/addons/auth_crypt/models/res_users.py
@@ -3,10 +3,10 @@
import logging
from passlib.context import CryptContext
-import odoo
-from odoo import api, fields, models
+import flectra
+from flectra import api, fields, models
-from odoo.addons.base.res import res_users
+from flectra.addons.base.res import res_users
res_users.USER_PRIVATE_FIELDS.append('password_crypt')
_logger = logging.getLogger(__name__)
@@ -61,7 +61,7 @@ class ResUsers(models.Model):
self.invalidate_cache()
try:
return super(ResUsers, self).check_credentials(password)
- except odoo.exceptions.AccessDenied:
+ except flectra.exceptions.AccessDenied:
if encrypted:
valid_pass, replacement = user._crypt_context()\
.verify_and_update(password, encrypted)
diff --git a/addons/auth_ldap/__init__.py b/addons/auth_ldap/__init__.py
index d6210b1285..aaea41f08e 100644
--- a/addons/auth_ldap/__init__.py
+++ b/addons/auth_ldap/__init__.py
@@ -1,3 +1,3 @@
-# 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 models
diff --git a/addons/auth_ldap/__manifest__.py b/addons/auth_ldap/__manifest__.py
index 62fa393e24..ce3515be0e 100644
--- a/addons/auth_ldap/__manifest__.py
+++ b/addons/auth_ldap/__manifest__.py
@@ -1,4 +1,4 @@
-# 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.
{
'name' : 'Authentication via LDAP',
diff --git a/addons/auth_ldap/models/__init__.py b/addons/auth_ldap/models/__init__.py
index 9e041b4c84..f117380057 100644
--- a/addons/auth_ldap/models/__init__.py
+++ b/addons/auth_ldap/models/__init__.py
@@ -1,4 +1,4 @@
-# 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 res_company
from . import res_company_ldap
diff --git a/addons/auth_ldap/models/res_company.py b/addons/auth_ldap/models/res_company.py
index f6a519ffd1..0b62609910 100644
--- a/addons/auth_ldap/models/res_company.py
+++ b/addons/auth_ldap/models/res_company.py
@@ -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 ResCompany(models.Model):
diff --git a/addons/auth_ldap/models/res_company_ldap.py b/addons/auth_ldap/models/res_company_ldap.py
index 92914a93c4..a94d50a45c 100644
--- a/addons/auth_ldap/models/res_company_ldap.py
+++ b/addons/auth_ldap/models/res_company_ldap.py
@@ -1,12 +1,12 @@
# -*- 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.
import ldap
import logging
from ldap.filter import filter_format
-from odoo import api, fields, models, tools
-from odoo.tools.pycompat import to_native
+from flectra import api, fields, models, tools
+from flectra.tools.pycompat import to_native
_logger = logging.getLogger(__name__)
@@ -192,7 +192,7 @@ class CompanyLDAP(models.Model):
if res[1]:
user_id = res[0]
elif conf['create_user']:
- _logger.debug("Creating new Odoo user \"%s\" from LDAP" % login)
+ _logger.debug("Creating new Flectra user \"%s\" from LDAP" % login)
values = self.map_ldap_attributes(conf, login, ldap_entry)
SudoUser = self.env['res.users'].sudo()
if conf['user']:
diff --git a/addons/auth_ldap/models/res_config_settings.py b/addons/auth_ldap/models/res_config_settings.py
index 92158e3fa3..4256264dc3 100644
--- a/addons/auth_ldap/models/res_config_settings.py
+++ b/addons/auth_ldap/models/res_config_settings.py
@@ -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):
diff --git a/addons/auth_ldap/models/res_users.py b/addons/auth_ldap/models/res_users.py
index 83887f802a..163c92ddd7 100644
--- a/addons/auth_ldap/models/res_users.py
+++ b/addons/auth_ldap/models/res_users.py
@@ -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.exceptions import AccessDenied
+from flectra.exceptions import AccessDenied
-from odoo import api, models, registry, SUPERUSER_ID
+from flectra import api, models, registry, SUPERUSER_ID
class Users(models.Model):
diff --git a/addons/auth_ldap/views/ldap_installer_views.xml b/addons/auth_ldap/views/ldap_installer_views.xml
index 9d8bc50ed0..7a896b70de 100644
--- a/addons/auth_ldap/views/ldap_installer_views.xml
+++ b/addons/auth_ldap/views/ldap_installer_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -54,4 +54,4 @@
tree,form
-
+
diff --git a/addons/auth_ldap/views/res_config_settings_views.xml b/addons/auth_ldap/views/res_config_settings_views.xml
index a426a75569..a30e24c1df 100644
--- a/addons/auth_ldap/views/res_config_settings_views.xml
+++ b/addons/auth_ldap/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.auth.ldapres.config.settings
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/auth_oauth/__init__.py b/addons/auth_oauth/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/auth_oauth/__init__.py
+++ b/addons/auth_oauth/__init__.py
@@ -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
diff --git a/addons/auth_oauth/__manifest__.py b/addons/auth_oauth/__manifest__.py
index c78134cb07..553cc8b22b 100644
--- a/addons/auth_oauth/__manifest__.py
+++ b/addons/auth_oauth/__manifest__.py
@@ -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.
{
'name': 'OAuth2 Authentication',
diff --git a/addons/auth_oauth/controllers/__init__.py b/addons/auth_oauth/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/auth_oauth/controllers/__init__.py
+++ b/addons/auth_oauth/controllers/__init__.py
@@ -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 main
diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py
index e231cd0f6d..da1b7d5353 100644
--- a/addons/auth_oauth/controllers/main.py
+++ b/addons/auth_oauth/controllers/main.py
@@ -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.
import functools
import logging
@@ -10,13 +10,13 @@ import werkzeug.urls
import werkzeug.utils
from werkzeug.exceptions import BadRequest
-from odoo import api, http, SUPERUSER_ID, _
-from odoo.exceptions import AccessDenied
-from odoo.http import request
-from odoo import registry as registry_get
+from flectra import api, http, SUPERUSER_ID, _
+from flectra.exceptions import AccessDenied
+from flectra.http import request
+from flectra import registry as registry_get
-from odoo.addons.auth_signup.controllers.main import AuthSignupHome as Home
-from odoo.addons.web.controllers.main import db_monodb, ensure_db, set_cookie_and_redirect, login_and_redirect
+from flectra.addons.auth_signup.controllers.main import AuthSignupHome as Home
+from flectra.addons.web.controllers.main import db_monodb, ensure_db, set_cookie_and_redirect, login_and_redirect
_logger = logging.getLogger(__name__)
@@ -174,7 +174,7 @@ class OAuthController(http.Controller):
@http.route('/auth_oauth/oea', type='http', auth='none')
def oea(self, **kw):
- """login user via Odoo Account provider"""
+ """login user via Flectra Account provider"""
dbname = kw.pop('db', None)
if not dbname:
dbname = db_monodb()
diff --git a/addons/auth_oauth/data/auth_oauth_data.xml b/addons/auth_oauth/data/auth_oauth_data.xml
index 8417c9c4b2..01f1150c31 100644
--- a/addons/auth_oauth/data/auth_oauth_data.xml
+++ b/addons/auth_oauth/data/auth_oauth_data.xml
@@ -1,14 +1,14 @@
-
+
- Odoo.com Accounts
- https://accounts.odoo.com/oauth2/auth
+ Flectra.com Accounts
+ https://accounts.flectra.com/oauth2/authuserinfo
- https://accounts.odoo.com/oauth2/tokeninfo
+ https://accounts.flectra.com/oauth2/tokeninfozocial openerp
- Log in with Odoo.com
+ Log in with Flectra.com
@@ -30,4 +30,4 @@
Log in with Google
-
+
diff --git a/addons/auth_oauth/models/__init__.py b/addons/auth_oauth/models/__init__.py
index 381d9c868b..c2fcd1c67e 100644
--- a/addons/auth_oauth/models/__init__.py
+++ b/addons/auth_oauth/models/__init__.py
@@ -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 auth_oauth
from . import res_config_settings
diff --git a/addons/auth_oauth/models/auth_oauth.py b/addons/auth_oauth/models/auth_oauth.py
index de27556140..908fe87247 100644
--- a/addons/auth_oauth/models/auth_oauth.py
+++ b/addons/auth_oauth/models/auth_oauth.py
@@ -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 AuthOAuthProvider(models.Model):
diff --git a/addons/auth_oauth/models/ir_config_parameter.py b/addons/auth_oauth/models/ir_config_parameter.py
index 6a302e2b39..448e44f159 100644
--- a/addons/auth_oauth/models/ir_config_parameter.py
+++ b/addons/auth_oauth/models/ir_config_parameter.py
@@ -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 models
+from flectra import models
class IrConfigParameter(models.Model):
diff --git a/addons/auth_oauth/models/res_config_settings.py b/addons/auth_oauth/models/res_config_settings.py
index 43de10ebbd..c38f8b7c0e 100644
--- a/addons/auth_oauth/models/res_config_settings.py
+++ b/addons/auth_oauth/models/res_config_settings.py
@@ -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.
import logging
-from odoo import api, fields, models
+from flectra import api, fields, models
_logger = logging.getLogger(__name__)
diff --git a/addons/auth_oauth/models/res_users.py b/addons/auth_oauth/models/res_users.py
index dd61505b48..26b1ef9b84 100644
--- a/addons/auth_oauth/models/res_users.py
+++ b/addons/auth_oauth/models/res_users.py
@@ -1,15 +1,15 @@
# -*- 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.
import json
import requests
-from odoo import api, fields, models
-from odoo.exceptions import AccessDenied, UserError
-from odoo.addons.auth_signup.models.res_users import SignupError
+from flectra import api, fields, models
+from flectra.exceptions import AccessDenied, UserError
+from flectra.addons.auth_signup.models.res_users import SignupError
-from odoo.addons import base
+from flectra.addons import base
base.res.res_users.USER_PRIVATE_FIELDS.append('oauth_access_token')
class ResUsers(models.Model):
diff --git a/addons/auth_oauth/views/auth_oauth_templates.xml b/addons/auth_oauth/views/auth_oauth_templates.xml
index 7e483dd842..cbf04ec86e 100644
--- a/addons/auth_oauth/views/auth_oauth_templates.xml
+++ b/addons/auth_oauth/views/auth_oauth_templates.xml
@@ -1,5 +1,5 @@
-
+
- You have been invited to connect to "${object.company_id.name}" in order to get access to your documents in Odoo.
+ You have been invited to connect to "${object.company_id.name}" in order to get access to your documents in Flectra.
To accept the invitation, click on the following link:
@@ -85,7 +85,7 @@
${user.signature | safe}
- Sent by ${user.company_id.name} using Odoo
+ Sent by ${user.company_id.name} using Flectra
- Sent by ${user.company_id.name} using Odoo
+ Sent by ${user.company_id.name} using Flectra
-
+
diff --git a/addons/auth_signup/models/ir_http.py b/addons/auth_signup/models/ir_http.py
index a6840b670e..61cf77e1e6 100644
--- a/addons/auth_signup/models/ir_http.py
+++ b/addons/auth_signup/models/ir_http.py
@@ -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 models
-from odoo.http import request
+from flectra import models
+from flectra.http import request
class Http(models.AbstractModel):
diff --git a/addons/auth_signup/models/res_config_settings.py b/addons/auth_signup/models/res_config_settings.py
index 7350121137..779650bbac 100644
--- a/addons/auth_signup/models/res_config_settings.py
+++ b/addons/auth_signup/models/res_config_settings.py
@@ -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 ast import literal_eval
-from odoo import api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/auth_signup/models/res_partner.py b/addons/auth_signup/models/res_partner.py
index ecf6324658..60489dca2d 100644
--- a/addons/auth_signup/models/res_partner.py
+++ b/addons/auth_signup/models/res_partner.py
@@ -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.
import random
import werkzeug.urls
@@ -7,7 +7,7 @@ import werkzeug.urls
from collections import defaultdict
from datetime import datetime, timedelta
-from odoo import api, exceptions, fields, models, _
+from flectra import api, exceptions, fields, models, _
class SignupError(Exception):
pass
diff --git a/addons/auth_signup/models/res_users.py b/addons/auth_signup/models/res_users.py
index b58606b73a..5b1ebc6950 100644
--- a/addons/auth_signup/models/res_users.py
+++ b/addons/auth_signup/models/res_users.py
@@ -1,16 +1,16 @@
# -*- 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.
import logging
from ast import literal_eval
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools.misc import ustr
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools.misc import ustr
-from odoo.addons.base.ir.ir_mail_server import MailDeliveryException
-from odoo.addons.auth_signup.models.res_partner import SignupError, now
+from flectra.addons.base.ir.ir_mail_server import MailDeliveryException
+from flectra.addons.auth_signup.models.res_partner import SignupError, now
_logger = logging.getLogger(__name__)
diff --git a/addons/auth_signup/static/src/js/signup.js b/addons/auth_signup/static/src/js/signup.js
index fc35d689d8..340d4716c0 100644
--- a/addons/auth_signup/static/src/js/signup.js
+++ b/addons/auth_signup/static/src/js/signup.js
@@ -1,4 +1,4 @@
-odoo.define('auth_signup.signup', function (require) {
+flectra.define('auth_signup.signup', function (require) {
'use strict';
var base = require('web_editor.base');
diff --git a/addons/auth_signup/views/auth_signup_assets.xml b/addons/auth_signup/views/auth_signup_assets.xml
index 23a1e01cf1..ba6a32d477 100644
--- a/addons/auth_signup/views/auth_signup_assets.xml
+++ b/addons/auth_signup/views/auth_signup_assets.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/addons/auth_signup/views/auth_signup_login_templates.xml b/addons/auth_signup/views/auth_signup_login_templates.xml
index 46fee5ea37..7c7e1c6cd6 100644
--- a/addons/auth_signup/views/auth_signup_login_templates.xml
+++ b/addons/auth_signup/views/auth_signup_login_templates.xml
@@ -1,5 +1,5 @@
-
+Don't have an account?
@@ -98,4 +98,4 @@
-
+
diff --git a/addons/auth_signup/views/res_config_settings_views.xml b/addons/auth_signup/views/res_config_settings_views.xml
index 0f4a5810ce..2f1e11e7c7 100644
--- a/addons/auth_signup/views/res_config_settings_views.xml
+++ b/addons/auth_signup/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.auth.signup
@@ -40,4 +40,4 @@
-
+
diff --git a/addons/auth_signup/views/res_users_views.xml b/addons/auth_signup/views/res_users_views.xml
index 0a5f43eb8a..3a28052d6e 100644
--- a/addons/auth_signup/views/res_users_views.xml
+++ b/addons/auth_signup/views/res_users_views.xml
@@ -1,5 +1,5 @@
-
+res.users.form.inherit
@@ -33,4 +33,4 @@
-
+
diff --git a/addons/barcodes/__manifest__.py b/addons/barcodes/__manifest__.py
index bb7b3cf427..0c275109db 100644
--- a/addons/barcodes/__manifest__.py
+++ b/addons/barcodes/__manifest__.py
@@ -8,7 +8,7 @@ This module adds support for barcode scanning and parsing.
Scanning
--------
-Use a USB scanner (that mimics keyboard inputs) in order to work with barcodes in Odoo.
+Use a USB scanner (that mimics keyboard inputs) in order to work with barcodes in Odoo, Flectra.
The scanner must be configured to use no prefix and a carriage return or tab as suffix.
The delay between each character input must be less than or equal to 50 milliseconds.
Most barcode scanners will work out of the box.
diff --git a/addons/barcodes/data/barcodes_data.xml b/addons/barcodes/data/barcodes_data.xml
index 55b8caa83e..0f049ef1e2 100644
--- a/addons/barcodes/data/barcodes_data.xml
+++ b/addons/barcodes/data/barcodes_data.xml
@@ -1,5 +1,5 @@
-
+Default Nomenclature
@@ -12,4 +12,4 @@
any.*
-
+
diff --git a/addons/barcodes/models/barcode_events_mixin.py b/addons/barcodes/models/barcode_events_mixin.py
index b8913dfdb0..14435efb20 100644
--- a/addons/barcodes/models/barcode_events_mixin.py
+++ b/addons/barcodes/models/barcode_events_mixin.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api
+from flectra import models, fields, api
class BarcodeEventsMixin(models.AbstractModel):
""" Mixin class for objects reacting when a barcode is scanned in their form views
diff --git a/addons/barcodes/models/barcodes.py b/addons/barcodes/models/barcodes.py
index 6c3d228895..48151aa5a2 100644
--- a/addons/barcodes/models/barcodes.py
+++ b/addons/barcodes/models/barcodes.py
@@ -1,8 +1,8 @@
import logging
import re
-from odoo import tools, models, fields, api, _
-from odoo.exceptions import ValidationError
+from flectra import tools, models, fields, api, _
+from flectra.exceptions import ValidationError
_logger = logging.getLogger(__name__)
diff --git a/addons/barcodes/static/src/js/barcode_events.js b/addons/barcodes/static/src/js/barcode_events.js
index f26748ac7b..f709999a65 100644
--- a/addons/barcodes/static/src/js/barcode_events.js
+++ b/addons/barcodes/static/src/js/barcode_events.js
@@ -1,4 +1,4 @@
-odoo.define('barcodes.BarcodeEvents', function(require) {
+flectra.define('barcodes.BarcodeEvents', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/barcodes/static/src/js/barcode_field.js b/addons/barcodes/static/src/js/barcode_field.js
index 7b9b29aa4c..25342248b4 100644
--- a/addons/barcodes/static/src/js/barcode_field.js
+++ b/addons/barcodes/static/src/js/barcode_field.js
@@ -1,4 +1,4 @@
-odoo.define('barcodes.field', function(require) {
+flectra.define('barcodes.field', function(require) {
"use strict";
var AbstractField = require('web.AbstractField');
diff --git a/addons/barcodes/static/src/js/barcode_form_view.js b/addons/barcodes/static/src/js/barcode_form_view.js
index fa5b27e2a9..3ed14f7353 100644
--- a/addons/barcodes/static/src/js/barcode_form_view.js
+++ b/addons/barcodes/static/src/js/barcode_form_view.js
@@ -1,4 +1,4 @@
-odoo.define('barcodes.FormView', function (require) {
+flectra.define('barcodes.FormView', function (require) {
"use strict";
var BarcodeEvents = require('barcodes.BarcodeEvents'); // handle to trigger barcode on bus
@@ -208,7 +208,7 @@ FormController.include({
* The barcode is activate when at least one widget trigger_up 'activeBarcode' event
* with the widget option
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
* @param {string} event.data.name: the current field name
* @param {string} [event.data.fieldName] optional for x2many sub field
* @param {string} [event.data.quantity] optional field to increase quantity
diff --git a/addons/barcodes/static/src/js/barcode_parser.js b/addons/barcodes/static/src/js/barcode_parser.js
index d834f3cbd2..8ece7fe9c1 100644
--- a/addons/barcodes/static/src/js/barcode_parser.js
+++ b/addons/barcodes/static/src/js/barcode_parser.js
@@ -1,4 +1,4 @@
-odoo.define('barcodes.BarcodeParser', function (require) {
+flectra.define('barcodes.BarcodeParser', function (require) {
"use strict";
var Class = require('web.Class');
diff --git a/addons/barcodes/static/tests/barcode_tests.js b/addons/barcodes/static/tests/barcode_tests.js
index cf77497a2a..bb4f3f6ef4 100644
--- a/addons/barcodes/static/tests/barcode_tests.js
+++ b/addons/barcodes/static/tests/barcode_tests.js
@@ -1,4 +1,4 @@
-odoo.define('barcodes.tests', function (require) {
+flectra.define('barcodes.tests', function (require) {
"use strict";
var barcodeEvents = require('barcodes.BarcodeEvents');
diff --git a/addons/barcodes/tests/test_barcode_nomenclature.py b/addons/barcodes/tests/test_barcode_nomenclature.py
index d3ef2903d7..79baa73b77 100644
--- a/addons/barcodes/tests/test_barcode_nomenclature.py
+++ b/addons/barcodes/tests/test_barcode_nomenclature.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
+from flectra.tests import common
class TestBarcodeNomenclature(common.TransactionCase):
diff --git a/addons/barcodes/views/barcodes_templates.xml b/addons/barcodes/views/barcodes_templates.xml
index cb16a40c17..7605018dc2 100644
--- a/addons/barcodes/views/barcodes_templates.xml
+++ b/addons/barcodes/views/barcodes_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/barcodes/views/barcodes_view.xml b/addons/barcodes/views/barcodes_view.xml
index b954b09ffb..6f68e85116 100644
--- a/addons/barcodes/views/barcodes_view.xml
+++ b/addons/barcodes/views/barcodes_view.xml
@@ -1,5 +1,5 @@
-
+Barcode Nomenclatures
@@ -81,4 +81,4 @@
-
+
diff --git a/addons/base_address_city/__init__.py b/addons/base_address_city/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/base_address_city/__init__.py
+++ b/addons/base_address_city/__init__.py
@@ -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 models
diff --git a/addons/base_address_city/__manifest__.py b/addons/base_address_city/__manifest__.py
index f472eb3680..e8cfbdb56c 100644
--- a/addons/base_address_city/__manifest__.py
+++ b/addons/base_address_city/__manifest__.py
@@ -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.
{
'name': 'City Addresses',
'summary': 'Add a many2one field city on addresses',
diff --git a/addons/base_address_city/models/__init__.py b/addons/base_address_city/models/__init__.py
index 7d7f5d58b3..f5fe1f23b2 100644
--- a/addons/base_address_city/models/__init__.py
+++ b/addons/base_address_city/models/__init__.py
@@ -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 res_city
from . import res_country
diff --git a/addons/base_address_city/models/res_city.py b/addons/base_address_city/models/res_city.py
index c542a1a3a8..1780ac1fcf 100644
--- a/addons/base_address_city/models/res_city.py
+++ b/addons/base_address_city/models/res_city.py
@@ -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 City(models.Model):
diff --git a/addons/base_address_city/models/res_country.py b/addons/base_address_city/models/res_country.py
index a3de7de697..9571fd707c 100644
--- a/addons/base_address_city/models/res_country.py
+++ b/addons/base_address_city/models/res_country.py
@@ -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 Country(models.Model):
diff --git a/addons/base_address_city/models/res_partner.py b/addons/base_address_city/models/res_partner.py
index 27b08b5a2a..4fc79c7bba 100644
--- a/addons/base_address_city/models/res_partner.py
+++ b/addons/base_address_city/models/res_partner.py
@@ -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 lxml import etree
-from odoo import api, models, fields
+from flectra import api, models, fields
class Partner(models.Model):
_inherit = 'res.partner'
diff --git a/addons/base_address_city/views/res_city_view.xml b/addons/base_address_city/views/res_city_view.xml
index b9fd53b735..ffa1918da8 100644
--- a/addons/base_address_city/views/res_city_view.xml
+++ b/addons/base_address_city/views/res_city_view.xml
@@ -1,5 +1,5 @@
-
+res.city
@@ -37,5 +37,5 @@
-
+
diff --git a/addons/base_address_city/views/res_country_view.xml b/addons/base_address_city/views/res_country_view.xml
index 9e57ed5700..aa6e5d6733 100644
--- a/addons/base_address_city/views/res_country_view.xml
+++ b/addons/base_address_city/views/res_country_view.xml
@@ -1,5 +1,5 @@
-
+res.country
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/base_address_extended/__init__.py b/addons/base_address_extended/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/base_address_extended/__init__.py
+++ b/addons/base_address_extended/__init__.py
@@ -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 models
diff --git a/addons/base_address_extended/__manifest__.py b/addons/base_address_extended/__manifest__.py
index c9c78846b2..1842d27a10 100644
--- a/addons/base_address_extended/__manifest__.py
+++ b/addons/base_address_extended/__manifest__.py
@@ -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.
{
'name': 'Extended Addresses',
'summary': 'Add extra fields on addresses',
diff --git a/addons/base_address_extended/models/__init__.py b/addons/base_address_extended/models/__init__.py
index 029aa7201b..e7f72c32b9 100644
--- a/addons/base_address_extended/models/__init__.py
+++ b/addons/base_address_extended/models/__init__.py
@@ -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 base_address_extended
diff --git a/addons/base_address_extended/models/base_address_extended.py b/addons/base_address_extended/models/base_address_extended.py
index 9a210dde76..0630163e71 100644
--- a/addons/base_address_extended/models/base_address_extended.py
+++ b/addons/base_address_extended/models/base_address_extended.py
@@ -1,10 +1,10 @@
# -*- 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.
import re
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
STREET_FIELDS = ('street_name', 'street_number', 'street_number2')
diff --git a/addons/base_address_extended/tests/__init__.py b/addons/base_address_extended/tests/__init__.py
index 2edd8d64b8..318702612a 100644
--- a/addons/base_address_extended/tests/__init__.py
+++ b/addons/base_address_extended/tests/__init__.py
@@ -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_street_fields
diff --git a/addons/base_address_extended/tests/test_street_fields.py b/addons/base_address_extended/tests/test_street_fields.py
index d5817070ff..db6e04fe28 100644
--- a/addons/base_address_extended/tests/test_street_fields.py
+++ b/addons/base_address_extended/tests/test_street_fields.py
@@ -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.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestStreetFields(TransactionCase):
diff --git a/addons/base_address_extended/views/base_address_extended.xml b/addons/base_address_extended/views/base_address_extended.xml
index 6fc3d09886..6ec3aa5997 100644
--- a/addons/base_address_extended/views/base_address_extended.xml
+++ b/addons/base_address_extended/views/base_address_extended.xml
@@ -1,5 +1,5 @@
-
+view_res_country_extended_form
@@ -70,4 +70,4 @@
-
+
diff --git a/addons/base_automation/__init__.py b/addons/base_automation/__init__.py
index 56990e4d8e..cc7d2cf757 100644
--- a/addons/base_automation/__init__.py
+++ b/addons/base_automation/__init__.py
@@ -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 models
from .tests import test_models
diff --git a/addons/base_automation/__manifest__.py b/addons/base_automation/__manifest__.py
index 82d32552ec..249e94eb2c 100644
--- a/addons/base_automation/__manifest__.py
+++ b/addons/base_automation/__manifest__.py
@@ -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.
{
'name': 'Automated Action Rules',
diff --git a/addons/base_automation/data/base_automation_data.xml b/addons/base_automation/data/base_automation_data.xml
index 2cf13f4617..43a28cb305 100644
--- a/addons/base_automation/data/base_automation_data.xml
+++ b/addons/base_automation/data/base_automation_data.xml
@@ -1,5 +1,5 @@
-
+Base Action Rule: check and execute
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/base_automation/data/base_automation_demo.xml b/addons/base_automation/data/base_automation_demo.xml
index 246320ecf4..de1abe001f 100644
--- a/addons/base_automation/data/base_automation_demo.xml
+++ b/addons/base_automation/data/base_automation_demo.xml
@@ -1,5 +1,5 @@
-
+Base Automation: test rule on create
@@ -71,4 +71,4 @@ if 'user_id' in env.context['old_values'][record.id]:
-
+
diff --git a/addons/base_automation/models/__init__.py b/addons/base_automation/models/__init__.py
index dd3d1a0ad3..596b9429be 100644
--- a/addons/base_automation/models/__init__.py
+++ b/addons/base_automation/models/__init__.py
@@ -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 base_automation
from . import ir_actions
diff --git a/addons/base_automation/models/base_automation.py b/addons/base_automation/models/base_automation.py
index b5884515cb..23433ef4c1 100644
--- a/addons/base_automation/models/base_automation.py
+++ b/addons/base_automation/models/base_automation.py
@@ -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.
import datetime
import logging
@@ -10,10 +10,10 @@ from collections import defaultdict
import dateutil
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, SUPERUSER_ID
-from odoo.modules.registry import Registry
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, SUPERUSER_ID
+from flectra.modules.registry import Registry
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
diff --git a/addons/base_automation/models/ir_actions.py b/addons/base_automation/models/ir_actions.py
index 67e7587287..d60ecf27c0 100644
--- a/addons/base_automation/models/ir_actions.py
+++ b/addons/base_automation/models/ir_actions.py
@@ -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 ServerAction(models.Model):
diff --git a/addons/base_automation/tests/__init__.py b/addons/base_automation/tests/__init__.py
index b0ebb37068..b8af057af1 100644
--- a/addons/base_automation/tests/__init__.py
+++ b/addons/base_automation/tests/__init__.py
@@ -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 test_models
from . import test_base_automation
diff --git a/addons/base_automation/tests/test_base_automation.py b/addons/base_automation/tests/test_base_automation.py
index 2bea32ec57..e1f038e13e 100644
--- a/addons/base_automation/tests/test_base_automation.py
+++ b/addons/base_automation/tests/test_base_automation.py
@@ -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.tests import common
+from flectra.tests import common
@common.at_install(False)
diff --git a/addons/base_automation/tests/test_models.py b/addons/base_automation/tests/test_models.py
index fd2255dff6..9a91de97ef 100644
--- a/addons/base_automation/tests/test_models.py
+++ b/addons/base_automation/tests/test_models.py
@@ -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 dateutil import relativedelta
-from odoo import fields, models, api
+from flectra import fields, models, api
class LeadTest(models.Model):
diff --git a/addons/base_automation/views/base_automation_view.xml b/addons/base_automation/views/base_automation_view.xml
index 174ac11a13..e9862204e9 100644
--- a/addons/base_automation/views/base_automation_view.xml
+++ b/addons/base_automation/views/base_automation_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -94,4 +94,4 @@
-
+
diff --git a/addons/base_gengo/__init__.py b/addons/base_gengo/__init__.py
index b561651d34..d281ab09fc 100644
--- a/addons/base_gengo/__init__.py
+++ b/addons/base_gengo/__init__.py
@@ -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 models
from . import controller
diff --git a/addons/base_gengo/__manifest__.py b/addons/base_gengo/__manifest__.py
index 55e2355511..911ba51b51 100644
--- a/addons/base_gengo/__manifest__.py
+++ b/addons/base_gengo/__manifest__.py
@@ -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.
{
'name': 'Automated Translations through Gengo API',
'category': 'Tools',
diff --git a/addons/base_gengo/controller/__init__.py b/addons/base_gengo/controller/__init__.py
index bdc63ee4dd..8e62000726 100644
--- a/addons/base_gengo/controller/__init__.py
+++ b/addons/base_gengo/controller/__init__.py
@@ -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 main
\ No newline at end of file
diff --git a/addons/base_gengo/controller/main.py b/addons/base_gengo/controller/main.py
index 9349b15ab0..ed4ebbe739 100644
--- a/addons/base_gengo/controller/main.py
+++ b/addons/base_gengo/controller/main.py
@@ -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.
import json
-from odoo.http import Controller, Response, request, route
+from flectra.http import Controller, Response, request, route
class website_gengo(Controller):
diff --git a/addons/base_gengo/data/ir_cron_data.xml b/addons/base_gengo/data/ir_cron_data.xml
index 20d62c5db5..09aae5859e 100644
--- a/addons/base_gengo/data/ir_cron_data.xml
+++ b/addons/base_gengo/data/ir_cron_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/base_gengo/data/res_company_demo.xml b/addons/base_gengo/data/res_company_demo.xml
index 850a9f6ee3..24674b4930 100644
--- a/addons/base_gengo/data/res_company_demo.xml
+++ b/addons/base_gengo/data/res_company_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -9,4 +9,4 @@
-
+
diff --git a/addons/base_gengo/models/__init__.py b/addons/base_gengo/models/__init__.py
index e769b80327..f8c0eeee69 100644
--- a/addons/base_gengo/models/__init__.py
+++ b/addons/base_gengo/models/__init__.py
@@ -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 res_config_settings
from . import ir_translation
diff --git a/addons/base_gengo/models/ir_translation.py b/addons/base_gengo/models/ir_translation.py
index 3a6dd8ab05..cf459f7650 100644
--- a/addons/base_gengo/models/ir_translation.py
+++ b/addons/base_gengo/models/ir_translation.py
@@ -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 api, fields, models
-from odoo.exceptions import UserError
+from flectra import api, fields, models
+from flectra.exceptions import UserError
LANG_CODE_MAPPING = {
'ar_SY': ('ar', 'Arabic'),
diff --git a/addons/base_gengo/models/res_company.py b/addons/base_gengo/models/res_company.py
index d5409dcbd4..cb8b3c92b8 100644
--- a/addons/base_gengo/models/res_company.py
+++ b/addons/base_gengo/models/res_company.py
@@ -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 res_company(models.Model):
diff --git a/addons/base_gengo/models/res_config_settings.py b/addons/base_gengo/models/res_config_settings.py
index e7e258275a..a8d1e348e9 100644
--- a/addons/base_gengo/models/res_config_settings.py
+++ b/addons/base_gengo/models/res_config_settings.py
@@ -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 api, models, fields
+from flectra import api, models, fields
class ResConfigSettings(models.TransientModel):
diff --git a/addons/base_gengo/views/ir_translation_views.xml b/addons/base_gengo/views/ir_translation_views.xml
index df433ea027..f8f5be9342 100644
--- a/addons/base_gengo/views/ir_translation_views.xml
+++ b/addons/base_gengo/views/ir_translation_views.xml
@@ -1,5 +1,5 @@
-
+ir.translation.search.inheritir.translation
@@ -26,4 +26,4 @@
-
+
diff --git a/addons/base_gengo/views/res_config_settings_views.xml b/addons/base_gengo/views/res_config_settings_views.xml
index 5db3fb33dc..4fc6c498a5 100644
--- a/addons/base_gengo/views/res_config_settings_views.xml
+++ b/addons/base_gengo/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.base.gengores.config.settings
@@ -42,4 +42,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/base_gengo/wizard/__init__.py b/addons/base_gengo/wizard/__init__.py
index f361c5909d..d60202f2e3 100644
--- a/addons/base_gengo/wizard/__init__.py
+++ b/addons/base_gengo/wizard/__init__.py
@@ -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 base_gengo_translations
diff --git a/addons/base_gengo/wizard/base_gengo_translations.py b/addons/base_gengo/wizard/base_gengo_translations.py
index 0a585934af..7f42afd08f 100644
--- a/addons/base_gengo/wizard/base_gengo_translations.py
+++ b/addons/base_gengo/wizard/base_gengo_translations.py
@@ -1,13 +1,13 @@
# -*- 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.
import logging
import re
import time
import uuid
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError, ValidationError
_logger = logging.getLogger(__name__)
@@ -123,7 +123,7 @@ class BaseGengoTranslations(models.TransientModel):
"""
This method will be called by cron services to get translations from
Gengo. It will read translated terms and comments from Gengo and will
- update respective ir.translation in Odoo.
+ update respective ir.translation in Flectra.
"""
IrTranslation = self.env['ir.translation']
flag, gengo = self.gengo_authentication()
@@ -255,7 +255,7 @@ class BaseGengoTranslations(models.TransientModel):
A special key 'gengo_language' can be passed in the context in order to
request only translations of that language only. Its value is the language
- ID in Odoo.
+ ID in Flectra.
"""
domain = [
('state', '=', 'to_translate'),
diff --git a/addons/base_gengo/wizard/base_gengo_translations_view.xml b/addons/base_gengo/wizard/base_gengo_translations_view.xml
index 756b48e8ae..e42b3a0f86 100644
--- a/addons/base_gengo/wizard/base_gengo_translations_view.xml
+++ b/addons/base_gengo/wizard/base_gengo_translations_view.xml
@@ -1,5 +1,5 @@
-
+base.gengo.translation.formbase.gengo.translations
@@ -39,4 +39,4 @@
-
+
diff --git a/addons/base_geolocalize/__init__.py b/addons/base_geolocalize/__init__.py
index be9f4fab00..0803f61949 100644
--- a/addons/base_geolocalize/__init__.py
+++ b/addons/base_geolocalize/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 models
diff --git a/addons/base_geolocalize/__manifest__.py b/addons/base_geolocalize/__manifest__.py
index c7d279cb43..35b15ea0f0 100644
--- a/addons/base_geolocalize/__manifest__.py
+++ b/addons/base_geolocalize/__manifest__.py
@@ -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.
{
'name': 'Partners Geolocation',
'version': '2.0',
diff --git a/addons/base_geolocalize/models/__init__.py b/addons/base_geolocalize/models/__init__.py
index 3f2b7ae35b..806e64578b 100644
--- a/addons/base_geolocalize/models/__init__.py
+++ b/addons/base_geolocalize/models/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 res_partner
diff --git a/addons/base_geolocalize/models/res_partner.py b/addons/base_geolocalize/models/res_partner.py
index 855b4d8bbd..8320170ee8 100644
--- a/addons/base_geolocalize/models/res_partner.py
+++ b/addons/base_geolocalize/models/res_partner.py
@@ -1,11 +1,11 @@
# -*- 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.
import json
import requests
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError
def geo_find(addr):
diff --git a/addons/base_geolocalize/views/res_partner_views.xml b/addons/base_geolocalize/views/res_partner_views.xml
index 832bd3b440..65765e9613 100644
--- a/addons/base_geolocalize/views/res_partner_views.xml
+++ b/addons/base_geolocalize/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+res.partner.geolocation.inheritres.partner
@@ -30,4 +30,4 @@
-
+
diff --git a/addons/base_iban/__init__.py b/addons/base_iban/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/base_iban/__init__.py
+++ b/addons/base_iban/__init__.py
@@ -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 models
diff --git a/addons/base_iban/__manifest__.py b/addons/base_iban/__manifest__.py
index 8ad6b44c6e..4100e236bd 100644
--- a/addons/base_iban/__manifest__.py
+++ b/addons/base_iban/__manifest__.py
@@ -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.
{
'name': 'IBAN Bank Accounts',
'category': 'Extra Tools',
diff --git a/addons/base_iban/data/res_partner_bank_demo.xml b/addons/base_iban/data/res_partner_bank_demo.xml
index 86ab1c6068..4eed7d97ae 100644
--- a/addons/base_iban/data/res_partner_bank_demo.xml
+++ b/addons/base_iban/data/res_partner_bank_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -24,4 +24,4 @@
-
+
diff --git a/addons/base_iban/models/__init__.py b/addons/base_iban/models/__init__.py
index 20f3eefa4b..4b3f633ea5 100644
--- a/addons/base_iban/models/__init__.py
+++ b/addons/base_iban/models/__init__.py
@@ -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 res_partner_bank
\ No newline at end of file
diff --git a/addons/base_iban/models/res_partner_bank.py b/addons/base_iban/models/res_partner_bank.py
index d1f6d8d922..bb76e7fdff 100644
--- a/addons/base_iban/models/res_partner_bank.py
+++ b/addons/base_iban/models/res_partner_bank.py
@@ -2,8 +2,8 @@
import re
-from odoo import api, models, _
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, models, _
+from flectra.exceptions import UserError, ValidationError
def normalize_iban(iban):
diff --git a/addons/base_import/__init__.py b/addons/base_import/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/base_import/__init__.py
+++ b/addons/base_import/__init__.py
@@ -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
diff --git a/addons/base_import/controllers/__init__.py b/addons/base_import/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/base_import/controllers/__init__.py
+++ b/addons/base_import/controllers/__init__.py
@@ -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 main
diff --git a/addons/base_import/controllers/main.py b/addons/base_import/controllers/main.py
index 7eff0aa420..b7b9df6343 100644
--- a/addons/base_import/controllers/main.py
+++ b/addons/base_import/controllers/main.py
@@ -1,11 +1,11 @@
# -*- 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.
import json
-from odoo import http
-from odoo.http import request
-from odoo.tools import misc
+from flectra import http
+from flectra.http import request
+from flectra.tools import misc
class ImportController(http.Controller):
diff --git a/addons/base_import/models/__init__.py b/addons/base_import/models/__init__.py
index f349a3caea..e4ea29de66 100644
--- a/addons/base_import/models/__init__.py
+++ b/addons/base_import/models/__init__.py
@@ -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 base_import
from . import test_models
diff --git a/addons/base_import/models/base_import.py b/addons/base_import/models/base_import.py
index 9d34fc6a07..50eb879017 100644
--- a/addons/base_import/models/base_import.py
+++ b/addons/base_import/models/base_import.py
@@ -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.
import datetime
import io
@@ -10,11 +10,11 @@ import operator
import os
import re
-from odoo import api, fields, models
-from odoo.tools.translate import _
-from odoo.tools.mimetypes import guess_mimetype
-from odoo.tools.misc import ustr
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, pycompat
+from flectra import api, fields, models
+from flectra.tools.translate import _
+from flectra.tools.mimetypes import guess_mimetype
+from flectra.tools.misc import ustr
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, pycompat
FIELDS_RECURSION_LIMIT = 2
ERROR_PREVIEW_BYTES = 200
@@ -77,7 +77,7 @@ class Import(models.TransientModel):
.. attribute:: name (str)
- The field's logical (Odoo) name within the scope of
+ The field's logical (Flectra) name within the scope of
its parent.
.. attribute:: string (str)
diff --git a/addons/base_import/models/test_models.py b/addons/base_import/models/test_models.py
index 91aa8611a1..184a6504b0 100644
--- a/addons/base_import/models/test_models.py
+++ b/addons/base_import/models/test_models.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
def name(suffix_name):
diff --git a/addons/base_import/static/src/js/import_action.js b/addons/base_import/static/src/js/import_action.js
index 9c6d556340..9b869adb7f 100644
--- a/addons/base_import/static/src/js/import_action.js
+++ b/addons/base_import/static/src/js/import_action.js
@@ -1,4 +1,4 @@
-odoo.define('base_import.import', function (require) {
+flectra.define('base_import.import', function (require) {
"use strict";
var ControlPanelMixin = require('web.ControlPanelMixin');
diff --git a/addons/base_import/static/src/js/import_buttons.js b/addons/base_import/static/src/js/import_buttons.js
index 77d5d0e876..694bdc9150 100644
--- a/addons/base_import/static/src/js/import_buttons.js
+++ b/addons/base_import/static/src/js/import_buttons.js
@@ -1,4 +1,4 @@
-odoo.define('base_import.import_buttons', function (require) {
+flectra.define('base_import.import_buttons', function (require) {
"use strict";
var KanbanController = require('web.KanbanController');
diff --git a/addons/base_import/static/src/xml/base_import.xml b/addons/base_import/static/src/xml/base_import.xml
index c9c4e8a503..e5a5d431ea 100644
--- a/addons/base_import/static/src/xml/base_import.xml
+++ b/addons/base_import/static/src/xml/base_import.xml
@@ -8,7 +8,7 @@
If the file contains
- the column names, Odoo can try auto-detecting the
+ the column names, Flectra can try auto-detecting the
field corresponding to the column. This makes imports
simpler especially when the file has many columns.
diff --git a/addons/base_import/static/tests/import_buttons_tests.js b/addons/base_import/static/tests/import_buttons_tests.js
index 9e6f38474b..16ae5c16c4 100644
--- a/addons/base_import/static/tests/import_buttons_tests.js
+++ b/addons/base_import/static/tests/import_buttons_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.base_import_tests', function (require) {
+flectra.define('web.base_import_tests', function (require) {
"use strict";
var KanbanView = require('web.KanbanView');
@@ -106,4 +106,4 @@ QUnit.test('kanban without import button', function(assert) {
kanban.destroy();
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/base_import/tests/__init__.py b/addons/base_import/tests/__init__.py
index 1b9a63683a..487d8342b4 100644
--- a/addons/base_import/tests/__init__.py
+++ b/addons/base_import/tests/__init__.py
@@ -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_base_import
diff --git a/addons/base_import/tests/test_base_import.py b/addons/base_import/tests/test_base_import.py
index 55f3300da9..fe84bfba63 100644
--- a/addons/base_import/tests/test_base_import.py
+++ b/addons/base_import/tests/test_base_import.py
@@ -1,12 +1,12 @@
# -*- 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.
import base64
import io
import unittest
-from odoo.tests.common import TransactionCase, can_import
-from odoo.modules.module import get_module_resource
-from odoo.tools import mute_logger, pycompat
+from flectra.tests.common import TransactionCase, can_import
+from flectra.modules.module import get_module_resource
+from flectra.tools import mute_logger, pycompat
ID_FIELD = {
'id': 'id',
@@ -200,7 +200,7 @@ class TestPreview(TransactionCase):
})
return import_wizard
- @mute_logger('odoo.addons.base_import.models.base_import')
+ @mute_logger('flectra.addons.base_import.models.base_import')
def test_encoding(self):
import_wizard = self.make_import()
result = import_wizard.parse_preview({
@@ -209,7 +209,7 @@ class TestPreview(TransactionCase):
})
self.assertTrue('error' in result)
- @mute_logger('odoo.addons.base_import.models.base_import')
+ @mute_logger('flectra.addons.base_import.models.base_import')
def test_csv_errors(self):
import_wizard = self.make_import()
diff --git a/addons/base_import/views/base_import_templates.xml b/addons/base_import/views/base_import_templates.xml
index 941ca9850d..3d3b9ff094 100644
--- a/addons/base_import/views/base_import_templates.xml
+++ b/addons/base_import/views/base_import_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/base_import_module/__init__.py b/addons/base_import_module/__init__.py
index bb0aae7ee6..c86cad776a 100644
--- a/addons/base_import_module/__init__.py
+++ b/addons/base_import_module/__init__.py
@@ -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 controllers
from . import models
diff --git a/addons/base_import_module/__manifest__.py b/addons/base_import_module/__manifest__.py
index 69e7b5b2f9..5c3b5cf33c 100644
--- a/addons/base_import_module/__manifest__.py
+++ b/addons/base_import_module/__manifest__.py
@@ -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.
{
'name': 'Base import module',
'description': """
diff --git a/addons/base_import_module/controllers/main.py b/addons/base_import_module/controllers/main.py
index ca76cd53b8..4d2f3f63f7 100644
--- a/addons/base_import_module/controllers/main.py
+++ b/addons/base_import_module/controllers/main.py
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
import functools
-from odoo import _
-from odoo.exceptions import AccessError
-from odoo.http import Controller, route, request, Response
+from flectra import _
+from flectra.exceptions import AccessError
+from flectra.http import Controller, route, request, Response
def webservice(f):
@functools.wraps(f)
diff --git a/addons/base_import_module/models/base_import_module.py b/addons/base_import_module/models/base_import_module.py
index b678a4fe0f..67469e559f 100644
--- a/addons/base_import_module/models/base_import_module.py
+++ b/addons/base_import_module/models/base_import_module.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import base64
from io import BytesIO
-from odoo import api, fields, models
+from flectra import api, fields, models
class BaseImportModule(models.TransientModel):
diff --git a/addons/base_import_module/models/ir_module.py b/addons/base_import_module/models/ir_module.py
index aaa1e69946..e026207cf1 100644
--- a/addons/base_import_module/models/ir_module.py
+++ b/addons/base_import_module/models/ir_module.py
@@ -8,11 +8,11 @@ import sys
import zipfile
from os.path import join as opj
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.modules import load_information_from_description_file
-from odoo.tools import convert_file, exception_to_unicode, pycompat
-from odoo.tools.osutil import tempdir
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.modules import load_information_from_description_file
+from flectra.tools import convert_file, exception_to_unicode, pycompat
+from flectra.tools.osutil import tempdir
_logger = logging.getLogger(__name__)
@@ -114,7 +114,7 @@ class IrModule(models.Model):
raise UserError(_("File '%s' exceed maximum allowed file size") % zf.filename)
with tempdir() as module_dir:
- import odoo.modules.module as module
+ import flectra.modules.module as module
try:
module.ad_paths.append(module_dir)
z.extractall(module_dir)
diff --git a/addons/base_import_module/models/ir_ui_view.py b/addons/base_import_module/models/ir_ui_view.py
index adaa6651f5..1b1a146522 100644
--- a/addons/base_import_module/models/ir_ui_view.py
+++ b/addons/base_import_module/models/ir_ui_view.py
@@ -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 operator import itemgetter
-from odoo import api, models
+from flectra import api, models
class IrUiView(models.Model):
_inherit = 'ir.ui.view'
diff --git a/addons/base_import_module/tests/test_module/__manifest__.py b/addons/base_import_module/tests/test_module/__manifest__.py
index f28c854fee..45d092df62 100644
--- a/addons/base_import_module/tests/test_module/__manifest__.py
+++ b/addons/base_import_module/tests/test_module/__manifest__.py
@@ -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.
{
'name': 'Test Module',
diff --git a/addons/base_import_module/tests/test_module/test.xml b/addons/base_import_module/tests/test_module/test.xml
index 9722d9478d..99ec3b163b 100644
--- a/addons/base_import_module/tests/test_module/test.xml
+++ b/addons/base_import_module/tests/test_module/test.xml
@@ -1,5 +1,5 @@
-
+The base company is noupdate=1
@@ -46,4 +46,4 @@
-
+
diff --git a/addons/base_import_module/views/base_import_module_view.xml b/addons/base_import_module/views/base_import_module_view.xml
index 60af0d3fc6..fbc881849c 100644
--- a/addons/base_import_module/views/base_import_module_view.xml
+++ b/addons/base_import_module/views/base_import_module_view.xml
@@ -1,5 +1,5 @@
-
+base.import.module.form
@@ -48,5 +48,5 @@
groups="base.group_no_one"
sequence="100"/>
-
+
diff --git a/addons/base_setup/__init__.py b/addons/base_setup/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/base_setup/__init__.py
+++ b/addons/base_setup/__init__.py
@@ -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 models
diff --git a/addons/base_setup/__manifest__.py b/addons/base_setup/__manifest__.py
index cbd4a0d532..05962243c8 100644
--- a/addons/base_setup/__manifest__.py
+++ b/addons/base_setup/__manifest__.py
@@ -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.
{
'name': 'Initial Setup Tools',
'version': '1.0',
diff --git a/addons/base_setup/models/__init__.py b/addons/base_setup/models/__init__.py
index 9fdfb603d9..6982fbf600 100644
--- a/addons/base_setup/models/__init__.py
+++ b/addons/base_setup/models/__init__.py
@@ -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 res_config_settings
diff --git a/addons/base_setup/models/res_config_settings.py b/addons/base_setup/models/res_config_settings.py
index 32946bf4a5..3d8f52e7ee 100644
--- a/addons/base_setup/models/res_config_settings.py
+++ b/addons/base_setup/models/res_config_settings.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class ResConfigSettings(models.TransientModel):
diff --git a/addons/base_setup/views/res_config_settings_views.xml b/addons/base_setup/views/res_config_settings_views.xml
index 12b60ef591..e9d1894e6c 100644
--- a/addons/base_setup/views/res_config_settings_views.xml
+++ b/addons/base_setup/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.base.setupres.config.settings
@@ -126,7 +126,7 @@
- Use external pads in Odoo Notes
+ Use external pads in Flectra Notes
Save this page and come back here to set up the feature.
@@ -168,7 +168,7 @@
- Extract and analyze Odoo data from Google Spreadsheet
+ Extract and analyze Flectra data from Google Spreadsheet
Save this page and come back here to set up the feature.
@@ -240,4 +240,4 @@
action="action_general_configuration"
groups="base.group_system"/>
-
+
diff --git a/addons/base_setup/views/res_partner_views.xml b/addons/base_setup/views/res_partner_views.xml
index cad14d96a2..65ffa976ad 100644
--- a/addons/base_setup/views/res_partner_views.xml
+++ b/addons/base_setup/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+res.partner.kanban.inherit
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/base_sparse_field/models/fields.py b/addons/base_sparse_field/models/fields.py
index e2b8adc0e2..7c64bdb107 100644
--- a/addons/base_sparse_field/models/fields.py
+++ b/addons/base_sparse_field/models/fields.py
@@ -2,7 +2,7 @@
import json
-from odoo import fields
+from flectra import fields
def monkey_patch(cls):
diff --git a/addons/base_sparse_field/models/models.py b/addons/base_sparse_field/models/models.py
index ef5fc4e5db..43fc1397e6 100644
--- a/addons/base_sparse_field/models/models.py
+++ b/addons/base_sparse_field/models/models.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api
+from flectra import models, fields, api
class IrModelFields(models.Model):
diff --git a/addons/base_sparse_field/tests/test_sparse_fields.py b/addons/base_sparse_field/tests/test_sparse_fields.py
index 7c7e8264d3..8b901e29a9 100644
--- a/addons/base_sparse_field/tests/test_sparse_fields.py
+++ b/addons/base_sparse_field/tests/test_sparse_fields.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
+from flectra.tests import common
class TestSparseFields(common.TransactionCase):
diff --git a/addons/base_sparse_field/views/views.xml b/addons/base_sparse_field/views/views.xml
index 95c3d23634..3ff174d6a9 100644
--- a/addons/base_sparse_field/views/views.xml
+++ b/addons/base_sparse_field/views/views.xml
@@ -1,5 +1,5 @@
-
+
@@ -29,4 +29,4 @@
-
+
diff --git a/addons/base_vat/__init__.py b/addons/base_vat/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/base_vat/__init__.py
+++ b/addons/base_vat/__init__.py
@@ -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 models
diff --git a/addons/base_vat/__manifest__.py b/addons/base_vat/__manifest__.py
index 689a64e21d..4223244b99 100644
--- a/addons/base_vat/__manifest__.py
+++ b/addons/base_vat/__manifest__.py
@@ -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.
{
'name': 'VAT Number Validation',
@@ -35,7 +35,7 @@ such as Chile, Colombia, Mexico, Norway or Russia. For unsupported countries,
only the country code will be validated.
""",
'depends': ['account'],
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'data': [
'views/res_partner_views.xml',
'views/res_config_settings_views.xml',
diff --git a/addons/base_vat/models/__init__.py b/addons/base_vat/models/__init__.py
index d245a5606a..0a9778e233 100644
--- a/addons/base_vat/models/__init__.py
+++ b/addons/base_vat/models/__init__.py
@@ -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 res_config_settings
from . import res_company
diff --git a/addons/base_vat/models/res_company.py b/addons/base_vat/models/res_company.py
index d9a063d37f..2713afe36b 100644
--- a/addons/base_vat/models/res_company.py
+++ b/addons/base_vat/models/res_company.py
@@ -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 ResCompany(models.Model):
diff --git a/addons/base_vat/models/res_config_settings.py b/addons/base_vat/models/res_config_settings.py
index 0bcb8445ce..81977bd70e 100644
--- a/addons/base_vat/models/res_config_settings.py
+++ b/addons/base_vat/models/res_config_settings.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/base_vat/models/res_partner.py b/addons/base_vat/models/res_partner.py
index 2d2b37c939..bdc877aa5e 100644
--- a/addons/base_vat/models/res_partner.py
+++ b/addons/base_vat/models/res_partner.py
@@ -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.
import datetime
import logging
@@ -14,9 +14,9 @@ except ImportError:
"Install it to support more countries, for example with `easy_install vatnumber`.")
vatnumber = None
-from odoo import api, models, _
-from odoo.tools.misc import ustr
-from odoo.exceptions import ValidationError
+from flectra import api, models, _
+from flectra.tools.misc import ustr
+from flectra.exceptions import ValidationError
_eu_country_vat = {
'GR': 'EL'
diff --git a/addons/base_vat/views/res_company_views.xml b/addons/base_vat/views/res_company_views.xml
index bf85b2b7f8..1307b3b021 100644
--- a/addons/base_vat/views/res_company_views.xml
+++ b/addons/base_vat/views/res_company_views.xml
@@ -1,5 +1,5 @@
-
+res.company.form.vat.inheritres.company
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/base_vat/views/res_config_settings_views.xml b/addons/base_vat/views/res_config_settings_views.xml
index e82be83c5a..c98e9ca540 100644
--- a/addons/base_vat/views/res_config_settings_views.xml
+++ b/addons/base_vat/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.base.vat
@@ -23,4 +23,4 @@
-
+
diff --git a/addons/base_vat/views/res_partner_views.xml b/addons/base_vat/views/res_partner_views.xml
index 69e1603d22..b0180b7b03 100644
--- a/addons/base_vat/views/res_partner_views.xml
+++ b/addons/base_vat/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+res.partner.vat.inheritres.partner
@@ -21,4 +21,4 @@
-
+
diff --git a/addons/base_vat_autocomplete/__init__.py b/addons/base_vat_autocomplete/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/base_vat_autocomplete/__init__.py
+++ b/addons/base_vat_autocomplete/__init__.py
@@ -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 models
diff --git a/addons/base_vat_autocomplete/__manifest__.py b/addons/base_vat_autocomplete/__manifest__.py
index b9731fc5d4..cb4ae62949 100644
--- a/addons/base_vat_autocomplete/__manifest__.py
+++ b/addons/base_vat_autocomplete/__manifest__.py
@@ -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.
{
'name': 'VAT Number Autocomplete',
@@ -12,7 +12,7 @@ Auto-Complete Addresses based on VAT numbers
This module requires the python library stdnum to work.
""",
'depends': ['base_vat'],
- 'website': 'https://www.odoo.com/page/accounting',
+ 'website': 'https://flectrahq.com/page/accounting',
'data': [
'views/res_partner_views.xml',
'views/res_company_view.xml',
diff --git a/addons/base_vat_autocomplete/models/__init__.py b/addons/base_vat_autocomplete/models/__init__.py
index 9ec15f238e..2e63ffe6df 100644
--- a/addons/base_vat_autocomplete/models/__init__.py
+++ b/addons/base_vat_autocomplete/models/__init__.py
@@ -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 res_partner
diff --git a/addons/base_vat_autocomplete/models/res_partner.py b/addons/base_vat_autocomplete/models/res_partner.py
index 41b40ec9c1..08da5f956e 100644
--- a/addons/base_vat_autocomplete/models/res_partner.py
+++ b/addons/base_vat_autocomplete/models/res_partner.py
@@ -1,10 +1,10 @@
# -*- 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.
import logging
import re
-from odoo import api, models
+from flectra import api, models
from suds.client import Client
diff --git a/addons/base_vat_autocomplete/views/res_company_view.xml b/addons/base_vat_autocomplete/views/res_company_view.xml
index d35b505da6..f4b6616921 100644
--- a/addons/base_vat_autocomplete/views/res_company_view.xml
+++ b/addons/base_vat_autocomplete/views/res_company_view.xml
@@ -3,7 +3,7 @@
The purpose of this view is to move the VAT field at the top of the
company form. That way, the user will fill it first
-->
-
+res.company.view.formres.company
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/base_vat_autocomplete/views/res_partner_views.xml b/addons/base_vat_autocomplete/views/res_partner_views.xml
index 1c56b7f93a..289ca45165 100644
--- a/addons/base_vat_autocomplete/views/res_partner_views.xml
+++ b/addons/base_vat_autocomplete/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+res.partner.vat.inheritres.partner
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/board/__init__.py b/addons/board/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/board/__init__.py
+++ b/addons/board/__init__.py
@@ -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
diff --git a/addons/board/__manifest__.py b/addons/board/__manifest__.py
index 0312636a58..1502773966 100644
--- a/addons/board/__manifest__.py
+++ b/addons/board/__manifest__.py
@@ -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.
{
'name': 'Dashboards',
diff --git a/addons/board/controllers/__init__.py b/addons/board/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/board/controllers/__init__.py
+++ b/addons/board/controllers/__init__.py
@@ -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 main
diff --git a/addons/board/controllers/main.py b/addons/board/controllers/main.py
index 96f1aad1a0..c5dd0298a5 100644
--- a/addons/board/controllers/main.py
+++ b/addons/board/controllers/main.py
@@ -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 lxml import etree as ElementTree
-from odoo.http import Controller, route, request
+from flectra.http import Controller, route, request
class Board(Controller):
diff --git a/addons/board/models/__init__.py b/addons/board/models/__init__.py
index a7b07a2859..2c41c09cf9 100644
--- a/addons/board/models/__init__.py
+++ b/addons/board/models/__init__.py
@@ -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 board
diff --git a/addons/board/models/board.py b/addons/board/models/board.py
index ebbbec74e2..0917c30cec 100644
--- a/addons/board/models/board.py
+++ b/addons/board/models/board.py
@@ -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 api, models
-from odoo.tools import pycompat
+from flectra import api, models
+from flectra.tools import pycompat
class Board(models.AbstractModel):
diff --git a/addons/board/static/src/js/dashboard.js b/addons/board/static/src/js/dashboard.js
index 558f7e5396..5617437555 100644
--- a/addons/board/static/src/js/dashboard.js
+++ b/addons/board/static/src/js/dashboard.js
@@ -1,4 +1,4 @@
-odoo.define('board.dashboard', function (require) {
+flectra.define('board.dashboard', function (require) {
"use strict";
var Context = require('web.Context');
@@ -77,7 +77,7 @@ FormController.include({
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onChangeLayout: function (event) {
var self = this;
@@ -110,7 +110,7 @@ FormController.include({
* record in a different breadcrumb)
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onSwitchView: function (event) {
event.stopPropagation();
diff --git a/addons/board/static/src/js/favorite_menu.js b/addons/board/static/src/js/favorite_menu.js
index a4d7aa1102..6e88c6fc02 100644
--- a/addons/board/static/src/js/favorite_menu.js
+++ b/addons/board/static/src/js/favorite_menu.js
@@ -1,4 +1,4 @@
-odoo.define('board.favorite_menu', function (require) {
+flectra.define('board.favorite_menu', function (require) {
"use strict";
var ActionManager = require('web.ActionManager');
diff --git a/addons/board/static/tests/dashboard_tests.js b/addons/board/static/tests/dashboard_tests.js
index 21067b32c4..1dc1bae56e 100644
--- a/addons/board/static/tests/dashboard_tests.js
+++ b/addons/board/static/tests/dashboard_tests.js
@@ -1,4 +1,4 @@
-odoo.define('board.dashboard_tests', function (require) {
+flectra.define('board.dashboard_tests', function (require) {
"use strict";
var testUtils = require('web.test_utils');
diff --git a/addons/board/views/board_templates.xml b/addons/board/views/board_templates.xml
index 7e8b8d9c4a..bdfa326810 100644
--- a/addons/board/views/board_templates.xml
+++ b/addons/board/views/board_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/board/views/board_views.xml b/addons/board/views/board_views.xml
index f739bc47b5..73b6c39aa6 100644
--- a/addons/board/views/board_views.xml
+++ b/addons/board/views/board_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -46,4 +46,4 @@
action="open_board_my_dash_action"
sequence="5"/>
-
+
diff --git a/addons/bus/controllers/main.py b/addons/bus/controllers/main.py
index 4e82116e7c..5f8a99b63c 100644
--- a/addons/bus/controllers/main.py
+++ b/addons/bus/controllers/main.py
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
-from odoo import exceptions
-from odoo.http import Controller, request, route
-from odoo.addons.bus.models.bus import dispatch
+from flectra import exceptions
+from flectra.http import Controller, request, route
+from flectra.addons.bus.models.bus import dispatch
-from odoo.tools import pycompat
+from flectra.tools import pycompat
class BusController(Controller):
diff --git a/addons/bus/models/bus.py b/addons/bus/models/bus.py
index 39de41ec0a..bb301b414b 100644
--- a/addons/bus/models/bus.py
+++ b/addons/bus/models/bus.py
@@ -7,9 +7,9 @@ import select
import threading
import time
-import odoo
-from odoo import api, fields, models, SUPERUSER_ID
-from odoo.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT
+import flectra
+from flectra import api, fields, models, SUPERUSER_ID
+from flectra.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT
_logger = logging.getLogger(__name__)
@@ -61,7 +61,7 @@ class ImBus(models.Model):
# transaction is not commited yet, there will be nothing to fetch,
# and the longpolling will return no notification.
def notify():
- with odoo.sql_db.db_connect('postgres').cursor() as cr:
+ with flectra.sql_db.db_connect('postgres').cursor() as cr:
cr.execute("notify imbus, %s", (json_dump(list(channels)),))
self._cr.after('commit', notify)
@@ -116,14 +116,14 @@ class ImDispatch(object):
# Dont hang ctrl-c for a poll request, we need to bypass private
# attribute access because we dont know before starting the thread that
# it will handle a longpolling request
- if not odoo.evented:
+ if not flectra.evented:
current = threading.current_thread()
current._Thread__daemonic = True # PY2
current._daemonic = True # PY3
# rename the thread to avoid tests waiting for a longpolling
current.setName("openerp.longpolling.request.%s" % current.ident)
- registry = odoo.registry(dbname)
+ registry = flectra.registry(dbname)
# immediatly returns if past notifications exist
with registry.cursor() as cr:
@@ -156,7 +156,7 @@ class ImDispatch(object):
def loop(self):
""" Dispatch postgres notifications to the relevant polling threads/greenlets """
_logger.info("Bus.loop listen imbus on db postgres")
- with odoo.sql_db.db_connect('postgres').cursor() as cr:
+ with flectra.sql_db.db_connect('postgres').cursor() as cr:
conn = cr._cnx
cr.execute("listen imbus")
cr.commit();
@@ -184,7 +184,7 @@ class ImDispatch(object):
time.sleep(TIMEOUT)
def start(self):
- if odoo.evented:
+ if flectra.evented:
# gevent mode
import gevent
self.Event = gevent.event.Event
@@ -199,6 +199,6 @@ class ImDispatch(object):
return self
dispatch = None
-if not odoo.multi_process or odoo.evented:
+if not flectra.multi_process or flectra.evented:
# We only use the event dispatcher in threaded and gevent mode
dispatch = ImDispatch()
diff --git a/addons/bus/models/bus_presence.py b/addons/bus/models/bus_presence.py
index b9f4a3ea8c..186c0f03cb 100644
--- a/addons/bus/models/bus_presence.py
+++ b/addons/bus/models/bus_presence.py
@@ -2,10 +2,10 @@
import datetime
import time
-from odoo import api, fields, models
-from odoo import tools
-from odoo.addons.bus.models.bus import TIMEOUT
-from odoo.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra import api, fields, models
+from flectra import tools
+from flectra.addons.bus.models.bus import TIMEOUT
+from flectra.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT
DISCONNECTION_TIMER = TIMEOUT + 5
AWAY_TIMER = 1800 # 30 minutes
@@ -49,7 +49,7 @@ class BusPresence(models.Model):
if datetime.datetime.strptime(presence.last_presence, DEFAULT_SERVER_DATETIME_FORMAT) < last_presence:
values['last_presence'] = last_presence.strftime(DEFAULT_SERVER_DATETIME_FORMAT)
# Hide transaction serialization errors, which can be ignored, the presence update is not essential
- with tools.mute_logger('odoo.sql_db'):
+ with tools.mute_logger('flectra.sql_db'):
presence.write(values)
# avoid TransactionRollbackError
self.env.cr.commit() # TODO : check if still necessary
diff --git a/addons/bus/models/res_partner.py b/addons/bus/models/res_partner.py
index b0b4c23d74..97b5993292 100644
--- a/addons/bus/models/res_partner.py
+++ b/addons/bus/models/res_partner.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
-from odoo.addons.bus.models.bus_presence import AWAY_TIMER
-from odoo.addons.bus.models.bus_presence import DISCONNECTION_TIMER
+from flectra import api, fields, models
+from flectra.addons.bus.models.bus_presence import AWAY_TIMER
+from flectra.addons.bus.models.bus_presence import DISCONNECTION_TIMER
class ResPartner(models.Model):
diff --git a/addons/bus/models/res_users.py b/addons/bus/models/res_users.py
index e89f6ddd35..e285626437 100644
--- a/addons/bus/models/res_users.py
+++ b/addons/bus/models/res_users.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
-from odoo.addons.bus.models.bus_presence import AWAY_TIMER
-from odoo.addons.bus.models.bus_presence import DISCONNECTION_TIMER
+from flectra import api, fields, models
+from flectra.addons.bus.models.bus_presence import AWAY_TIMER
+from flectra.addons.bus.models.bus_presence import DISCONNECTION_TIMER
class ResUsers(models.Model):
diff --git a/addons/bus/static/src/js/bus.js b/addons/bus/static/src/js/bus.js
index 25a8b86903..cf144e3673 100644
--- a/addons/bus/static/src/js/bus.js
+++ b/addons/bus/static/src/js/bus.js
@@ -1,4 +1,4 @@
-odoo.define('bus.bus', function (require) {
+flectra.define('bus.bus', function (require) {
"use strict";
var local_storage = require('web.local_storage');
@@ -109,7 +109,7 @@ bus.Bus = Widget.extend({
focus_change: function(focus) {
this.set("window_focus", focus);
},
- is_odoo_focused: function () {
+ is_flectra_focused: function () {
return this.get("window_focus");
},
get_last_presence: function () {
diff --git a/addons/bus/views/bus.xml b/addons/bus/views/bus.xml
index a196a78054..385dab32aa 100644
--- a/addons/bus/views/bus.xml
+++ b/addons/bus/views/bus.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/calendar/__init__.py b/addons/calendar/__init__.py
index 8871070722..1d109f3945 100644
--- a/addons/calendar/__init__.py
+++ b/addons/calendar/__init__.py
@@ -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
diff --git a/addons/calendar/__manifest__.py b/addons/calendar/__manifest__.py
index 47707a492d..46d6bb5289 100644
--- a/addons/calendar/__manifest__.py
+++ b/addons/calendar/__manifest__.py
@@ -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.
{
'name': 'Calendar',
@@ -19,7 +19,7 @@ It supports:
If you need to manage your meetings, you should install the CRM module.
""",
'category': 'Extra Tools',
- 'website': 'https://www.odoo.com/page/crm',
+ 'website': 'https://flectrahq.com/page/crm',
'demo': [
'data/calendar_demo.xml'
],
diff --git a/addons/calendar/controllers/__init__.py b/addons/calendar/controllers/__init__.py
index bb87d678c1..61c6d68477 100644
--- a/addons/calendar/controllers/__init__.py
+++ b/addons/calendar/controllers/__init__.py
@@ -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 main
from . import bus
diff --git a/addons/calendar/controllers/bus.py b/addons/calendar/controllers/bus.py
index 4ed07ebba9..1903fd15d4 100644
--- a/addons/calendar/controllers/bus.py
+++ b/addons/calendar/controllers/bus.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*
-from odoo.addons.bus.controllers.main import BusController
-from odoo.http import request
+from flectra.addons.bus.controllers.main import BusController
+from flectra.http import request
class CalendarBusController(BusController):
diff --git a/addons/calendar/controllers/main.py b/addons/calendar/controllers/main.py
index 69bd2b9ade..f2515a5d16 100644
--- a/addons/calendar/controllers/main.py
+++ b/addons/calendar/controllers/main.py
@@ -1,14 +1,14 @@
# -*- 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.
import werkzeug
-from odoo.api import Environment
-import odoo.http as http
+from flectra.api import Environment
+import flectra.http as http
-from odoo.http import request
-from odoo import SUPERUSER_ID
-from odoo import registry as registry_get
+from flectra.http import request
+from flectra import SUPERUSER_ID
+from flectra import registry as registry_get
class CalendarController(http.Controller):
diff --git a/addons/calendar/data/calendar_cron.xml b/addons/calendar/data/calendar_cron.xml
index f195dce4d1..3191033491 100644
--- a/addons/calendar/data/calendar_cron.xml
+++ b/addons/calendar/data/calendar_cron.xml
@@ -1,5 +1,5 @@
-
+
@@ -15,4 +15,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/calendar/data/calendar_data.xml b/addons/calendar/data/calendar_data.xml
index 7f9b93d083..e64ef6beb4 100644
--- a/addons/calendar/data/calendar_data.xml
+++ b/addons/calendar/data/calendar_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -347,4 +347,4 @@
]]>
-
+
diff --git a/addons/calendar/data/calendar_demo.xml b/addons/calendar/data/calendar_demo.xml
index 08ca1ec137..77b8cde4f5 100644
--- a/addons/calendar/data/calendar_demo.xml
+++ b/addons/calendar/data/calendar_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -107,4 +107,4 @@
-
+
diff --git a/addons/calendar/data/mail_activity_data.xml b/addons/calendar/data/mail_activity_data.xml
index a008269fef..da8177f2f5 100644
--- a/addons/calendar/data/mail_activity_data.xml
+++ b/addons/calendar/data/mail_activity_data.xml
@@ -1,8 +1,8 @@
-
+meeting
-
+
diff --git a/addons/calendar/models/__init__.py b/addons/calendar/models/__init__.py
index 06a98e823e..78fad02337 100644
--- a/addons/calendar/models/__init__.py
+++ b/addons/calendar/models/__init__.py
@@ -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 ir_attachment
from . import ir_http
diff --git a/addons/calendar/models/calendar.py b/addons/calendar/models/calendar.py
index 57a6822fff..8bd409ba0a 100644
--- a/addons/calendar/models/calendar.py
+++ b/addons/calendar/models/calendar.py
@@ -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.
import base64
import babel.dates
@@ -15,11 +15,11 @@ import re
import time
import uuid
-from odoo import api, fields, models
-from odoo import tools
-from odoo.tools.translate import _
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, pycompat
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models
+from flectra import tools
+from flectra.tools.translate import _
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, pycompat
+from flectra.exceptions import UserError, ValidationError
_logger = logging.getLogger(__name__)
@@ -183,7 +183,7 @@ class Attendee(models.Model):
'color': colors,
'action_id': self.env['ir.actions.act_window'].search([('view_id', '=', calendar_view.id)], limit=1).id,
'dbname': self._cr.dbname,
- 'base_url': self.env['ir.config_parameter'].sudo().get_param('web.base.url', default='http://localhost:8069')
+ 'base_url': self.env['ir.config_parameter'].sudo().get_param('web.base.url', default='http://localhost:7073')
})
invitation_template = invitation_template.with_context(rendering_context)
@@ -978,7 +978,7 @@ class Meeting(models.Model):
elif interval == 'minutes':
delta = timedelta(minutes=duration)
trigger.value = delta
- valarm.add('DESCRIPTION').value = alarm.name or u'Odoo'
+ valarm.add('DESCRIPTION').value = alarm.name or u'Flectra'
for attendee in meeting.attendee_ids:
attendee_add = event.add('attendee')
attendee_add.value = u'MAILTO:' + (attendee.email or u'')
@@ -1243,7 +1243,7 @@ class Meeting(models.Model):
data['month_by'] = 'date'
data['rrule_type'] = 'monthly'
- #repeat yearly but for odoo it's monthly, take same information as monthly but interval is 12 times
+ #repeat yearly but for flectra it's monthly, take same information as monthly but interval is 12 times
if rule._bymonth:
data['interval'] = data['interval'] * 12
diff --git a/addons/calendar/models/ir_attachment.py b/addons/calendar/models/ir_attachment.py
index ae734ec59f..cfa268ccea 100644
--- a/addons/calendar/models/ir_attachment.py
+++ b/addons/calendar/models/ir_attachment.py
@@ -1,11 +1,11 @@
# -*- 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
+from flectra import api, models
-from odoo.addons.calendar.models.calendar import get_real_ids
+from flectra.addons.calendar.models.calendar import get_real_ids
-from odoo.tools import pycompat
+from flectra.tools import pycompat
class Attachment(models.Model):
diff --git a/addons/calendar/models/ir_http.py b/addons/calendar/models/ir_http.py
index fd7e02bea2..6063246b25 100644
--- a/addons/calendar/models/ir_http.py
+++ b/addons/calendar/models/ir_http.py
@@ -1,10 +1,10 @@
# -*- 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.
-import odoo
-from odoo import models, SUPERUSER_ID
-from odoo.http import request
-from odoo.api import Environment
+import flectra
+from flectra import models, SUPERUSER_ID
+from flectra.http import request
+from flectra.api import Environment
from werkzeug.exceptions import BadRequest
@@ -17,7 +17,7 @@ class IrHttp(models.AbstractModel):
token = request.params['token']
dbname = request.params['db']
- registry = odoo.registry(dbname)
+ registry = flectra.registry(dbname)
error_message = False
with registry.cursor() as cr:
env = Environment(cr, SUPERUSER_ID, {})
diff --git a/addons/calendar/models/mail_activity.py b/addons/calendar/models/mail_activity.py
index 3efcea70a3..b6b1d9adf5 100644
--- a/addons/calendar/models/mail_activity.py
+++ b/addons/calendar/models/mail_activity.py
@@ -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 api, models, fields, tools, _
+from flectra import api, models, fields, tools, _
class MailActivityType(models.Model):
diff --git a/addons/calendar/models/mail_message.py b/addons/calendar/models/mail_message.py
index 26be5080ab..614a0e6000 100644
--- a/addons/calendar/models/mail_message.py
+++ b/addons/calendar/models/mail_message.py
@@ -1,11 +1,11 @@
# -*- 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
+from flectra import api, models
-from odoo.addons.calendar.models.calendar import get_real_ids
+from flectra.addons.calendar.models.calendar import get_real_ids
-from odoo.tools import pycompat
+from flectra.tools import pycompat
class Message(models.Model):
diff --git a/addons/calendar/models/res_partner.py b/addons/calendar/models/res_partner.py
index 403d70b18f..f3e0b3c87c 100644
--- a/addons/calendar/models/res_partner.py
+++ b/addons/calendar/models/res_partner.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import datetime
-from odoo import api, fields, models
+from flectra import api, fields, models
-from odoo.addons.calendar.models.calendar import get_real_ids
+from flectra.addons.calendar.models.calendar import get_real_ids
class Partner(models.Model):
diff --git a/addons/calendar/security/calendar_security.xml b/addons/calendar/security/calendar_security.xml
index 8b5385e3cd..4da4aa8c20 100644
--- a/addons/calendar/security/calendar_security.xml
+++ b/addons/calendar/security/calendar_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -34,4 +34,4 @@
-
+
diff --git a/addons/calendar/static/src/js/base_calendar.js b/addons/calendar/static/src/js/base_calendar.js
index f906958605..9a8cd16926 100644
--- a/addons/calendar/static/src/js/base_calendar.js
+++ b/addons/calendar/static/src/js/base_calendar.js
@@ -1,4 +1,4 @@
-odoo.define('base_calendar.base_calendar', function (require) {
+flectra.define('base_calendar.base_calendar', function (require) {
"use strict";
var bus = require('bus.bus').bus;
diff --git a/addons/calendar/static/src/js/mail_activity.js b/addons/calendar/static/src/js/mail_activity.js
index 3c47892154..9e18bc2af8 100644
--- a/addons/calendar/static/src/js/mail_activity.js
+++ b/addons/calendar/static/src/js/mail_activity.js
@@ -1,4 +1,4 @@
-odoo.define('calendar.Activity', function (require) {
+flectra.define('calendar.Activity', function (require) {
"use strict";
var Activity = require('mail.Activity');
diff --git a/addons/calendar/static/src/less/calendar.less b/addons/calendar/static/src/less/calendar.less
index 364584122e..b7ed368f46 100644
--- a/addons/calendar/static/src/less/calendar.less
+++ b/addons/calendar/static/src/less/calendar.less
@@ -9,7 +9,7 @@
}
&.needsAction {
- background-color: @odoo-brand-secondary;
+ background-color: @flectra-brand-secondary;
}
&.declined {
@@ -46,7 +46,7 @@
width: 50%;
margin: 30px auto 0;
.o-webclient-padding(@top: 10px, @bottom: 10px);
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
.o_logo {
width: 15%;
diff --git a/addons/calendar/static/tests/calendar_tests.js b/addons/calendar/static/tests/calendar_tests.js
index bf2326ce84..7ad2373956 100644
--- a/addons/calendar/static/tests/calendar_tests.js
+++ b/addons/calendar/static/tests/calendar_tests.js
@@ -1,4 +1,4 @@
-odoo.define('calendar.tests', function (require) {
+flectra.define('calendar.tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/calendar/tests/__init__.py b/addons/calendar/tests/__init__.py
index 44a989d21e..1ba2beb224 100644
--- a/addons/calendar/tests/__init__.py
+++ b/addons/calendar/tests/__init__.py
@@ -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 test_calendar
from . import test_calendar_recurrent_event_case2
diff --git a/addons/calendar/tests/test_calendar.py b/addons/calendar/tests/test_calendar.py
index 12547c8f69..1b88f397c7 100644
--- a/addons/calendar/tests/test_calendar.py
+++ b/addons/calendar/tests/test_calendar.py
@@ -1,11 +1,11 @@
# -*- 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.
import datetime
from datetime import datetime, timedelta
-from odoo import fields
-from odoo.tests.common import TransactionCase
+from flectra import fields
+from flectra.tests.common import TransactionCase
class TestCalendar(TransactionCase):
@@ -19,9 +19,9 @@ class TestCalendar(TransactionCase):
'privacy': 'private',
'start': '2011-04-30 16:00:00',
'stop': '2011-04-30 18:30:00',
- 'description': 'The Technical Presentation will cover following topics:\n* Creating Odoo class\n* Views\n* Wizards\n* Workflows',
+ 'description': 'The Technical Presentation will cover following topics:\n* Creating Flectra class\n* Views\n* Wizards\n* Workflows',
'duration': 2.5,
- 'location': 'Odoo S.A.',
+ 'location': 'Flectra S.A.',
'name': 'Technical Presentation'
})
diff --git a/addons/calendar/tests/test_calendar_recurrent_event_case2.py b/addons/calendar/tests/test_calendar_recurrent_event_case2.py
index 456a47fd9b..29c40eb0af 100644
--- a/addons/calendar/tests/test_calendar_recurrent_event_case2.py
+++ b/addons/calendar/tests/test_calendar_recurrent_event_case2.py
@@ -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.tests import common
-from odoo.addons.calendar.models.calendar import calendar_id2real_id
+from flectra.tests import common
+from flectra.addons.calendar.models.calendar import calendar_id2real_id
class TestRecurrentEvent(common.TransactionCase):
@@ -13,7 +13,7 @@ class TestRecurrentEvent(common.TransactionCase):
self.CalendarEvent = self.env['calendar.event']
def test_recurrent_meeting1(self):
- # In order to test recurrent meetings in Odoo, I create meetings with different recurrence using different test cases.
+ # In order to test recurrent meetings in Flectra, I create meetings with different recurrence using different test cases.
# I create a recurrent meeting with daily recurrence and fixed amount of time.
self.CalendarEvent.create({
'count': 5,
diff --git a/addons/calendar/views/calendar_templates.xml b/addons/calendar/views/calendar_templates.xml
index c41e4bb482..0436591456 100644
--- a/addons/calendar/views/calendar_templates.xml
+++ b/addons/calendar/views/calendar_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -70,4 +70,4 @@
-
+
diff --git a/addons/calendar/views/calendar_views.xml b/addons/calendar/views/calendar_views.xml
index eb7707af2d..b8e3a7dcd9 100644
--- a/addons/calendar/views/calendar_views.xml
+++ b/addons/calendar/views/calendar_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -378,4 +378,4 @@
-
+
diff --git a/addons/calendar/views/mail_activity_views.xml b/addons/calendar/views/mail_activity_views.xml
index 721f1068f3..887b08d1d2 100644
--- a/addons/calendar/views/mail_activity_views.xml
+++ b/addons/calendar/views/mail_activity_views.xml
@@ -1,5 +1,5 @@
-
+mail.activity.type.form.inherit.calendar
@@ -42,4 +42,4 @@
-
+
diff --git a/addons/calendar/wizard/__init__.py b/addons/calendar/wizard/__init__.py
index 5cabe4cf72..430c49106a 100644
--- a/addons/calendar/wizard/__init__.py
+++ b/addons/calendar/wizard/__init__.py
@@ -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 mail_invite
diff --git a/addons/calendar/wizard/mail_invite.py b/addons/calendar/wizard/mail_invite.py
index 96dd29bfdb..66b7129766 100644
--- a/addons/calendar/wizard/mail_invite.py
+++ b/addons/calendar/wizard/mail_invite.py
@@ -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
+from flectra import api, models
-from odoo.addons.calendar.models.calendar import get_real_ids
+from flectra.addons.calendar.models.calendar import get_real_ids
class MailInvite(models.TransientModel):
diff --git a/addons/calendar_sms/__init__.py b/addons/calendar_sms/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/calendar_sms/__init__.py
+++ b/addons/calendar_sms/__init__.py
@@ -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 models
diff --git a/addons/calendar_sms/__manifest__.py b/addons/calendar_sms/__manifest__.py
index 0e734074aa..0157dbd283 100644
--- a/addons/calendar_sms/__manifest__.py
+++ b/addons/calendar_sms/__manifest__.py
@@ -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.
{
'name': "Calendar SMS",
diff --git a/addons/calendar_sms/models/__init__.py b/addons/calendar_sms/models/__init__.py
index a71750ab34..2673bf5015 100644
--- a/addons/calendar_sms/models/__init__.py
+++ b/addons/calendar_sms/models/__init__.py
@@ -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 calendar
diff --git a/addons/calendar_sms/models/calendar.py b/addons/calendar_sms/models/calendar.py
index d22200b936..d7151e2588 100644
--- a/addons/calendar_sms/models/calendar.py
+++ b/addons/calendar_sms/models/calendar.py
@@ -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.
import logging
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
_logger = logging.getLogger(__name__)
diff --git a/addons/calendar_sms/views/calendar_views.xml b/addons/calendar_sms/views/calendar_views.xml
index 4682a7098b..9bed7dc7ed 100644
--- a/addons/calendar_sms/views/calendar_views.xml
+++ b/addons/calendar_sms/views/calendar_views.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/contacts/__init__.py b/addons/contacts/__init__.py
index 67dee8c60d..7eb1309519 100644
--- a/addons/contacts/__init__.py
+++ b/addons/contacts/__init__.py
@@ -1,2 +1,2 @@
# -*- 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.
diff --git a/addons/contacts/__manifest__.py b/addons/contacts/__manifest__.py
index 7c5270a701..341d2f7d29 100644
--- a/addons/contacts/__manifest__.py
+++ b/addons/contacts/__manifest__.py
@@ -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.
{
diff --git a/addons/contacts/views/contact_views.xml b/addons/contacts/views/contact_views.xml
index b4f49e1114..1f9fc05b1f 100644
--- a/addons/contacts/views/contact_views.xml
+++ b/addons/contacts/views/contact_views.xml
@@ -1,5 +1,5 @@
-
+Contactsir.actions.act_window
@@ -11,7 +11,7 @@
Click to add a contact in your contacts directory.
- Odoo helps you easily track all activities related to
+ Flectra helps you easily track all activities related to
a customer: discussions, history of business opportunities,
documents, etc.
@@ -99,4 +99,4 @@
action="base.action_res_partner_bank_account_form"
parent="menu_config_bank_accounts"
sequence="2"/>
-
+
diff --git a/addons/crm/__init__.py b/addons/crm/__init__.py
index 4e9b019bd7..968c635d5a 100644
--- a/addons/crm/__init__.py
+++ b/addons/crm/__init__.py
@@ -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
diff --git a/addons/crm/__manifest__.py b/addons/crm/__manifest__.py
index a2e8745475..89281b5ef8 100644
--- a/addons/crm/__manifest__.py
+++ b/addons/crm/__manifest__.py
@@ -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.
{
'name': 'CRM',
@@ -8,7 +8,7 @@
'sequence': 5,
'summary': 'Leads, Opportunities, Activities',
'description': "",
- 'website': 'https://www.odoo.com/page/crm',
+ 'website': 'https://flectrahq.com/page/crm',
'depends': [
'base_setup',
'sales_team',
diff --git a/addons/crm/controllers/main.py b/addons/crm/controllers/main.py
index 4f1a696064..9889233526 100644
--- a/addons/crm/controllers/main.py
+++ b/addons/crm/controllers/main.py
@@ -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.
import logging
-from odoo.addons.mail.controllers.main import MailController
-from odoo import http
+from flectra.addons.mail.controllers.main import MailController
+from flectra import http
_logger = logging.getLogger(__name__)
diff --git a/addons/crm/data/crm_data.xml b/addons/crm/data/crm_data.xml
index cea0701944..d219e182b5 100644
--- a/addons/crm/data/crm_data.xml
+++ b/addons/crm/data/crm_data.xml
@@ -1,5 +1,5 @@
-
+True
@@ -29,4 +29,4 @@
-
+
diff --git a/addons/crm/data/crm_demo.xml b/addons/crm/data/crm_demo.xml
index 2b9aed9a32..cbac3b22dc 100644
--- a/addons/crm/data/crm_demo.xml
+++ b/addons/crm/data/crm_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -14,4 +14,4 @@
crm.opportunity.report
-
+
diff --git a/addons/crm/data/crm_lead_data.xml b/addons/crm/data/crm_lead_data.xml
index 732d0ffa90..9da8e4f691 100644
--- a/addons/crm/data/crm_lead_data.xml
+++ b/addons/crm/data/crm_lead_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -89,4 +89,4 @@
-
+
diff --git a/addons/crm/data/crm_lead_demo.xml b/addons/crm/data/crm_lead_demo.xml
index e0d65f889c..6bacd14c63 100644
--- a/addons/crm/data/crm_lead_demo.xml
+++ b/addons/crm/data/crm_lead_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -876,4 +876,4 @@ Andrew]]>
-
+
diff --git a/addons/crm/data/crm_stage_data.xml b/addons/crm/data/crm_stage_data.xml
index 81c69cf569..6e8dc819d0 100644
--- a/addons/crm/data/crm_stage_data.xml
+++ b/addons/crm/data/crm_stage_data.xml
@@ -1,5 +1,5 @@
-
+New10
@@ -25,4 +25,4 @@
170
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/crm/data/mail_activity_demo.xml b/addons/crm/data/mail_activity_demo.xml
index d18dd3a0e0..79d18d1aa2 100644
--- a/addons/crm/data/mail_activity_demo.xml
+++ b/addons/crm/data/mail_activity_demo.xml
@@ -1,5 +1,5 @@
-
+Follow-up Quotefa-file-text-o
@@ -18,4 +18,4 @@
10
-
+
diff --git a/addons/crm/data/mail_template_data.xml b/addons/crm/data/mail_template_data.xml
index a59118f5dc..7718e42d3a 100644
--- a/addons/crm/data/mail_template_data.xml
+++ b/addons/crm/data/mail_template_data.xml
@@ -1,11 +1,11 @@
-
+Email send after crm installation.
- Your Odoo CRM application is running smoothly.
- help@odoo.com
+ Your Flectra CRM application is running smoothly.
+ help@flectra.com${user.email|safe}${user.lang}
@@ -33,7 +33,7 @@
Hooray!
- Your Odoo CRM application is up and running.
+ Your Flectra CRM application is up and running.
What’s next?
@@ -92,22 +92,22 @@
We would be delighted to assist you along the way. Contact us through our
- support form if you have any question.
- You can also discover how to get the best out of Odoo CRM with our
-
+ support form if you have any question.
+ You can also discover how to get the best out of Flectra CRM with our
+ User Documentation or with our
-
+ API Documentation
- We designed Odoo to help you grow your business. Odoo CRM
+ We designed Flectra to help you grow your business. Flectra CRM
is not just a tool, we want it to have a major impact on your
sales performance. That's our mission, and we are serious about it.
Setting up your sales funnel is just the first step. To achieve a
significant boost, we will help you get the most out of
- Odoo CRM to transform how your salespeople work.
+ Flectra CRM to transform how your salespeople work.
That's the purpose of this guide.
The whole process may take a few hours. But it's worth doing
it.
- Every business is different. Odoo allows to
+ Every business is different. Flectra allows to
customize every application and it's usually a good
advice to customize screens to fit your sales process.
- Customizations are done by Odoo experts.
+ Customizations are done by Flectra experts.
Here are some of the customizations available:
@@ -788,7 +788,7 @@
Trainings
To build a strong sales training program, you can use the following
- apps of Odoo:
+ apps of Flectra:
Templates of quotations (use Odoo Online Proposals for this)
+
Templates of quotations (use Flectra Online Proposals for this)
Competition Matrix comparing prices
Negotiation:
@@ -854,7 +854,7 @@
Add Features
- Odoo is the world's only software to have a full integration of Marketing Apps for your sales channel: insight sales, point of sale, ecommerce.
+ Flectra is the world's only software to have a full integration of Marketing Apps for your sales channel: insight sales, point of sale, ecommerce.
To boost your leads acquisition, you should have a look at our marketing apps:
@@ -865,7 +865,7 @@
Mass mailing
Design efficient email campaigns. Send, convert and track performance.
We hope this process helped you bring your sales vision to life.
-
Don't hesitate to send us an email to describe your experience or to suggest improvements!
+
Don't hesitate to send us an email to describe your experience or to suggest improvements!
-
Happy Selling! - The Odoo Team
-
+
Happy Selling! - The Flectra Team
+
@@ -943,4 +943,4 @@
-
+
diff --git a/addons/crm/models/__init__.py b/addons/crm/models/__init__.py
index e2de5c4c71..dd775c6e3f 100644
--- a/addons/crm/models/__init__.py
+++ b/addons/crm/models/__init__.py
@@ -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 res_users
from . import calendar
diff --git a/addons/crm/models/calendar.py b/addons/crm/models/calendar.py
index 8a13f3d3a1..0cecf1d9f8 100644
--- a/addons/crm/models/calendar.py
+++ b/addons/crm/models/calendar.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class CalendarEvent(models.Model):
diff --git a/addons/crm/models/crm_lead.py b/addons/crm/models/crm_lead.py
index 07afb0c079..52d0a1eec8 100644
--- a/addons/crm/models/crm_lead.py
+++ b/addons/crm/models/crm_lead.py
@@ -1,14 +1,14 @@
# -*- 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.
import logging
from datetime import datetime, timedelta, date
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, tools, SUPERUSER_ID
-from odoo.tools.translate import _
-from odoo.tools import email_re, email_split
-from odoo.exceptions import UserError, AccessError
+from flectra import api, fields, models, tools, SUPERUSER_ID
+from flectra.tools.translate import _
+from flectra.tools import email_re, email_split
+from flectra.exceptions import UserError, AccessError
from . import crm_stage
diff --git a/addons/crm/models/crm_stage.py b/addons/crm/models/crm_stage.py
index e1d4cceea9..8dc64aa764 100644
--- a/addons/crm/models/crm_stage.py
+++ b/addons/crm/models/crm_stage.py
@@ -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 api, fields, models
+from flectra import api, fields, models
AVAILABLE_PRIORITIES = [
('0', 'Normal'),
diff --git a/addons/crm/models/crm_team.py b/addons/crm/models/crm_team.py
index cddad92eea..353e99c195 100644
--- a/addons/crm/models/crm_team.py
+++ b/addons/crm/models/crm_team.py
@@ -1,11 +1,11 @@
# -*- 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 dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.tools.safe_eval import safe_eval
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.tools.safe_eval import safe_eval
+from flectra.exceptions import ValidationError
class Team(models.Model):
@@ -140,7 +140,7 @@ class Team(models.Model):
as a member of one of the sales channel.
"""
if user_team_id:
- action['help'] += "
As you don't belong to any sales channel, Odoo opens the first one by default.
"
+ action['help'] += "
As you don't belong to any sales channel, Flectra opens the first one by default.
"
action_context = safe_eval(action['context'], {'uid': self.env.uid})
if user_team_id:
diff --git a/addons/crm/models/res_config_settings.py b/addons/crm/models/res_config_settings.py
index 52d8f220d1..8a74885a68 100644
--- a/addons/crm/models/res_config_settings.py
+++ b/addons/crm/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/crm/models/res_partner.py b/addons/crm/models/res_partner.py
index bc31c6b9c1..395f62f940 100644
--- a/addons/crm/models/res_partner.py
+++ b/addons/crm/models/res_partner.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class Partner(models.Model):
diff --git a/addons/crm/models/res_users.py b/addons/crm/models/res_users.py
index 2c94f1c05a..3518505029 100644
--- a/addons/crm/models/res_users.py
+++ b/addons/crm/models/res_users.py
@@ -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 Users(models.Model):
diff --git a/addons/crm/models/web_planner.py b/addons/crm/models/web_planner.py
index 8a15c6e947..a5fe00af9c 100644
--- a/addons/crm/models/web_planner.py
+++ b/addons/crm/models/web_planner.py
@@ -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 api, models
+from flectra import api, models
class PlannerCrm(models.Model):
diff --git a/addons/crm/report/__init__.py b/addons/crm/report/__init__.py
index b1492d0bd2..c27ed81ed2 100644
--- a/addons/crm/report/__init__.py
+++ b/addons/crm/report/__init__.py
@@ -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 crm_activity_report
from . import crm_opportunity_report
diff --git a/addons/crm/report/crm_activity_report.py b/addons/crm/report/crm_activity_report.py
index 51d38980d2..0f4b36fbb6 100644
--- a/addons/crm/report/crm_activity_report.py
+++ b/addons/crm/report/crm_activity_report.py
@@ -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, tools, api
+from flectra import fields, models, tools, api
class ActivityReport(models.Model):
diff --git a/addons/crm/report/crm_activity_report_views.xml b/addons/crm/report/crm_activity_report_views.xml
index e971e0674d..b24619cf76 100644
--- a/addons/crm/report/crm_activity_report_views.xml
+++ b/addons/crm/report/crm_activity_report_views.xml
@@ -1,5 +1,5 @@
-
+crm.activity.report.graph
@@ -79,4 +79,4 @@
[]
-
+
diff --git a/addons/crm/report/crm_opportunity_report.py b/addons/crm/report/crm_opportunity_report.py
index 8f6621cb83..4cf8078baa 100644
--- a/addons/crm/report/crm_opportunity_report.py
+++ b/addons/crm/report/crm_opportunity_report.py
@@ -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, tools, api
+from flectra import fields, models, tools, api
from ..models import crm_stage
diff --git a/addons/crm/report/crm_opportunity_report_views.xml b/addons/crm/report/crm_opportunity_report_views.xml
index 0558c23281..42b0aff5aa 100644
--- a/addons/crm/report/crm_opportunity_report_views.xml
+++ b/addons/crm/report/crm_opportunity_report_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -200,4 +200,4 @@ with the the sales channel.
groups="crm.group_use_lead"
sequence="1"/>
-
+
diff --git a/addons/crm/security/crm_security.xml b/addons/crm/security/crm_security.xml
index 08e175f224..37de86be81 100644
--- a/addons/crm/security/crm_security.xml
+++ b/addons/crm/security/crm_security.xml
@@ -1,6 +1,6 @@
-
+
@@ -86,4 +86,4 @@
-
+
diff --git a/addons/crm/static/src/js/tour.js b/addons/crm/static/src/js/tour.js
index 7f3bcca501..28d5b17d01 100644
--- a/addons/crm/static/src/js/tour.js
+++ b/addons/crm/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define('crm.tour', function(require) {
+flectra.define('crm.tour', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/crm/static/src/js/web_planner_crm.js b/addons/crm/static/src/js/web_planner_crm.js
index c444886c94..00ce0c7706 100644
--- a/addons/crm/static/src/js/web_planner_crm.js
+++ b/addons/crm/static/src/js/web_planner_crm.js
@@ -1,4 +1,4 @@
-odoo.define('planner_crm.planner', function (require) {
+flectra.define('planner_crm.planner', function (require) {
"use strict";
var planner = require('web.planner.common');
@@ -29,7 +29,7 @@ planner.PlannerDialog.include({
_t('Close opportunity if: "pre-sales days * $500" < "expected revenue" * probability'),
_t('GAP analysis with customer'), _t('Create a Proof of Concept with consultants'),
_t('POC demonstration to the customer'), _t('Final Proposal sent'), ''],
- 'odoo_default': [
+ 'flectra_default': [
_t('New'), _t('Qualified'), _t('Proposition'), _t('Negotiation'), _t('Won'), _t('Lost'), '',
'', '', '', '', '', '', '']
};
diff --git a/addons/crm/static/tests/sales_team_dashboard_tests.js b/addons/crm/static/tests/sales_team_dashboard_tests.js
index a4430d29a5..7e04283a1d 100644
--- a/addons/crm/static/tests/sales_team_dashboard_tests.js
+++ b/addons/crm/static/tests/sales_team_dashboard_tests.js
@@ -1,4 +1,4 @@
-odoo.define('crm.dashboard_tests', function (require) {
+flectra.define('crm.dashboard_tests', function (require) {
"use strict";
var testUtils = require('web.test_utils');
diff --git a/addons/crm/tests/common.py b/addons/crm/tests/common.py
index ef90160a6c..ba29e67f15 100644
--- a/addons/crm/tests/common.py
+++ b/addons/crm/tests/common.py
@@ -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.tests.common import TransactionCase
-from odoo.addons.mail.tests.common import BaseFunctionalTest
+from flectra.tests.common import TransactionCase
+from flectra.addons.mail.tests.common import BaseFunctionalTest
class TestCrm(BaseFunctionalTest):
diff --git a/addons/crm/tests/test_crm_activity.py b/addons/crm/tests/test_crm_activity.py
index b1183ceb0e..046c9e6f42 100644
--- a/addons/crm/tests/test_crm_activity.py
+++ b/addons/crm/tests/test_crm_activity.py
@@ -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 .common import TestCrmCases
-from odoo import fields
+from flectra import fields
from datetime import datetime, timedelta
diff --git a/addons/crm/tests/test_crm_lead.py b/addons/crm/tests/test_crm_lead.py
index 8e70193205..0455db4e90 100644
--- a/addons/crm/tests/test_crm_lead.py
+++ b/addons/crm/tests/test_crm_lead.py
@@ -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 .common import TestCrmCases
-from odoo.modules.module import get_module_resource
+from flectra.modules.module import get_module_resource
class TestCRMLead(TestCrmCases):
diff --git a/addons/crm/tests/test_crm_ui.py b/addons/crm/tests/test_crm_ui.py
index 7df4c97b4f..66c945e314 100644
--- a/addons/crm/tests/test_crm_ui.py
+++ b/addons/crm/tests/test_crm_ui.py
@@ -1,11 +1,11 @@
-# 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.
-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_01_crm_tour(self):
- self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('crm_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.crm_tour.ready", login="admin")
+ self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('crm_tour')", "flectra.__DEBUG__.services['web_tour.tour'].tours.crm_tour.ready", login="admin")
diff --git a/addons/crm/tests/test_new_lead_notification.py b/addons/crm/tests/test_new_lead_notification.py
index 514be895d3..db1d018aef 100644
--- a/addons/crm/tests/test_new_lead_notification.py
+++ b/addons/crm/tests/test_new_lead_notification.py
@@ -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 .common import TestCrm
diff --git a/addons/crm/views/calendar_views.xml b/addons/crm/views/calendar_views.xml
index b82569b184..3d692eed9a 100644
--- a/addons/crm/views/calendar_views.xml
+++ b/addons/crm/views/calendar_views.xml
@@ -1,5 +1,5 @@
-
+
+
diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml
index 6e6b89cb90..3a8a3275c9 100644
--- a/addons/crm/views/crm_lead_views.xml
+++ b/addons/crm/views/crm_lead_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -72,7 +72,7 @@
-
+
@@ -518,7 +518,7 @@
-
+
@@ -827,7 +827,7 @@ for rec in records:
- Odoo helps you keep track of your sales pipeline to follow
+ Flectra helps you keep track of your sales pipeline to follow
up potential sales and better forecast your future revenues.
You will be able to plan meetings and phone calls from
@@ -886,7 +886,7 @@ for rec in records:
- Odoo helps you keep track of your sales pipeline to follow
+ Flectra helps you keep track of your sales pipeline to follow
up potential sales and better forecast your future revenues.
You will be able to plan meetings and phone calls from
@@ -982,4 +982,4 @@ for rec in records:
parent="menu_crm_config_lead"
sequence="6"/>
-
- Odoo helps you keep track of your sales pipeline to follow
+ Flectra helps you keep track of your sales pipeline to follow
up potential sales and better forecast your future revenues.
You will be able to plan meetings and log activities from
@@ -261,4 +261,4 @@
['|', ('res_model_id', '=', False), ('res_model_id.model', 'in', ['crm.lead', 'res.partner'])]
-
+
diff --git a/addons/crm/views/crm_templates.xml b/addons/crm/views/crm_templates.xml
index cf0c7bd866..abccf930f8 100644
--- a/addons/crm/views/crm_templates.xml
+++ b/addons/crm/views/crm_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -8,4 +8,4 @@
-
+
diff --git a/addons/crm/views/crm_views.xml b/addons/crm/views/crm_views.xml
index e085a6bed3..2861ffd8ee 100644
--- a/addons/crm/views/crm_views.xml
+++ b/addons/crm/views/crm_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -117,4 +117,4 @@
-
+
diff --git a/addons/crm/wizard/__init__.py b/addons/crm/wizard/__init__.py
index 6a55568adb..af41bd2968 100644
--- a/addons/crm/wizard/__init__.py
+++ b/addons/crm/wizard/__init__.py
@@ -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 base_partner_merge
from . import crm_lead_lost
diff --git a/addons/crm/wizard/base_partner_merge.py b/addons/crm/wizard/base_partner_merge.py
index e76d243fe1..0f41cd552e 100644
--- a/addons/crm/wizard/base_partner_merge.py
+++ b/addons/crm/wizard/base_partner_merge.py
@@ -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 ast import literal_eval
import functools
@@ -7,10 +7,10 @@ import itertools
import logging
import psycopg2
-from odoo import api, fields, models
-from odoo import SUPERUSER_ID, _
-from odoo.exceptions import ValidationError, UserError
-from odoo.tools import mute_logger
+from flectra import api, fields, models
+from flectra import SUPERUSER_ID, _
+from flectra.exceptions import ValidationError, UserError
+from flectra.tools import mute_logger
_logger = logging.getLogger('base.partner.merge')
@@ -141,7 +141,7 @@ class MergePartnerAutomatic(models.TransientModel):
self._cr.execute(query, (dst_partner.id, partner.id, dst_partner.id))
else:
try:
- with mute_logger('odoo.sql_db'), self._cr.savepoint():
+ with mute_logger('flectra.sql_db'), self._cr.savepoint():
query = 'UPDATE "%(table)s" SET %(column)s = %%s WHERE %(column)s IN %%s' % query_dic
self._cr.execute(query, (dst_partner.id, tuple(src_partners.ids),))
@@ -180,7 +180,7 @@ class MergePartnerAutomatic(models.TransientModel):
return
records = Model.sudo().search([(field_model, '=', 'res.partner'), (field_id, '=', src.id)])
try:
- with mute_logger('odoo.sql_db'), self._cr.savepoint():
+ with mute_logger('flectra.sql_db'), self._cr.savepoint():
return records.sudo().write({field_id: dst_partner.id})
except psycopg2.Error:
# updating fails, most likely due to a violated unique constraint
diff --git a/addons/crm/wizard/base_partner_merge_views.xml b/addons/crm/wizard/base_partner_merge_views.xml
index 259df710ee..a24854b01b 100644
--- a/addons/crm/wizard/base_partner_merge_views.xml
+++ b/addons/crm/wizard/base_partner_merge_views.xml
@@ -1,5 +1,5 @@
-
+Deduplicate Contactsbase.partner.merge.automatic.wizard
@@ -22,7 +22,7 @@
Select the list of fields used to search for
duplicated records. If you select several fields,
- Odoo will propose you to merge only those having
+ Flectra will propose you to merge only those having
all these fields in common. (not one of the fields).
@@ -108,4 +108,4 @@
key2="client_action_multi"
view_mode="form"
name="Merge Selected Contacts"/>
-
+
diff --git a/addons/crm/wizard/crm_lead_lost.py b/addons/crm/wizard/crm_lead_lost.py
index 4bcdf46992..67d2d3ab3b 100644
--- a/addons/crm/wizard/crm_lead_lost.py
+++ b/addons/crm/wizard/crm_lead_lost.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class CrmLeadLost(models.TransientModel):
diff --git a/addons/crm/wizard/crm_lead_lost_views.xml b/addons/crm/wizard/crm_lead_lost_views.xml
index 844e5e91d5..650ff64b76 100644
--- a/addons/crm/wizard/crm_lead_lost_views.xml
+++ b/addons/crm/wizard/crm_lead_lost_views.xml
@@ -1,5 +1,5 @@
-
+crm.lead.lost.formcrm.lead.lost
@@ -24,4 +24,4 @@
new
-
+
diff --git a/addons/crm/wizard/crm_lead_to_opportunity.py b/addons/crm/wizard/crm_lead_to_opportunity.py
index 5f7442002a..ca6138c738 100644
--- a/addons/crm/wizard/crm_lead_to_opportunity.py
+++ b/addons/crm/wizard/crm_lead_to_opportunity.py
@@ -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, fields, models
-from odoo.exceptions import UserError
-from odoo.tools.translate import _
+from flectra import api, fields, models
+from flectra.exceptions import UserError
+from flectra.tools.translate import _
class Lead2OpportunityPartner(models.TransientModel):
diff --git a/addons/crm/wizard/crm_lead_to_opportunity_views.xml b/addons/crm/wizard/crm_lead_to_opportunity_views.xml
index 201f295763..5e34f90c86 100644
--- a/addons/crm/wizard/crm_lead_to_opportunity_views.xml
+++ b/addons/crm/wizard/crm_lead_to_opportunity_views.xml
@@ -1,5 +1,5 @@
-
+crm.lead2opportunity.partner.form
@@ -112,4 +112,4 @@
groups="sales_team.group_sale_salesman"
/>
-
+
diff --git a/addons/crm/wizard/crm_merge_opportunities.py b/addons/crm/wizard/crm_merge_opportunities.py
index 55c76f0a80..d04172d296 100644
--- a/addons/crm/wizard/crm_merge_opportunities.py
+++ b/addons/crm/wizard/crm_merge_opportunities.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class MergeOpportunity(models.TransientModel):
diff --git a/addons/crm/wizard/crm_merge_opportunities_views.xml b/addons/crm/wizard/crm_merge_opportunities_views.xml
index c0f936cc7e..b216f92ca4 100644
--- a/addons/crm/wizard/crm_merge_opportunities_views.xml
+++ b/addons/crm/wizard/crm_merge_opportunities_views.xml
@@ -1,5 +1,5 @@
-
+crm.merge.opportunity.form
@@ -55,4 +55,4 @@
view_type="form"
groups="sales_team.group_sale_salesman" />
-
+
diff --git a/addons/crm/wizard/crm_partner_binding.py b/addons/crm/wizard/crm_partner_binding.py
index aee8057444..911f68cd60 100644
--- a/addons/crm/wizard/crm_partner_binding.py
+++ b/addons/crm/wizard/crm_partner_binding.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class PartnerBinding(models.TransientModel):
diff --git a/addons/crm_livechat/__init__.py b/addons/crm_livechat/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/crm_livechat/__init__.py
+++ b/addons/crm_livechat/__init__.py
@@ -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 models
diff --git a/addons/crm_livechat/__manifest__.py b/addons/crm_livechat/__manifest__.py
index bbded07083..75f2942089 100644
--- a/addons/crm_livechat/__manifest__.py
+++ b/addons/crm_livechat/__manifest__.py
@@ -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.
{
'name': 'CRM Livechat',
diff --git a/addons/crm_livechat/models/__init__.py b/addons/crm_livechat/models/__init__.py
index 58536ecc3e..51570659da 100644
--- a/addons/crm_livechat/models/__init__.py
+++ b/addons/crm_livechat/models/__init__.py
@@ -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 mail_channel
diff --git a/addons/crm_livechat/models/mail_channel.py b/addons/crm_livechat/models/mail_channel.py
index 9db2cfd2ea..5e97b93817 100644
--- a/addons/crm_livechat/models/mail_channel.py
+++ b/addons/crm_livechat/models/mail_channel.py
@@ -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 models, _
-from odoo.tools import html2plaintext
+from flectra import models, _
+from flectra.tools import html2plaintext
class MailChannel(models.Model):
_inherit = 'mail.channel'
diff --git a/addons/crm_phone_validation/__init__.py b/addons/crm_phone_validation/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/crm_phone_validation/__init__.py
+++ b/addons/crm_phone_validation/__init__.py
@@ -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 models
diff --git a/addons/crm_phone_validation/__manifest__.py b/addons/crm_phone_validation/__manifest__.py
index 7c729bfae3..8c3a693172 100644
--- a/addons/crm_phone_validation/__manifest__.py
+++ b/addons/crm_phone_validation/__manifest__.py
@@ -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.
{
'name': 'Crm Phone Numbers Validation',
diff --git a/addons/crm_phone_validation/models/__init__.py b/addons/crm_phone_validation/models/__init__.py
index 01986291df..40c4260a24 100644
--- a/addons/crm_phone_validation/models/__init__.py
+++ b/addons/crm_phone_validation/models/__init__.py
@@ -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 res_partner
from . import crm_lead
diff --git a/addons/crm_phone_validation/models/crm_lead.py b/addons/crm_phone_validation/models/crm_lead.py
index a652f1bd5c..4775bc74fd 100644
--- a/addons/crm_phone_validation/models/crm_lead.py
+++ b/addons/crm_phone_validation/models/crm_lead.py
@@ -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 api, models
+from flectra import api, models
class Lead(models.Model):
diff --git a/addons/crm_phone_validation/models/res_config_settings.py b/addons/crm_phone_validation/models/res_config_settings.py
index 1ec5663693..8a748273bc 100644
--- a/addons/crm_phone_validation/models/res_config_settings.py
+++ b/addons/crm_phone_validation/models/res_config_settings.py
@@ -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):
diff --git a/addons/crm_phone_validation/models/res_partner.py b/addons/crm_phone_validation/models/res_partner.py
index 97f5eaf891..f0600cc914 100644
--- a/addons/crm_phone_validation/models/res_partner.py
+++ b/addons/crm_phone_validation/models/res_partner.py
@@ -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 api, models
+from flectra import api, models
class Contact(models.Model):
diff --git a/addons/crm_phone_validation/views/res_config_settings_views.xml b/addons/crm_phone_validation/views/res_config_settings_views.xml
index 86818cd936..d67e469fcc 100644
--- a/addons/crm_phone_validation/views/res_config_settings_views.xml
+++ b/addons/crm_phone_validation/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.crm.phone.validationres.config.settings
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/crm_project/__init__.py b/addons/crm_project/__init__.py
index 260776f8a8..182468e973 100644
--- a/addons/crm_project/__init__.py
+++ b/addons/crm_project/__init__.py
@@ -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 wizard
diff --git a/addons/crm_project/__manifest__.py b/addons/crm_project/__manifest__.py
index f4a96def00..75325d89d5 100644
--- a/addons/crm_project/__manifest__.py
+++ b/addons/crm_project/__manifest__.py
@@ -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.
{
'name': 'Lead to Tasks',
'summary': 'Create Tasks from Leads',
diff --git a/addons/crm_project/views/crm_lead_views.xml b/addons/crm_project/views/crm_lead_views.xml
index 874c9afb99..c563dbd18d 100644
--- a/addons/crm_project/views/crm_lead_views.xml
+++ b/addons/crm_project/views/crm_lead_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/crm_project/wizard/__init__.py b/addons/crm_project/wizard/__init__.py
index 1c10ad19d6..d65cf3dc1c 100644
--- a/addons/crm_project/wizard/__init__.py
+++ b/addons/crm_project/wizard/__init__.py
@@ -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 crm_lead_convert2task
diff --git a/addons/crm_project/wizard/crm_lead_convert2task.py b/addons/crm_project/wizard/crm_lead_convert2task.py
index 6f9f8de10d..5f948efc31 100644
--- a/addons/crm_project/wizard/crm_lead_convert2task.py
+++ b/addons/crm_project/wizard/crm_lead_convert2task.py
@@ -1,5 +1,5 @@
-from odoo import api, fields, models
+from flectra import api, fields, models
class CrmLeadConvert2Task(models.TransientModel):
diff --git a/addons/crm_project/wizard/crm_lead_convert2task_views.xml b/addons/crm_project/wizard/crm_lead_convert2task_views.xml
index 1984f8d4d7..55bdc3b9da 100644
--- a/addons/crm_project/wizard/crm_lead_convert2task_views.xml
+++ b/addons/crm_project/wizard/crm_lead_convert2task_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -27,4 +27,4 @@
new
-
+
diff --git a/addons/decimal_precision/__init__.py b/addons/decimal_precision/__init__.py
index ff10cab3b2..1b98444085 100644
--- a/addons/decimal_precision/__init__.py
+++ b/addons/decimal_precision/__init__.py
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, SUPERUSER_ID
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, SUPERUSER_ID
from . import models
diff --git a/addons/decimal_precision/__manifest__.py b/addons/decimal_precision/__manifest__.py
index c384e3f948..d18708544e 100644
--- a/addons/decimal_precision/__manifest__.py
+++ b/addons/decimal_precision/__manifest__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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.
{
'name': 'Decimal Precision Configuration',
diff --git a/addons/decimal_precision/models/decimal_precision.py b/addons/decimal_precision/models/decimal_precision.py
index 8ac6589bc8..3a7f246797 100644
--- a/addons/decimal_precision/models/decimal_precision.py
+++ b/addons/decimal_precision/models/decimal_precision.py
@@ -1,7 +1,7 @@
# -*- encoding: 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, fields, models, tools
+from flectra import api, fields, models, tools
class DecimalPrecision(models.Model):
_name = 'decimal.precision'
diff --git a/addons/decimal_precision/tests/test_qweb_float.py b/addons/decimal_precision/tests/test_qweb_float.py
index c88005a399..205f49cb61 100644
--- a/addons/decimal_precision/tests/test_qweb_float.py
+++ b/addons/decimal_precision/tests/test_qweb_float.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
+from flectra.tests import common
class TestFloatExport(common.TransactionCase):
diff --git a/addons/decimal_precision/views/decimal_precision_views.xml b/addons/decimal_precision/views/decimal_precision_views.xml
index 093abb1c5d..1292d561ca 100644
--- a/addons/decimal_precision/views/decimal_precision_views.xml
+++ b/addons/decimal_precision/views/decimal_precision_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -34,6 +34,6 @@
action="action_decimal_precision_form"/>
-
+
diff --git a/addons/delivery/__init__.py b/addons/delivery/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/delivery/__init__.py
+++ b/addons/delivery/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/delivery/__manifest__.py b/addons/delivery/__manifest__.py
index 82d78edee1..8d476ad7f8 100644
--- a/addons/delivery/__manifest__.py
+++ b/addons/delivery/__manifest__.py
@@ -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.
{
diff --git a/addons/delivery/data/delivery_data.xml b/addons/delivery/data/delivery_data.xml
index c84a7e1629..d3d7daf169 100644
--- a/addons/delivery/data/delivery_data.xml
+++ b/addons/delivery/data/delivery_data.xml
@@ -1,5 +1,5 @@
-
+Free delivery charges
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/delivery/data/delivery_demo.xml b/addons/delivery/data/delivery_demo.xml
index 8249330a20..d152a8da11 100644
--- a/addons/delivery/data/delivery_demo.xml
+++ b/addons/delivery/data/delivery_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -68,4 +68,4 @@
-
+
diff --git a/addons/delivery/data/mail_template_data.xml b/addons/delivery/data/mail_template_data.xml
index 7f06198d9a..3f84706290 100644
--- a/addons/delivery/data/mail_template_data.xml
+++ b/addons/delivery/data/mail_template_data.xml
@@ -1,5 +1,5 @@
-
+Delivery: Send by Email
@@ -79,11 +79,11 @@
-
+
diff --git a/addons/delivery/models/__init__.py b/addons/delivery/models/__init__.py
index 5229017a18..2f04ce0ca8 100644
--- a/addons/delivery/models/__init__.py
+++ b/addons/delivery/models/__init__.py
@@ -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 delivery_carrier
from . import delivery_grid
diff --git a/addons/delivery/models/delivery_carrier.py b/addons/delivery/models/delivery_carrier.py
index 4e645b5c6a..6d53cca843 100644
--- a/addons/delivery/models/delivery_carrier.py
+++ b/addons/delivery/models/delivery_carrier.py
@@ -1,10 +1,10 @@
# -*- 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.
import logging
import psycopg2
-from odoo import api, fields, models, registry, SUPERUSER_ID, _
+from flectra import api, fields, models, registry, SUPERUSER_ID, _
_logger = logging.getLogger(__name__)
@@ -74,7 +74,7 @@ class DeliveryCarrier(models.Model):
'domain': [['name', 'ilike', 'delivery_']],
'type': 'ir.actions.act_window',
'help': _('''
- Buy Odoo Enterprise now to get more providers.
+ Buy Flectra Enterprise now to get more providers.
'''),
}
diff --git a/addons/delivery/models/delivery_grid.py b/addons/delivery/models/delivery_grid.py
index dddc300dfe..b8ad494a5e 100644
--- a/addons/delivery/models/delivery_grid.py
+++ b/addons/delivery/models/delivery_grid.py
@@ -1,10 +1,10 @@
# -*- 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 models, fields, api, _
-from odoo.addons import decimal_precision as dp
-from odoo.tools.safe_eval import safe_eval
-from odoo.exceptions import UserError, ValidationError
+from flectra import models, fields, api, _
+from flectra.addons import decimal_precision as dp
+from flectra.tools.safe_eval import safe_eval
+from flectra.exceptions import UserError, ValidationError
class PriceRule(models.Model):
diff --git a/addons/delivery/models/partner.py b/addons/delivery/models/partner.py
index 1c8d89156c..940ba260ba 100644
--- a/addons/delivery/models/partner.py
+++ b/addons/delivery/models/partner.py
@@ -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 ResPartner(models.Model):
diff --git a/addons/delivery/models/product_packaging.py b/addons/delivery/models/product_packaging.py
index 58beebc7de..acd1d7ecfd 100644
--- a/addons/delivery/models/product_packaging.py
+++ b/addons/delivery/models/product_packaging.py
@@ -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 models, fields
+from flectra import models, fields
class ProductPackaging(models.Model):
diff --git a/addons/delivery/models/product_template.py b/addons/delivery/models/product_template.py
index 79465b5030..b3af9f43b1 100644
--- a/addons/delivery/models/product_template.py
+++ b/addons/delivery/models/product_template.py
@@ -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 models, fields
+from flectra import models, fields
class ProductTemplate(models.Model):
diff --git a/addons/delivery/models/sale_order.py b/addons/delivery/models/sale_order.py
index 184374020a..8311da99c8 100644
--- a/addons/delivery/models/sale_order.py
+++ b/addons/delivery/models/sale_order.py
@@ -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 models, fields, api, _
-from odoo.exceptions import UserError
-from odoo.addons import decimal_precision as dp
+from flectra import models, fields, api, _
+from flectra.exceptions import UserError
+from flectra.addons import decimal_precision as dp
class SaleOrder(models.Model):
diff --git a/addons/delivery/models/stock_move.py b/addons/delivery/models/stock_move.py
index 79db247b87..cd2948235f 100644
--- a/addons/delivery/models/stock_move.py
+++ b/addons/delivery/models/stock_move.py
@@ -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, fields, models
+from flectra import api, fields, models
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
class StockMove(models.Model):
diff --git a/addons/delivery/models/stock_picking.py b/addons/delivery/models/stock_picking.py
index d10411c99a..9e4bb2ee57 100644
--- a/addons/delivery/models/stock_picking.py
+++ b/addons/delivery/models/stock_picking.py
@@ -1,10 +1,10 @@
# -*- 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 models, fields, api, _
-from odoo.exceptions import UserError
+from flectra import models, fields, api, _
+from flectra.exceptions import UserError
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
class StockQuantPackage(models.Model):
diff --git a/addons/delivery/security/delivery_carrier_security.xml b/addons/delivery/security/delivery_carrier_security.xml
index 8fad089167..23ec30f10f 100644
--- a/addons/delivery/security/delivery_carrier_security.xml
+++ b/addons/delivery/security/delivery_carrier_security.xml
@@ -1,5 +1,5 @@
-
+Delivery Carrier multi-company
@@ -8,4 +8,4 @@
['|',('company_id','=',user.company_id.id),('company_id','=',False)]
-
+
diff --git a/addons/delivery/tests/__init__.py b/addons/delivery/tests/__init__.py
index 1c52d7dd4a..528f3659b6 100644
--- a/addons/delivery/tests/__init__.py
+++ b/addons/delivery/tests/__init__.py
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing detailsself.
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing detailsself.
from . import test_delivery_cost, test_delivery_stock_move
diff --git a/addons/delivery/tests/test_delivery_cost.py b/addons/delivery/tests/test_delivery_cost.py
index 591f4ebb0b..f782376e6f 100644
--- a/addons/delivery/tests/test_delivery_cost.py
+++ b/addons/delivery/tests/test_delivery_cost.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
-from odoo.tools import float_compare
+from flectra.tests import common
+from flectra.tools import float_compare
@common.at_install(False)
diff --git a/addons/delivery/tests/test_delivery_stock_move.py b/addons/delivery/tests/test_delivery_stock_move.py
index 81e66e3314..2dcc43bc9f 100644
--- a/addons/delivery/tests/test_delivery_stock_move.py
+++ b/addons/delivery/tests/test_delivery_stock_move.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class StockMoveInvoice(AccountingTestCase):
diff --git a/addons/delivery/views/delivery_view.xml b/addons/delivery/views/delivery_view.xml
index fc12008fd4..8c5a41ba36 100644
--- a/addons/delivery/views/delivery_view.xml
+++ b/addons/delivery/views/delivery_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -298,4 +298,4 @@
-
+
diff --git a/addons/delivery/views/partner_view.xml b/addons/delivery/views/partner_view.xml
index 5a66d2cfab..c47f107821 100644
--- a/addons/delivery/views/partner_view.xml
+++ b/addons/delivery/views/partner_view.xml
@@ -1,5 +1,5 @@
-
+res.partner.carrier.property.form.inherit
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/delivery/views/product_packaging_view.xml b/addons/delivery/views/product_packaging_view.xml
index 31b78af3be..e2aaaf861d 100644
--- a/addons/delivery/views/product_packaging_view.xml
+++ b/addons/delivery/views/product_packaging_view.xml
@@ -1,5 +1,5 @@
-
+product.packaging.form.delivery
@@ -45,4 +45,4 @@
-
+
diff --git a/addons/delivery/views/product_template_view.xml b/addons/delivery/views/product_template_view.xml
index 9073377f82..35be8bd2fd 100644
--- a/addons/delivery/views/product_template_view.xml
+++ b/addons/delivery/views/product_template_view.xml
@@ -1,5 +1,5 @@
-
+product.template.form.hs_code
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/delivery/views/report_deliveryslip.xml b/addons/delivery/views/report_deliveryslip.xml
index 306221be86..8b2d5678d4 100644
--- a/addons/delivery/views/report_deliveryslip.xml
+++ b/addons/delivery/views/report_deliveryslip.xml
@@ -1,4 +1,4 @@
-
+
If you have a question concerning the content of the training, please contact events@yourcompany.com.
Where to find us:
@@ -197,7 +197,7 @@
The organization of the training session has related costs. Due to these costs, cancellations made less than 2 weeks (14 calendar days) prior to the start of the training session is a subject to a fee. This fee can be up to a maximum of 1000€ per cancellation request.
We strongly recommend to book your flight tickets and/or hotel reservations 2 weeks prior to the training. If the training is cancelled 2 weeks in advance, you'll be notified by email.
-
For any additional information, please contact us at events@odoo.com.
+
For any additional information, please contact us at events@flectra.com.
Best regards,
Luigi Roni, Senior Event Manager
@@ -237,11 +237,11 @@
Camptocamp
- odoo@camptocamp.com
+ flectra@camptocamp.com+41 21 619 10 04
-
+
diff --git a/addons/event/models/__init__.py b/addons/event/models/__init__.py
index 41134a59ee..086d02702e 100644
--- a/addons/event/models/__init__.py
+++ b/addons/event/models/__init__.py
@@ -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 event
from . import event_mail
diff --git a/addons/event/models/event.py b/addons/event/models/event.py
index 825006e993..a704211d35 100644
--- a/addons/event/models/event.py
+++ b/addons/event/models/event.py
@@ -2,10 +2,10 @@
import pytz
-from odoo import _, api, fields, models
-from odoo.addons.mail.models.mail_template import format_tz
-from odoo.exceptions import AccessError, UserError, ValidationError
-from odoo.tools.translate import html_translate
+from flectra import _, api, fields, models
+from flectra.addons.mail.models.mail_template import format_tz
+from flectra.exceptions import AccessError, UserError, ValidationError
+from flectra.tools.translate import html_translate
from dateutil.relativedelta import relativedelta
diff --git a/addons/event/models/event_config_settings.py b/addons/event/models/event_config_settings.py
index 69201cdbd2..5216709dac 100644
--- a/addons/event/models/event_config_settings.py
+++ b/addons/event/models/event_config_settings.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
diff --git a/addons/event/models/event_mail.py b/addons/event/models/event_mail.py
index d87c24dd66..e714b5fddf 100644
--- a/addons/event/models/event_mail.py
+++ b/addons/event/models/event_mail.py
@@ -3,7 +3,7 @@
from datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, tools
+from flectra import api, fields, models, tools
_INTERVALS = {
@@ -43,7 +43,7 @@ class EventTypeMail(models.Model):
class EventMailScheduler(models.Model):
""" Event automated mailing. This model replaces all existing fields and
- configuration allowing to send emails on events since Odoo 9. A cron exists
+ configuration allowing to send emails on events since Flectra 9. A cron exists
that periodically checks for mailing to run. """
_name = 'event.mail'
_rec_name = 'event_id'
diff --git a/addons/event/models/res_partner.py b/addons/event/models/res_partner.py
index d534f3749f..ba52eefbee 100644
--- a/addons/event/models/res_partner.py
+++ b/addons/event/models/res_partner.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResPartner(models.Model):
_inherit = 'res.partner'
diff --git a/addons/event/report/__init__.py b/addons/event/report/__init__.py
index 67dee8c60d..7eb1309519 100644
--- a/addons/event/report/__init__.py
+++ b/addons/event/report/__init__.py
@@ -1,2 +1,2 @@
# -*- 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.
diff --git a/addons/event/report/event_event_reports.xml b/addons/event/report/event_event_reports.xml
index 46f7995249..cfb7de8efc 100644
--- a/addons/event/report/event_event_reports.xml
+++ b/addons/event/report/event_event_reports.xml
@@ -1,5 +1,5 @@
-
+European A4 low margin
@@ -38,4 +38,4 @@
menu="False"
paperformat="event.paperformat_euro_lowmargin"/>
-
+
diff --git a/addons/event/report/event_event_templates.xml b/addons/event/report/event_event_templates.xml
index 76b64138f4..f083b2b65d 100644
--- a/addons/event/report/event_event_templates.xml
+++ b/addons/event/report/event_event_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -101,4 +101,4 @@
-
+
diff --git a/addons/event/security/event_security.xml b/addons/event/security/event_security.xml
index 110262928b..846e54d94b 100644
--- a/addons/event/security/event_security.xml
+++ b/addons/event/security/event_security.xml
@@ -1,5 +1,5 @@
-
+User
@@ -42,4 +42,4 @@
-
+
diff --git a/addons/event/static/src/less/event.less b/addons/event/static/src/less/event.less
index 4f4d8c2bb8..74083ee2c4 100644
--- a/addons/event/static/src/less/event.less
+++ b/addons/event/static/src/less/event.less
@@ -10,7 +10,7 @@
.o-flex(1, 1, 25%);
text-align: center;
color: white;
- background-color: @odoo-brand-optional;
+ background-color: @flectra-brand-optional;
padding: 8px;
.o_day {
diff --git a/addons/event/tests/common.py b/addons/event/tests/common.py
index dbd142a08b..cfb1138323 100644
--- a/addons/event/tests/common.py
+++ b/addons/event/tests/common.py
@@ -2,8 +2,8 @@
from datetime import datetime, timedelta
-from odoo import fields
-from odoo.tests import common
+from flectra import fields
+from flectra.tests import common
class TestEventCommon(common.TransactionCase):
diff --git a/addons/event/tests/test_event_flow.py b/addons/event/tests/test_event_flow.py
index c780a95eb3..f60823d5c6 100644
--- a/addons/event/tests/test_event_flow.py
+++ b/addons/event/tests/test_event_flow.py
@@ -3,10 +3,10 @@
import datetime
from dateutil.relativedelta import relativedelta
-from odoo.addons.event.tests.common import TestEventCommon
-from odoo.exceptions import ValidationError, UserError, AccessError
-from odoo.tools import mute_logger
-from odoo.fields import Datetime
+from flectra.addons.event.tests.common import TestEventCommon
+from flectra.exceptions import ValidationError, UserError, AccessError
+from flectra.tools import mute_logger
+from flectra.fields import Datetime
try:
from unittest.mock import patch
except ImportError:
@@ -15,7 +15,7 @@ except ImportError:
class TestEventFlow(TestEventCommon):
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.models')
def test_00_basic_event_auto_confirm(self):
""" Basic event management with auto confirmation """
# EventUser creates a new event: ok
@@ -65,7 +65,7 @@ class TestEventFlow(TestEventCommon):
with self.assertRaises(UserError):
test_event.button_cancel()
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.models')
def test_10_advanced_event_flow(self):
""" Avanced event flow: no auto confirmation, manage minimum / maximum
seats, ... """
@@ -117,7 +117,7 @@ class TestEventFlow(TestEventCommon):
self.assertEqual(self.event_0.registration_ids.get_date_range_str(), u'tomorrow')
def test_event_date_range(self):
- self.patcher = patch('odoo.addons.event.models.event.fields.Datetime', wraps=Datetime)
+ self.patcher = patch('flectra.addons.event.models.event.fields.Datetime', wraps=Datetime)
self.mock_datetime = self.patcher.start()
self.mock_datetime.now.return_value = Datetime.to_string(datetime.datetime(2015, 12, 31, 12, 0))
diff --git a/addons/event/tests/test_mail_schedule.py b/addons/event/tests/test_mail_schedule.py
index 7ada77218f..2ca499eabb 100644
--- a/addons/event/tests/test_mail_schedule.py
+++ b/addons/event/tests/test_mail_schedule.py
@@ -3,14 +3,14 @@
import datetime
from dateutil.relativedelta import relativedelta
-from odoo import fields, tools
-from odoo.addons.event.tests.common import TestEventCommon
-from odoo.tools import mute_logger
+from flectra import fields, tools
+from flectra.addons.event.tests.common import TestEventCommon
+from flectra.tools import mute_logger
class TestMailSchedule(TestEventCommon):
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.models')
def test_00_event_mail_schedule(self):
""" Test mail scheduling for events """
now = fields.datetime.now()
diff --git a/addons/event/views/event_templates.xml b/addons/event/views/event_templates.xml
index e9182139c6..00cc7bb6ad 100644
--- a/addons/event/views/event_templates.xml
+++ b/addons/event/views/event_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/event/views/event_views.xml b/addons/event/views/event_views.xml
index 92670b6c03..57126538af 100644
--- a/addons/event/views/event_views.xml
+++ b/addons/event/views/event_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -410,7 +410,7 @@
Click to add a new event.
- Odoo helps you schedule and efficiently organize your events:
+ Flectra helps you schedule and efficiently organize your events:
track registrations and participations, automate the confirmation emails,
sell tickets, etc.
@@ -620,4 +620,4 @@
-
+
diff --git a/addons/event/views/res_config_settings_views.xml b/addons/event/views/res_config_settings_views.xml
index 0c6ee6f132..7e84999908 100644
--- a/addons/event/views/res_config_settings_views.xml
+++ b/addons/event/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.event
@@ -79,4 +79,4 @@
-
+
diff --git a/addons/event/views/res_partner_views.xml b/addons/event/views/res_partner_views.xml
index 8fd4b774c5..311e478c49 100644
--- a/addons/event/views/res_partner_views.xml
+++ b/addons/event/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+view.res.partner.form.event.inherited
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/event/wizard/__init__.py b/addons/event/wizard/__init__.py
index 4f79970561..ba2b1054f2 100644
--- a/addons/event/wizard/__init__.py
+++ b/addons/event/wizard/__init__.py
@@ -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 event_confirm
diff --git a/addons/event/wizard/event_confirm.py b/addons/event/wizard/event_confirm.py
index 5b33fac46d..dd5f52fff3 100644
--- a/addons/event/wizard/event_confirm.py
+++ b/addons/event/wizard/event_confirm.py
@@ -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 models, api
+from flectra import models, api
class event_confirm(models.TransientModel):
diff --git a/addons/event/wizard/event_confirm_view.xml b/addons/event/wizard/event_confirm_view.xml
index 26741e434e..6cf5aae659 100644
--- a/addons/event/wizard/event_confirm_view.xml
+++ b/addons/event/wizard/event_confirm_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -28,4 +28,4 @@
-
+
diff --git a/addons/event_sale/__manifest__.py b/addons/event_sale/__manifest__.py
index 97140bd471..129d466c4a 100644
--- a/addons/event_sale/__manifest__.py
+++ b/addons/event_sale/__manifest__.py
@@ -4,7 +4,7 @@
'name': 'Events Sales',
'version': '1.1',
'category': 'Marketing',
- 'website': 'https://www.odoo.com/page/events',
+ 'website': 'https://flectrahq.com/page/events',
'description': """
Creating registration with sales orders.
========================================
diff --git a/addons/event_sale/data/event_demo.xml b/addons/event_sale/data/event_demo.xml
index 96514592b4..013f77bedb 100644
--- a/addons/event_sale/data/event_demo.xml
+++ b/addons/event_sale/data/event_demo.xml
@@ -1,5 +1,5 @@
-
+Open Days in Los AngelesTrue
@@ -135,7 +135,7 @@
5/6
18h30
-
Odoo Awards Ceremony
+
Flectra Awards Ceremony
@@ -147,7 +147,7 @@
Wifi network: opendays
-
Wifi password: odoo2014
+
Wifi password: flectra2014
@@ -213,4 +213,4 @@
]]>
-
+
diff --git a/addons/event_sale/data/event_sale_data.xml b/addons/event_sale/data/event_sale_data.xml
index 106f1cb029..f71d18cac5 100644
--- a/addons/event_sale/data/event_sale_data.xml
+++ b/addons/event_sale/data/event_sale_data.xml
@@ -1,5 +1,5 @@
-
+10.0
@@ -19,7 +19,7 @@
-
+
diff --git a/addons/event_sale/models/account_invoice.py b/addons/event_sale/models/account_invoice.py
index df995d576f..d677e56b9f 100644
--- a/addons/event_sale/models/account_invoice.py
+++ b/addons/event_sale/models/account_invoice.py
@@ -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 api, models
+from flectra import api, models
class AccountInvoice(models.Model):
diff --git a/addons/event_sale/models/event.py b/addons/event_sale/models/event.py
index c503ea7d44..e089311fff 100644
--- a/addons/event_sale/models/event.py
+++ b/addons/event_sale/models/event.py
@@ -1,11 +1,11 @@
# -*- 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, fields, models, _
-from odoo.exceptions import ValidationError, UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError, UserError
-from odoo.addons import decimal_precision as dp
-from odoo.tools import float_is_zero
+from flectra.addons import decimal_precision as dp
+from flectra.tools import float_is_zero
class EventType(models.Model):
diff --git a/addons/event_sale/models/product.py b/addons/event_sale/models/product.py
index fb03a5b250..35d26a10dc 100644
--- a/addons/event_sale/models/product.py
+++ b/addons/event_sale/models/product.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class ProductTemplate(models.Model):
diff --git a/addons/event_sale/models/sale_order.py b/addons/event_sale/models/sale_order.py
index 7a2dcd8a74..3053bcd5a0 100644
--- a/addons/event_sale/models/sale_order.py
+++ b/addons/event_sale/models/sale_order.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class SaleOrder(models.Model):
diff --git a/addons/event_sale/report/event_event_templates.xml b/addons/event_sale/report/event_event_templates.xml
index ddeecdd322..ea654806e5 100644
--- a/addons/event_sale/report/event_event_templates.xml
+++ b/addons/event_sale/report/event_event_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -21,4 +21,4 @@
-
+
diff --git a/addons/event_sale/tests/test_event_sale.py b/addons/event_sale/tests/test_event_sale.py
index 62a33f5774..b2127415d7 100644
--- a/addons/event_sale/tests/test_event_sale.py
+++ b/addons/event_sale/tests/test_event_sale.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
+from flectra.tests import common
class EventSaleTest(common.TransactionCase):
diff --git a/addons/event_sale/views/event_views.xml b/addons/event_sale/views/event_views.xml
index 3202751904..20c52cb5f5 100644
--- a/addons/event_sale/views/event_views.xml
+++ b/addons/event_sale/views/event_views.xml
@@ -1,5 +1,5 @@
-
+event.registration.search.inheritevent.registration
@@ -124,4 +124,4 @@
-
+
diff --git a/addons/event_sale/views/product_views.xml b/addons/event_sale/views/product_views.xml
index 52d43f67b6..52988aef2b 100644
--- a/addons/event_sale/views/product_views.xml
+++ b/addons/event_sale/views/product_views.xml
@@ -1,5 +1,5 @@
-
+product.template.event.form.inheritproduct.template
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/event_sale/views/sale_order_views.xml b/addons/event_sale/views/sale_order_views.xml
index 3d2b853094..5b82bd0752 100644
--- a/addons/event_sale/views/sale_order_views.xml
+++ b/addons/event_sale/views/sale_order_views.xml
@@ -1,5 +1,5 @@
-
+sale.order.form.inheritsale.order
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/event_sale/wizard/event_edit_registration.py b/addons/event_sale/wizard/event_edit_registration.py
index f03623d91a..b32da1bf3d 100644
--- a/addons/event_sale/wizard/event_edit_registration.py
+++ b/addons/event_sale/wizard/event_edit_registration.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api
+from flectra import models, fields, api
class RegistrationEditor(models.TransientModel):
diff --git a/addons/event_sale/wizard/event_edit_registration.xml b/addons/event_sale/wizard/event_edit_registration.xml
index 47bb964b0f..0f3d0c7eeb 100644
--- a/addons/event_sale/wizard/event_edit_registration.xml
+++ b/addons/event_sale/wizard/event_edit_registration.xml
@@ -1,5 +1,5 @@
-
+registration.editor.form
@@ -36,4 +36,4 @@
new{}
-
+
diff --git a/addons/fetchmail/__init__.py b/addons/fetchmail/__init__.py
index b60115f0aa..c9660ecfb2 100644
--- a/addons/fetchmail/__init__.py
+++ b/addons/fetchmail/__init__.py
@@ -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 models
diff --git a/addons/fetchmail/__manifest__.py b/addons/fetchmail/__manifest__.py
index 0c473e4976..c2afaf0ddc 100644
--- a/addons/fetchmail/__manifest__.py
+++ b/addons/fetchmail/__manifest__.py
@@ -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.
{
'name': 'Email Gateway',
@@ -34,7 +34,7 @@ same *conversation* document.
For more specific needs, you may also assign custom-defined actions
(technically: Server Actions) to be triggered for each incoming mail.
""",
- 'website': 'https://www.odoo.com/page/mailing',
+ 'website': 'https://flectrahq.com/page/mailing',
'data': [
'data/fetchmail_data.xml',
'security/ir.model.access.csv',
diff --git a/addons/fetchmail/data/fetchmail_data.xml b/addons/fetchmail/data/fetchmail_data.xml
index d98c3d1f92..589bb4f851 100644
--- a/addons/fetchmail/data/fetchmail_data.xml
+++ b/addons/fetchmail/data/fetchmail_data.xml
@@ -1,5 +1,5 @@
-
+Mail: Fetchmail Service
@@ -14,4 +14,4 @@
-
+
diff --git a/addons/fetchmail/models/__init__.py b/addons/fetchmail/models/__init__.py
index ba79e4c8b7..3c546dfa63 100644
--- a/addons/fetchmail/models/__init__.py
+++ b/addons/fetchmail/models/__init__.py
@@ -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 fetchmail
from . import mail_mail
diff --git a/addons/fetchmail/models/fetchmail.py b/addons/fetchmail/models/fetchmail.py
index e03ef88ac4..c1fdf6bd61 100644
--- a/addons/fetchmail/models/fetchmail.py
+++ b/addons/fetchmail/models/fetchmail.py
@@ -1,13 +1,13 @@
# -*- 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.
import logging
import poplib
from imaplib import IMAP4, IMAP4_SSL
from poplib import POP3, POP3_SSL
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError
_logger = logging.getLogger(__name__)
diff --git a/addons/fetchmail/models/mail_mail.py b/addons/fetchmail/models/mail_mail.py
index 66a9154af7..907e43ff21 100644
--- a/addons/fetchmail/models/mail_mail.py
+++ b/addons/fetchmail/models/mail_mail.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class MailMail(models.Model):
diff --git a/addons/fetchmail/views/fetchmail_views.xml b/addons/fetchmail/views/fetchmail_views.xml
index 3b86f86808..7555c2a1b5 100644
--- a/addons/fetchmail/views/fetchmail_views.xml
+++ b/addons/fetchmail/views/fetchmail_views.xml
@@ -1,5 +1,5 @@
-
+fetchmail.server.list
@@ -102,4 +102,4 @@
groups="base.group_no_one"
/>
-
+
diff --git a/addons/fetchmail/views/mail_mail_views.xml b/addons/fetchmail/views/mail_mail_views.xml
index 8a808b368b..7b28e1cb44 100644
--- a/addons/fetchmail/views/mail_mail_views.xml
+++ b/addons/fetchmail/views/mail_mail_views.xml
@@ -1,5 +1,5 @@
-
+mail.mail.form.fetchmail
@@ -20,4 +20,4 @@
domain="[('email_from', '!=', False), ('fetchmail_server_id', '=', active_id)]"
context="{'search_default_server_id': active_id, 'default_fetchmail_server_id': active_id}"/>
-
+
diff --git a/addons/fetchmail/views/res_config_settings_views.xml b/addons/fetchmail/views/res_config_settings_views.xml
index f8a9c19acd..91cac04671 100644
--- a/addons/fetchmail/views/res_config_settings_views.xml
+++ b/addons/fetchmail/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.fetchmailres.config.settings
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/fleet/__init__.py b/addons/fleet/__init__.py
index 807507c1b6..b90bf3c775 100644
--- a/addons/fleet/__init__.py
+++ b/addons/fleet/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 models
\ No newline at end of file
diff --git a/addons/fleet/__manifest__.py b/addons/fleet/__manifest__.py
index 623f655e99..90e344a6ef 100644
--- a/addons/fleet/__manifest__.py
+++ b/addons/fleet/__manifest__.py
@@ -1,11 +1,11 @@
# -*- 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.
{
'name' : 'Fleet Management',
'version' : '0.1',
'sequence': 165,
'category': 'Human Resources',
- 'website' : 'https://www.odoo.com/page/fleet',
+ 'website' : 'https://flectrahq.com/page/fleet',
'summary' : 'Vehicle, leasing, insurances, costs',
'description' : """
Vehicle, leasing, insurances, cost
diff --git a/addons/fleet/data/fleet_cars_data.xml b/addons/fleet/data/fleet_cars_data.xml
index 6e6b208175..6c2209393f 100644
--- a/addons/fleet/data/fleet_cars_data.xml
+++ b/addons/fleet/data/fleet_cars_data.xml
@@ -1,5 +1,5 @@
-
+Abarth
@@ -264,4 +264,4 @@
Suzuki
-
+
diff --git a/addons/fleet/data/fleet_data.xml b/addons/fleet/data/fleet_data.xml
index bd7b51bf00..6aeb13edf3 100644
--- a/addons/fleet/data/fleet_data.xml
+++ b/addons/fleet/data/fleet_data.xml
@@ -1,5 +1,5 @@
-
+Fleet: Generate contracts costs based on costs frequency
@@ -652,4 +652,4 @@
SLS
-
+
diff --git a/addons/fleet/data/fleet_demo.xml b/addons/fleet/data/fleet_demo.xml
index cb52c61364..142b1538e7 100644
--- a/addons/fleet/data/fleet_demo.xml
+++ b/addons/fleet/data/fleet_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -941,4 +941,4 @@
2012-01-01
-
+
diff --git a/addons/fleet/models/__init__.py b/addons/fleet/models/__init__.py
index 781603220f..8f55539d11 100644
--- a/addons/fleet/models/__init__.py
+++ b/addons/fleet/models/__init__.py
@@ -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 fleet_vehicle
from . import fleet_vehicle_cost
diff --git a/addons/fleet/models/fleet_vehicle.py b/addons/fleet/models/fleet_vehicle.py
index 9cfde466c3..f62b9a086c 100644
--- a/addons/fleet/models/fleet_vehicle.py
+++ b/addons/fleet/models/fleet_vehicle.py
@@ -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 dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
class FleetVehicle(models.Model):
diff --git a/addons/fleet/models/fleet_vehicle_cost.py b/addons/fleet/models/fleet_vehicle_cost.py
index a52a94954d..096a1f8953 100644
--- a/addons/fleet/models/fleet_vehicle_cost.py
+++ b/addons/fleet/models/fleet_vehicle_cost.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
from dateutil.relativedelta import relativedelta
diff --git a/addons/fleet/models/fleet_vehicle_model.py b/addons/fleet/models/fleet_vehicle_model.py
index 4de611b282..30dcd2f4e3 100644
--- a/addons/fleet/models/fleet_vehicle_model.py
+++ b/addons/fleet/models/fleet_vehicle_model.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class FleetVehicleModel(models.Model):
diff --git a/addons/fleet/security/fleet_security.xml b/addons/fleet/security/fleet_security.xml
index 3b9d5f85a9..326dad2a00 100644
--- a/addons/fleet/security/fleet_security.xml
+++ b/addons/fleet/security/fleet_security.xml
@@ -1,5 +1,5 @@
-
+Fleet17
@@ -111,4 +111,4 @@
-
+
diff --git a/addons/fleet/views/fleet_board_view.xml b/addons/fleet/views/fleet_board_view.xml
index 6cbf52aef4..1e2f778437 100644
--- a/addons/fleet/views/fleet_board_view.xml
+++ b/addons/fleet/views/fleet_board_view.xml
@@ -1,5 +1,5 @@
-
+Costs Analysisfleet.vehicle.cost
@@ -9,11 +9,11 @@
{"search_default_parent_false" : True,}
- Odoo helps you managing the costs for your different vehicles
+ Flectra helps you managing the costs for your different vehicles
Costs are generally created from services and contract and appears here.
- Thanks to the different filters, Odoo can only print the effective
+ Thanks to the different filters, Flectra can only print the effective
costs, sort them by type and by vehicle.
- Odoo helps you managing the costs for your different vehicles
+ Flectra helps you managing the costs for your different vehicles
Costs are generally created from services and contract and appears here.
- Thanks to the different filters, Odoo can only print the effective
+ Thanks to the different filters, Flectra can only print the effective
costs, sort them by type and by vehicle.
- Odoo helps you managing the costs for your different
+ Flectra helps you managing the costs for your different
vehicles. Costs are created automatically from services,
contracts (fixed or recurring) and fuel logs.
@@ -355,7 +355,7 @@
Click to create a new contract.
Manage all your contracts (leasing, insurances, etc.) with
- their related services, costs. Odoo will automatically warn
+ their related services, costs. Flectra will automatically warn
you when some contracts have to be renewed.
Each contract (e.g.: leasing) may include several services
@@ -621,7 +621,7 @@
Click to create a new service entry.
- Odoo helps you keeping track of all the services done
+ Flectra helps you keeping track of all the services done
on your vehicle. Services can be of many type: occasional
repair, fixed maintenance, etc.
- Odoo will warn you when services or contract have to be
+ Flectra will warn you when services or contract have to be
renewed.
@@ -444,4 +444,4 @@
-
+
diff --git a/addons/gamification/__init__.py b/addons/gamification/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/gamification/__init__.py
+++ b/addons/gamification/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/gamification/__manifest__.py b/addons/gamification/__manifest__.py
index bc136a8fa6..ccec604c1d 100644
--- a/addons/gamification/__manifest__.py
+++ b/addons/gamification/__manifest__.py
@@ -1,16 +1,16 @@
# -*- 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.
{
'name': 'Gamification',
'version': '1.0',
'sequence': 160,
'category': 'Human Resources',
- 'website' : 'https://www.odoo.com/page/gamification',
+ 'website' : 'https://flectrahq.com/page/gamification',
'depends': ['mail', 'web_kanban_gauge'],
'description': """
Gamification process
====================
-The Gamification module provides ways to evaluate and motivate the users of Odoo.
+The Gamification module provides ways to evaluate and motivate the users of Odoo, Flectra.
The users can be evaluated using goals and numerical objectives to reach.
**Goals** are assigned through **challenges** to evaluate and compare members of a team with each others and through time.
diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/badge.xml
index 7af0b85904..2c9bf1a2c5 100644
--- a/addons/gamification/data/badge.xml
+++ b/addons/gamification/data/badge.xml
@@ -1,4 +1,4 @@
-
+Good Job
@@ -80,4 +80,4 @@
-
+
diff --git a/addons/gamification/data/cron.xml b/addons/gamification/data/cron.xml
index 0ed59d39e1..e7c0853f8c 100644
--- a/addons/gamification/data/cron.xml
+++ b/addons/gamification/data/cron.xml
@@ -1,4 +1,4 @@
-
+Gamification: Goal Challenge Check
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/gamification/data/goal_base.xml b/addons/gamification/data/goal_base.xml
index de76683ddc..e0008327a3 100644
--- a/addons/gamification/data/goal_base.xml
+++ b/addons/gamification/data/goal_base.xml
@@ -1,4 +1,4 @@
-
+
@@ -245,7 +245,7 @@
@@ -368,4 +368,4 @@
-
+
diff --git a/addons/gamification/models/__init__.py b/addons/gamification/models/__init__.py
index c43ef590c9..a6e89b1b34 100644
--- a/addons/gamification/models/__init__.py
+++ b/addons/gamification/models/__init__.py
@@ -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 goal
from . import challenge
diff --git a/addons/gamification/models/badge.py b/addons/gamification/models/badge.py
index 3ca11577c3..22a8b8830d 100644
--- a/addons/gamification/models/badge.py
+++ b/addons/gamification/models/badge.py
@@ -1,10 +1,10 @@
# -*- 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.
import logging
from datetime import date
-from odoo import api, fields, models, _, exceptions
+from flectra import api, fields, models, _, exceptions
_logger = logging.getLogger(__name__)
diff --git a/addons/gamification/models/challenge.py b/addons/gamification/models/challenge.py
index 140576da88..0347a969b9 100644
--- a/addons/gamification/models/challenge.py
+++ b/addons/gamification/models/challenge.py
@@ -1,14 +1,14 @@
# -*- 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.
import itertools
import logging
from datetime import date, timedelta
from dateutil.relativedelta import relativedelta, MO
-from odoo import api, models, fields, _, exceptions
-from odoo.tools import ustr
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, models, fields, _, exceptions
+from flectra.tools import ustr
+from flectra.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
diff --git a/addons/gamification/models/goal.py b/addons/gamification/models/goal.py
index 3c06240166..6098819308 100644
--- a/addons/gamification/models/goal.py
+++ b/addons/gamification/models/goal.py
@@ -1,14 +1,14 @@
# -*- 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.
import logging
import time
from datetime import date, datetime, timedelta
-from odoo import api, fields, models, _, exceptions
-from odoo.osv import expression
-from odoo.tools import pycompat
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, _, exceptions
+from flectra.osv import expression
+from flectra.tools import pycompat
+from flectra.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
diff --git a/addons/gamification/security/gamification_security.xml b/addons/gamification/security/gamification_security.xml
index 3eecfb2e98..98354d82b5 100644
--- a/addons/gamification/security/gamification_security.xml
+++ b/addons/gamification/security/gamification_security.xml
@@ -1,4 +1,4 @@
-
+
@@ -36,4 +36,4 @@
-
+
diff --git a/addons/gamification/tests/__init__.py b/addons/gamification/tests/__init__.py
index 0219f6754d..3b4b33dd1d 100644
--- a/addons/gamification/tests/__init__.py
+++ b/addons/gamification/tests/__init__.py
@@ -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_challenge
diff --git a/addons/gamification/tests/test_challenge.py b/addons/gamification/tests/test_challenge.py
index 5b4e4e9dd8..c7bf747ea4 100644
--- a/addons/gamification/tests/test_challenge.py
+++ b/addons/gamification/tests/test_challenge.py
@@ -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.tests import common
+from flectra.tests import common
class test_challenge(common.TransactionCase):
diff --git a/addons/gamification/views/badge.xml b/addons/gamification/views/badge.xml
index 1269fdf99f..71cdd109e9 100644
--- a/addons/gamification/views/badge.xml
+++ b/addons/gamification/views/badge.xml
@@ -1,4 +1,4 @@
-
+Badges
@@ -184,4 +184,4 @@
-
+
diff --git a/addons/gamification/views/challenge.xml b/addons/gamification/views/challenge.xml
index 36547f9bb2..534f91e0e3 100644
--- a/addons/gamification/views/challenge.xml
+++ b/addons/gamification/views/challenge.xml
@@ -1,4 +1,4 @@
-
+Challenges Listgamification.challenge
@@ -226,4 +226,4 @@
-
+
diff --git a/addons/gamification/views/gamification.xml b/addons/gamification/views/gamification.xml
index 44c9ab9da1..eebe3ad0c1 100644
--- a/addons/gamification/views/gamification.xml
+++ b/addons/gamification/views/gamification.xml
@@ -1,7 +1,7 @@
-
+
-
+
diff --git a/addons/gamification/views/goal.xml b/addons/gamification/views/goal.xml
index dda5f0c35f..bc6fad4d32 100644
--- a/addons/gamification/views/goal.xml
+++ b/addons/gamification/views/goal.xml
@@ -1,4 +1,4 @@
-
+Goals
@@ -295,4 +295,4 @@
-
+
diff --git a/addons/gamification/wizard/__init__.py b/addons/gamification/wizard/__init__.py
index 9160eb68c1..460cb5a752 100644
--- a/addons/gamification/wizard/__init__.py
+++ b/addons/gamification/wizard/__init__.py
@@ -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 update_goal
from . import grant_badge
diff --git a/addons/gamification/wizard/grant_badge.py b/addons/gamification/wizard/grant_badge.py
index 386a85f9b3..4a6489aa4e 100644
--- a/addons/gamification/wizard/grant_badge.py
+++ b/addons/gamification/wizard/grant_badge.py
@@ -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 api, fields, models, _, exceptions
+from flectra import api, fields, models, _, exceptions
class grant_badge_wizard(models.TransientModel):
diff --git a/addons/gamification/wizard/grant_badge.xml b/addons/gamification/wizard/grant_badge.xml
index 06b8ff122c..484d031f3e 100644
--- a/addons/gamification/wizard/grant_badge.xml
+++ b/addons/gamification/wizard/grant_badge.xml
@@ -1,4 +1,4 @@
-
+Grant Badge User Formgamification.badge.user.wizard
@@ -28,4 +28,4 @@
'badge_id': active_id
}
-
+
diff --git a/addons/gamification/wizard/update_goal.py b/addons/gamification/wizard/update_goal.py
index 34a5e8e134..6a49dd19a7 100644
--- a/addons/gamification/wizard/update_goal.py
+++ b/addons/gamification/wizard/update_goal.py
@@ -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 api, models, fields
+from flectra import api, models, fields
class goal_manual_wizard(models.TransientModel):
"""Wizard to update a manual goal"""
diff --git a/addons/gamification/wizard/update_goal.xml b/addons/gamification/wizard/update_goal.xml
index a3d03d9a86..b22a7b4bb5 100644
--- a/addons/gamification/wizard/update_goal.xml
+++ b/addons/gamification/wizard/update_goal.xml
@@ -1,4 +1,4 @@
-
+Update the current value of the Goalgamification.goal.wizard
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/gamification_sale_crm/__init__.py b/addons/gamification_sale_crm/__init__.py
index 67dee8c60d..7eb1309519 100644
--- a/addons/gamification_sale_crm/__init__.py
+++ b/addons/gamification_sale_crm/__init__.py
@@ -1,2 +1,2 @@
# -*- 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.
diff --git a/addons/gamification_sale_crm/__manifest__.py b/addons/gamification_sale_crm/__manifest__.py
index 0b1c451895..f768a120cc 100644
--- a/addons/gamification_sale_crm/__manifest__.py
+++ b/addons/gamification_sale_crm/__manifest__.py
@@ -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.
{
'name': 'CRM Gamification',
'version': '1.0',
diff --git a/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml b/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml
index 59cb779375..deabc729b3 100644
--- a/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml
+++ b/addons/gamification_sale_crm/data/gamification_sale_crm_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -160,4 +160,4 @@
-
+
diff --git a/addons/gamification_sale_crm/data/gamification_sale_crm_demo.xml b/addons/gamification_sale_crm/data/gamification_sale_crm_demo.xml
index 73147b0612..c05861e348 100644
--- a/addons/gamification_sale_crm/data/gamification_sale_crm_demo.xml
+++ b/addons/gamification_sale_crm/data/gamification_sale_crm_demo.xml
@@ -1,7 +1,7 @@
-
+inprogress
-
+
diff --git a/addons/google_account/__init__.py b/addons/google_account/__init__.py
index 314d8d4bff..e55453afc6 100644
--- a/addons/google_account/__init__.py
+++ b/addons/google_account/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/google_account/__manifest__.py b/addons/google_account/__manifest__.py
index 02109b70ac..5a6570aa4f 100644
--- a/addons/google_account/__manifest__.py
+++ b/addons/google_account/__manifest__.py
@@ -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.
{
'name': 'Google Users',
diff --git a/addons/google_account/controllers/main.py b/addons/google_account/controllers/main.py
index 71e0a86d4c..0ab575c84b 100644
--- a/addons/google_account/controllers/main.py
+++ b/addons/google_account/controllers/main.py
@@ -1,11 +1,11 @@
# -*- 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.
import json
from werkzeug.utils import redirect
-from odoo import http, registry
-from odoo.http import request
+from flectra import http, registry
+from flectra.http import request
class GoogleAuth(http.Controller):
diff --git a/addons/google_account/data/google_account_data.xml b/addons/google_account/data/google_account_data.xml
index 1c3a5f4089..8e75529fc7 100644
--- a/addons/google_account/data/google_account_data.xml
+++ b/addons/google_account/data/google_account_data.xml
@@ -1,9 +1,9 @@
-
+google_redirect_uriurn:ietf:wg:oauth:2.0:oob
-
+
diff --git a/addons/google_account/models/__init__.py b/addons/google_account/models/__init__.py
index 97134e7146..d6a19f0e69 100644
--- a/addons/google_account/models/__init__.py
+++ b/addons/google_account/models/__init__.py
@@ -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 google_service
diff --git a/addons/google_account/models/google_service.py b/addons/google_account/models/google_service.py
index c547b4f6fe..4b2bf028c6 100644
--- a/addons/google_account/models/google_service.py
+++ b/addons/google_account/models/google_service.py
@@ -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 datetime import datetime
import json
@@ -8,9 +8,9 @@ import logging
import requests
from werkzeug import urls
-from odoo import api, fields, models, registry, _
-from odoo.exceptions import UserError
-from odoo.http import request
+from flectra import api, fields, models, registry, _
+from flectra.exceptions import UserError
+from flectra.http import request
_logger = logging.getLogger(__name__)
@@ -70,7 +70,7 @@ class GoogleService(models.TransientModel):
@api.model
def _get_authorize_uri(self, from_url, service, scope=False):
- """ This method return the url needed to allow this instance of Odoo to access to the scope
+ """ This method return the url needed to allow this instance of Flectra to access to the scope
of gmail specified as parameters
"""
state = {
@@ -80,7 +80,7 @@ class GoogleService(models.TransientModel):
}
get_param = self.env['ir.config_parameter'].sudo().get_param
- base_url = get_param('web.base.url', default='http://www.odoo.com?NoBaseUrl')
+ base_url = get_param('web.base.url', default='http://www.flectra.com?NoBaseUrl')
client_id = get_param('google_%s_client_id' % (service,), default=False)
encoded_params = urls.url_encode({
@@ -100,7 +100,7 @@ class GoogleService(models.TransientModel):
not be redirected.
"""
get_param = self.env['ir.config_parameter'].sudo().get_param
- base_url = get_param('web.base.url', default='http://www.odoo.com?NoBaseUrl')
+ base_url = get_param('web.base.url', default='http://www.flectra.com?NoBaseUrl')
client_id = get_param('google_%s_client_id' % (service,), default=False)
client_secret = get_param('google_%s_client_secret' % (service,), default=False)
diff --git a/addons/google_calendar/__init__.py b/addons/google_calendar/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/google_calendar/__init__.py
+++ b/addons/google_calendar/__init__.py
@@ -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
diff --git a/addons/google_calendar/__manifest__.py b/addons/google_calendar/__manifest__.py
index 18381495eb..d67a2b67c3 100644
--- a/addons/google_calendar/__manifest__.py
+++ b/addons/google_calendar/__manifest__.py
@@ -1,12 +1,12 @@
# -*- 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.
{
'name': 'Google Calendar',
'version': '1.0',
'category': 'Extra Tools',
'description': "",
- 'website': 'https://www.odoo.com/page/crm',
+ 'website': 'https://flectrahq.com/page/crm',
'depends': ['google_account', 'calendar'],
'qweb': ['static/src/xml/*.xml'],
'data': [
diff --git a/addons/google_calendar/controllers/__init__.py b/addons/google_calendar/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/google_calendar/controllers/__init__.py
+++ b/addons/google_calendar/controllers/__init__.py
@@ -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 main
diff --git a/addons/google_calendar/controllers/main.py b/addons/google_calendar/controllers/main.py
index 43138713a0..1d4e0c5023 100644
--- a/addons/google_calendar/controllers/main.py
+++ b/addons/google_calendar/controllers/main.py
@@ -1,17 +1,17 @@
# -*- 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 GoogleCalendarController(http.Controller):
@http.route('/google_calendar/sync_data', type='json', auth='user')
def sync_data(self, model, **kw):
- """ This route/function is called when we want to synchronize Odoo calendar with Google Calendar
+ """ This route/function is called when we want to synchronize Flectra calendar with Google Calendar
Function return a dictionary with the status : need_config_from_admin, need_auth, need_refresh, success if not calendar_event
- The dictionary may contains an url, to allow Odoo Client to redirect user on this URL for authorization for example
+ The dictionary may contains an url, to allow Flectra Client to redirect user on this URL for authorization for example
"""
if model == 'calendar.event':
GoogleService = request.env['google.service']
@@ -31,7 +31,7 @@ class GoogleCalendarController(http.Controller):
"action": action_id
}
- # Checking that user have already accepted Odoo to access his calendar !
+ # Checking that user have already accepted Flectra to access his calendar !
if GoogleCal.need_authorize():
url = GoogleCal.with_context(context).authorize_google_uri(from_url=kw.get('fromurl'))
return {
@@ -46,11 +46,11 @@ class GoogleCalendarController(http.Controller):
@http.route('/google_calendar/remove_references', type='json', auth='user')
def remove_references(self, model, **kw):
- """ This route/function is called when we want to remove all the references between one calendar Odoo and one Google Calendar """
+ """ This route/function is called when we want to remove all the references between one calendar Flectra and one Google Calendar """
status = "NOP"
if model == 'calendar.event':
GoogleCal = request.env['google.calendar']
- # Checking that user have already accepted Odoo to access his calendar !
+ # Checking that user have already accepted Flectra to access his calendar !
context = kw.get('local_context', {})
if GoogleCal.with_context(context).remove_references():
status = "OK"
diff --git a/addons/google_calendar/data/google_calendar_data.xml b/addons/google_calendar/data/google_calendar_data.xml
index 42b583cf7d..1751aa0f49 100644
--- a/addons/google_calendar/data/google_calendar_data.xml
+++ b/addons/google_calendar/data/google_calendar_data.xml
@@ -1,5 +1,5 @@
-
+Google Calendar: synchronization
@@ -13,4 +13,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/google_calendar/models/__init__.py b/addons/google_calendar/models/__init__.py
index ad0d5c0986..5468b3f8db 100644
--- a/addons/google_calendar/models/__init__.py
+++ b/addons/google_calendar/models/__init__.py
@@ -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 res_config_settings
from . import calendar
diff --git a/addons/google_calendar/models/calendar.py b/addons/google_calendar/models/calendar.py
index ce8e50f685..ed441f5679 100644
--- a/addons/google_calendar/models/calendar.py
+++ b/addons/google_calendar/models/calendar.py
@@ -1,14 +1,14 @@
# -*- 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, fields, models
+from flectra import api, fields, models
class Meeting(models.Model):
_inherit = "calendar.event"
- oe_update_date = fields.Datetime('Odoo Update Date')
+ oe_update_date = fields.Datetime('Flectra Update Date')
@api.model
def get_fields_need_update_google(self):
@@ -45,7 +45,7 @@ class Attendee(models.Model):
_inherit = 'calendar.attendee'
google_internal_event_id = fields.Char('Google Calendar Event Id')
- oe_synchro_date = fields.Datetime('Odoo Synchro Date')
+ oe_synchro_date = fields.Datetime('Flectra Synchro Date')
_sql_constraints = [
('google_id_uniq', 'unique(google_internal_event_id,partner_id,event_id)', 'Google ID should be unique!')
diff --git a/addons/google_calendar/models/google_calendar.py b/addons/google_calendar/models/google_calendar.py
index df0df9e338..e5a12b9c74 100644
--- a/addons/google_calendar/models/google_calendar.py
+++ b/addons/google_calendar/models/google_calendar.py
@@ -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 datetime import datetime, timedelta
@@ -11,8 +11,8 @@ import operator
import pytz
from werkzeug import urls
-from odoo import api, fields, models, tools, _
-from odoo.tools import exception_to_unicode
+from flectra import api, fields, models, tools, _
+from flectra.tools import exception_to_unicode
_logger = logging.getLogger(__name__)
@@ -42,7 +42,7 @@ class Meta(type):
Struct = Meta('Struct', (object,), {})
-class OdooEvent(Struct):
+class FlectraEvent(Struct):
event = False
found = False
event_id = False
@@ -65,7 +65,7 @@ class GmailEvent(Struct):
class SyncEvent(object):
def __init__(self):
- self.OE = OdooEvent()
+ self.OE = FlectraEvent()
self.GG = GmailEvent()
self.OP = None
@@ -73,7 +73,7 @@ class SyncEvent(object):
return getattr(self, key)
def compute_OP(self, modeFull=True):
- #If event are already in Gmail and in Odoo
+ #If event are already in Gmail and in Flectra
if self.OE.found and self.GG.found:
is_owner = self.OE.event.env.user.id == self.OE.event.user_id.id
#If the event has been deleted from one side, we delete on other side !
@@ -107,15 +107,15 @@ class SyncEvent(object):
else:
self.OP = NothingToDo("", "Both are already deleted")
- # New in Odoo... Create on create_events of synchronize function
+ # New in Flectra... Create on create_events of synchronize function
elif self.OE.found and not self.GG.found:
if self.OE.status:
self.OP = Delete('OE', 'Update or delete from GOOGLE')
else:
if not modeFull:
- self.OP = Delete('GG', 'Deleted from Odoo, need to delete it from Gmail if already created')
+ self.OP = Delete('GG', 'Deleted from Flectra, need to delete it from Gmail if already created')
else:
- self.OP = NothingToDo("", "Already Deleted in gmail and unlinked in Odoo")
+ self.OP = NothingToDo("", "Already Deleted in gmail and unlinked in Flectra")
elif self.GG.found and not self.OE.found:
tmpSrc = 'GG'
if not self.GG.status and not self.GG.isInstance:
@@ -254,7 +254,7 @@ class GoogleCalendar(models.AbstractModel):
return data
def create_an_event(self, event):
- """ Create a new event in google calendar from the given event in Odoo.
+ """ Create a new event in google calendar from the given event in Flectra.
:param event : record of calendar.event to export to google calendar
"""
data = self.generate_data(event, isCreating=True)
@@ -416,7 +416,7 @@ class GoogleCalendar(models.AbstractModel):
return event
def update_from_google(self, event, single_event_dict, type):
- """ Update an event in Odoo with information from google calendar
+ """ Update an event in Flectra with information from google calendar
:param event : record od calendar.event to update
:param single_event_dict : dict of google cal event data
"""
@@ -693,18 +693,18 @@ class GoogleCalendar(models.AbstractModel):
])
my_google_att_ids = my_google_attendees.ids
- my_odoo_attendees = CalendarAttendee.with_context(context_novirtual).search([
+ my_flectra_attendees = CalendarAttendee.with_context(context_novirtual).search([
('partner_id', '=', my_partner_id),
('event_id.oe_update_date', '>', lastSync and fields.Datetime.to_string(lastSync) or self.get_minTime().fields.Datetime.to_string()),
('google_internal_event_id', '!=', False),
])
- my_odoo_googleinternal_records = my_odoo_attendees.read(['google_internal_event_id', 'event_id'])
+ my_flectra_googleinternal_records = my_flectra_attendees.read(['google_internal_event_id', 'event_id'])
if self.get_print_log():
- _logger.info("Calendar Synchro - \n\nUPDATE IN GOOGLE\n%s\n\nRETRIEVE FROM OE\n%s\n\nUPDATE IN OE\n%s\n\nRETRIEVE FROM GG\n%s\n\n", all_event_from_google, my_google_att_ids, my_odoo_attendees.ids, my_odoo_googleinternal_records)
+ _logger.info("Calendar Synchro - \n\nUPDATE IN GOOGLE\n%s\n\nRETRIEVE FROM OE\n%s\n\nUPDATE IN OE\n%s\n\nRETRIEVE FROM GG\n%s\n\n", all_event_from_google, my_google_att_ids, my_flectra_attendees.ids, my_flectra_googleinternal_records)
- for gi_record in my_odoo_googleinternal_records:
+ for gi_record in my_flectra_googleinternal_records:
active = True # if not sure, we request google
if gi_record.get('event_id'):
active = CalendarEvent.with_context(context_novirtual).browse(int(gi_record.get('event_id')[0])).active
@@ -714,7 +714,7 @@ class GoogleCalendar(models.AbstractModel):
if one_event:
all_event_from_google[one_event['id']] = one_event
- my_attendees = (my_google_attendees | my_odoo_attendees)
+ my_attendees = (my_google_attendees | my_flectra_attendees)
else:
domain = [
@@ -725,7 +725,7 @@ class GoogleCalendar(models.AbstractModel):
('event_id.final_date', '>', fields.Datetime.to_string(self.get_minTime())),
]
- # Select all events from Odoo which have been already synchronized in gmail
+ # Select all events from Flectra which have been already synchronized in gmail
my_attendees = CalendarAttendee.with_context(context_novirtual).search(domain)
all_event_from_google = self.get_event_synchro_dict(lastSync=False)
@@ -901,7 +901,7 @@ class GoogleCalendar(models.AbstractModel):
readonly = '.readonly' if RO else ''
return 'https://www.googleapis.com/auth/calendar%s' % (readonly)
- def authorize_google_uri(self, from_url='http://www.odoo.com'):
+ def authorize_google_uri(self, from_url='http://www.flectra.com'):
url = self.env['google.service']._get_authorize_uri(from_url, self.STR_SERVICE, scope=self.get_calendar_scope())
return url
diff --git a/addons/google_calendar/models/res_config_settings.py b/addons/google_calendar/models/res_config_settings.py
index 1ac55dbc58..2fd9ae517e 100644
--- a/addons/google_calendar/models/res_config_settings.py
+++ b/addons/google_calendar/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
@@ -24,6 +24,6 @@ class ResConfigSettings(models.TransientModel):
res.update(
cal_client_id=get_param('google_calendar_client_id', default=''),
cal_client_secret=get_param('google_calendar_client_secret', default=''),
- server_uri="%s/google_account/authentication" % get_param('web.base.url', default="http://yourcompany.odoo.com"),
+ server_uri="%s/google_account/authentication" % get_param('web.base.url', default="http://yourcompany.flectra.com"),
)
return res
diff --git a/addons/google_calendar/models/res_users.py b/addons/google_calendar/models/res_users.py
index 290606dfe8..2384a49fe1 100644
--- a/addons/google_calendar/models/res_users.py
+++ b/addons/google_calendar/models/res_users.py
@@ -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 User(models.Model):
@@ -12,4 +12,4 @@ class User(models.Model):
google_calendar_token = fields.Char('User token', copy=False)
google_calendar_token_validity = fields.Datetime('Token Validity', copy=False)
google_calendar_last_sync_date = fields.Datetime('Last synchro date', copy=False)
- google_calendar_cal_id = fields.Char('Calendar ID', copy=False, help='Last Calendar ID who has been synchronized. If it is changed, we remove all links between GoogleID and Odoo Google Internal ID')
+ google_calendar_cal_id = fields.Char('Calendar ID', copy=False, help='Last Calendar ID who has been synchronized. If it is changed, we remove all links between GoogleID and Flectra Google Internal ID')
diff --git a/addons/google_calendar/static/src/js/google_calendar.js b/addons/google_calendar/static/src/js/google_calendar.js
index dbb7a30854..01c214652c 100644
--- a/addons/google_calendar/static/src/js/google_calendar.js
+++ b/addons/google_calendar/static/src/js/google_calendar.js
@@ -1,4 +1,4 @@
-odoo.define('google_calendar.google_calendar', function (require) {
+flectra.define('google_calendar.google_calendar', function (require) {
"use strict";
var core = require('web.core');
@@ -24,7 +24,7 @@ CalendarController.include({
* mean of a dialog.
*
* @private
- * @returns {OdooEvent} event
+ * @returns {FlectraEvent} event
*/
_onSyncCalendar: function (event) {
var self = this;
diff --git a/addons/google_calendar/static/src/less/google_calendar.less b/addons/google_calendar/static/src/less/google_calendar.less
index bb1de8cde0..04d8704286 100644
--- a/addons/google_calendar/static/src/less/google_calendar.less
+++ b/addons/google_calendar/static/src/less/google_calendar.less
@@ -8,5 +8,5 @@
img.calendar_img_tuto {
margin: 0 0 10px 50px;
- border: 2px solid @odoo-brand-secondary;
+ border: 2px solid @flectra-brand-secondary;
}
diff --git a/addons/google_calendar/static/tests/google_calendar_tests.js b/addons/google_calendar/static/tests/google_calendar_tests.js
index 6edd786afd..e3d56f6867 100644
--- a/addons/google_calendar/static/tests/google_calendar_tests.js
+++ b/addons/google_calendar/static/tests/google_calendar_tests.js
@@ -1,4 +1,4 @@
-odoo.define('google_calendar.calendar_tests', function (require) {
+flectra.define('google_calendar.calendar_tests', function (require) {
"use strict";
var CalendarView = require('web.CalendarView');
diff --git a/addons/google_calendar/views/google_calendar_templates.xml b/addons/google_calendar/views/google_calendar_templates.xml
index 4ff9df7f45..8320e2dc8a 100644
--- a/addons/google_calendar/views/google_calendar_templates.xml
+++ b/addons/google_calendar/views/google_calendar_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/google_calendar/views/res_config_settings_views.xml b/addons/google_calendar/views/res_config_settings_views.xml
index a17e5aa415..fff9afd4dd 100644
--- a/addons/google_calendar/views/res_config_settings_views.xml
+++ b/addons/google_calendar/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.google.calendarres.config.settings
@@ -13,7 +13,7 @@
- Tutorial
+ Tutorial
@@ -33,4 +33,4 @@
groups="base.group_no_one"
action="action_config_settings_google_calendar"/>
-
+
diff --git a/addons/google_calendar/views/res_users_views.xml b/addons/google_calendar/views/res_users_views.xml
index ba5a9c52e1..af69a2114c 100644
--- a/addons/google_calendar/views/res_users_views.xml
+++ b/addons/google_calendar/views/res_users_views.xml
@@ -1,5 +1,5 @@
-
+res.users.form
@@ -20,5 +20,5 @@
-
+
diff --git a/addons/google_drive/__init__.py b/addons/google_drive/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/google_drive/__init__.py
+++ b/addons/google_drive/__init__.py
@@ -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 models
diff --git a/addons/google_drive/__manifest__.py b/addons/google_drive/__manifest__.py
index 090dff99f7..147f979b1d 100644
--- a/addons/google_drive/__manifest__.py
+++ b/addons/google_drive/__manifest__.py
@@ -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.
{
'name': 'Google Driveâ„¢ integration',
diff --git a/addons/google_drive/data/google_drive_data.xml b/addons/google_drive/data/google_drive_data.xml
index 2da9e8185c..a50efbab27 100644
--- a/addons/google_drive/data/google_drive_data.xml
+++ b/addons/google_drive/data/google_drive_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,4 +13,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/google_drive/data/google_drive_demo.xml b/addons/google_drive/data/google_drive_demo.xml
index 59bbbaed87..8da02d9e15 100644
--- a/addons/google_drive/data/google_drive_demo.xml
+++ b/addons/google_drive/data/google_drive_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/google_drive/models/__init__.py b/addons/google_drive/models/__init__.py
index c8728366f7..02d2c416d1 100644
--- a/addons/google_drive/models/__init__.py
+++ b/addons/google_drive/models/__init__.py
@@ -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 res_config_settings
from . import google_drive
diff --git a/addons/google_drive/models/google_drive.py b/addons/google_drive/models/google_drive.py
index 3e7235c2d7..a0ad573b2f 100644
--- a/addons/google_drive/models/google_drive.py
+++ b/addons/google_drive/models/google_drive.py
@@ -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.
import logging
import json
import re
@@ -7,12 +7,12 @@ import re
import requests
import werkzeug.urls
-from odoo import api, fields, models
-from odoo.exceptions import RedirectWarning, UserError
-from odoo.tools.safe_eval import safe_eval
-from odoo.tools.translate import _
+from flectra import api, fields, models
+from flectra.exceptions import RedirectWarning, UserError
+from flectra.tools.safe_eval import safe_eval
+from flectra.tools.translate import _
-from odoo.addons.google_account.models.google_service import GOOGLE_TOKEN_ENDPOINT, TIMEOUT
+from flectra.addons.google_account.models.google_service import GOOGLE_TOKEN_ENDPOINT, TIMEOUT
_logger = logging.getLogger(__name__)
@@ -97,7 +97,7 @@ class GoogleDrive(models.Model):
except requests.HTTPError:
raise UserError(_("The Google Template cannot be found. Maybe it has been deleted."))
- record_url = "Click on link to open Record in Odoo\n %s/?db=%s#id=%s&model=%s" % (google_web_base_url, self._cr.dbname, res_id, res_model)
+ record_url = "Click on link to open Record in Flectra\n %s/?db=%s#id=%s&model=%s" % (google_web_base_url, self._cr.dbname, res_id, res_model)
data = {
"title": name_gdocs,
"description": record_url,
@@ -125,7 +125,7 @@ class GoogleDrive(models.Model):
self._cr.commit()
res['url'] = content['alternateLink']
key = self._get_key_from_url(res['url'])
- request_url = "https://www.googleapis.com/drive/v2/files/%s/permissions?emailMessage=This+is+a+drive+file+created+by+Odoo&sendNotificationEmails=false&access_token=%s" % (key, access_token)
+ request_url = "https://www.googleapis.com/drive/v2/files/%s/permissions?emailMessage=This+is+a+drive+file+created+by+Flectra&sendNotificationEmails=false&access_token=%s" % (key, access_token)
data = {'role': 'writer', 'type': 'anyone', 'value': '', 'withLink': True}
try:
req = requests.post(request_url, data=json.dumps(data), headers=headers, timeout=TIMEOUT)
diff --git a/addons/google_drive/models/res_config_settings.py b/addons/google_drive/models/res_config_settings.py
index 0358f61583..9785fb7b5e 100644
--- a/addons/google_drive/models/res_config_settings.py
+++ b/addons/google_drive/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/google_drive/static/src/js/gdrive.js b/addons/google_drive/static/src/js/gdrive.js
index b7d2542bb7..4b2e439044 100644
--- a/addons/google_drive/static/src/js/gdrive.js
+++ b/addons/google_drive/static/src/js/gdrive.js
@@ -1,4 +1,4 @@
-odoo.define('google_drive.google_drive', function (require) {
+flectra.define('google_drive.google_drive', function (require) {
"use strict";
var data = require('web.data');
diff --git a/addons/google_drive/views/google_drive_templates.xml b/addons/google_drive/views/google_drive_templates.xml
index 1906a27696..42c4124f7e 100644
--- a/addons/google_drive/views/google_drive_templates.xml
+++ b/addons/google_drive/views/google_drive_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -8,4 +8,4 @@
-
+
diff --git a/addons/google_drive/views/google_drive_views.xml b/addons/google_drive/views/google_drive_views.xml
index e71aaf2fe1..1dd1eb96ed 100644
--- a/addons/google_drive/views/google_drive_views.xml
+++ b/addons/google_drive/views/google_drive_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -28,7 +28,7 @@
To create a new filter:
- - Go to the Odoo document you want to filter. For instance, go to Opportunities and search on Sales Department.
+ - Go to the Flectra document you want to filter. For instance, go to Opportunities and search on Sales Department.
- In this "Search" view, select the option "Save Current Filter", enter the name (Ex: Sales Department)
- If you select "Share with all users", link of google document in "More" options will appear for all users in opportunities of Sales Department.
- If you don't select "Share with all users", link of google document in "More" options will not appear for other users in opportunities of Sales Department.
@@ -43,7 +43,7 @@
The name of the attached document can use fixed or variable data. To distinguish between documents in
Google Drive, use fixed words and fields. For instance, in the example above, if you wrote Agrolait_%%(name)s_Sales
- in the Google Drive name field, the document in your Google Drive and in Odoo attachment will be named
+ in the Google Drive name field, the document in your Google Drive and in Flectra attachment will be named
'Agrolait_SO0001_Sales'.
@@ -95,9 +95,9 @@
Click to add a new template.
- Link your own google drive templates to any record of Odoo. If you have really specific documents you want your collaborator fill in, e.g. Use a spreadsheet to control the quality of your product or review the delivery checklist for each order in a foreign country, ... Its very easy to manage them, link them to Odoo and use them to collaborate with your employees.
+ Link your own google drive templates to any record of Flectra. If you have really specific documents you want your collaborator fill in, e.g. Use a spreadsheet to control the quality of your product or review the delivery checklist for each order in a foreign country, ... Its very easy to manage them, link them to Flectra and use them to collaborate with your employees.
-
+
diff --git a/addons/google_drive/views/res_config_settings_views.xml b/addons/google_drive/views/res_config_settings_views.xml
index 20a6955734..3eae824af0 100644
--- a/addons/google_drive/views/res_config_settings_views.xml
+++ b/addons/google_drive/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.google.drive
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/google_spreadsheet/__init__.py b/addons/google_spreadsheet/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/google_spreadsheet/__init__.py
+++ b/addons/google_spreadsheet/__init__.py
@@ -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 models
diff --git a/addons/google_spreadsheet/__manifest__.py b/addons/google_spreadsheet/__manifest__.py
index 26c2e3660c..e3840c3b13 100644
--- a/addons/google_spreadsheet/__manifest__.py
+++ b/addons/google_spreadsheet/__manifest__.py
@@ -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.
{
'name': 'Google Spreadsheet',
diff --git a/addons/google_spreadsheet/data/google_spreadsheet_data.xml b/addons/google_spreadsheet/data/google_spreadsheet_data.xml
index 6a413f72b0..d414072ef6 100644
--- a/addons/google_spreadsheet/data/google_spreadsheet_data.xml
+++ b/addons/google_spreadsheet/data/google_spreadsheet_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/google_spreadsheet/models/__init__.py b/addons/google_spreadsheet/models/__init__.py
index c8728366f7..02d2c416d1 100644
--- a/addons/google_spreadsheet/models/__init__.py
+++ b/addons/google_spreadsheet/models/__init__.py
@@ -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 res_config_settings
from . import google_drive
diff --git a/addons/google_spreadsheet/models/google_drive.py b/addons/google_spreadsheet/models/google_drive.py
index 53b5a5830a..5671c1e930 100644
--- a/addons/google_spreadsheet/models/google_drive.py
+++ b/addons/google_spreadsheet/models/google_drive.py
@@ -1,4 +1,4 @@
-# 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.
import json
import logging
@@ -8,9 +8,9 @@ from lxml import etree
import re
import werkzeug.urls
-from odoo import api, models
-from odoo.tools import misc
-from odoo.addons.google_account import TIMEOUT
+from flectra import api, models
+from flectra.tools import misc
+from flectra.addons.google_account import TIMEOUT
_logger = logging.getLogger(__name__)
diff --git a/addons/google_spreadsheet/models/res_config_settings.py b/addons/google_spreadsheet/models/res_config_settings.py
index 86649bae17..119afbd073 100644
--- a/addons/google_spreadsheet/models/res_config_settings.py
+++ b/addons/google_spreadsheet/models/res_config_settings.py
@@ -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):
diff --git a/addons/google_spreadsheet/static/src/js/search.js b/addons/google_spreadsheet/static/src/js/search.js
index a9f8e392d0..93b4a52387 100644
--- a/addons/google_spreadsheet/static/src/js/search.js
+++ b/addons/google_spreadsheet/static/src/js/search.js
@@ -1,4 +1,4 @@
-odoo.define('google_spreadsheet.google.spreadsheet', function (require) {
+flectra.define('google_spreadsheet.google.spreadsheet', function (require) {
"use strict";
var ActionManager = require('web.ActionManager');
diff --git a/addons/google_spreadsheet/views/google_spreadsheet_templates.xml b/addons/google_spreadsheet/views/google_spreadsheet_templates.xml
index fd2fc66bff..a0b8ff96e0 100644
--- a/addons/google_spreadsheet/views/google_spreadsheet_templates.xml
+++ b/addons/google_spreadsheet/views/google_spreadsheet_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/google_spreadsheet/views/google_spreadsheet_views.xml b/addons/google_spreadsheet/views/google_spreadsheet_views.xml
index c729f7039f..1bc1d65d06 100644
--- a/addons/google_spreadsheet/views/google_spreadsheet_views.xml
+++ b/addons/google_spreadsheet/views/google_spreadsheet_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -64,4 +64,4 @@
parent="base.menu_board_root"
action="action_ir_attachment_google_spreadsheet_tree"/>
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/google_spreadsheet/views/res_config_settings_views.xml b/addons/google_spreadsheet/views/res_config_settings_views.xml
index 7eb53e0e5f..37e5e4c29f 100644
--- a/addons/google_spreadsheet/views/res_config_settings_views.xml
+++ b/addons/google_spreadsheet/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.google.spreadsheet
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/hr/__init__.py b/addons/hr/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/hr/__init__.py
+++ b/addons/hr/__init__.py
@@ -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 models
diff --git a/addons/hr/__manifest__.py b/addons/hr/__manifest__.py
index fd9e76106f..a68bc6d804 100644
--- a/addons/hr/__manifest__.py
+++ b/addons/hr/__manifest__.py
@@ -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.
{
'name': 'Employee Directory',
@@ -8,7 +8,7 @@
'sequence': 75,
'summary': 'Jobs, Departments, Employees Details',
'description': "",
- 'website': 'https://www.odoo.com/page/employees',
+ 'website': 'https://flectrahq.com/page/employees',
'images': [
'images/hr_department.jpeg',
'images/hr_employee.jpeg',
diff --git a/addons/hr/data/hr_data.xml b/addons/hr/data/hr_data.xml
index 8ce5b78ec7..4a73a9177c 100644
--- a/addons/hr/data/hr_data.xml
+++ b/addons/hr/data/hr_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -30,4 +30,4 @@
-
+
diff --git a/addons/hr/data/hr_demo.xml b/addons/hr/data/hr_demo.xml
index 68c60c81f0..63953629a1 100644
--- a/addons/hr/data/hr_demo.xml
+++ b/addons/hr/data/hr_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -21,7 +21,7 @@
Chief Executive Officer
- Demonstration of different Odoo services for each client and convincing the client about functionality of the application.
+ Demonstration of different Flectra services for each client and convincing the client about functionality of the application.
The candidate should have excellent communication skills.
Relationship building and influencing skills
Expertise in New Client Acquisition (NCAs) and Relationship Management.
@@ -43,7 +43,7 @@ Excellent analytical skills, ability to think logically and "out of the box"
Chief Technical Officer
- You will take part in the consulting services we provide to our partners and customers : design, analysis, development, testing, project management, support/coaching. You will work autonomously as well as coordinate and supervise small distributed development teams for some projects. Optionally, you will deliver Odoo training sessions to partners and customers (8-10 people/session). You will report to the Head of Professional Services and work closely with all developers and consultants.
+ You will take part in the consulting services we provide to our partners and customers : design, analysis, development, testing, project management, support/coaching. You will work autonomously as well as coordinate and supervise small distributed development teams for some projects. Optionally, you will deliver Flectra training sessions to partners and customers (8-10 people/session). You will report to the Head of Professional Services and work closely with all developers and consultants.
The job is located in Grand-Rosière (1367), Belgium (between Louvain-La-Neuve and Namur).Bachelor, master or engineering degree in Computer Science or equivalent by experience
@@ -91,11 +91,11 @@ Good language skills, other than English (Dutch and French preferred, others wel
Trainee
- You participate to the update of our tutorial tools and pre-sales tools after the launch of a new version of Odoo. Indeed, any new version of the software brings significant improvements in terms of functionalities, ergonomics and configuration.
-You will have to become familiar with the existing tools (books, class supports, Odoo presentation’s slides, commercial tools),
+ You participate to the update of our tutorial tools and pre-sales tools after the launch of a new version of Flectra. Indeed, any new version of the software brings significant improvements in terms of functionalities, ergonomics and configuration.
+You will have to become familiar with the existing tools (books, class supports, Flectra presentation’s slides, commercial tools),
to participate to the update of those tools in order to make them appropriate for the new version of the software and, for sure,
to suggest improvements in order to cover the new domains of the software.
-You join the Implementation Assistance department. This team of 3 people go with Odoo’s clients in the set up of the software. Your role will be
+You join the Implementation Assistance department. This team of 3 people go with Flectra’s clients in the set up of the software. Your role will be
to animate webinars in order to show the different functionalities of the software.
to be involved in the support of the customers and
to answer to their questions.
@@ -104,7 +104,7 @@ being involved in the treatment of new cases,
contributing to the set up of a new politic,
being involved into satisfaction surveys in order to have a better knowledge of how the support given is seen by the customers.You speak fluently English and French (one other European language is a +)
-At the time of your traineeship at Odoo, you will be in the last year of a Master or Bachelor Degree (ideally in the following sector: Business Management, IT Management, Computer Sciences)
+At the time of your traineeship at Flectra, you will be in the last year of a Master or Bachelor Degree (ideally in the following sector: Business Management, IT Management, Computer Sciences)
You have a software and new technology awareness
You are ready to join a young and dynamic company, you are able to work in a “start up†fast paced environment, hands on attitude
You are approachable, honest and a fun team player
@@ -139,7 +139,7 @@ If you have development competencies, we can propose you specific traineeships
Pieter ParkerBuilding 1, Second Floor+3281813700
- pieter@odoo.com
+ pieter@flectra.com
@@ -153,7 +153,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- antoine@odoo.com
+ antoine@flectra.com
@@ -166,7 +166,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700+32486571630
- john@odoo.com
+ john@flectra.com
@@ -178,7 +178,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- michael@odoo.com
+ michael@flectra.com
@@ -190,7 +190,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- liam@odoo.com
+ liam@flectra.com
@@ -202,7 +202,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- david@odoo.com
+ david@flectra.com
@@ -215,7 +215,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- gilles@odoo.com
+ gilles@flectra.com
@@ -227,7 +227,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- jack@odoo.com
+ jack@flectra.com
@@ -239,7 +239,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- martin@odoo.com
+ martin@flectra.com
@@ -251,7 +251,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- jimmy@odoo.com
+ jimmy@flectra.com
@@ -263,7 +263,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- famke@odoo.com
+ famke@flectra.com
@@ -275,7 +275,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3281813700
- ashley@odoo.com
+ ashley@flectra.com
@@ -294,7 +294,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3282823500
- jve@odoo.com
+ jve@flectra.com
@@ -304,7 +304,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3282823500
- jep@odoo.com
+ jep@flectra.com
@@ -314,7 +314,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3282823500
- jod@odoo.com
+ jod@flectra.com
@@ -324,7 +324,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3282823500
- jog@odoo.com
+ jog@flectra.com
@@ -343,7 +343,7 @@ If you have development competencies, we can propose you specific traineeships
Building 1, Second Floor+3282823500
- lur@odoo.com
+ lur@flectra.com
@@ -374,4 +374,4 @@ If you have development competencies, we can propose you specific traineeships
-
+
diff --git a/addons/hr/models/__init__.py b/addons/hr/models/__init__.py
index 5d9895c99d..bcae6c12d7 100644
--- a/addons/hr/models/__init__.py
+++ b/addons/hr/models/__init__.py
@@ -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 hr
from . import res_config_settings
diff --git a/addons/hr/models/hr.py b/addons/hr/models/hr.py
index 974b4c9acf..b2e7185781 100644
--- a/addons/hr/models/hr.py
+++ b/addons/hr/models/hr.py
@@ -1,12 +1,12 @@
# -*- 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.
import base64
import logging
-from odoo import api, fields, models
-from odoo import tools, _
-from odoo.exceptions import ValidationError
-from odoo.modules.module import get_module_resource
+from flectra import api, fields, models
+from flectra import tools, _
+from flectra.exceptions import ValidationError
+from flectra.modules.module import get_module_resource
_logger = logging.getLogger(__name__)
diff --git a/addons/hr/models/mail_alias.py b/addons/hr/models/mail_alias.py
index f98fce32f5..66c4a1eb8c 100644
--- a/addons/hr/models/mail_alias.py
+++ b/addons/hr/models/mail_alias.py
@@ -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, tools
+from flectra import fields, models, tools
class Alias(models.Model):
diff --git a/addons/hr/models/res_config_settings.py b/addons/hr/models/res_config_settings.py
index d66006cc10..d458c453ba 100644
--- a/addons/hr/models/res_config_settings.py
+++ b/addons/hr/models/res_config_settings.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/hr/models/res_partner.py b/addons/hr/models/res_partner.py
index 6b77f3f337..b05f6870a6 100644
--- a/addons/hr/models/res_partner.py
+++ b/addons/hr/models/res_partner.py
@@ -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 api, models
-from odoo.exceptions import AccessError
+from flectra import api, models
+from flectra.exceptions import AccessError
class Partner(models.Model):
diff --git a/addons/hr/models/res_users.py b/addons/hr/models/res_users.py
index ddbcc95c23..546d9b35bd 100644
--- a/addons/hr/models/res_users.py
+++ b/addons/hr/models/res_users.py
@@ -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 api, models, fields
-from odoo import SUPERUSER_ID
+from flectra import api, models, fields
+from flectra import SUPERUSER_ID
class User(models.Model):
diff --git a/addons/hr/security/hr_security.xml b/addons/hr/security/hr_security.xml
index 70cfc1e68e..441d1d737b 100644
--- a/addons/hr/security/hr_security.xml
+++ b/addons/hr/security/hr_security.xml
@@ -1,5 +1,5 @@
-
+Officer
@@ -36,4 +36,4 @@
-
+
diff --git a/addons/hr/tests/__init__.py b/addons/hr/tests/__init__.py
index abca68d7db..758815fdb3 100644
--- a/addons/hr/tests/__init__.py
+++ b/addons/hr/tests/__init__.py
@@ -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_hr_flow
diff --git a/addons/hr/tests/common.py b/addons/hr/tests/common.py
index d03507597e..29b1aaa1fc 100644
--- a/addons/hr/tests/common.py
+++ b/addons/hr/tests/common.py
@@ -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.tests import common
+from flectra.tests import common
class TestHrCommon(common.TransactionCase):
diff --git a/addons/hr/tests/test_hr_flow.py b/addons/hr/tests/test_hr_flow.py
index 4986bda811..b42f1cd1b2 100644
--- a/addons/hr/tests/test_hr_flow.py
+++ b/addons/hr/tests/test_hr_flow.py
@@ -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.addons.hr.tests.common import TestHrCommon
+from flectra.addons.hr.tests.common import TestHrCommon
class TestHrFlow(TestHrCommon):
diff --git a/addons/hr/views/hr_templates.xml b/addons/hr/views/hr_templates.xml
index 1d1ebd7126..64e3c15fd6 100644
--- a/addons/hr/views/hr_templates.xml
+++ b/addons/hr/views/hr_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/hr/views/hr_views.xml b/addons/hr/views/hr_views.xml
index 787b8ffa6e..69396877ec 100644
--- a/addons/hr/views/hr_views.xml
+++ b/addons/hr/views/hr_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -256,7 +256,7 @@
Click to add a new employee.
- With just a quick glance on the Odoo employee screen, you
+ With just a quick glance on the Flectra employee screen, you
can easily find all the information you need for each person;
contact data, job position, availability, etc.
@@ -473,7 +473,7 @@
Click to add a new employee.
- With just a quick glance on the Odoo employee screen, you
+ With just a quick glance on the Flectra employee screen, you
can easily find all the information you need for each person;
contact data, job position, availability, etc.
@@ -610,7 +610,7 @@
Click to create a department.
- Odoo's department structure is used to manage all documents
+ Flectra's department structure is used to manage all documents
related to employees by departments: expenses, timesheets,
leaves, recruitments, etc.
@@ -625,4 +625,4 @@
groups="group_hr_user"/>
-
+
diff --git a/addons/hr/views/res_config_settings_views.xml b/addons/hr/views/res_config_settings_views.xml
index 37c2e566b4..1c2b201df8 100644
--- a/addons/hr/views/res_config_settings_views.xml
+++ b/addons/hr/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.hrres.config.settings
@@ -62,4 +62,4 @@
sequence="0"
action="hr_config_settings_action"
groups="base.group_system"/>
-
+
diff --git a/addons/hr_attendance/__init__.py b/addons/hr_attendance/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/hr_attendance/__init__.py
+++ b/addons/hr_attendance/__init__.py
@@ -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 models
diff --git a/addons/hr_attendance/__manifest__.py b/addons/hr_attendance/__manifest__.py
index 4637cc7bb6..43b73d3e9e 100644
--- a/addons/hr_attendance/__manifest__.py
+++ b/addons/hr_attendance/__manifest__.py
@@ -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.
{
@@ -15,7 +15,7 @@ This module aims to manage employee's attendances.
Keeps account of the attendances of the employees on the basis of the
actions(Check in/Check out) performed by them.
""",
- 'website': 'https://www.odoo.com/page/employees',
+ 'website': 'https://flectrahq.com/page/employees',
'depends': ['hr', 'barcodes'],
'data': [
'security/hr_attendance_security.xml',
diff --git a/addons/hr_attendance/data/hr_attendance_demo.xml b/addons/hr_attendance/data/hr_attendance_demo.xml
index e1f444dfa6..1a0b7a56f7 100644
--- a/addons/hr_attendance/data/hr_attendance_demo.xml
+++ b/addons/hr_attendance/data/hr_attendance_demo.xml
@@ -1,5 +1,5 @@
-
+0000
@@ -83,4 +83,4 @@
-
+
diff --git a/addons/hr_attendance/models/hr_attendance.py b/addons/hr_attendance/models/hr_attendance.py
index 1e43f98cd6..b838fc0841 100644
--- a/addons/hr_attendance/models/hr_attendance.py
+++ b/addons/hr_attendance/models/hr_attendance.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import datetime
-from odoo import models, fields, api, exceptions, _
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra import models, fields, api, exceptions, _
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
class HrAttendance(models.Model):
diff --git a/addons/hr_attendance/models/hr_employee.py b/addons/hr_attendance/models/hr_employee.py
index 7e22432800..14ac7dce5f 100644
--- a/addons/hr_attendance/models/hr_employee.py
+++ b/addons/hr_attendance/models/hr_employee.py
@@ -1,10 +1,10 @@
# -*- 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 random import choice
from string import digits
-from odoo import models, fields, api, exceptions, _, SUPERUSER_ID
+from flectra import models, fields, api, exceptions, _, SUPERUSER_ID
class HrEmployee(models.Model):
diff --git a/addons/hr_attendance/models/res_config_settings.py b/addons/hr_attendance/models/res_config_settings.py
index 5e67d2e50d..42a3c37dec 100644
--- a/addons/hr_attendance/models/res_config_settings.py
+++ b/addons/hr_attendance/models/res_config_settings.py
@@ -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):
diff --git a/addons/hr_attendance/report/hr_employee_badge.xml b/addons/hr_attendance/report/hr_employee_badge.xml
index cac5c5eee1..dfb21d9b63 100644
--- a/addons/hr_attendance/report/hr_employee_badge.xml
+++ b/addons/hr_attendance/report/hr_employee_badge.xml
@@ -1,5 +1,5 @@
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_attendance/security/hr_attendance_security.xml b/addons/hr_attendance/security/hr_attendance_security.xml
index 2f39cd13d2..08a3e00062 100644
--- a/addons/hr_attendance/security/hr_attendance_security.xml
+++ b/addons/hr_attendance/security/hr_attendance_security.xml
@@ -1,5 +1,5 @@
-
+Officer
@@ -59,4 +59,4 @@
-
+
diff --git a/addons/hr_attendance/static/src/js/employee_kanban_view_handler.js b/addons/hr_attendance/static/src/js/employee_kanban_view_handler.js
index 9949b9d8db..ec9461aad8 100644
--- a/addons/hr_attendance/static/src/js/employee_kanban_view_handler.js
+++ b/addons/hr_attendance/static/src/js/employee_kanban_view_handler.js
@@ -1,5 +1,5 @@
-odoo.define('hr_attendance.employee_kanban_view_handler', function(require) {
+flectra.define('hr_attendance.employee_kanban_view_handler', function(require) {
"use strict";
var KanbanRecord = require('web.KanbanRecord');
diff --git a/addons/hr_attendance/static/src/js/greeting_message.js b/addons/hr_attendance/static/src/js/greeting_message.js
index ac6e3f86c7..a6a175c992 100644
--- a/addons/hr_attendance/static/src/js/greeting_message.js
+++ b/addons/hr_attendance/static/src/js/greeting_message.js
@@ -1,4 +1,4 @@
-odoo.define('hr_attendance.greeting_message', function (require) {
+flectra.define('hr_attendance.greeting_message', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/hr_attendance/static/src/js/kiosk_confirm.js b/addons/hr_attendance/static/src/js/kiosk_confirm.js
index 2f55edd42c..571b929cd5 100644
--- a/addons/hr_attendance/static/src/js/kiosk_confirm.js
+++ b/addons/hr_attendance/static/src/js/kiosk_confirm.js
@@ -1,4 +1,4 @@
-odoo.define('hr_attendance.kiosk_confirm', function (require) {
+flectra.define('hr_attendance.kiosk_confirm', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/hr_attendance/static/src/js/kiosk_mode.js b/addons/hr_attendance/static/src/js/kiosk_mode.js
index d561f380c4..8755680e43 100644
--- a/addons/hr_attendance/static/src/js/kiosk_mode.js
+++ b/addons/hr_attendance/static/src/js/kiosk_mode.js
@@ -1,4 +1,4 @@
-odoo.define('hr_attendance.kiosk_mode', function (require) {
+flectra.define('hr_attendance.kiosk_mode', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/hr_attendance/static/src/js/my_attendances.js b/addons/hr_attendance/static/src/js/my_attendances.js
index d8f68a3c88..b96822459d 100644
--- a/addons/hr_attendance/static/src/js/my_attendances.js
+++ b/addons/hr_attendance/static/src/js/my_attendances.js
@@ -1,4 +1,4 @@
-odoo.define('hr_attendance.my_attendances', function (require) {
+flectra.define('hr_attendance.my_attendances', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/hr_attendance/static/src/less/hr_attendance.less b/addons/hr_attendance/static/src/less/hr_attendance.less
index d5fe332dd4..d34e1a11af 100644
--- a/addons/hr_attendance/static/src/less/hr_attendance.less
+++ b/addons/hr_attendance/static/src/less/hr_attendance.less
@@ -14,7 +14,7 @@
}
#oe_hr_attendance_status {
- color: @odoo-brand-secondary;
+ color: @flectra-brand-secondary;
&.oe_hr_attendance_status_green {
color: @brand-success;
}
diff --git a/addons/hr_attendance/static/tests/hr_attendance_tests.js b/addons/hr_attendance/static/tests/hr_attendance_tests.js
index 0f09069048..04f36308e0 100644
--- a/addons/hr_attendance/static/tests/hr_attendance_tests.js
+++ b/addons/hr_attendance/static/tests/hr_attendance_tests.js
@@ -1,4 +1,4 @@
-odoo.define('hr_attendance.tests', function (require) {
+flectra.define('hr_attendance.tests', function (require) {
"use strict";
var testUtils = require('web.test_utils');
diff --git a/addons/hr_attendance/tests/test_hr_attendance_constraints.py b/addons/hr_attendance/tests/test_hr_attendance_constraints.py
index d02acad4bd..e838c0476f 100644
--- a/addons/hr_attendance/tests/test_hr_attendance_constraints.py
+++ b/addons/hr_attendance/tests/test_hr_attendance_constraints.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
import time
diff --git a/addons/hr_attendance/tests/test_hr_attendance_process.py b/addons/hr_attendance/tests/test_hr_attendance_process.py
index 91e48dd256..7d03307b70 100644
--- a/addons/hr_attendance/tests/test_hr_attendance_process.py
+++ b/addons/hr_attendance/tests/test_hr_attendance_process.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestHrAttendance(TransactionCase):
diff --git a/addons/hr_attendance/views/hr_attendance_view.xml b/addons/hr_attendance/views/hr_attendance_view.xml
index 1571d7516f..d2062dae18 100644
--- a/addons/hr_attendance/views/hr_attendance_view.xml
+++ b/addons/hr_attendance/views/hr_attendance_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -185,4 +185,4 @@
-
+
diff --git a/addons/hr_attendance/views/hr_department_view.xml b/addons/hr_attendance/views/hr_department_view.xml
index 6c874108b3..e9d05d4543 100644
--- a/addons/hr_attendance/views/hr_department_view.xml
+++ b/addons/hr_attendance/views/hr_department_view.xml
@@ -1,5 +1,5 @@
-
+hr.department.kanban.inherit
@@ -22,4 +22,4 @@
-
+
diff --git a/addons/hr_attendance/views/hr_employee_view.xml b/addons/hr_attendance/views/hr_employee_view.xml
index b187f370f6..0897b5865e 100644
--- a/addons/hr_attendance/views/hr_employee_view.xml
+++ b/addons/hr_attendance/views/hr_employee_view.xml
@@ -1,5 +1,5 @@
-
+hr.employeehr.employee
@@ -108,4 +108,4 @@
-
+
diff --git a/addons/hr_attendance/views/res_config_settings_views.xml b/addons/hr_attendance/views/res_config_settings_views.xml
index 9cbeeba3f7..4110b902dc 100644
--- a/addons/hr_attendance/views/res_config_settings_views.xml
+++ b/addons/hr_attendance/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.hr.attendanceres.config.settings
@@ -38,4 +38,4 @@
-
+
diff --git a/addons/hr_attendance/views/web_asset_backend_template.xml b/addons/hr_attendance/views/web_asset_backend_template.xml
index 4263a3f314..1f2364fbf0 100644
--- a/addons/hr_attendance/views/web_asset_backend_template.xml
+++ b/addons/hr_attendance/views/web_asset_backend_template.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/hr_contract/__init__.py b/addons/hr_contract/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/hr_contract/__init__.py
+++ b/addons/hr_contract/__init__.py
@@ -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 models
diff --git a/addons/hr_contract/__manifest__.py b/addons/hr_contract/__manifest__.py
index 47046f4c9e..047af135d0 100644
--- a/addons/hr_contract/__manifest__.py
+++ b/addons/hr_contract/__manifest__.py
@@ -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.
{
'name': 'Employee Contracts',
@@ -16,7 +16,7 @@ Add all information on the employee form to manage contracts.
You can assign several contracts per employee.
""",
- 'website': 'https://www.odoo.com/page/employees',
+ 'website': 'https://flectrahq.com/page/employees',
'depends': ['hr'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/hr_contract/data/hr_contract_data.xml b/addons/hr_contract/data/hr_contract_data.xml
index 136ba02ed2..0e8b544ab4 100644
--- a/addons/hr_contract/data/hr_contract_data.xml
+++ b/addons/hr_contract/data/hr_contract_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -53,4 +53,4 @@
-1
-
+
diff --git a/addons/hr_contract/models/__init__.py b/addons/hr_contract/models/__init__.py
index 855ff940d5..adc43b5ef7 100644
--- a/addons/hr_contract/models/__init__.py
+++ b/addons/hr_contract/models/__init__.py
@@ -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 hr_contract
diff --git a/addons/hr_contract/models/hr_contract.py b/addons/hr_contract/models/hr_contract.py
index c58b5d2a91..442074394d 100644
--- a/addons/hr_contract/models/hr_contract.py
+++ b/addons/hr_contract/models/hr_contract.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import date
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError
class Employee(models.Model):
diff --git a/addons/hr_contract/tests/__init__.py b/addons/hr_contract/tests/__init__.py
index 6f1832811c..c65d4f8578 100644
--- a/addons/hr_contract/tests/__init__.py
+++ b/addons/hr_contract/tests/__init__.py
@@ -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_auto_status
diff --git a/addons/hr_contract/tests/test_auto_status.py b/addons/hr_contract/tests/test_auto_status.py
index fb755bdb82..00ef36d690 100644
--- a/addons/hr_contract/tests/test_auto_status.py
+++ b/addons/hr_contract/tests/test_auto_status.py
@@ -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 datetime import datetime
-from odoo.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
from dateutil.relativedelta import relativedelta
diff --git a/addons/hr_contract/views/hr_contract_views.xml b/addons/hr_contract/views/hr_contract_views.xml
index 4a9221df02..97f2bf8633 100644
--- a/addons/hr_contract/views/hr_contract_views.xml
+++ b/addons/hr_contract/views/hr_contract_views.xml
@@ -1,5 +1,5 @@
-
+Contracts
@@ -271,4 +271,4 @@
groups="hr.group_hr_manager"/>
-
+
diff --git a/addons/hr_expense/__init__.py b/addons/hr_expense/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/hr_expense/__init__.py
+++ b/addons/hr_expense/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/hr_expense/__manifest__.py b/addons/hr_expense/__manifest__.py
index 77bea25f14..25c24a545e 100644
--- a/addons/hr_expense/__manifest__.py
+++ b/addons/hr_expense/__manifest__.py
@@ -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.
{
@@ -25,7 +25,7 @@ The whole flow is implemented as:
This module also uses analytic accounting and is compatible with the invoice on timesheet module so that you are able to automatically re-invoice your customers' expenses if your work by project.
""",
- 'website': 'https://www.odoo.com/page/expenses',
+ 'website': 'https://flectrahq.com/page/expenses',
'depends': ['hr_contract', 'account', 'web_tour'],
'data': [
'security/hr_expense_security.xml',
diff --git a/addons/hr_expense/data/hr_expense_data.xml b/addons/hr_expense/data/hr_expense_data.xml
index 100282658a..759f379777 100644
--- a/addons/hr_expense/data/hr_expense_data.xml
+++ b/addons/hr_expense/data/hr_expense_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -63,4 +63,4 @@
-
+
diff --git a/addons/hr_expense/data/hr_expense_demo.xml b/addons/hr_expense/data/hr_expense_demo.xml
index 6c5b47c12b..a778910c61 100644
--- a/addons/hr_expense/data/hr_expense_demo.xml
+++ b/addons/hr_expense/data/hr_expense_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -76,4 +76,4 @@
-
+
diff --git a/addons/hr_expense/data/hr_expense_sequence.xml b/addons/hr_expense/data/hr_expense_sequence.xml
index 1138efedc5..398e0d8057 100644
--- a/addons/hr_expense/data/hr_expense_sequence.xml
+++ b/addons/hr_expense/data/hr_expense_sequence.xml
@@ -1,5 +1,5 @@
-
+
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/hr_expense/data/web_planner_data.xml b/addons/hr_expense/data/web_planner_data.xml
index d250858b4c..0d0bd892fd 100644
--- a/addons/hr_expense/data/web_planner_data.xml
+++ b/addons/hr_expense/data/web_planner_data.xml
@@ -1,6 +1,6 @@
-
+
@@ -9,7 +9,7 @@
- This guide helps you start with Odoo Expenses.
+ This guide helps you start with Flectra Expenses.
Use this app to track expenses done by employees and reimbursed by the company, or paid with a company credit cards directly. If a vendor bill is sent to the company for payment, it’s better to use Vendor Bills instead of expenses in the Accounting app.
@@ -26,12 +26,12 @@
Once setup, you get an efficient expenses tracking process for all your employees.
-
Enjoy your Odoo experience,
+
Enjoy your Flectra experience,
- For the Odoo Team,
+ For the Flectra Team,
Fabien Pinckaers, Founder
@@ -44,7 +44,7 @@
Expense Types
The first step if to
-
+
configure the expense types
that your company allows. Here are some examples:
@@ -90,7 +90,7 @@
Recording Mode
- If you track expenses on customer projects, you can charge them back to your customers automatically. Here are some advises to avoid conflictual situations:
+ If you track expenses on customer projects, you can charge them back to your customers automatically. Here are some advises to avoid conflictual situations:
Agree in advance with the customer:
@@ -288,7 +288,7 @@
We hope this feature helped you manage your expenses efficiently.
-
Don't hesitate to send us an email to describe your experience or to suggest improvements!
+
Don't hesitate to send us an email to describe your experience or to suggest improvements!
-
Have a wonderful day, - The Odoo Team
-
+
Have a wonderful day, - The Flectra Team
+
@@ -324,4 +324,4 @@
-
+
diff --git a/addons/hr_expense/models/account_move_line.py b/addons/hr_expense/models/account_move_line.py
index 8af2ef4c88..7057d8d232 100644
--- a/addons/hr_expense/models/account_move_line.py
+++ b/addons/hr_expense/models/account_move_line.py
@@ -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 api, fields, models
-from odoo.tools import float_compare
+from flectra import api, fields, models
+from flectra.tools import float_compare
class AccountMoveLine(models.Model):
diff --git a/addons/hr_expense/models/hr_department.py b/addons/hr_expense/models/hr_department.py
index 9bf09b2b06..4671ba5e48 100644
--- a/addons/hr_expense/models/hr_department.py
+++ b/addons/hr_expense/models/hr_department.py
@@ -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 HrDepartment(models.Model):
diff --git a/addons/hr_expense/models/hr_expense.py b/addons/hr_expense/models/hr_expense.py
index 67a00f606b..f694cde80f 100644
--- a/addons/hr_expense/models/hr_expense.py
+++ b/addons/hr_expense/models/hr_expense.py
@@ -1,13 +1,13 @@
# -*- 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.
import re
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError, ValidationError
-from odoo.tools import email_split, float_is_zero
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError, ValidationError
+from flectra.tools import email_split, float_is_zero
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
class HrExpense(models.Model):
@@ -599,4 +599,4 @@ class HrExpenseSheet(models.Model):
def _check_payment_mode(self):
payment_mode = set(self.expense_line_ids.mapped('payment_mode'))
if len(payment_mode) > 1:
- raise ValidationError(_('You cannot report expenses with different payment modes.'))
\ No newline at end of file
+ raise ValidationError(_('You cannot report expenses with different payment modes.'))
\ No newline at end of file
diff --git a/addons/hr_expense/models/product_template.py b/addons/hr_expense/models/product_template.py
index eb63b64b2d..8829c35266 100644
--- a/addons/hr_expense/models/product_template.py
+++ b/addons/hr_expense/models/product_template.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ProductTemplate(models.Model):
diff --git a/addons/hr_expense/models/res_config_settings.py b/addons/hr_expense/models/res_config_settings.py
index b1bce213f7..bb15c32784 100644
--- a/addons/hr_expense/models/res_config_settings.py
+++ b/addons/hr_expense/models/res_config_settings.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/hr_expense/models/web_planner.py b/addons/hr_expense/models/web_planner.py
index c76892529c..5071a33044 100644
--- a/addons/hr_expense/models/web_planner.py
+++ b/addons/hr_expense/models/web_planner.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, models
+from flectra import api, models
class PlannerHrExpense(models.Model):
diff --git a/addons/hr_expense/report/report_expense_sheet.xml b/addons/hr_expense/report/report_expense_sheet.xml
index 1934b7cb64..c7d9b4bd02 100644
--- a/addons/hr_expense/report/report_expense_sheet.xml
+++ b/addons/hr_expense/report/report_expense_sheet.xml
@@ -1,5 +1,5 @@
-
+
@@ -107,4 +107,4 @@
print_report_name="'Expenses - %s - %s' % (object.employee_id.name, (object.name).replace('/', ''))"
/>
-
+
diff --git a/addons/hr_expense/security/hr_expense_security.xml b/addons/hr_expense/security/hr_expense_security.xml
index d09bf4b531..dba11d708f 100644
--- a/addons/hr_expense/security/hr_expense_security.xml
+++ b/addons/hr_expense/security/hr_expense_security.xml
@@ -1,5 +1,5 @@
-
+Officer
@@ -16,4 +16,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_expense/security/ir_rule.xml b/addons/hr_expense/security/ir_rule.xml
index eba7fe52e1..e6da6f7cf4 100644
--- a/addons/hr_expense/security/ir_rule.xml
+++ b/addons/hr_expense/security/ir_rule.xml
@@ -1,5 +1,5 @@
-
+
@@ -31,4 +31,4 @@
-
+
diff --git a/addons/hr_expense/static/src/js/tour.js b/addons/hr_expense/static/src/js/tour.js
index 14bc3ae787..6d6502b53e 100644
--- a/addons/hr_expense/static/src/js/tour.js
+++ b/addons/hr_expense/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define('hr_expense.tour', function(require) {
+flectra.define('hr_expense.tour', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/hr_expense/static/src/js/web_planner_hr_expense.js b/addons/hr_expense/static/src/js/web_planner_hr_expense.js
index 8dff996624..10c14c472f 100644
--- a/addons/hr_expense/static/src/js/web_planner_hr_expense.js
+++ b/addons/hr_expense/static/src/js/web_planner_hr_expense.js
@@ -1,4 +1,4 @@
-odoo.define('planner_hr_expense.planner', function (require) {
+flectra.define('planner_hr_expense.planner', function (require) {
"use strict";
var planner = require('web.planner.common');
diff --git a/addons/hr_expense/tests/__init__.py b/addons/hr_expense/tests/__init__.py
index 0d18c30d3d..c7c5c5e12c 100644
--- a/addons/hr_expense/tests/__init__.py
+++ b/addons/hr_expense/tests/__init__.py
@@ -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 common
from . import test_expenses
diff --git a/addons/hr_expense/tests/common.py b/addons/hr_expense/tests/common.py
index 5df38a278c..2d2b0adf11 100644
--- a/addons/hr_expense/tests/common.py
+++ b/addons/hr_expense/tests/common.py
@@ -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.tests import common
+from flectra.tests import common
class CommonTest(common.SavepointCase):
diff --git a/addons/hr_expense/tests/test_expenses.py b/addons/hr_expense/tests/test_expenses.py
index b3cb522723..0cdb2f8509 100644
--- a/addons/hr_expense/tests/test_expenses.py
+++ b/addons/hr_expense/tests/test_expenses.py
@@ -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.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestCheckJournalEntry(TransactionCase):
diff --git a/addons/hr_expense/views/hr_dashboard.xml b/addons/hr_expense/views/hr_dashboard.xml
index 1935fff051..d9e4d23981 100644
--- a/addons/hr_expense/views/hr_dashboard.xml
+++ b/addons/hr_expense/views/hr_dashboard.xml
@@ -1,4 +1,4 @@
-
+hr.department.kanban.inherit
@@ -47,4 +47,4 @@
-
+
diff --git a/addons/hr_expense/views/hr_expense.xml b/addons/hr_expense/views/hr_expense.xml
index d6b3e3ce82..6cdee54a6a 100644
--- a/addons/hr_expense/views/hr_expense.xml
+++ b/addons/hr_expense/views/hr_expense.xml
@@ -1,5 +1,5 @@
-
+
@@ -14,4 +14,4 @@
-
+
diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml
index 05a7c50952..b4efb57c8f 100644
--- a/addons/hr_expense/views/hr_expense_views.xml
+++ b/addons/hr_expense/views/hr_expense_views.xml
@@ -1,5 +1,5 @@
-
+hr.expense.tree
@@ -760,4 +760,4 @@ if records:
sequence="100"/>
-
+
diff --git a/addons/hr_expense/views/report_expense.xml b/addons/hr_expense/views/report_expense.xml
index e179edbcb9..e8f794c387 100644
--- a/addons/hr_expense/views/report_expense.xml
+++ b/addons/hr_expense/views/report_expense.xml
@@ -1,5 +1,5 @@
-
+
@@ -116,4 +116,4 @@
name="hr_expense.report_expense"
file="hr_expense.report_expense"
/>
-
+
diff --git a/addons/hr_expense/views/res_config_settings_views.xml b/addons/hr_expense/views/res_config_settings_views.xml
index 3ea7b74fc2..2f9b30f006 100644
--- a/addons/hr_expense/views/res_config_settings_views.xml
+++ b/addons/hr_expense/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.hr.expense
@@ -68,4 +68,4 @@
-
+
diff --git a/addons/hr_expense/wizard/hr_expense_refuse_reason.py b/addons/hr_expense/wizard/hr_expense_refuse_reason.py
index a88d2ac0b4..3c8cb302c3 100644
--- a/addons/hr_expense/wizard/hr_expense_refuse_reason.py
+++ b/addons/hr_expense/wizard/hr_expense_refuse_reason.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class HrExpenseRefuseWizard(models.TransientModel):
diff --git a/addons/hr_expense/wizard/hr_expense_refuse_reason_views.xml b/addons/hr_expense/wizard/hr_expense_refuse_reason_views.xml
index 0ca1bb8f7c..e9cbedf6ed 100644
--- a/addons/hr_expense/wizard/hr_expense_refuse_reason_views.xml
+++ b/addons/hr_expense/wizard/hr_expense_refuse_reason_views.xml
@@ -1,5 +1,5 @@
-
+hr.expense.refuse.wizard.formhr.expense.refuse.wizard
@@ -25,4 +25,4 @@
new
-
+
diff --git a/addons/hr_expense/wizard/hr_expense_sheet_register_payment.py b/addons/hr_expense/wizard/hr_expense_sheet_register_payment.py
index f378f15a47..c1464a4fc5 100644
--- a/addons/hr_expense/wizard/hr_expense_sheet_register_payment.py
+++ b/addons/hr_expense/wizard/hr_expense_sheet_register_payment.py
@@ -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 api, fields, models, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError
from werkzeug import url_encode
class HrExpenseSheetRegisterPaymentWizard(models.TransientModel):
diff --git a/addons/hr_expense/wizard/hr_expense_sheet_register_payment.xml b/addons/hr_expense/wizard/hr_expense_sheet_register_payment.xml
index 505f00d46e..dc76a13f2e 100644
--- a/addons/hr_expense/wizard/hr_expense_sheet_register_payment.xml
+++ b/addons/hr_expense/wizard/hr_expense_sheet_register_payment.xml
@@ -1,5 +1,5 @@
-
+hr.expense.sheet.register.payment.wizard.formhr.expense.sheet.register.payment.wizard
@@ -48,4 +48,4 @@
[('partner_type', '=', 'customer')]
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_expense_check/models/payment.py b/addons/hr_expense_check/models/payment.py
index d2609d6318..1e2175932b 100644
--- a/addons/hr_expense_check/models/payment.py
+++ b/addons/hr_expense_check/models/payment.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import models, fields, api
+from flectra import models, fields, api
class HrExpenseRegisterPaymentWizard(models.TransientModel):
diff --git a/addons/hr_gamification/__init__.py b/addons/hr_gamification/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/hr_gamification/__init__.py
+++ b/addons/hr_gamification/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/hr_gamification/__manifest__.py b/addons/hr_gamification/__manifest__.py
index b0173de4d4..47a87a9066 100644
--- a/addons/hr_gamification/__manifest__.py
+++ b/addons/hr_gamification/__manifest__.py
@@ -1,10 +1,10 @@
# -*- 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.
{
'name': 'HR Gamification',
'version': '1.0',
'category': 'Human Resources',
- 'website': 'https://www.odoo.com/page/employees',
+ 'website': 'https://flectrahq.com/page/employees',
'depends': ['gamification', 'hr'],
'description': """Use the HR resources for the gamification process.
diff --git a/addons/hr_gamification/models/__init__.py b/addons/hr_gamification/models/__init__.py
index 6088b35466..34f71bb699 100644
--- a/addons/hr_gamification/models/__init__.py
+++ b/addons/hr_gamification/models/__init__.py
@@ -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 gamification
from . import hr_employee
diff --git a/addons/hr_gamification/models/gamification.py b/addons/hr_gamification/models/gamification.py
index 1107f0e001..6d1972d83e 100644
--- a/addons/hr_gamification/models/gamification.py
+++ b/addons/hr_gamification/models/gamification.py
@@ -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 api, fields, models, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError
class GamificationBadgeUser(models.Model):
diff --git a/addons/hr_gamification/models/hr_employee.py b/addons/hr_gamification/models/hr_employee.py
index 36171bea1a..41d8ca59fe 100644
--- a/addons/hr_gamification/models/hr_employee.py
+++ b/addons/hr_gamification/models/hr_employee.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class HrEmployee(models.Model):
diff --git a/addons/hr_gamification/security/gamification_security.xml b/addons/hr_gamification/security/gamification_security.xml
index f1de6b6d1e..ee8d978ceb 100644
--- a/addons/hr_gamification/security/gamification_security.xml
+++ b/addons/hr_gamification/security/gamification_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/hr_gamification/static/src/js/gamification.js b/addons/hr_gamification/static/src/js/gamification.js
index 28a3f8086f..252ee3c0ae 100644
--- a/addons/hr_gamification/static/src/js/gamification.js
+++ b/addons/hr_gamification/static/src/js/gamification.js
@@ -1,4 +1,4 @@
-odoo.define('hr_gamification.hr_gamification', function(require) {
+flectra.define('hr_gamification.hr_gamification', function(require) {
"use strict";
var KanbanRecord = require('web.KanbanRecord');
diff --git a/addons/hr_gamification/views/gamification_templates.xml b/addons/hr_gamification/views/gamification_templates.xml
index edf3195dda..c8fb6291f1 100644
--- a/addons/hr_gamification/views/gamification_templates.xml
+++ b/addons/hr_gamification/views/gamification_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/hr_gamification/views/gamification_views.xml b/addons/hr_gamification/views/gamification_views.xml
index e819b83e12..cd7bd7e616 100644
--- a/addons/hr_gamification/views/gamification_views.xml
+++ b/addons/hr_gamification/views/gamification_views.xml
@@ -1,5 +1,5 @@
-
+gamification.badge.form.inherit
@@ -69,4 +69,4 @@
-
+
diff --git a/addons/hr_gamification/views/hr_employee_views.xml b/addons/hr_gamification/views/hr_employee_views.xml
index 4ac7b7aac8..1ccb734094 100644
--- a/addons/hr_gamification/views/hr_employee_views.xml
+++ b/addons/hr_gamification/views/hr_employee_views.xml
@@ -1,5 +1,5 @@
-
+hr.employee.view.form.inherit
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/hr_gamification/wizard/__init__.py b/addons/hr_gamification/wizard/__init__.py
index 04b74f6b3f..89a61b6c94 100644
--- a/addons/hr_gamification/wizard/__init__.py
+++ b/addons/hr_gamification/wizard/__init__.py
@@ -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 gamification_badge_user_wizard
diff --git a/addons/hr_gamification/wizard/gamification_badge_user_wizard.py b/addons/hr_gamification/wizard/gamification_badge_user_wizard.py
index a2feb02468..9a9e6360fa 100644
--- a/addons/hr_gamification/wizard/gamification_badge_user_wizard.py
+++ b/addons/hr_gamification/wizard/gamification_badge_user_wizard.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class GamificationBadgeUserWizard(models.TransientModel):
diff --git a/addons/hr_gamification/wizard/gamification_badge_user_wizard_views.xml b/addons/hr_gamification/wizard/gamification_badge_user_wizard_views.xml
index b2d20bd219..3c334f48c5 100644
--- a/addons/hr_gamification/wizard/gamification_badge_user_wizard_views.xml
+++ b/addons/hr_gamification/wizard/gamification_badge_user_wizard_views.xml
@@ -1,5 +1,5 @@
-
+gamification.badge.user.wizard.form.inherit
@@ -45,4 +45,4 @@
view_type="form" view_mode="form"
view_id="view_badge_wizard_reward"/>
-
+
diff --git a/addons/hr_holidays/__init__.py b/addons/hr_holidays/__init__.py
index 4e9b019bd7..968c635d5a 100644
--- a/addons/hr_holidays/__init__.py
+++ b/addons/hr_holidays/__init__.py
@@ -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
diff --git a/addons/hr_holidays/__manifest__.py b/addons/hr_holidays/__manifest__.py
index 79a0e47b5e..98dc18a001 100644
--- a/addons/hr_holidays/__manifest__.py
+++ b/addons/hr_holidays/__manifest__.py
@@ -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.
{
'name': 'Leave Management',
@@ -7,7 +7,7 @@
'category': 'Human Resources',
'sequence': 27,
'summary': 'Leave allocations and leave requests',
- 'website': 'https://www.odoo.com/page/employees',
+ 'website': 'https://flectrahq.com/page/employees',
'description': """
Manage leave requests and allocations
=====================================
diff --git a/addons/hr_holidays/controllers/main.py b/addons/hr_holidays/controllers/main.py
index 3b0b5ee1b0..791ea63ba5 100644
--- a/addons/hr_holidays/controllers/main.py
+++ b/addons/hr_holidays/controllers/main.py
@@ -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.addons.mail.controllers.main import MailController
-from odoo import http
+from flectra.addons.mail.controllers.main import MailController
+from flectra import http
class HrHolidaysController(http.Controller):
diff --git a/addons/hr_holidays/data/hr_holidays_data.xml b/addons/hr_holidays/data/hr_holidays_data.xml
index 285afe4844..fa08a45926 100644
--- a/addons/hr_holidays/data/hr_holidays_data.xml
+++ b/addons/hr_holidays/data/hr_holidays_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -95,4 +95,4 @@
-
+
diff --git a/addons/hr_holidays/data/hr_holidays_demo.xml b/addons/hr_holidays/data/hr_holidays_demo.xml
index 5ccbe05043..d47c652522 100644
--- a/addons/hr_holidays/data/hr_holidays_demo.xml
+++ b/addons/hr_holidays/data/hr_holidays_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -57,4 +57,4 @@
-
+
diff --git a/addons/hr_holidays/data/report_paperformat.xml b/addons/hr_holidays/data/report_paperformat.xml
index 88c02ae09b..207433d9d7 100644
--- a/addons/hr_holidays/data/report_paperformat.xml
+++ b/addons/hr_holidays/data/report_paperformat.xml
@@ -1,5 +1,5 @@
-
+Leaves Summary
@@ -15,4 +15,4 @@
2090
-
+
diff --git a/addons/hr_holidays/models/__init__.py b/addons/hr_holidays/models/__init__.py
index 334982c4a1..26a331f189 100644
--- a/addons/hr_holidays/models/__init__.py
+++ b/addons/hr_holidays/models/__init__.py
@@ -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 resource
from . import hr
diff --git a/addons/hr_holidays/models/hr.py b/addons/hr_holidays/models/hr.py
index a0e9549485..80393e6abd 100644
--- a/addons/hr_holidays/models/hr.py
+++ b/addons/hr_holidays/models/hr.py
@@ -1,11 +1,11 @@
# -*- 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.
import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class Department(models.Model):
diff --git a/addons/hr_holidays/models/hr_holidays.py b/addons/hr_holidays/models/hr_holidays.py
index 66f95b6094..9e79c5619e 100644
--- a/addons/hr_holidays/models/hr_holidays.py
+++ b/addons/hr_holidays/models/hr_holidays.py
@@ -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.
# Copyright (c) 2005-2006 Axelor SARL. (http://www.axelor.com)
@@ -7,10 +7,10 @@ import logging
import math
from datetime import timedelta
-from odoo import api, fields, models
-from odoo.exceptions import UserError, AccessError, ValidationError
-from odoo.tools import float_compare
-from odoo.tools.translate import _
+from flectra import api, fields, models
+from flectra.exceptions import UserError, AccessError, ValidationError
+from flectra.tools import float_compare
+from flectra.tools.translate import _
_logger = logging.getLogger(__name__)
@@ -24,7 +24,7 @@ class HolidaysType(models.Model):
name = fields.Char('Leave Type', required=True, translate=True)
categ_id = fields.Many2one('calendar.event.type', string='Meeting Type',
- help='Once a leave is validated, Odoo will create a corresponding meeting of this type in the calendar.')
+ help='Once a leave is validated, Flectra will create a corresponding meeting of this type in the calendar.')
color_name = fields.Selection([
('red', 'Red'),
('blue', 'Blue'),
diff --git a/addons/hr_holidays/models/resource.py b/addons/hr_holidays/models/resource.py
index 54e27c74cc..aaa8e73068 100644
--- a/addons/hr_holidays/models/resource.py
+++ b/addons/hr_holidays/models/resource.py
@@ -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 CalendarLeaves(models.Model):
diff --git a/addons/hr_holidays/report/__init__.py b/addons/hr_holidays/report/__init__.py
index 46fb8bf59f..2fc5501670 100644
--- a/addons/hr_holidays/report/__init__.py
+++ b/addons/hr_holidays/report/__init__.py
@@ -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 holidays_summary_report
from . import hr_holidays_leaves_report
diff --git a/addons/hr_holidays/report/holidays_summary_report.py b/addons/hr_holidays/report/holidays_summary_report.py
index 3b5df55d91..07c221a7d1 100644
--- a/addons/hr_holidays/report/holidays_summary_report.py
+++ b/addons/hr_holidays/report/holidays_summary_report.py
@@ -1,12 +1,12 @@
# -*- 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.
import calendar
from datetime import timedelta
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class HrHolidaySummaryReport(models.AbstractModel):
diff --git a/addons/hr_holidays/report/hr_holidays_leaves_report.py b/addons/hr_holidays/report/hr_holidays_leaves_report.py
index b971023f9c..fa146039c1 100644
--- a/addons/hr_holidays/report/hr_holidays_leaves_report.py
+++ b/addons/hr_holidays/report/hr_holidays_leaves_report.py
@@ -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, tools
+from flectra import fields, models, tools
class HrHolidaysRemainingLeavesUser(models.Model):
diff --git a/addons/hr_holidays/report/hr_holidays_leaves_report_views.xml b/addons/hr_holidays/report/hr_holidays_leaves_report_views.xml
index 5626ee5435..7f204aeab7 100644
--- a/addons/hr_holidays/report/hr_holidays_leaves_report_views.xml
+++ b/addons/hr_holidays/report/hr_holidays_leaves_report_views.xml
@@ -1,5 +1,5 @@
-
+hr.holidays.remaining.leaves.user.tree
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/hr_holidays/report/hr_holidays_reports.xml b/addons/hr_holidays/report/hr_holidays_reports.xml
index 907112eb7e..104f63b0e1 100644
--- a/addons/hr_holidays/report/hr_holidays_reports.xml
+++ b/addons/hr_holidays/report/hr_holidays_reports.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/hr_holidays/report/hr_holidays_templates.xml b/addons/hr_holidays/report/hr_holidays_templates.xml
index 914e59cc51..67d5861aef 100644
--- a/addons/hr_holidays/report/hr_holidays_templates.xml
+++ b/addons/hr_holidays/report/hr_holidays_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -79,4 +79,4 @@
-
+
diff --git a/addons/hr_holidays/report/hr_holidays_views.xml b/addons/hr_holidays/report/hr_holidays_views.xml
index c7b3557701..cb407aa74d 100644
--- a/addons/hr_holidays/report/hr_holidays_views.xml
+++ b/addons/hr_holidays/report/hr_holidays_views.xml
@@ -1,5 +1,5 @@
-
+hr.holidays.report_pivothr.holidays
@@ -57,4 +57,4 @@
action="action_hr_available_holidays_report"
parent="menu_hr_holidays_report" sequence="5"/>
-
+
diff --git a/addons/hr_holidays/security/hr_holidays_security.xml b/addons/hr_holidays/security/hr_holidays_security.xml
index 16a2f22c01..684288e1fe 100644
--- a/addons/hr_holidays/security/hr_holidays_security.xml
+++ b/addons/hr_holidays/security/hr_holidays_security.xml
@@ -1,5 +1,5 @@
-
+Officer
@@ -56,4 +56,4 @@
['|',('company_id','=',False),('company_id','in',[user.company_id.id])]
-
+
diff --git a/addons/hr_holidays/tests/__init__.py b/addons/hr_holidays/tests/__init__.py
index 06db7a9dca..90ecf91b23 100644
--- a/addons/hr_holidays/tests/__init__.py
+++ b/addons/hr_holidays/tests/__init__.py
@@ -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_holidays_flow
diff --git a/addons/hr_holidays/tests/common.py b/addons/hr_holidays/tests/common.py
index 85dff9ba5f..09c0f5b424 100644
--- a/addons/hr_holidays/tests/common.py
+++ b/addons/hr_holidays/tests/common.py
@@ -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.tests import common
+from flectra.tests import common
class TestHrHolidaysBase(common.TransactionCase):
diff --git a/addons/hr_holidays/tests/test_holidays_flow.py b/addons/hr_holidays/tests/test_holidays_flow.py
index 77eec06065..c9afc971d6 100644
--- a/addons/hr_holidays/tests/test_holidays_flow.py
+++ b/addons/hr_holidays/tests/test_holidays_flow.py
@@ -1,17 +1,17 @@
# -*- 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 datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo.exceptions import AccessError, ValidationError, UserError
-from odoo.tools import mute_logger, test_reports
+from flectra.exceptions import AccessError, ValidationError, UserError
+from flectra.tools import mute_logger, test_reports
-from odoo.addons.hr_holidays.tests.common import TestHrHolidaysBase
+from flectra.addons.hr_holidays.tests.common import TestHrHolidaysBase
class TestHolidaysFlow(TestHrHolidaysBase):
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.models')
def test_00_leave_request_flow(self):
""" Testing leave request flow """
Holidays = self.env['hr.holidays']
diff --git a/addons/hr_holidays/views/hr_holidays_views.xml b/addons/hr_holidays/views/hr_holidays_views.xml
index 38e78fdb69..d61d1acc41 100644
--- a/addons/hr_holidays/views/hr_holidays_views.xml
+++ b/addons/hr_holidays/views/hr_holidays_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -767,7 +767,7 @@
- You can assign remaining Legal Leaves for each employee, Odoo
+ You can assign remaining Legal Leaves for each employee, Flectra
will automatically create and validate allocation requests.
@@ -840,4 +840,4 @@
-
+
diff --git a/addons/hr_holidays/views/hr_views.xml b/addons/hr_holidays/views/hr_views.xml
index 90b5496553..c0f4d86a43 100644
--- a/addons/hr_holidays/views/hr_views.xml
+++ b/addons/hr_holidays/views/hr_views.xml
@@ -1,5 +1,5 @@
-
+hr.department.kanban.inherit
@@ -145,4 +145,4 @@
-
+
diff --git a/addons/hr_holidays/views/resource_views.xml b/addons/hr_holidays/views/resource_views.xml
index f657748027..671bebd8d2 100644
--- a/addons/hr_holidays/views/resource_views.xml
+++ b/addons/hr_holidays/views/resource_views.xml
@@ -1,5 +1,5 @@
-
+resource.calendar.leaves.form.inherit
@@ -11,4 +11,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_holidays/wizard/__init__.py b/addons/hr_holidays/wizard/__init__.py
index e8b5ecf45a..b7d69e32bc 100644
--- a/addons/hr_holidays/wizard/__init__.py
+++ b/addons/hr_holidays/wizard/__init__.py
@@ -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 hr_holidays_summary_department
from . import hr_holidays_summary_employees
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_department.py b/addons/hr_holidays/wizard/hr_holidays_summary_department.py
index 82a398c3c4..3688e1adc6 100644
--- a/addons/hr_holidays/wizard/hr_holidays_summary_department.py
+++ b/addons/hr_holidays/wizard/hr_holidays_summary_department.py
@@ -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.
import time
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class HolidaysSummaryDept(models.TransientModel):
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_department_views.xml b/addons/hr_holidays/wizard/hr_holidays_summary_department_views.xml
index 9643b3f210..44821a372e 100644
--- a/addons/hr_holidays/wizard/hr_holidays_summary_department_views.xml
+++ b/addons/hr_holidays/wizard/hr_holidays_summary_department_views.xml
@@ -1,5 +1,5 @@
-
+hr.holidays.summary.dept.form
@@ -34,4 +34,4 @@
action="action_hr_holidays_summary_dept"
id="menu_hr_holidays_summary_dept"/>
-
+
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_employees.py b/addons/hr_holidays/wizard/hr_holidays_summary_employees.py
index ea8b1c79d3..9acbadb8af 100644
--- a/addons/hr_holidays/wizard/hr_holidays_summary_employees.py
+++ b/addons/hr_holidays/wizard/hr_holidays_summary_employees.py
@@ -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.
import time
-from odoo import api, fields, models
+from flectra import api, fields, models
class HolidaysSummaryEmployee(models.TransientModel):
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_employees_views.xml b/addons/hr_holidays/wizard/hr_holidays_summary_employees_views.xml
index 7ea33bf3e0..1df4e0d149 100644
--- a/addons/hr_holidays/wizard/hr_holidays_summary_employees_views.xml
+++ b/addons/hr_holidays/wizard/hr_holidays_summary_employees_views.xml
@@ -1,5 +1,5 @@
-
+hr.holidays.summary.employee.form
@@ -32,4 +32,4 @@
report
-
+
diff --git a/addons/hr_maintenance/__init__.py b/addons/hr_maintenance/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/hr_maintenance/__init__.py
+++ b/addons/hr_maintenance/__init__.py
@@ -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 models
diff --git a/addons/hr_maintenance/models/equipment.py b/addons/hr_maintenance/models/equipment.py
index 717275d89a..92c149c56b 100644
--- a/addons/hr_maintenance/models/equipment.py
+++ b/addons/hr_maintenance/models/equipment.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models, tools
+from flectra import api, fields, models, tools
class MaintenanceEquipment(models.Model):
diff --git a/addons/hr_maintenance/security/equipment.xml b/addons/hr_maintenance/security/equipment.xml
index 991651d813..9108bf5541 100644
--- a/addons/hr_maintenance/security/equipment.xml
+++ b/addons/hr_maintenance/security/equipment.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/addons/hr_maintenance/views/maintenance_views.xml b/addons/hr_maintenance/views/maintenance_views.xml
index 976279d57b..886df9aecb 100644
--- a/addons/hr_maintenance/views/maintenance_views.xml
+++ b/addons/hr_maintenance/views/maintenance_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -121,4 +121,4 @@
-
+
diff --git a/addons/hr_org_chart/__init__.py b/addons/hr_org_chart/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/hr_org_chart/__init__.py
+++ b/addons/hr_org_chart/__init__.py
@@ -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
diff --git a/addons/hr_org_chart/__manifest__.py b/addons/hr_org_chart/__manifest__.py
index c5f842b096..70e6ca5438 100644
--- a/addons/hr_org_chart/__manifest__.py
+++ b/addons/hr_org_chart/__manifest__.py
@@ -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.
{
'name': 'HR Org Chart',
diff --git a/addons/hr_org_chart/controllers/hr_org_chart.py b/addons/hr_org_chart/controllers/hr_org_chart.py
index 5729997636..85a332c1ec 100644
--- a/addons/hr_org_chart/controllers/hr_org_chart.py
+++ b/addons/hr_org_chart/controllers/hr_org_chart.py
@@ -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 http
-from odoo.exceptions import AccessError
-from odoo.http import request
+from flectra import http
+from flectra.exceptions import AccessError
+from flectra.http import request
class HrOrgChartController(http.Controller):
diff --git a/addons/hr_org_chart/models/__init__.py b/addons/hr_org_chart/models/__init__.py
index 71d1e5c7c2..ec71aa85b7 100644
--- a/addons/hr_org_chart/models/__init__.py
+++ b/addons/hr_org_chart/models/__init__.py
@@ -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 hr_employee
diff --git a/addons/hr_org_chart/models/hr_employee.py b/addons/hr_org_chart/models/hr_employee.py
index ff56b1b1bb..328f30bfd0 100644
--- a/addons/hr_org_chart/models/hr_employee.py
+++ b/addons/hr_org_chart/models/hr_employee.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class Employee(models.Model):
diff --git a/addons/hr_org_chart/static/src/js/hr_org_chart.js b/addons/hr_org_chart/static/src/js/hr_org_chart.js
index c2c425d261..1b3e504240 100644
--- a/addons/hr_org_chart/static/src/js/hr_org_chart.js
+++ b/addons/hr_org_chart/static/src/js/hr_org_chart.js
@@ -1,4 +1,4 @@
-odoo.define('web.OrgChart', function (require) {
+flectra.define('web.OrgChart', function (require) {
"use strict";
var AbstractField = require('web.AbstractField');
diff --git a/addons/hr_org_chart/static/src/less/hr_org_chart.less b/addons/hr_org_chart/static/src/less/hr_org_chart.less
index 896616d1bc..3fa9d9cef5 100644
--- a/addons/hr_org_chart/static/src/less/hr_org_chart.less
+++ b/addons/hr_org_chart/static/src/less/hr_org_chart.less
@@ -1,5 +1,5 @@
@o-org-chart-bg: white;
-@o-org-chart-border-color: @odoo-brand-secondary;
+@o-org-chart-border-color: @flectra-brand-secondary;
@o-org-chart-entry-v-gap: 6px;
@o-org-chart-entry-pic-size: 46px;
@@ -161,8 +161,8 @@
background: @o-org-chart-bg;
border: 1px solid @gray-light;
&:hover {
- color: @odoo-brand-optional;
- border-color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
+ border-color: @flectra-brand-optional;
}
&:focus {
outline: none;
@@ -198,7 +198,7 @@
&:hover {
border-color: @o-org-chart-entry-border-color;
- color:@odoo-brand-optional;
+ color:@flectra-brand-optional;
}
}
}
@@ -220,11 +220,11 @@
&:hover {
.media-object {
- box-shadow: 0 0 0 @o-org-chart-entry-line-w*2 fade(@odoo-brand-optional, 60%);
+ box-shadow: 0 0 0 @o-org-chart-entry-line-w*2 fade(@flectra-brand-optional, 60%);
}
.media-body > a {
.media-heading {
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
}
strong {
color: lighten(@gray-light, 5%);
@@ -245,7 +245,7 @@
.media-object {
.square(@o-org-chart-entry-pic-size);
margin: 0;
- border: @o-org-chart-entry-line-w*2 solid @odoo-brand-optional;
+ border: @o-org-chart-entry-line-w*2 solid @flectra-brand-optional;
box-shadow: inset 0 0 0 @o-org-chart-entry-line-w*2 white;
}
diff --git a/addons/hr_org_chart/static/src/xml/hr_org_chart.xml b/addons/hr_org_chart/static/src/xml/hr_org_chart.xml
index f4e7c53b12..7d74d4ca5b 100644
--- a/addons/hr_org_chart/static/src/xml/hr_org_chart.xml
+++ b/addons/hr_org_chart/static/src/xml/hr_org_chart.xml
@@ -6,7 +6,7 @@
-
+
diff --git a/addons/hr_payroll/__init__.py b/addons/hr_payroll/__init__.py
index 7d9f033114..4319daf961 100644
--- a/addons/hr_payroll/__init__.py
+++ b/addons/hr_payroll/__init__.py
@@ -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 models
from . import report
diff --git a/addons/hr_payroll/__manifest__.py b/addons/hr_payroll/__manifest__.py
index f0584b9474..bd6c78c883 100644
--- a/addons/hr_payroll/__manifest__.py
+++ b/addons/hr_payroll/__manifest__.py
@@ -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.
{
'name': 'Payroll',
@@ -7,7 +7,7 @@
'sequence': 38,
'summary': 'Manage your employee payroll records',
'description': "",
- 'website': 'https://www.odoo.com/page/employees',
+ 'website': 'https://flectrahq.com/page/employees',
'depends': [
'hr_contract',
'hr_holidays',
diff --git a/addons/hr_payroll/data/hr_payroll_data.xml b/addons/hr_payroll/data/hr_payroll_data.xml
index 2eede6d92b..a371e500b8 100644
--- a/addons/hr_payroll/data/hr_payroll_data.xml
+++ b/addons/hr_payroll/data/hr_payroll_data.xml
@@ -1,5 +1,5 @@
-
+Employees
@@ -91,4 +91,4 @@
-
+
diff --git a/addons/hr_payroll/data/hr_payroll_demo.xml b/addons/hr_payroll/data/hr_payroll_demo.xml
index 21e1b150ab..c0c7e648df 100644
--- a/addons/hr_payroll/data/hr_payroll_demo.xml
+++ b/addons/hr_payroll/data/hr_payroll_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -159,4 +159,4 @@
-
+
diff --git a/addons/hr_payroll/data/hr_payroll_sequence.xml b/addons/hr_payroll/data/hr_payroll_sequence.xml
index 3174b005d0..32fae07a0b 100644
--- a/addons/hr_payroll/data/hr_payroll_sequence.xml
+++ b/addons/hr_payroll/data/hr_payroll_sequence.xml
@@ -1,5 +1,5 @@
-
+
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/hr_payroll/models/__init__.py b/addons/hr_payroll/models/__init__.py
index 99a241743c..6262a7ca42 100644
--- a/addons/hr_payroll/models/__init__.py
+++ b/addons/hr_payroll/models/__init__.py
@@ -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 hr_contract
from . import hr_employee
diff --git a/addons/hr_payroll/models/hr_contract.py b/addons/hr_payroll/models/hr_contract.py
index 00fa9750d1..d9375d3996 100644
--- a/addons/hr_payroll/models/hr_contract.py
+++ b/addons/hr_payroll/models/hr_contract.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class HrContract(models.Model):
diff --git a/addons/hr_payroll/models/hr_employee.py b/addons/hr_payroll/models/hr_employee.py
index 6d1283e734..e415cd391c 100644
--- a/addons/hr_payroll/models/hr_employee.py
+++ b/addons/hr_payroll/models/hr_employee.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class HrEmployee(models.Model):
diff --git a/addons/hr_payroll/models/hr_payslip.py b/addons/hr_payroll/models/hr_payslip.py
index fdf93d9995..661e143738 100644
--- a/addons/hr_payroll/models/hr_payslip.py
+++ b/addons/hr_payroll/models/hr_payslip.py
@@ -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.
import time
from datetime import datetime
@@ -8,9 +8,9 @@ from dateutil import relativedelta
import babel
-from odoo import api, fields, models, tools, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, tools, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError, ValidationError
class HrPayslip(models.Model):
_name = 'hr.payslip'
diff --git a/addons/hr_payroll/models/hr_salary_rule.py b/addons/hr_payroll/models/hr_salary_rule.py
index 5d6c49a0bf..d8276dfbca 100644
--- a/addons/hr_payroll/models/hr_salary_rule.py
+++ b/addons/hr_payroll/models/hr_salary_rule.py
@@ -1,11 +1,11 @@
# -*- 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, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools.safe_eval import safe_eval
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
class HrPayrollStructure(models.Model):
"""
diff --git a/addons/hr_payroll/models/res_config_settings.py b/addons/hr_payroll/models/res_config_settings.py
index 7653675c37..703e9c8696 100644
--- a/addons/hr_payroll/models/res_config_settings.py
+++ b/addons/hr_payroll/models/res_config_settings.py
@@ -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):
diff --git a/addons/hr_payroll/report/__init__.py b/addons/hr_payroll/report/__init__.py
index 308f6ee3cf..d2f1977a6c 100644
--- a/addons/hr_payroll/report/__init__.py
+++ b/addons/hr_payroll/report/__init__.py
@@ -1,6 +1,6 @@
#-*- 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 report_payslip_details
from . import report_contribution_register
diff --git a/addons/hr_payroll/report/report_contribution_register.py b/addons/hr_payroll/report/report_contribution_register.py
index 16de7b5e94..eeea0352e5 100644
--- a/addons/hr_payroll/report/report_contribution_register.py
+++ b/addons/hr_payroll/report/report_contribution_register.py
@@ -1,12 +1,12 @@
#-*- 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 datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class ContributionRegisterReport(models.AbstractModel):
diff --git a/addons/hr_payroll/report/report_payslip_details.py b/addons/hr_payroll/report/report_payslip_details.py
index ffd5b9d913..762bb23256 100644
--- a/addons/hr_payroll/report/report_payslip_details.py
+++ b/addons/hr_payroll/report/report_payslip_details.py
@@ -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 api, models
+from flectra import api, models
class PayslipDetailsReport(models.AbstractModel):
_name = 'report.hr_payroll.report_payslipdetails'
diff --git a/addons/hr_payroll/security/hr_payroll_security.xml b/addons/hr_payroll/security/hr_payroll_security.xml
index 48b3ab5607..5c25f0ef2f 100644
--- a/addons/hr_payroll/security/hr_payroll_security.xml
+++ b/addons/hr_payroll/security/hr_payroll_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -34,4 +34,4 @@
-
+
diff --git a/addons/hr_payroll/tests/__init__.py b/addons/hr_payroll/tests/__init__.py
index 530540f815..55dd4a6a5f 100644
--- a/addons/hr_payroll/tests/__init__.py
+++ b/addons/hr_payroll/tests/__init__.py
@@ -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_payslip_flow
diff --git a/addons/hr_payroll/tests/common.py b/addons/hr_payroll/tests/common.py
index 29e5faa31e..227f8ee953 100644
--- a/addons/hr_payroll/tests/common.py
+++ b/addons/hr_payroll/tests/common.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import datetime, timedelta
-from odoo.fields import Date
-from odoo.tests.common import TransactionCase
+from flectra.fields import Date
+from flectra.tests.common import TransactionCase
class TestPayslipBase(TransactionCase):
diff --git a/addons/hr_payroll/tests/test_payslip_flow.py b/addons/hr_payroll/tests/test_payslip_flow.py
index d665019de0..ed4269db62 100644
--- a/addons/hr_payroll/tests/test_payslip_flow.py
+++ b/addons/hr_payroll/tests/test_payslip_flow.py
@@ -1,10 +1,10 @@
# -*- 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.
import os
-from odoo.tools import config, test_reports
-from odoo.addons.hr_payroll.tests.common import TestPayslipBase
+from flectra.tools import config, test_reports
+from flectra.addons.hr_payroll.tests.common import TestPayslipBase
class TestPayslipFlow(TestPayslipBase):
diff --git a/addons/hr_payroll/views/hr_contract_views.xml b/addons/hr_payroll/views/hr_contract_views.xml
index 71acff3c13..7247ec798d 100644
--- a/addons/hr_payroll/views/hr_contract_views.xml
+++ b/addons/hr_payroll/views/hr_contract_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -78,4 +78,4 @@
action="hr_contract_advantage_template_action"
parent="menu_hr_payroll_configuration"
sequence="50"/>
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_payroll/views/hr_employee_views.xml b/addons/hr_payroll/views/hr_employee_views.xml
index 20b765e691..341fe40b86 100644
--- a/addons/hr_payroll/views/hr_employee_views.xml
+++ b/addons/hr_payroll/views/hr_employee_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,4 +18,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_payroll/views/hr_payroll_report.xml b/addons/hr_payroll/views/hr_payroll_report.xml
index e9c4ac11cc..9f8f7bd581 100644
--- a/addons/hr_payroll/views/hr_payroll_report.xml
+++ b/addons/hr_payroll/views/hr_payroll_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/hr_payroll/views/hr_payslip_views.xml b/addons/hr_payroll/views/hr_payslip_views.xml
index aa38c543ea..790cef6c05 100644
--- a/addons/hr_payroll/views/hr_payslip_views.xml
+++ b/addons/hr_payroll/views/hr_payslip_views.xml
@@ -1,5 +1,5 @@
-
+hr.payslip.line.tree
@@ -409,4 +409,4 @@
src_model="hr.contribution.register"
id="act_contribution_reg_payslip_lines"/>
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_payroll/views/hr_salary_rule_views.xml b/addons/hr_payroll/views/hr_salary_rule_views.xml
index 25b53cdd39..dd3bac3adb 100644
--- a/addons/hr_payroll/views/hr_salary_rule_views.xml
+++ b/addons/hr_payroll/views/hr_salary_rule_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -414,4 +414,4 @@
view_id="hr_salary_rule_list"
id="act_children_salary_rules"/>
-
+
diff --git a/addons/hr_payroll/views/report_contributionregister_templates.xml b/addons/hr_payroll/views/report_contributionregister_templates.xml
index f4717a4d20..ed7e664290 100644
--- a/addons/hr_payroll/views/report_contributionregister_templates.xml
+++ b/addons/hr_payroll/views/report_contributionregister_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -69,4 +69,4 @@
-
+
diff --git a/addons/hr_payroll/views/report_payslip_templates.xml b/addons/hr_payroll/views/report_payslip_templates.xml
index fcbab99353..7a1668fa18 100644
--- a/addons/hr_payroll/views/report_payslip_templates.xml
+++ b/addons/hr_payroll/views/report_payslip_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -72,4 +72,4 @@
-
+
diff --git a/addons/hr_payroll/views/report_payslipdetails_templates.xml b/addons/hr_payroll/views/report_payslipdetails_templates.xml
index cb050691e1..884da51253 100644
--- a/addons/hr_payroll/views/report_payslipdetails_templates.xml
+++ b/addons/hr_payroll/views/report_payslipdetails_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -98,4 +98,4 @@
-
+
diff --git a/addons/hr_payroll/views/res_config_settings_views.xml b/addons/hr_payroll/views/res_config_settings_views.xml
index 1e21933250..049f577779 100644
--- a/addons/hr_payroll/views/res_config_settings_views.xml
+++ b/addons/hr_payroll/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+Payrollir.module.module
@@ -63,4 +63,4 @@
-
+
diff --git a/addons/hr_payroll/wizard/__init__.py b/addons/hr_payroll/wizard/__init__.py
index f433d2bbf0..6fed80930f 100644
--- a/addons/hr_payroll/wizard/__init__.py
+++ b/addons/hr_payroll/wizard/__init__.py
@@ -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 hr_payroll_payslips_by_employees
from . import hr_payroll_contribution_register_report
diff --git a/addons/hr_payroll/wizard/hr_payroll_contribution_register_report.py b/addons/hr_payroll/wizard/hr_payroll_contribution_register_report.py
index e53bed24c9..b405c61f3a 100644
--- a/addons/hr_payroll/wizard/hr_payroll_contribution_register_report.py
+++ b/addons/hr_payroll/wizard/hr_payroll_contribution_register_report.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import datetime
from dateutil import relativedelta
-from odoo import api, fields, models
+from flectra import api, fields, models
class PayslipLinesContributionRegister(models.TransientModel):
diff --git a/addons/hr_payroll/wizard/hr_payroll_contribution_register_report_views.xml b/addons/hr_payroll/wizard/hr_payroll_contribution_register_report_views.xml
index e1f7db1735..43275b4ed0 100644
--- a/addons/hr_payroll/wizard/hr_payroll_contribution_register_report_views.xml
+++ b/addons/hr_payroll/wizard/hr_payroll_contribution_register_report_views.xml
@@ -1,5 +1,5 @@
-
+payslip.lines.contribution.register
@@ -30,4 +30,4 @@
report
-
+
diff --git a/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees.py b/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees.py
index 73a304daa2..d5f66b88d7 100644
--- a/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees.py
+++ b/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class HrPayslipEmployees(models.TransientModel):
diff --git a/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees_views.xml b/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees_views.xml
index 0607cbc5d5..810596f79a 100644
--- a/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees_views.xml
+++ b/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees_views.xml
@@ -1,5 +1,5 @@
-
+hr_payroll_payslip_employees
@@ -30,4 +30,4 @@
new
-
+
diff --git a/addons/hr_payroll_account/__init__.py b/addons/hr_payroll_account/__init__.py
index b1311f8e8c..67e686b9b0 100644
--- a/addons/hr_payroll_account/__init__.py
+++ b/addons/hr_payroll_account/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/hr_payroll_account/__manifest__.py b/addons/hr_payroll_account/__manifest__.py
index 0af1cbe0c9..4663bc389b 100644
--- a/addons/hr_payroll_account/__manifest__.py
+++ b/addons/hr_payroll_account/__manifest__.py
@@ -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.
{
'name': 'Payroll Accounting',
'category': 'Human Resources',
diff --git a/addons/hr_payroll_account/data/hr_payroll_account_demo.xml b/addons/hr_payroll_account/data/hr_payroll_account_demo.xml
index 6a4f3a9e39..fd764ef861 100644
--- a/addons/hr_payroll_account/data/hr_payroll_account_demo.xml
+++ b/addons/hr_payroll_account/data/hr_payroll_account_demo.xml
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/addons/hr_payroll_account/models/__init__.py b/addons/hr_payroll_account/models/__init__.py
index 365c1110a5..18ac899f21 100644
--- a/addons/hr_payroll_account/models/__init__.py
+++ b/addons/hr_payroll_account/models/__init__.py
@@ -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 hr_payroll_account
\ No newline at end of file
diff --git a/addons/hr_payroll_account/models/hr_payroll_account.py b/addons/hr_payroll_account/models/hr_payroll_account.py
index e76173d45a..251b7a8215 100644
--- a/addons/hr_payroll_account/models/hr_payroll_account.py
+++ b/addons/hr_payroll_account/models/hr_payroll_account.py
@@ -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, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import float_compare, float_is_zero
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import float_compare, float_is_zero
class HrPayslipLine(models.Model):
diff --git a/addons/hr_payroll_account/tests/__init__.py b/addons/hr_payroll_account/tests/__init__.py
index 950b4af5ab..a69328fa3e 100644
--- a/addons/hr_payroll_account/tests/__init__.py
+++ b/addons/hr_payroll_account/tests/__init__.py
@@ -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_hr_payroll_account
\ No newline at end of file
diff --git a/addons/hr_payroll_account/tests/test_hr_payroll_account.py b/addons/hr_payroll_account/tests/test_hr_payroll_account.py
index dfc5e7cbcc..5dc60d14d7 100644
--- a/addons/hr_payroll_account/tests/test_hr_payroll_account.py
+++ b/addons/hr_payroll_account/tests/test_hr_payroll_account.py
@@ -1,14 +1,14 @@
# -*- 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.
import time
from datetime import datetime, timedelta
from dateutil import relativedelta
-from odoo import fields, tools
-from odoo.modules.module import get_module_resource
-from odoo.tests import common
+from flectra import fields, tools
+from flectra.modules.module import get_module_resource
+from flectra.tests import common
class TestHrPayrollAccount(common.TransactionCase):
diff --git a/addons/hr_payroll_account/views/hr_payroll_account_views.xml b/addons/hr_payroll_account/views/hr_payroll_account_views.xml
index 9617c90339..2619f43b71 100644
--- a/addons/hr_payroll_account/views/hr_payroll_account_views.xml
+++ b/addons/hr_payroll_account/views/hr_payroll_account_views.xml
@@ -1,5 +1,5 @@
-
+hr.payslip.inherit.formhr.payslip
@@ -83,4 +83,4 @@
-
+
diff --git a/addons/hr_payroll_account/wizard/__init__.py b/addons/hr_payroll_account/wizard/__init__.py
index f9e1f66dff..fa7c8b87ae 100644
--- a/addons/hr_payroll_account/wizard/__init__.py
+++ b/addons/hr_payroll_account/wizard/__init__.py
@@ -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 hr_payroll_payslips_by_employees
diff --git a/addons/hr_payroll_account/wizard/hr_payroll_payslips_by_employees.py b/addons/hr_payroll_account/wizard/hr_payroll_payslips_by_employees.py
index 296d7b0810..c03aafdcb7 100644
--- a/addons/hr_payroll_account/wizard/hr_payroll_payslips_by_employees.py
+++ b/addons/hr_payroll_account/wizard/hr_payroll_payslips_by_employees.py
@@ -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 api, models
+from flectra import api, models
class HrPayslipEmployees(models.TransientModel):
_inherit = 'hr.payslip.employees'
diff --git a/addons/hr_recruitment/__init__.py b/addons/hr_recruitment/__init__.py
index 8134f974fb..0e0dcef354 100644
--- a/addons/hr_recruitment/__init__.py
+++ b/addons/hr_recruitment/__init__.py
@@ -1,4 +1,4 @@
# -*- encoding: 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 models
diff --git a/addons/hr_recruitment/__manifest__.py b/addons/hr_recruitment/__manifest__.py
index a1bbcc74e3..c945fd704b 100644
--- a/addons/hr_recruitment/__manifest__.py
+++ b/addons/hr_recruitment/__manifest__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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.
{
'name': 'Recruitment Process',
@@ -8,7 +8,7 @@
'sequence': 90,
'summary': 'Jobs, Recruitment, Applications, Job Interviews',
'description': "",
- 'website': 'https://www.odoo.com/page/recruitment',
+ 'website': 'https://flectrahq.com/page/recruitment',
'depends': [
'hr',
'calendar',
diff --git a/addons/hr_recruitment/data/hr_recruitment_data.xml b/addons/hr_recruitment/data/hr_recruitment_data.xml
index 9ffa41b241..f041e1115c 100644
--- a/addons/hr_recruitment/data/hr_recruitment_data.xml
+++ b/addons/hr_recruitment/data/hr_recruitment_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -159,7 +159,7 @@
See you soon,
@@ -495,4 +495,4 @@ joining us as a ${object.job_id.name}
-
+
diff --git a/addons/hr_recruitment/data/hr_recruitment_demo.xml b/addons/hr_recruitment/data/hr_recruitment_demo.xml
index 1a15601141..c7c799a5c6 100644
--- a/addons/hr_recruitment/data/hr_recruitment_demo.xml
+++ b/addons/hr_recruitment/data/hr_recruitment_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -240,4 +240,4 @@
-
+
diff --git a/addons/hr_recruitment/models/calendar.py b/addons/hr_recruitment/models/calendar.py
index 976b5019b7..40c364cbe4 100644
--- a/addons/hr_recruitment/models/calendar.py
+++ b/addons/hr_recruitment/models/calendar.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class CalendarEvent(models.Model):
diff --git a/addons/hr_recruitment/models/hr_department.py b/addons/hr_recruitment/models/hr_department.py
index 020284c3f3..64934b1586 100644
--- a/addons/hr_recruitment/models/hr_department.py
+++ b/addons/hr_recruitment/models/hr_department.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class HrDepartment(models.Model):
diff --git a/addons/hr_recruitment/models/hr_employee.py b/addons/hr_recruitment/models/hr_employee.py
index 5c88db5efa..123f468aa8 100644
--- a/addons/hr_recruitment/models/hr_employee.py
+++ b/addons/hr_recruitment/models/hr_employee.py
@@ -1,6 +1,6 @@
-# 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, fields, models
+from flectra import api, fields, models
class HrEmployee(models.Model):
diff --git a/addons/hr_recruitment/models/hr_job.py b/addons/hr_recruitment/models/hr_job.py
index a5c69d1822..5b4c1d9de7 100644
--- a/addons/hr_recruitment/models/hr_job.py
+++ b/addons/hr_recruitment/models/hr_job.py
@@ -1,6 +1,6 @@
-# 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, fields, models, _
+from flectra import api, fields, models, _
class Job(models.Model):
diff --git a/addons/hr_recruitment/models/hr_recruitment.py b/addons/hr_recruitment/models/hr_recruitment.py
index 99b16f170b..4a8e717597 100644
--- a/addons/hr_recruitment/models/hr_recruitment.py
+++ b/addons/hr_recruitment/models/hr_recruitment.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import datetime
-from odoo import api, fields, models, tools, SUPERUSER_ID
-from odoo.tools.translate import _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, tools, SUPERUSER_ID
+from flectra.tools.translate import _
+from flectra.exceptions import UserError
AVAILABLE_PRIORITIES = [
('0', 'Normal'),
diff --git a/addons/hr_recruitment/models/res_config_settings.py b/addons/hr_recruitment/models/res_config_settings.py
index 12b361a91d..b67d4746ff 100644
--- a/addons/hr_recruitment/models/res_config_settings.py
+++ b/addons/hr_recruitment/models/res_config_settings.py
@@ -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):
diff --git a/addons/hr_recruitment/security/hr_recruitment_security.xml b/addons/hr_recruitment/security/hr_recruitment_security.xml
index b88aafe09f..8cd5200da1 100644
--- a/addons/hr_recruitment/security/hr_recruitment_security.xml
+++ b/addons/hr_recruitment/security/hr_recruitment_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -28,4 +28,4 @@
-
+
diff --git a/addons/hr_recruitment/static/src/js/tour.js b/addons/hr_recruitment/static/src/js/tour.js
index 20f68a3594..8f7bffbf19 100644
--- a/addons/hr_recruitment/static/src/js/tour.js
+++ b/addons/hr_recruitment/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define('hr_recruitment.tour', function(require) {
+flectra.define('hr_recruitment.tour', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/hr_recruitment/tests/test_recruitment_process.py b/addons/hr_recruitment/tests/test_recruitment_process.py
index 322e6c0d93..83e05d06c8 100644
--- a/addons/hr_recruitment/tests/test_recruitment_process.py
+++ b/addons/hr_recruitment/tests/test_recruitment_process.py
@@ -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.tests import common
-from odoo.modules.module import get_module_resource
+from flectra.tests import common
+from flectra.modules.module import get_module_resource
class TestRecruitmentProcess(common.TransactionCase):
diff --git a/addons/hr_recruitment/views/hr_department_views.xml b/addons/hr_recruitment/views/hr_department_views.xml
index 187499b3f4..aa2cf62cc2 100644
--- a/addons/hr_recruitment/views/hr_department_views.xml
+++ b/addons/hr_recruitment/views/hr_department_views.xml
@@ -1,4 +1,4 @@
-
+hr.department.kanban.inherit
@@ -59,4 +59,4 @@
-
+
diff --git a/addons/hr_recruitment/views/hr_job_views.xml b/addons/hr_recruitment/views/hr_job_views.xml
index af9127d2c1..005819b210 100644
--- a/addons/hr_recruitment/views/hr_job_views.xml
+++ b/addons/hr_recruitment/views/hr_job_views.xml
@@ -1,4 +1,4 @@
-
+New Application
@@ -136,4 +136,4 @@
-
+
diff --git a/addons/hr_recruitment/views/hr_recruitment_templates.xml b/addons/hr_recruitment/views/hr_recruitment_templates.xml
index cb3bbdb2b0..cb9f11a6e1 100644
--- a/addons/hr_recruitment/views/hr_recruitment_templates.xml
+++ b/addons/hr_recruitment/views/hr_recruitment_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/hr_recruitment/views/hr_recruitment_views.xml b/addons/hr_recruitment/views/hr_recruitment_views.xml
index ca26e882c4..4d6d3adf37 100644
--- a/addons/hr_recruitment/views/hr_recruitment_views.xml
+++ b/addons/hr_recruitment/views/hr_recruitment_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -330,7 +330,7 @@
{'search_default_job_id': [active_id], 'default_job_id': active_id}
- Odoo helps you track applicants in the recruitment
+ Flectra helps you track applicants in the recruitment
process and follow up all operations: meetings, interviews, etc.
Applicants and their attached CV are created automatically when an email is sent.
@@ -394,7 +394,7 @@
Click to add a new employee.
- With just a quick glance on the Odoo employee screen, you
+ With just a quick glance on the Flectra employee screen, you
can easily find all the information you need for each person;
contact data, job position, availability, etc.
@@ -521,7 +521,7 @@
{}
- Odoo helps you track applicants in the recruitment
+ Flectra helps you track applicants in the recruitment
process and follow up all operations: meetings, interviews, etc.
Applicants and their attached CV are created automatically when an email is sent.
@@ -629,7 +629,7 @@
No document yet.
This menu helps you search through resumes and motivation
- letters. Odoo automatically indexes .PDF, .DOC, DOCX, .TXT
+ letters. Flectra automatically indexes .PDF, .DOC, DOCX, .TXT
files so that you can search keywords from the content of these
files.
@@ -979,4 +979,4 @@
-
+
diff --git a/addons/hr_recruitment/views/res_config_settings_views.xml b/addons/hr_recruitment/views/res_config_settings_views.xml
index e651f2bae8..23adca3430 100644
--- a/addons/hr_recruitment/views/res_config_settings_views.xml
+++ b/addons/hr_recruitment/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.hr.recruitment
@@ -56,4 +56,4 @@
parent="menu_hr_recruitment_configuration" sequence="0" action="action_hr_recruitment_configuration"
groups="base.group_system"/>
-
+
diff --git a/addons/hr_recruitment_survey/data/hr_job_demo.xml b/addons/hr_recruitment_survey/data/hr_job_demo.xml
index 6d63e9faab..7145e577cf 100644
--- a/addons/hr_recruitment_survey/data/hr_job_demo.xml
+++ b/addons/hr_recruitment_survey/data/hr_job_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -26,4 +26,4 @@
-
+
diff --git a/addons/hr_recruitment_survey/data/survey_survey_data.xml b/addons/hr_recruitment_survey/data/survey_survey_data.xml
index d9228f4fb4..83418ed339 100644
--- a/addons/hr_recruitment_survey/data/survey_survey_data.xml
+++ b/addons/hr_recruitment_survey/data/survey_survey_data.xml
@@ -1,5 +1,5 @@
-
+Recruitment Form
@@ -224,4 +224,4 @@
13Good social life
-
+
diff --git a/addons/hr_recruitment_survey/models/hr_applicant.py b/addons/hr_recruitment_survey/models/hr_applicant.py
index c83649269b..5dae39c984 100644
--- a/addons/hr_recruitment_survey/models/hr_applicant.py
+++ b/addons/hr_recruitment_survey/models/hr_applicant.py
@@ -1,6 +1,6 @@
-# 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, fields, models
+from flectra import api, fields, models
class Applicant(models.Model):
diff --git a/addons/hr_recruitment_survey/models/hr_job.py b/addons/hr_recruitment_survey/models/hr_job.py
index 9f424d34b5..3b2b1008a1 100644
--- a/addons/hr_recruitment_survey/models/hr_job.py
+++ b/addons/hr_recruitment_survey/models/hr_job.py
@@ -1,6 +1,6 @@
-# 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, fields, models
+from flectra import api, fields, models
class Job(models.Model):
diff --git a/addons/hr_recruitment_survey/security/hr_recruitment_survey_security.xml b/addons/hr_recruitment_survey/security/hr_recruitment_survey_security.xml
index 4df1366f2e..cd86d4905d 100644
--- a/addons/hr_recruitment_survey/security/hr_recruitment_survey_security.xml
+++ b/addons/hr_recruitment_survey/security/hr_recruitment_survey_security.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/addons/hr_recruitment_survey/views/hr_applicant_views.xml b/addons/hr_recruitment_survey/views/hr_applicant_views.xml
index b1c7c09ded..7e2424201f 100644
--- a/addons/hr_recruitment_survey/views/hr_applicant_views.xml
+++ b/addons/hr_recruitment_survey/views/hr_applicant_views.xml
@@ -1,5 +1,5 @@
-
+hr.applicant.tree.inherithr.applicant
@@ -59,4 +59,4 @@
-
+
diff --git a/addons/hr_recruitment_survey/views/hr_job_views.xml b/addons/hr_recruitment_survey/views/hr_job_views.xml
index 1a0d5f4e6d..348f7802ad 100644
--- a/addons/hr_recruitment_survey/views/hr_job_views.xml
+++ b/addons/hr_recruitment_survey/views/hr_job_views.xml
@@ -1,5 +1,5 @@
-
+hr.job.form.inherithr.job
@@ -37,4 +37,4 @@
-
+
diff --git a/addons/hr_recruitment_survey/views/res_config_setting_views.xml b/addons/hr_recruitment_survey/views/res_config_setting_views.xml
index 135d85adcb..0f6b0298bb 100644
--- a/addons/hr_recruitment_survey/views/res_config_setting_views.xml
+++ b/addons/hr_recruitment_survey/views/res_config_setting_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.hr.recruitment.surveyres.config.settings
@@ -14,4 +14,4 @@
-
+
diff --git a/addons/hr_timesheet/__init__.py b/addons/hr_timesheet/__init__.py
index 2609681a93..589a2be5b3 100644
--- a/addons/hr_timesheet/__init__.py
+++ b/addons/hr_timesheet/__init__.py
@@ -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 models
from . import report
diff --git a/addons/hr_timesheet/__manifest__.py b/addons/hr_timesheet/__manifest__.py
index 7bea3fc749..18ea3aacce 100644
--- a/addons/hr_timesheet/__manifest__.py
+++ b/addons/hr_timesheet/__manifest__.py
@@ -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.
{
@@ -19,7 +19,7 @@ Lots of reporting on time and employee tracking are provided.
It is completely integrated with the cost accounting module. It allows you to set
up a management by affair.
""",
- 'website': 'https://www.odoo.com/page/employees',
+ 'website': 'https://flectrahq.com/page/employees',
'depends': ['hr', 'project'],
'data': [
'security/hr_timesheet_security.xml',
diff --git a/addons/hr_timesheet/data/hr_timesheet_demo.xml b/addons/hr_timesheet/data/hr_timesheet_demo.xml
index d3fbc2e336..808e92a7a9 100644
--- a/addons/hr_timesheet/data/hr_timesheet_demo.xml
+++ b/addons/hr_timesheet/data/hr_timesheet_demo.xml
@@ -1,5 +1,5 @@
-
+Requirements analysis and specification
@@ -46,4 +46,4 @@
-30.00
-
+
diff --git a/addons/hr_timesheet/models/__init__.py b/addons/hr_timesheet/models/__init__.py
index 1766ea8ddf..637380e863 100644
--- a/addons/hr_timesheet/models/__init__.py
+++ b/addons/hr_timesheet/models/__init__.py
@@ -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 hr_timesheet
from . import res_config_settings
diff --git a/addons/hr_timesheet/models/hr_timesheet.py b/addons/hr_timesheet/models/hr_timesheet.py
index 68a64a7fbd..8288c67df1 100644
--- a/addons/hr_timesheet/models/hr_timesheet.py
+++ b/addons/hr_timesheet/models/hr_timesheet.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class AccountAnalyticLine(models.Model):
diff --git a/addons/hr_timesheet/models/project.py b/addons/hr_timesheet/models/project.py
index 4202e49bc4..49f57873de 100644
--- a/addons/hr_timesheet/models/project.py
+++ b/addons/hr_timesheet/models/project.py
@@ -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 models, fields, api, _
-from odoo.exceptions import UserError
+from flectra import models, fields, api, _
+from flectra.exceptions import UserError
class Project(models.Model):
@@ -58,4 +58,4 @@ class Task(models.Model):
if context.get('default_parent_id', False):
vals['parent_id'] = context.pop('default_parent_id', None)
task = super(Task, self.with_context(context)).create(vals)
- return task
\ No newline at end of file
+ return task
\ No newline at end of file
diff --git a/addons/hr_timesheet/models/res_config_settings.py b/addons/hr_timesheet/models/res_config_settings.py
index 31a25fdc59..d105384fa0 100644
--- a/addons/hr_timesheet/models/res_config_settings.py
+++ b/addons/hr_timesheet/models/res_config_settings.py
@@ -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):
diff --git a/addons/hr_timesheet/report/hr_timesheet_report_view.xml b/addons/hr_timesheet/report/hr_timesheet_report_view.xml
index 6ddd5333cb..def9aaf21e 100644
--- a/addons/hr_timesheet/report/hr_timesheet_report_view.xml
+++ b/addons/hr_timesheet/report/hr_timesheet_report_view.xml
@@ -1,5 +1,5 @@
-
+By Employee
@@ -146,4 +146,4 @@
sequence="20"/>
-
+
diff --git a/addons/hr_timesheet/report/project_report.py b/addons/hr_timesheet/report/project_report.py
index e6e40cfd13..446de249f1 100644
--- a/addons/hr_timesheet/report/project_report.py
+++ b/addons/hr_timesheet/report/project_report.py
@@ -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 ReportProjectTaskUser(models.Model):
diff --git a/addons/hr_timesheet/report/project_report_view.xml b/addons/hr_timesheet/report/project_report_view.xml
index 90c0946b8c..6cd4d488c3 100644
--- a/addons/hr_timesheet/report/project_report_view.xml
+++ b/addons/hr_timesheet/report/project_report_view.xml
@@ -1,5 +1,5 @@
-
+report.project.task.user.graph.inherited
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/hr_timesheet/report/report_timesheet_templates.xml b/addons/hr_timesheet/report/report_timesheet_templates.xml
index e6d0f0905c..7435c079e3 100644
--- a/addons/hr_timesheet/report/report_timesheet_templates.xml
+++ b/addons/hr_timesheet/report/report_timesheet_templates.xml
@@ -1,4 +1,4 @@
-
+
@@ -72,4 +72,4 @@
name="hr_timesheet.report_timesheet"
file="report_timesheet"
/>
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_timesheet/security/hr_timesheet_security.xml b/addons/hr_timesheet/security/hr_timesheet_security.xml
index 9a75f99934..2649d0679d 100644
--- a/addons/hr_timesheet/security/hr_timesheet_security.xml
+++ b/addons/hr_timesheet/security/hr_timesheet_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -68,4 +68,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/hr_timesheet/tests/__init__.py b/addons/hr_timesheet/tests/__init__.py
index 2562aceb88..26f063b156 100644
--- a/addons/hr_timesheet/tests/__init__.py
+++ b/addons/hr_timesheet/tests/__init__.py
@@ -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_timesheet
diff --git a/addons/hr_timesheet/tests/test_timesheet.py b/addons/hr_timesheet/tests/test_timesheet.py
index e27ee1a653..a8a25f4d8d 100644
--- a/addons/hr_timesheet/tests/test_timesheet.py
+++ b/addons/hr_timesheet/tests/test_timesheet.py
@@ -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.tests.common import TransactionCase
-from odoo.exceptions import AccessError
+from flectra.tests.common import TransactionCase
+from flectra.exceptions import AccessError
class TestTimesheet(TransactionCase):
diff --git a/addons/hr_timesheet/views/hr_timesheet_views.xml b/addons/hr_timesheet/views/hr_timesheet_views.xml
index f407a379c3..586ea1be10 100644
--- a/addons/hr_timesheet/views/hr_timesheet_views.xml
+++ b/addons/hr_timesheet/views/hr_timesheet_views.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/hr_timesheet/views/hr_views.xml b/addons/hr_timesheet/views/hr_views.xml
index 21c645d815..d53eece7bf 100644
--- a/addons/hr_timesheet/views/hr_views.xml
+++ b/addons/hr_timesheet/views/hr_views.xml
@@ -1,5 +1,5 @@
-
+Timesheets
@@ -54,4 +54,4 @@
-
+
diff --git a/addons/hr_timesheet/views/project_portal_templates.xml b/addons/hr_timesheet/views/project_portal_templates.xml
index cb0ed74e25..fac059445d 100644
--- a/addons/hr_timesheet/views/project_portal_templates.xml
+++ b/addons/hr_timesheet/views/project_portal_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/hr_timesheet/views/project_views.xml b/addons/hr_timesheet/views/project_views.xml
index 50afd40a4d..bcd65c6c83 100644
--- a/addons/hr_timesheet/views/project_views.xml
+++ b/addons/hr_timesheet/views/project_views.xml
@@ -1,5 +1,5 @@
-
+Activities
@@ -165,4 +165,4 @@
/>
-
+
diff --git a/addons/hr_timesheet/views/res_config_settings_views.xml b/addons/hr_timesheet/views/res_config_settings_views.xml
index f32ebf5361..621b5b7c83 100644
--- a/addons/hr_timesheet/views/res_config_settings_views.xml
+++ b/addons/hr_timesheet/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -25,17 +25,17 @@
@@ -94,4 +94,4 @@
-
+
diff --git a/addons/hr_timesheet_attendance/__init__.py b/addons/hr_timesheet_attendance/__init__.py
index abbf32cef4..5417d61ee2 100644
--- a/addons/hr_timesheet_attendance/__init__.py
+++ b/addons/hr_timesheet_attendance/__init__.py
@@ -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 report
diff --git a/addons/hr_timesheet_attendance/__manifest__.py b/addons/hr_timesheet_attendance/__manifest__.py
index d04a6a1a31..d8645cefab 100644
--- a/addons/hr_timesheet_attendance/__manifest__.py
+++ b/addons/hr_timesheet_attendance/__manifest__.py
@@ -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.
{
'name': "Timesheets/attendances reporting",
diff --git a/addons/hr_timesheet_attendance/report/__init__.py b/addons/hr_timesheet_attendance/report/__init__.py
index bfe5a13807..e15cd0cf7c 100644
--- a/addons/hr_timesheet_attendance/report/__init__.py
+++ b/addons/hr_timesheet_attendance/report/__init__.py
@@ -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 hr_timesheet_attendance_report
diff --git a/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report.py b/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report.py
index a0765b0d5c..269054c554 100644
--- a/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report.py
+++ b/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class TimesheetAttendance(models.Model):
diff --git a/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report_view.xml b/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report_view.xml
index d2b335d99e..590e53bce3 100644
--- a/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report_view.xml
+++ b/addons/hr_timesheet_attendance/report/hr_timesheet_attendance_report_view.xml
@@ -1,5 +1,5 @@
-
+Search for HR timesheet attendance report
@@ -48,4 +48,4 @@
action="action_hr_timesheet_attendance_report"
name="Timesheet / Attendance"/>
-
+
diff --git a/addons/http_routing/__init__.py b/addons/http_routing/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/http_routing/__init__.py
+++ b/addons/http_routing/__init__.py
@@ -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 models
diff --git a/addons/http_routing/__manifest__.py b/addons/http_routing/__manifest__.py
index 6305f25310..245566f807 100644
--- a/addons/http_routing/__manifest__.py
+++ b/addons/http_routing/__manifest__.py
@@ -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.
{
'name': 'Web Routing',
diff --git a/addons/http_routing/models/__init__.py b/addons/http_routing/models/__init__.py
index c13771d0d7..c14b88a2a9 100644
--- a/addons/http_routing/models/__init__.py
+++ b/addons/http_routing/models/__init__.py
@@ -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 ir_http
from . import ir_ui_view
diff --git a/addons/http_routing/models/ir_http.py b/addons/http_routing/models/ir_http.py
index ce604261df..a3820a32bd 100644
--- a/addons/http_routing/models/ir_http.py
+++ b/addons/http_routing/models/ir_http.py
@@ -12,17 +12,17 @@ try:
except ImportError:
slugify_lib = None
-import odoo
-from odoo import api, models
-from odoo.addons.base.ir.ir_http import RequestUID, ModelConverter
-from odoo.http import request
-from odoo.tools import config, ustr, pycompat
+import flectra
+from flectra import api, models
+from flectra.addons.base.ir.ir_http import RequestUID, ModelConverter
+from flectra.http import request
+from flectra.tools import config, ustr, pycompat
_logger = logging.getLogger(__name__)
# global resolver (GeoIP API is thread-safe, for multithreaded workers)
# This avoids blowing up open files limit
-odoo._geoip_resolver = None
+flectra._geoip_resolver = None
# ------------------------------------------------------------
@@ -166,7 +166,7 @@ def is_multilang_url(local_url, langs=None):
path = url[0]
query_string = url[1] if len(url) > 1 else None
router = request.httprequest.app.get_db_router(request.db).bind('')
- # Force to check method to POST. Odoo uses methods : ['POST'] and ['GET', 'POST']
+ # Force to check method to POST. Flectra uses methods : ['POST'] and ['GET', 'POST']
func = router.match(path, method='POST', query_args=query_string)[0]
return (func.routing.get('website', False) and
func.routing.get('multilang', func.routing['type'] == 'http'))
@@ -256,7 +256,7 @@ class IrHttp(models.AbstractModel):
@classmethod
def _geoip_setup_resolver(cls):
# Lazy init of GeoIP resolver
- if odoo._geoip_resolver is not None:
+ if flectra._geoip_resolver is not None:
return
try:
import GeoIP
@@ -264,19 +264,19 @@ class IrHttp(models.AbstractModel):
# http://dev.maxmind.com/geoip/legacy/install/city/
geofile = config.get('geoip_database')
if os.path.exists(geofile):
- odoo._geoip_resolver = GeoIP.open(geofile, GeoIP.GEOIP_STANDARD)
+ flectra._geoip_resolver = GeoIP.open(geofile, GeoIP.GEOIP_STANDARD)
else:
- odoo._geoip_resolver = False
+ flectra._geoip_resolver = False
_logger.warning('GeoIP database file %r does not exists, apt-get install geoip-database-contrib or download it from http://dev.maxmind.com/geoip/legacy/install/city/', geofile)
except ImportError:
- odoo._geoip_resolver = False
+ flectra._geoip_resolver = False
@classmethod
def _geoip_resolve(cls):
if 'geoip' not in request.session:
record = {}
- if odoo._geoip_resolver and request.httprequest.remote_addr:
- record = odoo._geoip_resolver.record_by_addr(request.httprequest.remote_addr) or {}
+ if flectra._geoip_resolver and request.httprequest.remote_addr:
+ record = flectra._geoip_resolver.record_by_addr(request.httprequest.remote_addr) or {}
request.session['geoip'] = record
@classmethod
diff --git a/addons/http_routing/models/ir_ui_view.py b/addons/http_routing/models/ir_ui_view.py
index 549f75e2f7..d7b1fa565c 100644
--- a/addons/http_routing/models/ir_ui_view.py
+++ b/addons/http_routing/models/ir_ui_view.py
@@ -1,8 +1,8 @@
# -*- coding: ascii -*-
-# 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
-from odoo.addons.http_routing.models.ir_http import slug, unslug_url
+from flectra import api, models
+from flectra.addons.http_routing.models.ir_http import slug, unslug_url
class IrUiView(models.Model):
diff --git a/addons/hw_blackbox_be/__init__.py b/addons/hw_blackbox_be/__init__.py
index dd15b5c32e..b0c2004db8 100644
--- a/addons/hw_blackbox_be/__init__.py
+++ b/addons/hw_blackbox_be/__init__.py
@@ -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 controllers
diff --git a/addons/hw_blackbox_be/__manifest__.py b/addons/hw_blackbox_be/__manifest__.py
index 27ead1eea9..4afbd86932 100644
--- a/addons/hw_blackbox_be/__manifest__.py
+++ b/addons/hw_blackbox_be/__manifest__.py
@@ -1,12 +1,12 @@
# -*- 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.
{
'name': 'Blackbox Hardware Driver',
'category': 'Point of Sale',
'sequence': 6,
'summary': 'Hardware Driver for Belgian Fiscal Data Modules',
- 'website': 'https://www.odoo.com/page/point-of-sale',
+ 'website': 'https://flectrahq.com/page/point-of-sale',
'description': """
Fiscal Data Module Hardware Driver
==================================
diff --git a/addons/hw_blackbox_be/controllers/__init__.py b/addons/hw_blackbox_be/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/hw_blackbox_be/controllers/__init__.py
+++ b/addons/hw_blackbox_be/controllers/__init__.py
@@ -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 main
diff --git a/addons/hw_blackbox_be/controllers/main.py b/addons/hw_blackbox_be/controllers/main.py
index 5e8e8b0a6c..1057301962 100644
--- a/addons/hw_blackbox_be/controllers/main.py
+++ b/addons/hw_blackbox_be/controllers/main.py
@@ -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.
import logging
import serial
@@ -8,9 +8,9 @@ from os.path import isfile
from os import listdir
from threading import Thread, Lock
-from odoo import http
+from flectra import http
-from odoo.addons.hw_proxy.controllers import main as hw_proxy
+from flectra.addons.hw_proxy.controllers import main as hw_proxy
_logger = logging.getLogger(__name__)
diff --git a/addons/hw_escpos/__init__.py b/addons/hw_escpos/__init__.py
index 175e48aa04..ee83340caf 100644
--- a/addons/hw_escpos/__init__.py
+++ b/addons/hw_escpos/__init__.py
@@ -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 escpos
diff --git a/addons/hw_escpos/__manifest__.py b/addons/hw_escpos/__manifest__.py
index 18f8f49d4f..00195a0c91 100644
--- a/addons/hw_escpos/__manifest__.py
+++ b/addons/hw_escpos/__manifest__.py
@@ -1,11 +1,11 @@
# -*- 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.
{
'name': 'ESC/POS Hardware Driver',
'category': 'Point of Sale',
'sequence': 6,
- 'website': 'https://www.odoo.com/page/point-of-sale',
+ 'website': 'https://flectrahq.com/page/point-of-sale',
'summary': 'Hardware Driver for ESC/POS Printers and Cashdrawers',
'description': """
ESC/POS Hardware Driver
diff --git a/addons/hw_escpos/controllers/__init__.py b/addons/hw_escpos/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/hw_escpos/controllers/__init__.py
+++ b/addons/hw_escpos/controllers/__init__.py
@@ -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 main
diff --git a/addons/hw_escpos/controllers/main.py b/addons/hw_escpos/controllers/main.py
index fa57b18501..28b93fbff2 100644
--- a/addons/hw_escpos/controllers/main.py
+++ b/addons/hw_escpos/controllers/main.py
@@ -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 __future__ import print_function
import logging
@@ -28,9 +28,9 @@ try:
except ImportError:
usb = None
-from odoo import http, _
+from flectra import http, _
-from odoo.addons.hw_proxy.controllers import main as hw_proxy
+from flectra.addons.hw_proxy.controllers import main as hw_proxy
_logger = logging.getLogger(__name__)
@@ -222,7 +222,7 @@ class EscposDriver(Thread):
if len(ips) >= 1:
eprint.text('\nMAC Address:\n' + mac + '\n')
- eprint.text('\nHomepage:\nhttp://'+ips[0]+':8069\n')
+ eprint.text('\nHomepage:\nhttp://'+ips[0]+':7073\n')
eprint.text('\n\n')
eprint.cut()
diff --git a/addons/hw_escpos/escpos/escpos.py b/addons/hw_escpos/escpos/escpos.py
index 7159ac3b31..94d6c33607 100644
--- a/addons/hw_escpos/escpos/escpos.py
+++ b/addons/hw_escpos/escpos/escpos.py
@@ -12,7 +12,7 @@ from hashlib import md5
from PIL import Image
from xml.etree import ElementTree as ET
-from odoo.tools import pycompat
+from flectra.tools import pycompat
try:
import jcconv
diff --git a/addons/hw_posbox_homepage/__init__.py b/addons/hw_posbox_homepage/__init__.py
index dd15b5c32e..b0c2004db8 100644
--- a/addons/hw_posbox_homepage/__init__.py
+++ b/addons/hw_posbox_homepage/__init__.py
@@ -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 controllers
diff --git a/addons/hw_posbox_homepage/__manifest__.py b/addons/hw_posbox_homepage/__manifest__.py
index 874e839c4b..5faef857b1 100644
--- a/addons/hw_posbox_homepage/__manifest__.py
+++ b/addons/hw_posbox_homepage/__manifest__.py
@@ -1,11 +1,11 @@
# -*- 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.
{
'name': 'PosBox Homepage',
'category': 'Point of Sale',
'sequence': 6,
- 'website': 'https://www.odoo.com/page/point-of-sale',
+ 'website': 'https://flectrahq.com/page/point-of-sale',
'summary': 'A homepage for the PosBox',
'description': """
PosBox Homepage
diff --git a/addons/hw_posbox_homepage/controllers/__init__.py b/addons/hw_posbox_homepage/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/hw_posbox_homepage/controllers/__init__.py
+++ b/addons/hw_posbox_homepage/controllers/__init__.py
@@ -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 main
diff --git a/addons/hw_posbox_homepage/controllers/main.py b/addons/hw_posbox_homepage/controllers/main.py
index 73ce2a70a1..31e5012638 100644
--- a/addons/hw_posbox_homepage/controllers/main.py
+++ b/addons/hw_posbox_homepage/controllers/main.py
@@ -1,14 +1,14 @@
# -*- 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.
import logging
import os
import subprocess
import werkzeug
-import odoo
-from odoo import http
-from odoo.tools import misc
+import flectra
+from flectra import http
+from flectra.tools import misc
_logger = logging.getLogger(__name__)
@@ -30,21 +30,21 @@ index_template = """
- Odoo's PosBox
+ Flectra's PosBox
""" + index_style + """
Your PosBox is up and running
The PosBox is a hardware adapter that allows you to use
- receipt printers and barcode scanners with Odoo's Point of
- Sale, version 8.0 or later. You can start an online free trial,
- or download and install it yourself.
+ receipt printers and barcode scanners with Flectra's Point of
+ Sale, version 8.0 or later. You can start an online free trial,
+ or download and install it yourself.
For more information on how to setup the Point of Sale with
the PosBox, please refer to
- the manual.
+ the manual.
To see the status of the connected hardware, please refer
@@ -59,10 +59,10 @@ index_template = """
%s
The PosBox software installed on this posbox is version 16,
- the posbox version number is independent from Odoo. You can upgrade
+ the posbox version number is independent from Flectra. You can upgrade
the software on the upgrade page.
-
For any other question, please contact the Odoo support at www.odoo.com/help
+
For any other question, please contact the Flectra support at www.flectra.com/help
The activate the customer display feature, you will need to reinstall the PosBox software.
- You can find the latest images on the Odoo Nightly builds website.
+ You can find the latest images on the Flectra Nightly builds website.
Make sure to download at least the version 16.
- Odoo version 11, or above, is required to use the customer display feature.
+ Flectra version 11, or above, is required to use the customer display feature.
"""
@@ -168,12 +168,12 @@ class PosboxHomepage(odoo.addons.web.controllers.main.Home):
else:
persistent = ""
- subprocess.call(['/home/pi/odoo/addons/point_of_sale/tools/posbox/configuration/connect_to_wifi.sh', essid, password, persistent])
+ subprocess.call(['/home/pi/flectra/addons/point_of_sale/tools/posbox/configuration/connect_to_wifi.sh', essid, password, persistent])
return "connecting to " + essid
@http.route('/wifi_clear', type='http', auth='none', cors='*')
def clear_wifi_configuration(self):
- os.system('/home/pi/odoo/addons/point_of_sale/tools/posbox/configuration/clear_wifi_configuration.sh')
+ os.system('/home/pi/flectra/addons/point_of_sale/tools/posbox/configuration/clear_wifi_configuration.sh')
return "configuration cleared"
@http.route('/remote_connect', type='http', auth='none', cors='*')
diff --git a/addons/hw_posbox_upgrade/__init__.py b/addons/hw_posbox_upgrade/__init__.py
index dd15b5c32e..b0c2004db8 100644
--- a/addons/hw_posbox_upgrade/__init__.py
+++ b/addons/hw_posbox_upgrade/__init__.py
@@ -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 controllers
diff --git a/addons/hw_posbox_upgrade/__manifest__.py b/addons/hw_posbox_upgrade/__manifest__.py
index 14f8d1647c..8a22bfef28 100644
--- a/addons/hw_posbox_upgrade/__manifest__.py
+++ b/addons/hw_posbox_upgrade/__manifest__.py
@@ -1,10 +1,10 @@
# -*- 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.
{
'name': 'PosBox Software Upgrader',
'category': 'Point of Sale',
- 'website': 'https://www.odoo.com/page/point-of-sale',
+ 'website': 'https://flectrahq.com/page/point-of-sale',
'sequence': 6,
'summary': 'Allows to remotely upgrade the PosBox software',
'description': """
diff --git a/addons/hw_posbox_upgrade/controllers/__init__.py b/addons/hw_posbox_upgrade/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/hw_posbox_upgrade/controllers/__init__.py
+++ b/addons/hw_posbox_upgrade/controllers/__init__.py
@@ -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 main
diff --git a/addons/hw_posbox_upgrade/controllers/main.py b/addons/hw_posbox_upgrade/controllers/main.py
index b863afdf31..5077662118 100644
--- a/addons/hw_posbox_upgrade/controllers/main.py
+++ b/addons/hw_posbox_upgrade/controllers/main.py
@@ -1,14 +1,14 @@
# -*- 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.
import logging
import os
import subprocess
import threading
-from odoo import http
+from flectra import http
-from odoo.addons.hw_proxy.controllers import main as hw_proxy
+from flectra.addons.hw_proxy.controllers import main as hw_proxy
_logger = logging.getLogger(__name__)
@@ -16,7 +16,7 @@ upgrade_template = """
- Odoo's PosBox - Software Upgrade
+ Flectra's PosBox - Software Upgrade
@@ -7,4 +7,4 @@
-
+
diff --git a/addons/iap/views/iap_views.xml b/addons/iap/views/iap_views.xml
index ebd64fedee..c79aca3259 100644
--- a/addons/iap/views/iap_views.xml
+++ b/addons/iap/views/iap_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -50,4 +50,4 @@
action="iap_account_action"
sequence="10"/>
-
+
diff --git a/addons/im_livechat/__manifest__.py b/addons/im_livechat/__manifest__.py
index 70d5065531..75fa02cc2c 100644
--- a/addons/im_livechat/__manifest__.py
+++ b/addons/im_livechat/__manifest__.py
@@ -6,7 +6,7 @@
'summary': 'Live Chat with Visitors/Customers',
'category': 'Website',
'complexity': 'easy',
- 'website': 'https://www.odoo.com/page/live-chat',
+ 'website': 'https://flectrahq.com/page/live-chat',
'description':
"""
Live Chat Support
diff --git a/addons/im_livechat/controllers/main.py b/addons/im_livechat/controllers/main.py
index a79c6f4dc8..a9d4a5ab5a 100644
--- a/addons/im_livechat/controllers/main.py
+++ b/addons/im_livechat/controllers/main.py
@@ -1,12 +1,12 @@
# -*- 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.
import base64
-from odoo import http, _
-from odoo.http import request
-from odoo.addons.base.ir.ir_qweb import AssetsBundle
-from odoo.addons.web.controllers.main import binary_content
+from flectra import http, _
+from flectra.http import request
+from flectra.addons.base.ir.ir_qweb import AssetsBundle
+from flectra.addons.web.controllers.main import binary_content
class LivechatController(http.Controller):
diff --git a/addons/im_livechat/data/im_livechat_channel_data.xml b/addons/im_livechat/data/im_livechat_channel_data.xml
index 7d48a8f5f1..818f19e92a 100644
--- a/addons/im_livechat/data/im_livechat_channel_data.xml
+++ b/addons/im_livechat/data/im_livechat_channel_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -32,4 +32,4 @@
-
+
diff --git a/addons/im_livechat/data/im_livechat_channel_demo.xml b/addons/im_livechat/data/im_livechat_channel_demo.xml
index 848965ec44..e89e4cc406 100644
--- a/addons/im_livechat/data/im_livechat_channel_demo.xml
+++ b/addons/im_livechat/data/im_livechat_channel_demo.xml
@@ -1,5 +1,5 @@
-
+YourWebsite.com
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/im_livechat/data/mail_shortcode_demo.xml b/addons/im_livechat/data/mail_shortcode_demo.xml
index f98d1c1093..b90445a275 100644
--- a/addons/im_livechat/data/mail_shortcode_demo.xml
+++ b/addons/im_livechat/data/mail_shortcode_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/im_livechat/models/im_livechat_channel.py b/addons/im_livechat/models/im_livechat_channel.py
index c2741fcef9..d3d1f0f9f7 100644
--- a/addons/im_livechat/models/im_livechat_channel.py
+++ b/addons/im_livechat/models/im_livechat_channel.py
@@ -1,16 +1,16 @@
# -*- 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.
import base64
import random
import re
from datetime import datetime, timedelta
-from odoo import api, fields, models, modules, tools
+from flectra import api, fields, models, modules, tools
class ImLivechatChannel(models.Model):
""" Livechat Channel
Define a communication channel, which can be accessed with 'script_external' (script tag to put on
- external website), 'script_internal' (code to be integrated with odoo website) or via 'web_page' link.
+ external website), 'script_internal' (code to be integrated with flectra website) or via 'web_page' link.
It provides rating tools, and access rules for anonymous people.
"""
diff --git a/addons/im_livechat/models/ir_autovacuum.py b/addons/im_livechat/models/ir_autovacuum.py
index 43877cf994..91199176c4 100644
--- a/addons/im_livechat/models/ir_autovacuum.py
+++ b/addons/im_livechat/models/ir_autovacuum.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, models
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, models
class AutoVacuum(models.AbstractModel):
_inherit = 'ir.autovacuum'
diff --git a/addons/im_livechat/models/mail_channel.py b/addons/im_livechat/models/mail_channel.py
index c64bcd7108..857bc01b24 100644
--- a/addons/im_livechat/models/mail_channel.py
+++ b/addons/im_livechat/models/mail_channel.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class ChannelPartner(models.Model):
_inherit = 'mail.channel.partner'
diff --git a/addons/im_livechat/models/rating.py b/addons/im_livechat/models/rating.py
index 07e84678ed..49a3938305 100644
--- a/addons/im_livechat/models/rating.py
+++ b/addons/im_livechat/models/rating.py
@@ -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 api, models
+from flectra import api, models
class Rating(models.Model):
diff --git a/addons/im_livechat/report/im_livechat_report_channel.py b/addons/im_livechat/report/im_livechat_report_channel.py
index 4eabf1d293..1f2166c745 100644
--- a/addons/im_livechat/report/im_livechat_report_channel.py
+++ b/addons/im_livechat/report/im_livechat_report_channel.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class ImLivechatReportChannel(models.Model):
diff --git a/addons/im_livechat/report/im_livechat_report_channel_views.xml b/addons/im_livechat/report/im_livechat_report_channel_views.xml
index be77497f82..d3a5b9d668 100644
--- a/addons/im_livechat/report/im_livechat_report_channel_views.xml
+++ b/addons/im_livechat/report/im_livechat_report_channel_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -67,4 +67,4 @@
-
+
diff --git a/addons/im_livechat/report/im_livechat_report_operator.py b/addons/im_livechat/report/im_livechat_report_operator.py
index 9c768ebd29..925e7bccad 100644
--- a/addons/im_livechat/report/im_livechat_report_operator.py
+++ b/addons/im_livechat/report/im_livechat_report_operator.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class ImLivechatReportOperator(models.Model):
diff --git a/addons/im_livechat/report/im_livechat_report_operator_views.xml b/addons/im_livechat/report/im_livechat_report_operator_views.xml
index 43c00e1757..c9214422e1 100644
--- a/addons/im_livechat/report/im_livechat_report_operator_views.xml
+++ b/addons/im_livechat/report/im_livechat_report_operator_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -62,4 +62,4 @@
action="im_livechat_report_operator_action"/>
-
+
diff --git a/addons/im_livechat/security/im_livechat_channel_security.xml b/addons/im_livechat/security/im_livechat_channel_security.xml
index cab82a18e4..2fa51bc0aa 100644
--- a/addons/im_livechat/security/im_livechat_channel_security.xml
+++ b/addons/im_livechat/security/im_livechat_channel_security.xml
@@ -1,5 +1,5 @@
-
+Live Support
@@ -26,4 +26,4 @@
-
+
diff --git a/addons/im_livechat/static/src/js/copy_clipboard.js b/addons/im_livechat/static/src/js/copy_clipboard.js
index 0d35e6b35f..4ddf68bdee 100644
--- a/addons/im_livechat/static/src/js/copy_clipboard.js
+++ b/addons/im_livechat/static/src/js/copy_clipboard.js
@@ -1,4 +1,4 @@
-odoo.define('im_livechat.copy_clipboard', function (require) {
+flectra.define('im_livechat.copy_clipboard', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/im_livechat/static/src/js/im_livechat.js b/addons/im_livechat/static/src/js/im_livechat.js
index 10cc561021..a1b9493d39 100644
--- a/addons/im_livechat/static/src/js/im_livechat.js
+++ b/addons/im_livechat/static/src/js/im_livechat.js
@@ -1,4 +1,4 @@
-odoo.define('im_livechat.im_livechat', function (require) {
+flectra.define('im_livechat.im_livechat', function (require) {
"use strict";
var local_storage = require('web.local_storage');
diff --git a/addons/im_livechat/static/src/js/im_livechat_backend.js b/addons/im_livechat/static/src/js/im_livechat_backend.js
index 4d1e514c01..2ce59c2c6c 100644
--- a/addons/im_livechat/static/src/js/im_livechat_backend.js
+++ b/addons/im_livechat/static/src/js/im_livechat_backend.js
@@ -1,4 +1,4 @@
-odoo.define('im_livechat.chat_client_action', function (require) {
+flectra.define('im_livechat.chat_client_action', function (require) {
"use strict";
require('mail.chat_client_action');
@@ -28,4 +28,4 @@ chat_manager.bus.on('new_message', null, function (msg) {
});
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/im_livechat/static/src/less/copy_clipboard.less b/addons/im_livechat/static/src/less/copy_clipboard.less
index 1d56022f28..39ba2a9421 100644
--- a/addons/im_livechat/static/src/less/copy_clipboard.less
+++ b/addons/im_livechat/static/src/less/copy_clipboard.less
@@ -4,7 +4,7 @@
border-radius: 5px;
border: 1px solid @btn-primary-border;
font-size: @font-size-small;
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
font-weight: @badge-font-weight;
text-align: center;
.o_clipboard_button {
diff --git a/addons/im_livechat/static/tests/copy_clipboard_tests.js b/addons/im_livechat/static/tests/copy_clipboard_tests.js
index d0320ce769..90fc81714b 100644
--- a/addons/im_livechat/static/tests/copy_clipboard_tests.js
+++ b/addons/im_livechat/static/tests/copy_clipboard_tests.js
@@ -1,4 +1,4 @@
-odoo.define('im_livechat.copy_clipboard_tests', function (require) {
+flectra.define('im_livechat.copy_clipboard_tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/im_livechat/views/im_livechat_channel_templates.xml b/addons/im_livechat/views/im_livechat_channel_templates.xml
index 911adc3976..86c3efea35 100644
--- a/addons/im_livechat/views/im_livechat_channel_templates.xml
+++ b/addons/im_livechat/views/im_livechat_channel_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -103,12 +103,12 @@
-
+
@@ -118,7 +118,7 @@
-
+
@@ -161,14 +161,14 @@
document.addEventListener("DOMContentLoaded", function(event) {
- odoo.define('web.session', function (require) {
+ flectra.define('web.session', function (require) {
var Session = require('web.Session');
- var modules = odoo._modules;
+ var modules = flectra._modules;
return new Session(undefined, "", {modules:modules, use_cors: false});
});
- odoo.define('im_livechat.livesupport', function (require) {
+ flectra.define('im_livechat.livesupport', function (require) {
var im_livechat = require('im_livechat.im_livechat');
var button = new im_livechat.LivechatButton(
@@ -186,4 +186,4 @@
-
+
diff --git a/addons/im_livechat/views/im_livechat_channel_views.xml b/addons/im_livechat/views/im_livechat_channel_views.xml
index 2974fd70d2..9065a17f62 100644
--- a/addons/im_livechat/views/im_livechat_channel_views.xml
+++ b/addons/im_livechat/views/im_livechat_channel_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -118,7 +118,7 @@
- Operators that do not show any activity In Odoo for more than 30 minutes will be considered as disconnected.
+ Operators that do not show any activity In Flectra for more than 30 minutes will be considered as disconnected.
@@ -138,7 +138,7 @@
or copy this url and send it by email to your customers or suppliers:
-
For website built with Odoo CMS, please install the website_livechat module. Then go to Website Admin > Configuration > Settings and select the Website Live Chat Channel you want to add on your website.
+
For website built with Flectra CMS, please install the website_livechat module. Then go to Website Admin > Configuration > Settings and select the Website Live Chat Channel you want to add on your website.
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/l10n_eu_service/wizard/__init__.py b/addons/l10n_eu_service/wizard/__init__.py
index 260776f8a8..182468e973 100644
--- a/addons/l10n_eu_service/wizard/__init__.py
+++ b/addons/l10n_eu_service/wizard/__init__.py
@@ -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 wizard
diff --git a/addons/l10n_eu_service/wizard/wizard.py b/addons/l10n_eu_service/wizard/wizard.py
index 0a96599a28..0f9ccd3c44 100644
--- a/addons/l10n_eu_service/wizard/wizard.py
+++ b/addons/l10n_eu_service/wizard/wizard.py
@@ -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 api, fields, models, _
-from odoo.exceptions import Warning
+from flectra import api, fields, models, _
+from flectra.exceptions import Warning
class l10n_eu_service(models.TransientModel):
diff --git a/addons/l10n_eu_service/wizard/wizard.xml b/addons/l10n_eu_service/wizard/wizard.xml
index 917ad1df67..b4de1ab410 100644
--- a/addons/l10n_eu_service/wizard/wizard.xml
+++ b/addons/l10n_eu_service/wizard/wizard.xml
@@ -1,5 +1,5 @@
-
+l10n_eu_service.wizard.forml10n_eu_service.wizard
@@ -53,4 +53,4 @@
-
+
diff --git a/addons/l10n_fr/__init__.py b/addons/l10n_fr/__init__.py
index 779ab9a056..16c988def6 100644
--- a/addons/l10n_fr/__init__.py
+++ b/addons/l10n_fr/__init__.py
@@ -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.
# Copyright (c) 2008 JAILLET Simon - CrysaLEAD - www.crysalead.fr
@@ -7,5 +7,5 @@ from . import models
def _preserve_tag_on_taxes(cr, registry):
- from odoo.addons.account.models.chart_template import preserve_existing_tags_on_taxes
+ from flectra.addons.account.models.chart_template import preserve_existing_tags_on_taxes
preserve_existing_tags_on_taxes(cr, registry, 'l10n_fr')
diff --git a/addons/l10n_fr/__manifest__.py b/addons/l10n_fr/__manifest__.py
index 25c75910a0..239c68cc28 100644
--- a/addons/l10n_fr/__manifest__.py
+++ b/addons/l10n_fr/__manifest__.py
@@ -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.
# Copyright (c) 2008 JAILLET Simon - CrysaLEAD - www.crysalead.fr
@@ -8,7 +8,7 @@
'version': '2.0',
'category': 'Localization',
'description': """
-This is the module to manage the accounting chart for France in Odoo.
+This is the module to manage the accounting chart for France in Odoo, Flectra.
========================================================================
This module applies to companies based in France mainland. It doesn't apply to
diff --git a/addons/l10n_fr/data/account_chart_template_data.xml b/addons/l10n_fr/data/account_chart_template_data.xml
index db836b0fd3..36c775aa3b 100644
--- a/addons/l10n_fr/data/account_chart_template_data.xml
+++ b/addons/l10n_fr/data/account_chart_template_data.xml
@@ -1,5 +1,5 @@
-
+Salairesaccounts
@@ -5155,4 +5155,4 @@
-
+
diff --git a/addons/l10n_fr/data/account_data.xml b/addons/l10n_fr/data/account_data.xml
index ce3797744c..4cfddbd5da 100644
--- a/addons/l10n_fr/data/account_data.xml
+++ b/addons/l10n_fr/data/account_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -48,4 +48,4 @@
-
+
diff --git a/addons/l10n_fr/data/account_fiscal_position_template_data.xml b/addons/l10n_fr/data/account_fiscal_position_template_data.xml
index c1b3663520..75726da31b 100644
--- a/addons/l10n_fr/data/account_fiscal_position_template_data.xml
+++ b/addons/l10n_fr/data/account_fiscal_position_template_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -303,4 +303,4 @@
-
+
diff --git a/addons/l10n_fr/data/account_reconcile_model_template.xml b/addons/l10n_fr/data/account_reconcile_model_template.xml
index d098a0c1c2..a03924dce4 100644
--- a/addons/l10n_fr/data/account_reconcile_model_template.xml
+++ b/addons/l10n_fr/data/account_reconcile_model_template.xml
@@ -2,7 +2,7 @@
-
+Frais bancaires
@@ -10,4 +10,4 @@
percentage100
-
+
diff --git a/addons/l10n_fr/data/account_tax_data.xml b/addons/l10n_fr/data/account_tax_data.xml
index 4ec5e434cd..0db2f8a1d6 100644
--- a/addons/l10n_fr/data/account_tax_data.xml
+++ b/addons/l10n_fr/data/account_tax_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -1252,4 +1252,4 @@
-
+
diff --git a/addons/l10n_fr_hr_payroll/models/__init__.py b/addons/l10n_fr_hr_payroll/models/__init__.py
index df8a032424..f6700bf1d2 100644
--- a/addons/l10n_fr_hr_payroll/models/__init__.py
+++ b/addons/l10n_fr_hr_payroll/models/__init__.py
@@ -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 l10n_fr_hr_payroll
from . import res_config_settings
diff --git a/addons/l10n_fr_hr_payroll/models/l10n_fr_hr_payroll.py b/addons/l10n_fr_hr_payroll/models/l10n_fr_hr_payroll.py
index cdc0cca330..8a602f99b1 100644
--- a/addons/l10n_fr_hr_payroll/models/l10n_fr_hr_payroll.py
+++ b/addons/l10n_fr_hr_payroll/models/l10n_fr_hr_payroll.py
@@ -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 fields, models
-from odoo.addons import decimal_precision as dp
+from flectra import fields, models
+from flectra.addons import decimal_precision as dp
class ResCompany(models.Model):
diff --git a/addons/l10n_fr_hr_payroll/models/res_config_settings.py b/addons/l10n_fr_hr_payroll/models/res_config_settings.py
index 1ae73b1469..8b67637354 100644
--- a/addons/l10n_fr_hr_payroll/models/res_config_settings.py
+++ b/addons/l10n_fr_hr_payroll/models/res_config_settings.py
@@ -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):
diff --git a/addons/l10n_fr_hr_payroll/report/__init__.py b/addons/l10n_fr_hr_payroll/report/__init__.py
index 893cc060d6..dcda6a9f72 100644
--- a/addons/l10n_fr_hr_payroll/report/__init__.py
+++ b/addons/l10n_fr_hr_payroll/report/__init__.py
@@ -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 fiche_paye
diff --git a/addons/l10n_fr_hr_payroll/report/fiche_paye.py b/addons/l10n_fr_hr_payroll/report/fiche_paye.py
index a4e24cb43e..265fc132fc 100644
--- a/addons/l10n_fr_hr_payroll/report/fiche_paye.py
+++ b/addons/l10n_fr_hr_payroll/report/fiche_paye.py
@@ -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 api, models
+from flectra import api, models
class FichePayeParser(models.AbstractModel):
diff --git a/addons/l10n_fr_hr_payroll/report/l10n_fr_hr_payroll_report.xml b/addons/l10n_fr_hr_payroll/report/l10n_fr_hr_payroll_report.xml
index 43e8734c2b..14001fbdee 100644
--- a/addons/l10n_fr_hr_payroll/report/l10n_fr_hr_payroll_report.xml
+++ b/addons/l10n_fr_hr_payroll/report/l10n_fr_hr_payroll_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/l10n_fr_hr_payroll/report/report_l10n_fr_fiche_paye.xml b/addons/l10n_fr_hr_payroll/report/report_l10n_fr_fiche_paye.xml
index 56a7e28210..5bc8e2d87e 100644
--- a/addons/l10n_fr_hr_payroll/report/report_l10n_fr_fiche_paye.xml
+++ b/addons/l10n_fr_hr_payroll/report/report_l10n_fr_fiche_paye.xml
@@ -1,5 +1,5 @@
-
+
@@ -157,4 +157,4 @@ BULLETIN DE PAIE SANS LIMITATION DE DUREE
-
+
diff --git a/addons/l10n_fr_hr_payroll/views/l10n_fr_hr_payroll_view.xml b/addons/l10n_fr_hr_payroll/views/l10n_fr_hr_payroll_view.xml
index e97b918ab6..204ddff4ff 100644
--- a/addons/l10n_fr_hr_payroll/views/l10n_fr_hr_payroll_view.xml
+++ b/addons/l10n_fr_hr_payroll/views/l10n_fr_hr_payroll_view.xml
@@ -1,5 +1,5 @@
-
+hr.contract.view.form.l10n.fr.payrollhr.contract
@@ -27,4 +27,4 @@
-
+
diff --git a/addons/l10n_fr_hr_payroll/views/res_config_settings_views.xml b/addons/l10n_fr_hr_payroll/views/res_config_settings_views.xml
index 4444039af5..55f04b7cb4 100644
--- a/addons/l10n_fr_hr_payroll/views/res_config_settings_views.xml
+++ b/addons/l10n_fr_hr_payroll/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.l10n.fr.hr.payrollres.config.settings
@@ -43,4 +43,4 @@
-
+
diff --git a/addons/l10n_fr_pos_cert/__init__.py b/addons/l10n_fr_pos_cert/__init__.py
index eae875db87..86f32e2949 100644
--- a/addons/l10n_fr_pos_cert/__init__.py
+++ b/addons/l10n_fr_pos_cert/__init__.py
@@ -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 . import models
-from odoo import api, SUPERUSER_ID
+from flectra import api, SUPERUSER_ID
from ..l10n_fr_certification.models.res_company import UNALTERABLE_COUNTRIES
diff --git a/addons/l10n_fr_pos_cert/__manifest__.py b/addons/l10n_fr_pos_cert/__manifest__.py
index 40907b4962..5773fa91db 100644
--- a/addons/l10n_fr_pos_cert/__manifest__.py
+++ b/addons/l10n_fr_pos_cert/__manifest__.py
@@ -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.
{
'name': 'France - VAT Anti-Fraud Certification for Point of Sale (CGI 286 I-3 bis)',
diff --git a/addons/l10n_fr_pos_cert/data/pos_inalterability.xml b/addons/l10n_fr_pos_cert/data/pos_inalterability.xml
index ace4c3de24..98c7815762 100644
--- a/addons/l10n_fr_pos_cert/data/pos_inalterability.xml
+++ b/addons/l10n_fr_pos_cert/data/pos_inalterability.xml
@@ -1,4 +1,4 @@
-
+
@@ -14,4 +14,4 @@ action = env['pos.order']._check_hash_integrity(env.user.company_id.id)
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/l10n_fr_pos_cert/models/__init__.py b/addons/l10n_fr_pos_cert/models/__init__.py
index 76de40a9e6..34d285311d 100644
--- a/addons/l10n_fr_pos_cert/models/__init__.py
+++ b/addons/l10n_fr_pos_cert/models/__init__.py
@@ -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 account_bank_statement
from . import res_company
from . import pos
diff --git a/addons/l10n_fr_pos_cert/models/account_bank_statement.py b/addons/l10n_fr_pos_cert/models/account_bank_statement.py
index 354de99ddd..bc756bef3c 100644
--- a/addons/l10n_fr_pos_cert/models/account_bank_statement.py
+++ b/addons/l10n_fr_pos_cert/models/account_bank_statement.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import models
-from odoo.tools.translate import _
-from odoo.exceptions import UserError
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import models
+from flectra.tools.translate import _
+from flectra.exceptions import UserError
class AccountBankStatement(models.Model):
diff --git a/addons/l10n_fr_pos_cert/models/pos.py b/addons/l10n_fr_pos_cert/models/pos.py
index f3a35a5a87..ba739bc217 100644
--- a/addons/l10n_fr_pos_cert/models/pos.py
+++ b/addons/l10n_fr_pos_cert/models/pos.py
@@ -1,14 +1,14 @@
# -*- 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 datetime import datetime, timedelta
from hashlib import sha256
from json import dumps
import pytz
-from odoo import models, api, fields
-from odoo.fields import Datetime
-from odoo.tools.translate import _
-from odoo.exceptions import UserError
+from flectra import models, api, fields
+from flectra.fields import Datetime
+from flectra.tools.translate import _
+from flectra.exceptions import UserError
def ctx_tz(record, field):
@@ -180,7 +180,7 @@ class pos_order(models.Model):
From: %(start_order_name)s %(start_order_ref)s recorded on %(start_order_date)s
To: %(end_order_name)s %(end_order_ref)s recorded on %(end_order_date)s
- For this report to be legally meaningful, please download your certification from your customer account on Odoo.com (Only for Odoo Enterprise users).'''
+ For this report to be legally meaningful, please download your certification from your customer account on Flectra.com (Only for Flectra Enterprise users).'''
) % report_dict)
diff --git a/addons/l10n_fr_pos_cert/models/res_company.py b/addons/l10n_fr_pos_cert/models/res_company.py
index 0b11d2bec8..4a3ac2f9e5 100644
--- a/addons/l10n_fr_pos_cert/models/res_company.py
+++ b/addons/l10n_fr_pos_cert/models/res_company.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import models, api, fields
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import models, api, fields
class ResCompany(models.Model):
diff --git a/addons/l10n_fr_pos_cert/views/account_views.xml b/addons/l10n_fr_pos_cert/views/account_views.xml
index bfe6100061..3c927df89a 100644
--- a/addons/l10n_fr_pos_cert/views/account_views.xml
+++ b/addons/l10n_fr_pos_cert/views/account_views.xml
@@ -1,4 +1,4 @@
-
+account.bank.statement.formaccount.bank.statement
@@ -23,4 +23,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/l10n_fr_sale_closing/__init__.py b/addons/l10n_fr_sale_closing/__init__.py
index d8e1ab7627..6273d376ce 100644
--- a/addons/l10n_fr_sale_closing/__init__.py
+++ b/addons/l10n_fr_sale_closing/__init__.py
@@ -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 . import models
-from odoo import api, SUPERUSER_ID
+from flectra import api, SUPERUSER_ID
from ..l10n_fr_certification.models.res_company import UNALTERABLE_COUNTRIES
diff --git a/addons/l10n_fr_sale_closing/__manifest__.py b/addons/l10n_fr_sale_closing/__manifest__.py
index 83fcad8f62..4782decf54 100644
--- a/addons/l10n_fr_sale_closing/__manifest__.py
+++ b/addons/l10n_fr_sale_closing/__manifest__.py
@@ -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.
{
'name': 'France - VAT Anti-Fraud Certification (CGI 286 I-3 bis) - Sale Closings',
diff --git a/addons/l10n_fr_sale_closing/data/account_sale_closure_cron.xml b/addons/l10n_fr_sale_closing/data/account_sale_closure_cron.xml
index ba2bd2f3a4..ae9f9e7182 100644
--- a/addons/l10n_fr_sale_closing/data/account_sale_closure_cron.xml
+++ b/addons/l10n_fr_sale_closing/data/account_sale_closure_cron.xml
@@ -1,4 +1,4 @@
-
+Generate Daily Sales Closing1
@@ -31,4 +31,4 @@
codemodel._automated_closing('annually')
-
+
diff --git a/addons/l10n_fr_sale_closing/models/__init__.py b/addons/l10n_fr_sale_closing/models/__init__.py
index 01a60f4b64..3c05d82626 100644
--- a/addons/l10n_fr_sale_closing/models/__init__.py
+++ b/addons/l10n_fr_sale_closing/models/__init__.py
@@ -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 res_company
from . import account_closing
diff --git a/addons/l10n_fr_sale_closing/models/account_closing.py b/addons/l10n_fr_sale_closing/models/account_closing.py
index 20b4b62b0e..b4d53955b5 100644
--- a/addons/l10n_fr_sale_closing/models/account_closing.py
+++ b/addons/l10n_fr_sale_closing/models/account_closing.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import datetime, timedelta
-from odoo import models, api, fields
-from odoo.fields import Datetime as FieldDateTime
-from odoo.tools.translate import _
-from odoo.exceptions import UserError
+from flectra import models, api, fields
+from flectra.fields import Datetime as FieldDateTime
+from flectra.tools.translate import _
+from flectra.exceptions import UserError
class AccountClosing(models.Model):
@@ -110,7 +110,7 @@ class AccountClosing(models.Model):
@param {recordset} company: the company for which the closing is done
@return {dict} the theoretical date from which account move lines are fetched.
date_stop date to which the move lines are fetched, always now()
- the dates are in their Odoo Database string representation
+ the dates are in their Flectra Database string representation
"""
date_stop = datetime.utcnow()
interval_from = None
diff --git a/addons/l10n_fr_sale_closing/models/res_company.py b/addons/l10n_fr_sale_closing/models/res_company.py
index 7e623ff5d3..3e7c9c7a79 100644
--- a/addons/l10n_fr_sale_closing/models/res_company.py
+++ b/addons/l10n_fr_sale_closing/models/res_company.py
@@ -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, api
+from flectra import fields, models, api
class ResCompany(models.Model):
diff --git a/addons/l10n_fr_sale_closing/security/account_closing_intercompany.xml b/addons/l10n_fr_sale_closing/security/account_closing_intercompany.xml
index 6a8215852a..7e67a96825 100644
--- a/addons/l10n_fr_sale_closing/security/account_closing_intercompany.xml
+++ b/addons/l10n_fr_sale_closing/security/account_closing_intercompany.xml
@@ -1,8 +1,8 @@
-
+Sale Closing multi-company[('company_id','child_of',[user.company_id.id])]
-
+
diff --git a/addons/l10n_fr_sale_closing/views/account_sale_closure.xml b/addons/l10n_fr_sale_closing/views/account_sale_closure.xml
index 97ddeb0505..a46c94e5cb 100644
--- a/addons/l10n_fr_sale_closing/views/account_sale_closure.xml
+++ b/addons/l10n_fr_sale_closing/views/account_sale_closure.xml
@@ -1,4 +1,4 @@
-
+Sales Closingsaccount.sale.closing
@@ -57,7 +57,7 @@
list,form
- The closings are created by Odoo
+ The closings are created by Flectra
Sales closings run automatically on a daily, monthly and annual basis. It computes both period and cumulative totals from all the sales entries posted in the system after the previous closing.
This channel is accessible to all users to easily share company information.
]]>
-
+
diff --git a/addons/mail/data/mail_channel_demo.xml b/addons/mail/data/mail_channel_demo.xml
index 0d3f49ff13..1b2d46bfa7 100644
--- a/addons/mail/data/mail_channel_demo.xml
+++ b/addons/mail/data/mail_channel_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -38,7 +38,7 @@
mail.channel
- When I have too much opportunities in the pipe, I start communicating with prospects more by email than phonecalls.
I send an email to create a sense of emergency, like "can I call you this week about our quote?" and I call only those that answer this email.
You can use the email template feature of Odoo to automate email composition.
]]>
+ When I have too much opportunities in the pipe, I start communicating with prospects more by email than phonecalls.
I send an email to create a sense of emergency, like "can I call you this week about our quote?" and I call only those that answer this email.
You can use the email template feature of Flectra to automate email composition.
diff --git a/addons/mail/static/tests/chat_window_test.js b/addons/mail/static/tests/chat_window_test.js
index ac224a6999..ac012f51c9 100644
--- a/addons/mail/static/tests/chat_window_test.js
+++ b/addons/mail/static/tests/chat_window_test.js
@@ -1,4 +1,4 @@
-odoo.define('mail.chat_window_test', function (require) {
+flectra.define('mail.chat_window_test', function (require) {
"use strict";
var framework = require('web.framework');
diff --git a/addons/mail/static/tests/chatter_tests.js b/addons/mail/static/tests/chatter_tests.js
index 9cf9898777..0af9137cf5 100644
--- a/addons/mail/static/tests/chatter_tests.js
+++ b/addons/mail/static/tests/chatter_tests.js
@@ -1,4 +1,4 @@
-odoo.define('mail.chatter_tests', function (require) {
+flectra.define('mail.chatter_tests', function (require) {
"use strict";
var Composers = require('mail.composer');
@@ -425,7 +425,7 @@ QUnit.test('chatter: post, receive and star messages', function (assert) {
}
if (args.method === 'get_mention_suggestions') {
getSuggestionsDef.resolve();
- return $.when([{email: "test@odoo.com", id: 1, name: "Test User"}]);
+ return $.when([{email: "test@flectra.com", id: 1, name: "Test User"}]);
}
return this._super(route, args);
},
@@ -545,7 +545,7 @@ QUnit.test('chatter: post, receive and star messages', function (assert) {
"suggestion's id should be correct");
assert.strictEqual(form.$('.o_mention_proposition .o_mention_name').text(), 'Test User',
"suggestion should be displayed correctly");
- assert.strictEqual(form.$('.o_mention_proposition .o_mention_info').text(), '(test@odoo.com)',
+ assert.strictEqual(form.$('.o_mention_proposition .o_mention_info').text(), '(test@flectra.com)',
"suggestion should be displayed correctly");
BasicComposer.prototype.MENTION_THROTTLE = mentionThrottle;
diff --git a/addons/mail/static/tests/client_action_tests.js b/addons/mail/static/tests/client_action_tests.js
index 378328037f..00c0f2d5ba 100644
--- a/addons/mail/static/tests/client_action_tests.js
+++ b/addons/mail/static/tests/client_action_tests.js
@@ -1,4 +1,4 @@
-odoo.define('mail.client_action_test', function (require) {
+flectra.define('mail.client_action_test', function (require) {
"use strict";
var testUtils = require('web.test_utils');
diff --git a/addons/mail/static/tests/systray_tests.js b/addons/mail/static/tests/systray_tests.js
index 60693ea1de..e0f5e83ab0 100644
--- a/addons/mail/static/tests/systray_tests.js
+++ b/addons/mail/static/tests/systray_tests.js
@@ -1,4 +1,4 @@
-odoo.define('mail.systray_tests', function (require) {
+flectra.define('mail.systray_tests', function (require) {
"use strict";
var systray = require('mail.systray');
diff --git a/addons/mail/tests/common.py b/addons/mail/tests/common.py
index 3c03fc0740..fa335c518a 100644
--- a/addons/mail/tests/common.py
+++ b/addons/mail/tests/common.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import api
-from odoo.tests import common
+from flectra import api
+from flectra.tests import common
class BaseFunctionalTest(common.SavepointCase):
diff --git a/addons/mail/tests/test_invite.py b/addons/mail/tests/test_invite.py
index 7d57973763..92f7f20568 100644
--- a/addons/mail/tests/test_invite.py
+++ b/addons/mail/tests/test_invite.py
@@ -1,13 +1,13 @@
# -*- 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.addons.mail.tests.common import TestMail
-from odoo.tools import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.tools import mute_logger
class TestInvite(TestMail):
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_invite_email(self):
mail_invite = self.env['mail.wizard.invite'].with_context({
'default_res_model': 'mail.test',
diff --git a/addons/mail/tests/test_ir_actions.py b/addons/mail/tests/test_ir_actions.py
index 074f603a43..03cdf1d51b 100644
--- a/addons/mail/tests/test_ir_actions.py
+++ b/addons/mail/tests/test_ir_actions.py
@@ -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.addons.base.tests.test_ir_actions import TestServerActionsBase
+from flectra.addons.base.tests.test_ir_actions import TestServerActionsBase
class TestServerActionsEmail(TestServerActionsBase):
diff --git a/addons/mail/tests/test_mail_channel.py b/addons/mail/tests/test_mail_channel.py
index 9469e7b487..e2a9c99b72 100644
--- a/addons/mail/tests/test_mail_channel.py
+++ b/addons/mail/tests/test_mail_channel.py
@@ -3,9 +3,9 @@
from email.utils import formataddr
from .common import TestMail
-from odoo import api
-from odoo.exceptions import AccessError, except_orm
-from odoo.tools import mute_logger
+from flectra import api
+from flectra.exceptions import AccessError, except_orm
+from flectra.tools import mute_logger
class TestMailGroup(TestMail):
@@ -44,7 +44,7 @@ class TestMailGroup(TestMail):
cls.env['mail.channel']._patch_method('message_get_recipient_values', mail_group_message_get_recipient_values)
super(TestMailGroup, cls).tearDownClass()
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.models')
def test_access_rights_public(self):
# Read public group -> ok
self.group_public.sudo(self.user_public).read()
@@ -72,7 +72,7 @@ class TestMailGroup(TestMail):
with self.assertRaises(AccessError):
self.group_public.sudo(self.user_public).unlink()
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.models')
def test_access_rights_groups(self):
# Employee read employee-based group: ok
# TODO Change the except_orm to Warning
diff --git a/addons/mail/tests/test_mail_features.py b/addons/mail/tests/test_mail_features.py
index 8e2264ad6d..c5dfa8adab 100644
--- a/addons/mail/tests/test_mail_features.py
+++ b/addons/mail/tests/test_mail_features.py
@@ -1,10 +1,10 @@
# -*- 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.
import base64
-from odoo.addons.mail.tests.common import TestMail
-from odoo.addons.mail.tests.test_mail_gateway import MAIL_TEMPLATE_PLAINTEXT
-from odoo.tools import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.addons.mail.tests.test_mail_gateway import MAIL_TEMPLATE_PLAINTEXT
+from flectra.tools import mute_logger
class TestMailFeatures(TestMail):
@@ -25,7 +25,7 @@ class TestMailFeatures(TestMail):
self.assertTrue(record.name)
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_needaction(self):
# needaction use Inbox notification
(self.user_employee | self.user_admin).write({'notification_type': 'inbox'})
@@ -43,7 +43,7 @@ class TestMailFeatures(TestMail):
class TestMessagePost(TestMail):
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_post_no_subscribe_author(self):
original = self.test_pigs.message_follower_ids
self.test_pigs.sudo(self.user_employee).with_context({'mail_create_nosubscribe': True}).message_post(
@@ -53,7 +53,7 @@ class TestMessagePost(TestMail):
# TODO : the author of a message post on mail.test should not be added as follower
- # @mute_logger('odoo.addons.mail.models.mail_mail')
+ # @mute_logger('flectra.addons.mail.models.mail_mail')
# def test_post_subscribe_author(self):
# original = self.test_pigs.message_follower_ids
# self.test_pigs.sudo(self.user_employee).message_post(
@@ -61,7 +61,7 @@ class TestMessagePost(TestMail):
# self.assertEqual(self.test_pigs.message_follower_ids.mapped('partner_id'), original.mapped('partner_id') | self.user_employee.partner_id)
# self.assertEqual(self.test_pigs.message_follower_ids.mapped('channel_id'), original.mapped('channel_id'))
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_post_no_subscribe_recipients(self):
original = self.test_pigs.message_follower_ids
self.test_pigs.sudo(self.user_employee).with_context({'mail_create_nosubscribe': True}).message_post(
@@ -69,7 +69,7 @@ class TestMessagePost(TestMail):
self.assertEqual(self.test_pigs.message_follower_ids.mapped('partner_id'), original.mapped('partner_id'))
self.assertEqual(self.test_pigs.message_follower_ids.mapped('channel_id'), original.mapped('channel_id'))
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_post_subscribe_recipients(self):
original = self.test_pigs.message_follower_ids
self.test_pigs.sudo(self.user_employee).with_context({'mail_create_nosubscribe': True, 'mail_post_autofollow': True}).message_post(
@@ -77,7 +77,7 @@ class TestMessagePost(TestMail):
self.assertEqual(self.test_pigs.message_follower_ids.mapped('partner_id'), original.mapped('partner_id') | self.partner_1 | self.partner_2)
self.assertEqual(self.test_pigs.message_follower_ids.mapped('channel_id'), original.mapped('channel_id'))
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_post_subscribe_recipients_partial(self):
original = self.test_pigs.message_follower_ids
self.test_pigs.sudo(self.user_employee).with_context({'mail_create_nosubscribe': True, 'mail_post_autofollow': True, 'mail_post_autofollow_partner_ids': [self.partner_2.id]}).message_post(
@@ -85,7 +85,7 @@ class TestMessagePost(TestMail):
self.assertEqual(self.test_pigs.message_follower_ids.mapped('partner_id'), original.mapped('partner_id') | self.partner_2)
self.assertEqual(self.test_pigs.message_follower_ids.mapped('channel_id'), original.mapped('channel_id'))
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_post_notifications(self):
_body, _body_alt = '
Test Body
', 'Test Body'
_subject = 'Test Subject'
@@ -156,7 +156,7 @@ class TestMessagePost(TestMail):
self.assertTrue(all(_body_alt in m['body'] for m in self._mails))
self.assertFalse(any(m['references'] for m in self._mails))
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_post_answer(self):
_body = '
Test Body
'
_subject = 'Test Subject'
@@ -200,7 +200,7 @@ class TestMessagePost(TestMail):
set(['%s <%s>' % (self.partner_1.name, self.partner_1.email),
'%s <%s>' % (self.user_employee.name, self.user_employee.email)]))
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_post_internal(self):
self.test_pigs.message_subscribe_users([self.user_admin.id])
msg = self.test_pigs.sudo(self.user_employee).message_post(
@@ -221,7 +221,7 @@ class TestMessagePost(TestMail):
self.assertEqual(reply.subtype_id, self.env.ref('mail.mt_note'))
self.assertEqual(reply.needaction_partner_ids, self.user_employee.partner_id)
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_message_compose(self):
composer = self.env['mail.compose.message'].with_context({
'default_composition_mode': 'comment',
@@ -252,7 +252,7 @@ class TestMessagePost(TestMail):
# TODO: test attachments ?
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_message_compose_mass_mail(self):
composer = self.env['mail.compose.message'].with_context({
'default_composition_mode': 'mass_mail',
@@ -306,7 +306,7 @@ class TestMessagePost(TestMail):
# self.assertEqual(set(group_bird.message_follower_ids.ids), set([self.partner_admin_id]),
# 'compose wizard: mail_post_autofollow and mail_create_nosubscribe context keys not correctly taken into account')
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_message_compose_mass_mail_active_domain(self):
self.env['mail.compose.message'].with_context({
'default_composition_mode': 'mass_mail',
@@ -323,7 +323,7 @@ class TestMessagePost(TestMail):
self.assertEqual(self.test_public.message_ids[0].subject, 'From Composer Test')
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_message_compose_mass_mail_no_active_domain(self):
self.env['mail.compose.message'].with_context({
'default_composition_mode': 'mass_mail',
diff --git a/addons/mail/tests/test_mail_followers.py b/addons/mail/tests/test_mail_followers.py
index 1887943de4..f7245006dc 100644
--- a/addons/mail/tests/test_mail_followers.py
+++ b/addons/mail/tests/test_mail_followers.py
@@ -1,10 +1,10 @@
# -*- 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 psycopg2 import IntegrityError
-from odoo.addons.mail.tests.common import TestMail
-from odoo.tools.misc import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.tools.misc import mute_logger
class TestMailFollowers(TestMail):
@@ -135,7 +135,7 @@ class TestMailFollowers(TestMail):
'name': 'I used to be schizo, but now we are alright.'
})
test_channel = self.env['mail.channel'].create({'name': 'Follower Channel'})
- with self.assertRaises(IntegrityError), mute_logger('odoo.sql_db'):
+ with self.assertRaises(IntegrityError), mute_logger('flectra.sql_db'):
self.env['mail.followers'].create({
'res_model': test_record._name,
'res_id': test_record.id,
diff --git a/addons/mail/tests/test_mail_gateway.py b/addons/mail/tests/test_mail_gateway.py
index 48f3209959..92767c25a3 100644
--- a/addons/mail/tests/test_mail_gateway.py
+++ b/addons/mail/tests/test_mail_gateway.py
@@ -1,10 +1,10 @@
# -*- 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.
import socket
-from odoo.addons.mail.tests.common import TestMail
-from odoo.tools import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.tools import mute_logger
MAIL_TEMPLATE = """Return-Path:
@@ -330,7 +330,7 @@ class TestMailgateway(TestMail):
'message_id': '<123456-openerp-%s-mail.test@%s>' % (self.test_public.id, socket.gethostname()),
})
- @mute_logger('odoo.addons.mail.models.mail_thread')
+ @mute_logger('flectra.addons.mail.models.mail_thread')
def test_message_parse(self):
""" Test parsing of various scenarios of incoming emails """
res = self.env['mail.thread'].message_parse(MAIL_TEMPLATE_PLAINTEXT)
@@ -366,14 +366,14 @@ class TestMailgateway(TestMail):
self.assertEqual(res['body'], '')
self.assertEqual(res['attachments'][0][0], 'thetruth.pdf')
- @mute_logger('odoo.addons.mail.models.mail_thread')
+ @mute_logger('flectra.addons.mail.models.mail_thread')
def test_message_process_cid(self):
new_groups = self.format_and_process(MAIL_MULTIPART_IMAGE, subject='My Frogs', to='groups@example.com')
message = new_groups.message_ids[0]
for attachment in message.attachment_ids:
self.assertIn('/web/image/%s' % attachment.id, message.body)
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_alias_basic(self):
""" Incoming email on an alias creating a new record + message_new + message details """
new_groups = self.format_and_process(MAIL_TEMPLATE, subject='My Frogs', to='groups@example.com, other@gmail.com')
@@ -401,7 +401,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self._mails), 0,
'message_process: should create emails without any follower added')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_alias_user_id(self):
""" Test alias ownership """
self.alias.write({'alias_user_id': self.user_employee.id})
@@ -413,7 +413,7 @@ class TestMailgateway(TestMail):
self.assertEqual(res[0], self.user_employee.id,
'message_process: group should have been created by alias_user_id')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_email_email_from(self):
""" Incoming email: not recognized author: email_from, no author_id, no followers """
new_groups = self.format_and_process(MAIL_TEMPLATE, to='groups@example.com, other@gmail.com')
@@ -426,7 +426,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(new_groups.message_partner_ids), 0,
'message_process: newly create group should not have any follower')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_email_author(self):
""" Incoming email: recognized author: email_from, author_id, added as follower """
new_groups = self.format_and_process(MAIL_TEMPLATE, email_from='Valid Lelitre ', to='groups@example.com, valid.other@gmail.com')
@@ -444,7 +444,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self._mails), 0,
'message_process: no bounce or notificatoin email should be sent with follower = author')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models', 'odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models', 'flectra.addons.mail.models.mail_mail')
def test_message_process_alias_partners_bounce(self):
""" Incoming email from an unknown partner on a Partners only alias -> bounce """
self.alias.write({'alias_contact': 'partners'})
@@ -459,7 +459,7 @@ class TestMailgateway(TestMail):
self.assertIn('whatever-2a840@postmaster.twitter.com', self._mails[0].get('email_to'),
'message_process: bounce email on Partners alias should go to Return-Path address')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models', 'odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models', 'flectra.addons.mail.models.mail_mail')
def test_message_process_alias_followers_bounce(self):
""" Incoming email from unknown partner / not follower partner on a Followers only alias -> bounce """
self.alias.write({
@@ -480,7 +480,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self._mails), 1,
'message_process: incoming email on Followers alias should send a bounce email')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_alias_partner(self):
""" Incoming email from a known partner on a Partners alias -> ok (+ test on alias.user_id) """
self.alias.write({'alias_contact': 'partners'})
@@ -493,7 +493,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(new_groups.message_ids), 1,
'message_process: newly created group should have the incoming email in message_ids')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_alias_followers(self):
""" Incoming email from a parent document follower on a Followers only alias -> ok """
self.alias.write({
@@ -506,7 +506,7 @@ class TestMailgateway(TestMail):
# Test: one group created by Raoul (or Sylvie maybe, if we implement it)
self.assertEqual(len(new_groups), 1, 'message_process: a new mail.test should have been created')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models', 'odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models', 'flectra.addons.mail.models.mail_mail')
def test_message_process_alias_update(self):
""" Incoming email update discussion + notification email """
self.alias.write({'alias_force_thread_id': self.test_public.id})
@@ -536,7 +536,7 @@ class TestMailgateway(TestMail):
# self.assertEqual(self.test_public.message_channel_ids, self.env['mail.test'],
# 'message_process: after reply, group should have 2 followers (0 channels)')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_in_reply_to(self):
""" Incoming email using in-rely-to should go into the right destination even with a wrong destination """
self.format_and_process(
@@ -548,7 +548,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self.test_public.message_ids), 2, 'message_process: group should contain one new message')
self.assertEqual(len(self.fake_email.child_ids), 1, 'message_process: new message should be children of the existing one')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_references(self):
""" Incoming email using references should go into the right destination even with a wrong destination """
self.format_and_process(
@@ -560,7 +560,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self.fake_email.child_ids), 1, 'message_process: new message should be children of the existing one')
def test_message_process_references_external(self):
- """ Incoming email being a reply to an external email processed by odoo should update thread accordingly """
+ """ Incoming email being a reply to an external email processed by flectra should update thread accordingly """
new_message_id = ''
self.fake_email.write({
'message_id': new_message_id
@@ -573,7 +573,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self.test_public.message_ids), 2, 'message_process: group should contain one new message')
self.assertEqual(len(self.fake_email.child_ids), 1, 'message_process: new message should be children of the existing one')
- # @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ # @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_references_forward(self):
""" Incoming email using references but with alias forward should not go into references destination """
res_test = self.format_and_process(
@@ -588,7 +588,7 @@ class TestMailgateway(TestMail):
self.assertEqual(res_test.name, 'My Dear Forward')
self.assertEqual(len(res_test.message_ids), 1)
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_references_forward_cc(self):
""" Incoming email using references but with alias forward should not go into references destination """
self.format_and_process(
@@ -601,7 +601,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self.test_public.message_ids), 2, 'message_process: group should contain one new message')
self.assertEqual(len(self.fake_email.child_ids), 1, 'message_process: new message should be children of the existing one')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_model_res_id(self):
""" Incoming email with ref holding model / res_id but that does not match any message in the thread: must raise since OpenERP saas-3 """
self.assertRaises(ValueError,
@@ -612,7 +612,7 @@ class TestMailgateway(TestMail):
msg_id='<1198923581.41972151344608186802.JavaMail.diff1@agrolait.com>')
# when 6.1 messages are present, compat mode is available
- # Odoo 10 update: compat mode has been removed and should not work anymore
+ # Flectra 10 update: compat mode has been removed and should not work anymore
self.fake_email.write({'message_id': False})
# Do: compat mode accepts partial-matching emails
self.assertRaises(
@@ -624,7 +624,7 @@ class TestMailgateway(TestMail):
extra='In-Reply-To: <12321321-openerp-%d-mail.test@%s>' % (self.test_public.id, socket.gethostname()))
# 3''. 6.1 compat mode should not work if hostname does not match!
- # Odoo 10 update: compat mode has been removed and should not work anymore and does not depend from hostname
+ # Flectra 10 update: compat mode has been removed and should not work anymore and does not depend from hostname
self.assertRaises(ValueError,
self.format_and_process,
MAIL_TEMPLATE, email_from='other5@gmail.com',
@@ -636,7 +636,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(self.test_public.message_ids), 1)
self.assertEqual(len(self.test_public.message_ids[0].child_ids), 0)
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_duplicate(self):
""" Duplicate emails (same message_id) are not processed """
self.alias.write({'alias_force_thread_id': self.test_public.id,})
@@ -663,7 +663,7 @@ class TestMailgateway(TestMail):
self.assertEqual(no_of_msg, 1,
'message_process: message with already existing message_id should not have been duplicated')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_partner_find(self):
""" Finding the partner based on email, based on partner / user / follower """
from_1 = self.env['res.partner'].create({'name': 'A', 'email': 'from.test@example.com'})
@@ -684,7 +684,7 @@ class TestMailgateway(TestMail):
self.format_and_process(MAIL_TEMPLATE, to='public@example.com', msg_id='<3>', email_from='Brice Denisse ')
self.assertEqual(self.test_public.message_ids[0].author_id, from_3, 'message_process: email_from -> author_id wrong')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_crash_wrong_model(self):
""" Incoming email with model that does not accepts incoming emails must raise """
self.assertRaises(ValueError,
@@ -693,7 +693,7 @@ class TestMailgateway(TestMail):
to='noone@example.com', subject='spam', extra='', model='res.country',
msg_id='<1198923581.41972151344608186760.JavaMail.new4@agrolait.com>')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_crash_no_data(self):
""" Incoming email without model and without alias must raise """
self.assertRaises(ValueError,
@@ -702,7 +702,7 @@ class TestMailgateway(TestMail):
to='noone@example.com', subject='spam', extra='',
msg_id='<1198923581.41972151344608186760.JavaMail.new5@agrolait.com>')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_fallback(self):
""" Incoming email with model that accepting incoming emails as fallback """
frog_groups = self.format_and_process(
@@ -711,7 +711,7 @@ class TestMailgateway(TestMail):
self.assertEqual(len(frog_groups), 1,
'message_process: erroneous email but with a fallback model should have created a new mail.test')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models')
def test_message_process_plain_text(self):
""" Incoming email in plaintext should be stored as html """
frog_groups = self.format_and_process(
@@ -723,7 +723,7 @@ class TestMailgateway(TestMail):
self.assertIn('
\nPlease call me as soon as possible this afternoon!\n\n--\nSylvie\n
', msg.body,
'message_process: plaintext incoming email incorrectly parsed')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models', 'odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models', 'flectra.addons.mail.models.mail_mail')
def test_private_discussion(self):
""" Testing private discussion between partners. """
msg1_pids = [self.env.user.partner_id.id, self.partner_1.id]
@@ -765,7 +765,7 @@ class TestMailgateway(TestMail):
self.assertEqual(msg.needaction_partner_ids, self.user_employee.partner_id | self.env.user.partner_id,
'message_post: private discussion: incorrect notified recipients when replying')
- @mute_logger('odoo.addons.mail.models.mail_thread', 'odoo.models', 'odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_thread', 'flectra.models', 'flectra.addons.mail.models.mail_mail')
def test_forward_parent_id(self):
msg = self.test_pigs.sudo(self.user_employee).message_post(no_auto_thread=True, subtype='mail.mt_comment')
self.assertNotIn(msg.model, msg.message_id)
@@ -790,7 +790,7 @@ class TestMailgateway(TestMail):
self.assertTrue(msg_fw.res_id == channel.id)
# tmp
- from odoo.addons.mail.tests.test_mail_model import MailTest
+ from flectra.addons.mail.tests.test_mail_model import MailTest
MailTest._mail_flat_thread = False
fw_msg_id = ''
diff --git a/addons/mail/tests/test_mail_message.py b/addons/mail/tests/test_mail_message.py
index 566a038d9e..3622d7c6eb 100644
--- a/addons/mail/tests/test_mail_message.py
+++ b/addons/mail/tests/test_mail_message.py
@@ -1,11 +1,11 @@
# -*- 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.
import base64
import itertools
-from odoo.addons.mail.tests.common import TestMail
-from odoo.exceptions import AccessError, except_orm
-from odoo.tools import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.exceptions import AccessError, except_orm
+from flectra.tools import mute_logger
class TestMailMessage(TestMail):
@@ -143,7 +143,7 @@ class TestMailMessageAccess(TestMail):
'res_id': cls.group_private.id,
})
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_mail_message_access_search(self):
# Data: various author_ids, partner_ids, documents
msg1 = self.env['mail.message'].create({
@@ -196,7 +196,7 @@ class TestMailMessageAccess(TestMail):
messages = self.env['mail.message'].sudo(self.user_portal).search([('subject', 'like', '_Test')])
self.assertEqual(messages, msg4 | msg5)
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.models')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.models')
def test_mail_message_access_read_crash(self):
# TODO: Change the except_orm to Warning ( Because here it's call check_access_rule
# which still generate exception in except_orm.So we need to change all
@@ -204,7 +204,7 @@ class TestMailMessageAccess(TestMail):
with self.assertRaises(except_orm):
self.message.sudo(self.user_employee).read()
- @mute_logger('odoo.models')
+ @mute_logger('flectra.models')
def test_mail_message_access_read_crash_portal(self):
with self.assertRaises(except_orm):
self.message.sudo(self.user_portal).read(['body', 'message_type', 'subtype_id'])
@@ -234,7 +234,7 @@ class TestMailMessageAccess(TestMail):
# Test: Bert reads the message, ok because linked to a doc he is allowed to read
self.message.sudo(self.user_employee).read()
- @mute_logger('odoo.addons.base.ir.ir_model')
+ @mute_logger('flectra.addons.base.ir.ir_model')
def test_mail_message_access_create_crash_public(self):
# Do: Bert creates a message on Pigs -> ko, no creation rights
with self.assertRaises(AccessError):
@@ -244,13 +244,13 @@ class TestMailMessageAccess(TestMail):
with self.assertRaises(AccessError):
self.env['mail.message'].sudo(self.user_public).create({'model': 'mail.channel', 'res_id': self.group_public.id, 'body': 'Test'})
- @mute_logger('odoo.models')
+ @mute_logger('flectra.models')
def test_mail_message_access_create_crash(self):
# Do: Bert create a private message -> ko, no creation rights
with self.assertRaises(except_orm):
self.env['mail.message'].sudo(self.user_employee).create({'model': 'mail.channel', 'res_id': self.group_private.id, 'body': 'Test'})
- @mute_logger('odoo.models')
+ @mute_logger('flectra.models')
def test_mail_message_access_create_doc(self):
# TODO Change the except_orm to Warning
Message = self.env['mail.message'].sudo(self.user_employee)
diff --git a/addons/mail/tests/test_mail_model.py b/addons/mail/tests/test_mail_model.py
index 578c779aad..57132a370c 100644
--- a/addons/mail/tests/test_mail_model.py
+++ b/addons/mail/tests/test_mail_model.py
@@ -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 MailTestSimple(models.Model):
diff --git a/addons/mail/tests/test_mail_template.py b/addons/mail/tests/test_mail_template.py
index d5a68a73fe..fe6a4bba18 100644
--- a/addons/mail/tests/test_mail_template.py
+++ b/addons/mail/tests/test_mail_template.py
@@ -1,11 +1,11 @@
# -*- 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.
import base64
import datetime
-from odoo.addons.mail.tests.common import TestMail
-from odoo.tools import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.tools import mute_logger
class TestMailTemplate(TestMail):
@@ -67,7 +67,7 @@ class TestMailTemplate(TestMail):
self.assertEqual(set(attachments.mapped('res_model')), set(['res.partner']))
self.assertEqual(set(attachments.mapped('res_id')), set([self.user_admin.partner_id.id]))
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_composer_template_send(self):
self.test_pigs.with_context(use_template=False).message_post_with_template(self.email_template.id, composition_mode='comment')
@@ -81,7 +81,7 @@ class TestMailTemplate(TestMail):
# self.assertIn((attach.datas_fname, base64.b64decode(attach.datas)), _attachments_test,
# 'mail.message attachment name / data incorrect')
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_composer_template_mass_mailing(self):
composer = self.env['mail.compose.message'].with_context({
'default_composition_mode': 'mass_mail',
diff --git a/addons/mail/tests/test_message_read.py b/addons/mail/tests/test_message_read.py
index e68d2e00ca..23b4e5fd37 100644
--- a/addons/mail/tests/test_message_read.py
+++ b/addons/mail/tests/test_message_read.py
@@ -1,13 +1,13 @@
# -*- 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.addons.mail.tests.common import TestMail
-from odoo.tools import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.tools import mute_logger
class TestMessageRead(TestMail):
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def setUp(self):
super(TestMessageRead, self).setUp()
self.user_employee.write({'notification_type': 'inbox'})
diff --git a/addons/mail/tests/test_message_track.py b/addons/mail/tests/test_message_track.py
index 17952e6855..a1bbe6a07c 100644
--- a/addons/mail/tests/test_message_track.py
+++ b/addons/mail/tests/test_message_track.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import api
-from odoo.addons.mail.tests.common import TestMail
+from flectra import api
+from flectra.addons.mail.tests.common import TestMail
class TestTracking(TestMail):
diff --git a/addons/mail/tests/test_portal.py b/addons/mail/tests/test_portal.py
index 774e2a6e32..18964c73b2 100644
--- a/addons/mail/tests/test_portal.py
+++ b/addons/mail/tests/test_portal.py
@@ -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.addons.mail.tests.common import TestMail
-from odoo.tools.misc import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.tools.misc import mute_logger
class TestPortal(TestMail):
@@ -36,7 +36,7 @@ class TestPortal(TestMail):
'body': 'Body text'})
compose.send_mail()
- @mute_logger('odoo.addons.mail.models.mail_mail')
+ @mute_logger('flectra.addons.mail.models.mail_mail')
def test_invite_email_portal(self):
test_record = self.env['mail.test'].create({'name': 'Pigs'})
diff --git a/addons/mail/tests/test_update_notification.py b/addons/mail/tests/test_update_notification.py
index 7621e4056a..7a05b916b7 100644
--- a/addons/mail/tests/test_update_notification.py
+++ b/addons/mail/tests/test_update_notification.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from odoo.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestUpdateNotification(TransactionCase):
diff --git a/addons/mail/views/ir_actions_views.xml b/addons/mail/views/ir_actions_views.xml
index 381310bf69..469298eea4 100644
--- a/addons/mail/views/ir_actions_views.xml
+++ b/addons/mail/views/ir_actions_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/mail/views/ir_model_views.xml b/addons/mail/views/ir_model_views.xml
index 564a0c6346..4913e5dee7 100644
--- a/addons/mail/views/ir_model_views.xml
+++ b/addons/mail/views/ir_model_views.xml
@@ -1,5 +1,5 @@
-
+ir.model
@@ -34,4 +34,4 @@
-
+
diff --git a/addons/mail/views/mail_activity_views.xml b/addons/mail/views/mail_activity_views.xml
index 405a246d06..a51a13ba36 100644
--- a/addons/mail/views/mail_activity_views.xml
+++ b/addons/mail/views/mail_activity_views.xml
@@ -1,5 +1,5 @@
-
+mail.activity.type.view.formmail.activity.type
@@ -161,4 +161,4 @@
-
+
diff --git a/addons/mail/views/mail_alias_views.xml b/addons/mail/views/mail_alias_views.xml
index f8157f634c..6934202207 100644
--- a/addons/mail/views/mail_alias_views.xml
+++ b/addons/mail/views/mail_alias_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -84,4 +84,4 @@
groups="base.group_no_one"/>
-
+
diff --git a/addons/mail/views/mail_channel_views.xml b/addons/mail/views/mail_channel_views.xml
index d5acaae761..5f330832fb 100644
--- a/addons/mail/views/mail_channel_views.xml
+++ b/addons/mail/views/mail_channel_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -202,4 +202,4 @@
-
+
diff --git a/addons/mail/views/mail_followers_views.xml b/addons/mail/views/mail_followers_views.xml
index fa5cfbf011..eb6f5faf45 100644
--- a/addons/mail/views/mail_followers_views.xml
+++ b/addons/mail/views/mail_followers_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -49,4 +49,4 @@
action="action_view_followers" sequence="30" groups="base.group_no_one"/>
-
+
diff --git a/addons/mail/views/mail_mail_views.xml b/addons/mail/views/mail_mail_views.xml
index ee7d9e0e04..f7714e20ab 100644
--- a/addons/mail/views/mail_mail_views.xml
+++ b/addons/mail/views/mail_mail_views.xml
@@ -1,5 +1,5 @@
-
+mail.mail.form
@@ -127,4 +127,4 @@
-
+
diff --git a/addons/mail/views/mail_message_subtype_views.xml b/addons/mail/views/mail_message_subtype_views.xml
index 1aa6123b3d..f8034efad9 100644
--- a/addons/mail/views/mail_message_subtype_views.xml
+++ b/addons/mail/views/mail_message_subtype_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -51,4 +51,4 @@
-
+
diff --git a/addons/mail/views/mail_message_views.xml b/addons/mail/views/mail_message_views.xml
index 19ad37d44a..6fe8e3e8d9 100644
--- a/addons/mail/views/mail_message_views.xml
+++ b/addons/mail/views/mail_message_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -174,4 +174,4 @@
-
+
diff --git a/addons/mail/views/mail_shortcode_views.xml b/addons/mail/views/mail_shortcode_views.xml
index 0b4b1085f4..6f3f317fa0 100644
--- a/addons/mail/views/mail_shortcode_views.xml
+++ b/addons/mail/views/mail_shortcode_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -45,4 +45,4 @@
-
+
diff --git a/addons/mail/views/mail_template_views.xml b/addons/mail/views/mail_template_views.xml
index 077f3f6105..6ce532c204 100644
--- a/addons/mail/views/mail_template_views.xml
+++ b/addons/mail/views/mail_template_views.xml
@@ -1,5 +1,5 @@
-
+email.template.form
@@ -135,4 +135,4 @@
sequence="20"/>
-
+
diff --git a/addons/mail/views/mail_templates.xml b/addons/mail/views/mail_templates.xml
index 63c403ba63..241beaeb98 100644
--- a/addons/mail/views/mail_templates.xml
+++ b/addons/mail/views/mail_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -65,7 +65,7 @@
View
-
Great stories have personality. Consider telling a great story that provides personality. Writing a story with personality for potential clients will assist with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.
Great stories are for everyone even when only written for just one person. If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.
Great stories have personality. Consider telling a great story that provides personality. Writing a story with personality for potential clients will assist with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.
Great stories are for everyone even when only written for just one person. If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.
Great stories have personality. Consider telling a great story that provides personality. Writing a story with personality for potential clients will assist with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.
Great stories are for everyone even when only written for just one person. If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.
Great stories have personality. Consider telling a great story that provides personality. Writing a story with personality for potential clients will assist with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.
Great stories are for everyone even when only written for just one person. If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.
]]>
@@ -116,11 +116,11 @@
- https://twitter.com/Odoo
- https://www.facebook.com/Odoo
- https://plus.google.com/+Odooapps
- https://www.linkedin.com/company/odoo
+ https://twitter.com/Flectra
+ https://www.facebook.com/Flectra
+ https://plus.google.com/+Flectraapps
+ https://www.linkedin.com/company/flectra
-
+
diff --git a/addons/mass_mailing/models/__init__.py b/addons/mass_mailing/models/__init__.py
index 3fc7c41aac..6f4880924d 100644
--- a/addons/mass_mailing/models/__init__.py
+++ b/addons/mass_mailing/models/__init__.py
@@ -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 mass_mailing
from . import mass_mailing_stats
diff --git a/addons/mass_mailing/models/ir_model_fields.py b/addons/mass_mailing/models/ir_model_fields.py
index 1e963bf650..e03523d2f5 100644
--- a/addons/mass_mailing/models/ir_model_fields.py
+++ b/addons/mass_mailing/models/ir_model_fields.py
@@ -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 api, models
+from flectra import api, models
# This is a nasty hack, targeted for V11 only
diff --git a/addons/mass_mailing/models/link_tracker.py b/addons/mass_mailing/models/link_tracker.py
index c7077191da..3228a96a27 100644
--- a/addons/mass_mailing/models/link_tracker.py
+++ b/addons/mass_mailing/models/link_tracker.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class LinkTracker(models.Model):
diff --git a/addons/mass_mailing/models/mail_mail.py b/addons/mass_mailing/models/mail_mail.py
index e67010ca3a..b2e617bbeb 100644
--- a/addons/mass_mailing/models/mail_mail.py
+++ b/addons/mass_mailing/models/mail_mail.py
@@ -1,10 +1,10 @@
# -*- 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.
import re
import werkzeug.urls
-from odoo import api, fields, models, tools
+from flectra import api, fields, models, tools
from openerp.addons.link_tracker.models.link_tracker import URL_REGEX
diff --git a/addons/mass_mailing/models/mail_thread.py b/addons/mass_mailing/models/mail_thread.py
index 8e4ee298c6..b2a0a526e2 100644
--- a/addons/mass_mailing/models/mail_thread.py
+++ b/addons/mass_mailing/models/mail_thread.py
@@ -1,11 +1,11 @@
# -*- 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.
import logging
import re
-from odoo import api, models, tools
-from odoo.tools import decode_smtp_header, decode_message_header
+from flectra import api, models, tools
+from flectra.tools import decode_smtp_header, decode_message_header
_logger = logging.getLogger(__name__)
diff --git a/addons/mass_mailing/models/mass_mailing.py b/addons/mass_mailing/models/mass_mailing.py
index f48ae787f2..454c259fe9 100644
--- a/addons/mass_mailing/models/mass_mailing.py
+++ b/addons/mass_mailing/models/mass_mailing.py
@@ -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.
import hashlib
import hmac
@@ -8,10 +8,10 @@ import logging
import random
import threading
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError
-from odoo.tools.safe_eval import safe_eval
-from odoo.tools.translate import html_translate
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError
+from flectra.tools.safe_eval import safe_eval
+from flectra.tools.translate import html_translate
_logger = logging.getLogger(__name__)
diff --git a/addons/mass_mailing/models/mass_mailing_report.py b/addons/mass_mailing/models/mass_mailing_report.py
index 0747fab18f..4dd04ccc54 100644
--- a/addons/mass_mailing/models/mass_mailing_report.py
+++ b/addons/mass_mailing/models/mass_mailing_report.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class MassMailingReport(models.Model):
diff --git a/addons/mass_mailing/models/mass_mailing_stats.py b/addons/mass_mailing/models/mass_mailing_stats.py
index 91648f22d3..c816a89cc8 100644
--- a/addons/mass_mailing/models/mass_mailing_stats.py
+++ b/addons/mass_mailing/models/mass_mailing_stats.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class MailMailStats(models.Model):
diff --git a/addons/mass_mailing/models/res_company.py b/addons/mass_mailing/models/res_company.py
index 4cb66e485d..6295b16487 100644
--- a/addons/mass_mailing/models/res_company.py
+++ b/addons/mass_mailing/models/res_company.py
@@ -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 Company(models.Model):
_inherit = "res.company"
diff --git a/addons/mass_mailing/models/res_config_settings.py b/addons/mass_mailing/models/res_config_settings.py
index d23866c366..763e7f8372 100644
--- a/addons/mass_mailing/models/res_config_settings.py
+++ b/addons/mass_mailing/models/res_config_settings.py
@@ -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):
diff --git a/addons/mass_mailing/security/mass_mailing_security.xml b/addons/mass_mailing/security/mass_mailing_security.xml
index 823a9a4f4b..aa8e5ddc7d 100644
--- a/addons/mass_mailing/security/mass_mailing_security.xml
+++ b/addons/mass_mailing/security/mass_mailing_security.xml
@@ -1,5 +1,5 @@
-
+User
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/mass_mailing/static/src/js/mass_mailing.js b/addons/mass_mailing/static/src/js/mass_mailing.js
index 75a52a940f..06552bca64 100644
--- a/addons/mass_mailing/static/src/js/mass_mailing.js
+++ b/addons/mass_mailing/static/src/js/mass_mailing.js
@@ -1,4 +1,4 @@
-odoo.define('mass_mailing.mass_mailing', function (require) {
+flectra.define('mass_mailing.mass_mailing', function (require) {
var FieldTextHtml = require('web_editor.backend').FieldTextHtml;
var KanbanRecord = require('web.KanbanRecord');
diff --git a/addons/mass_mailing/static/src/js/mass_mailing_editor.js b/addons/mass_mailing/static/src/js/mass_mailing_editor.js
index 7705e62fa9..6d802b84fa 100644
--- a/addons/mass_mailing/static/src/js/mass_mailing_editor.js
+++ b/addons/mass_mailing/static/src/js/mass_mailing_editor.js
@@ -1,4 +1,4 @@
-odoo.define('mass_mailing.editor', function (require) {
+flectra.define('mass_mailing.editor', function (require) {
"use strict";
require('web.dom_ready');
@@ -9,7 +9,7 @@ var options = require('web_editor.snippets.options');
var snippets_editor = require('web_editor.snippet.editor');
var $editable_area = $('#editable_area');
-var odoo_top = window.top.odoo;
+var flectra_top = window.top.flectra;
// Snippet option for resizing image and column width inline like excel
options.registry["width-x"] = options.Class.extend({
@@ -196,7 +196,7 @@ snippets_editor.Class.include({
$mail_themes_upgrade.on("click", "> a", function (e) {
e.stopImmediatePropagation();
e.preventDefault();
- odoo_top[window.callback+"_do_action"]("mass_mailing.action_mass_mailing_configuration");
+ flectra_top[window.callback+"_do_action"]("mass_mailing.action_mass_mailing_configuration");
});
/**
@@ -229,7 +229,7 @@ snippets_editor.Class.include({
selected_theme = theme_params;
// Notify form view
- odoo_top[window.callback+"_downup"]($editable_area.addClass("o_dirty").html());
+ flectra_top[window.callback+"_downup"]($editable_area.addClass("o_dirty").html());
});
/**
@@ -364,9 +364,9 @@ snippets_editor.Class.include({
});
var callback = window ? window["callback"] : undefined;
-odoo_top[callback+"_updown"] = function (value, fields_values, field_name) {
+flectra_top[callback+"_updown"] = function (value, fields_values, field_name) {
if (!window || window.closed) {
- delete odoo_top[callback+"_updown"];
+ delete flectra_top[callback+"_updown"];
return;
}
@@ -396,7 +396,7 @@ odoo_top[callback+"_updown"] = function (value, fields_values, field_name) {
if (fields_values.mailing_model && editor_enable) {
if (value.indexOf('on_change_model_and_list') !== -1) {
- odoo_top[callback+"_downup"](_val);
+ flectra_top[callback+"_downup"](_val);
}
}
};
diff --git a/addons/mass_mailing/static/src/less/mass_mailing.ui.less b/addons/mass_mailing/static/src/less/mass_mailing.ui.less
index d0c64d6263..a52313f12f 100644
--- a/addons/mass_mailing/static/src/less/mass_mailing.ui.less
+++ b/addons/mass_mailing/static/src/less/mass_mailing.ui.less
@@ -22,7 +22,7 @@
}
.dropdown-menu {
- .o-position-absolute(@odoo-navbar-height - 1, -1px, -1px, -1px);
+ .o-position-absolute(@flectra-navbar-height - 1, -1px, -1px, -1px);
margin: 0;
border-radius: 0;
overflow: auto;
@@ -56,7 +56,7 @@
}
&.selected > a .o_thumb {
- border: 2px solid @odoo-brand-primary;
+ border: 2px solid @flectra-brand-primary;
background-color: @o-we-color-dark;
}
}
diff --git a/addons/mass_mailing/tests/__init__.py b/addons/mass_mailing/tests/__init__.py
index 2e7a36dd53..83b0e11bed 100644
--- a/addons/mass_mailing/tests/__init__.py
+++ b/addons/mass_mailing/tests/__init__.py
@@ -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_mail
diff --git a/addons/mass_mailing/tests/test_mail.py b/addons/mass_mailing/tests/test_mail.py
index 563e6702d5..59ec5d3193 100644
--- a/addons/mass_mailing/tests/test_mail.py
+++ b/addons/mass_mailing/tests/test_mail.py
@@ -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.addons.mail.tests.common import TestMail
+from flectra.addons.mail.tests.common import TestMail
class test_message_compose(TestMail):
diff --git a/addons/mass_mailing/views/editor_field_html.xml b/addons/mass_mailing/views/editor_field_html.xml
index a89a2d7641..928f378039 100644
--- a/addons/mass_mailing/views/editor_field_html.xml
+++ b/addons/mass_mailing/views/editor_field_html.xml
@@ -1,5 +1,5 @@
-
+
@@ -40,4 +40,4 @@
-
+
diff --git a/addons/mass_mailing/views/link_tracker_views.xml b/addons/mass_mailing/views/link_tracker_views.xml
index 724f08cc8a..8a4fe10fce 100644
--- a/addons/mass_mailing/views/link_tracker_views.xml
+++ b/addons/mass_mailing/views/link_tracker_views.xml
@@ -1,5 +1,5 @@
-
+link.tracker.tree
@@ -39,4 +39,4 @@
tree{'search_default_mass_mailing_campaign_id': active_id}
-
+
diff --git a/addons/mass_mailing/views/mass_mailing_report_views.xml b/addons/mass_mailing/views/mass_mailing_report_views.xml
index fea496263a..b6bff1f4b8 100644
--- a/addons/mass_mailing/views/mass_mailing_report_views.xml
+++ b/addons/mass_mailing/views/mass_mailing_report_views.xml
@@ -1,5 +1,5 @@
-
+mail.statistics.report.pivotmail.statistics.report
@@ -61,4 +61,4 @@
-
+
diff --git a/addons/mass_mailing/views/mass_mailing_stats_views.xml b/addons/mass_mailing/views/mass_mailing_stats_views.xml
index 497e629e53..e5ccbeedae 100644
--- a/addons/mass_mailing/views/mass_mailing_stats_views.xml
+++ b/addons/mass_mailing/views/mass_mailing_stats_views.xml
@@ -1,5 +1,5 @@
-
+mail.mail.statistics.search
@@ -111,4 +111,4 @@
-
+
diff --git a/addons/mass_mailing/views/mass_mailing_template.xml b/addons/mass_mailing/views/mass_mailing_template.xml
index 1f7b224ae7..8945e66915 100644
--- a/addons/mass_mailing/views/mass_mailing_template.xml
+++ b/addons/mass_mailing/views/mass_mailing_template.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/mass_mailing/views/mass_mailing_views.xml b/addons/mass_mailing/views/mass_mailing_views.xml
index 9cc4b63c97..92832ff24c 100644
--- a/addons/mass_mailing/views/mass_mailing_views.xml
+++ b/addons/mass_mailing/views/mass_mailing_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -880,4 +880,4 @@
action="action_view_mass_mailing_campaigns"
groups="mass_mailing.group_mass_mailing_campaign"/>
-
+
diff --git a/addons/mass_mailing/views/res_company_views.xml b/addons/mass_mailing/views/res_company_views.xml
index bc638c5814..7972e2b606 100644
--- a/addons/mass_mailing/views/res_company_views.xml
+++ b/addons/mass_mailing/views/res_company_views.xml
@@ -1,5 +1,5 @@
-
+res.company.form.inherit.mass.mail
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/mass_mailing/views/res_config_settings_views.xml b/addons/mass_mailing/views/res_config_settings_views.xml
index 6412319d20..e04fe4316e 100644
--- a/addons/mass_mailing/views/res_config_settings_views.xml
+++ b/addons/mass_mailing/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.mass.mailingres.config.settings
@@ -49,4 +49,4 @@
sequence="100"/>
-
+
diff --git a/addons/mass_mailing/views/snippets_themes.xml b/addons/mass_mailing/views/snippets_themes.xml
index 4213a6d153..18ca0b9661 100644
--- a/addons/mass_mailing/views/snippets_themes.xml
+++ b/addons/mass_mailing/views/snippets_themes.xml
@@ -1,5 +1,5 @@
-
+
@@ -189,13 +189,13 @@
-
The open source model of Odoo has allowed us to leverage thousands of developers and
+
The open source model of Flectra has allowed us to leverage thousands of developers and
business experts to build hundreds of apps in just a few years.
-
With strong technical foundations, Odoo's framework is unique.
+
With strong technical foundations, Flectra's framework is unique.
It provides top notch usability that scales across all apps.
-
Usability improvements made on Odoo will automatically apply to all
+
Usability improvements made on Flectra will automatically apply to all
of our fully integrated apps.
-
That way, Odoo evolves much faster than any other solution.
+
That way, Flectra evolves much faster than any other solution.
@@ -471,7 +471,7 @@
A unique value
-
The open source model of Odoo has allowed us to leverage thousands of developers and business experts to build hundreds of apps in just a few years.
+
The open source model of Flectra has allowed us to leverage thousands of developers and business experts to build hundreds of apps in just a few years.
@@ -29,4 +29,4 @@
-
+
diff --git a/addons/mass_mailing/wizard/__init__.py b/addons/mass_mailing/wizard/__init__.py
index af5b919267..d43412bb0f 100644
--- a/addons/mass_mailing/wizard/__init__.py
+++ b/addons/mass_mailing/wizard/__init__.py
@@ -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 test_mailing
from . import mail_compose_message
diff --git a/addons/mass_mailing/wizard/mail_compose_message.py b/addons/mass_mailing/wizard/mail_compose_message.py
index 8708dd9a09..f485740ae3 100644
--- a/addons/mass_mailing/wizard/mail_compose_message.py
+++ b/addons/mass_mailing/wizard/mail_compose_message.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, fields, models, tools
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, fields, models, tools
class MailComposeMessage(models.TransientModel):
diff --git a/addons/mass_mailing/wizard/mail_compose_message_views.xml b/addons/mass_mailing/wizard/mail_compose_message_views.xml
index e6abc5e1fe..7a32e2f851 100644
--- a/addons/mass_mailing/wizard/mail_compose_message_views.xml
+++ b/addons/mass_mailing/wizard/mail_compose_message_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/mass_mailing/wizard/test_mailing.py b/addons/mass_mailing/wizard/test_mailing.py
index 24b395c7c5..0dcc5facc0 100644
--- a/addons/mass_mailing/wizard/test_mailing.py
+++ b/addons/mass_mailing/wizard/test_mailing.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class TestMassMailing(models.TransientModel):
diff --git a/addons/mass_mailing/wizard/test_mailing_views.xml b/addons/mass_mailing/wizard/test_mailing_views.xml
index 8b69bc0a4b..6c66d006f7 100644
--- a/addons/mass_mailing/wizard/test_mailing_views.xml
+++ b/addons/mass_mailing/wizard/test_mailing_views.xml
@@ -1,5 +1,5 @@
-
+mail.mass_mailing.test.form
@@ -28,4 +28,4 @@
new
-
+
diff --git a/addons/mass_mailing_event/__init__.py b/addons/mass_mailing_event/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/mass_mailing_event/__init__.py
+++ b/addons/mass_mailing_event/__init__.py
@@ -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 models
diff --git a/addons/mass_mailing_event/__manifest__.py b/addons/mass_mailing_event/__manifest__.py
index 5c838febe2..708b93d50d 100644
--- a/addons/mass_mailing_event/__manifest__.py
+++ b/addons/mass_mailing_event/__manifest__.py
@@ -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.
{
'name': 'Mass mailing on attendees',
diff --git a/addons/mass_mailing_event/models/__init__.py b/addons/mass_mailing_event/models/__init__.py
index 8086202411..e273de3998 100644
--- a/addons/mass_mailing_event/models/__init__.py
+++ b/addons/mass_mailing_event/models/__init__.py
@@ -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 event
diff --git a/addons/mass_mailing_event/models/event.py b/addons/mass_mailing_event/models/event.py
index be37000e6f..7ac78eb99e 100644
--- a/addons/mass_mailing_event/models/event.py
+++ b/addons/mass_mailing_event/models/event.py
@@ -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 models
+from flectra import models
class Event(models.Model):
@@ -20,4 +20,4 @@ class Event(models.Model):
default_mailing_domain="[('event_id', 'in', %s)]" % self.ids, # , ('state', 'in', ['draft', 'open', 'done'])
),
)
- return mass_mailing_action
\ No newline at end of file
+ return mass_mailing_action
\ No newline at end of file
diff --git a/addons/mass_mailing_event/views/event_views.xml b/addons/mass_mailing_event/views/event_views.xml
index e3105fad8e..3af42f9650 100644
--- a/addons/mass_mailing_event/views/event_views.xml
+++ b/addons/mass_mailing_event/views/event_views.xml
@@ -1,5 +1,5 @@
-
+event.event.view.form.inherit.mass.mailingevent.event
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/mass_mailing_event_track/__init__.py b/addons/mass_mailing_event_track/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/mass_mailing_event_track/__init__.py
+++ b/addons/mass_mailing_event_track/__init__.py
@@ -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 models
diff --git a/addons/mass_mailing_event_track/__manifest__.py b/addons/mass_mailing_event_track/__manifest__.py
index f923e9b052..8dc21de1b0 100644
--- a/addons/mass_mailing_event_track/__manifest__.py
+++ b/addons/mass_mailing_event_track/__manifest__.py
@@ -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.
{
'name': 'Mass mailing on track speakers',
diff --git a/addons/mass_mailing_event_track/models/__init__.py b/addons/mass_mailing_event_track/models/__init__.py
index 8086202411..e273de3998 100644
--- a/addons/mass_mailing_event_track/models/__init__.py
+++ b/addons/mass_mailing_event_track/models/__init__.py
@@ -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 event
diff --git a/addons/mass_mailing_event_track/models/event.py b/addons/mass_mailing_event_track/models/event.py
index 156625391c..bb442d2e9c 100644
--- a/addons/mass_mailing_event_track/models/event.py
+++ b/addons/mass_mailing_event_track/models/event.py
@@ -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 models
+from flectra import models
class Event(models.Model):
diff --git a/addons/mass_mailing_event_track/views/event_views.xml b/addons/mass_mailing_event_track/views/event_views.xml
index 6e3e60fc78..ab578d8f0c 100644
--- a/addons/mass_mailing_event_track/views/event_views.xml
+++ b/addons/mass_mailing_event_track/views/event_views.xml
@@ -1,5 +1,5 @@
-
+event.event.view.form.inherit.mass.mailing.trackevent.event
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/membership/__init__.py b/addons/membership/__init__.py
index f17ad3dbae..5cf102c628 100644
--- a/addons/membership/__init__.py
+++ b/addons/membership/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/membership/__manifest__.py b/addons/membership/__manifest__.py
index fe6ab571c5..365d3b5b66 100644
--- a/addons/membership/__manifest__.py
+++ b/addons/membership/__manifest__.py
@@ -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.
{
@@ -32,7 +32,7 @@ invoice and send propositions for membership renewal.
'demo': [
'data/membership_demo.xml',
],
- 'website': 'https://www.odoo.com/page/community-builder',
+ 'website': 'https://flectrahq.com/page/community-builder',
'test': [
'../account/test/account_minimal_test.xml',
],
diff --git a/addons/membership/data/membership_data.xml b/addons/membership/data/membership_data.xml
index 363ea3fea9..12f8a723e6 100644
--- a/addons/membership/data/membership_data.xml
+++ b/addons/membership/data/membership_data.xml
@@ -1,5 +1,5 @@
-
+Membership: update memberships
@@ -10,4 +10,4 @@
-1
-
+
diff --git a/addons/membership/data/membership_demo.xml b/addons/membership/data/membership_demo.xml
index 2f767b113a..14adbcfaa8 100644
--- a/addons/membership/data/membership_demo.xml
+++ b/addons/membership/data/membership_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -21,4 +21,4 @@
-
+
diff --git a/addons/membership/models/__init__.py b/addons/membership/models/__init__.py
index c82af4339e..f7f8824c5e 100644
--- a/addons/membership/models/__init__.py
+++ b/addons/membership/models/__init__.py
@@ -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 membership
from . import partner
diff --git a/addons/membership/models/account_invoice.py b/addons/membership/models/account_invoice.py
index 85b158e495..c8e52ffdfd 100644
--- a/addons/membership/models/account_invoice.py
+++ b/addons/membership/models/account_invoice.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class Invoice(models.Model):
diff --git a/addons/membership/models/membership.py b/addons/membership/models/membership.py
index 900ee18755..da2f6cb0e0 100644
--- a/addons/membership/models/membership.py
+++ b/addons/membership/models/membership.py
@@ -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 api, fields, models
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models
+from flectra.addons import decimal_precision as dp
STATE = [
('none', 'Non Member'),
diff --git a/addons/membership/models/partner.py b/addons/membership/models/partner.py
index 348d4d04df..d52eb7c0e3 100644
--- a/addons/membership/models/partner.py
+++ b/addons/membership/models/partner.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError, ValidationError
from . import membership
diff --git a/addons/membership/models/product.py b/addons/membership/models/product.py
index 6107ad3b3a..0bc6364f1f 100644
--- a/addons/membership/models/product.py
+++ b/addons/membership/models/product.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class Product(models.Model):
diff --git a/addons/membership/report/__init__.py b/addons/membership/report/__init__.py
index 5d12abb4be..69cad041f7 100644
--- a/addons/membership/report/__init__.py
+++ b/addons/membership/report/__init__.py
@@ -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 report_membership
diff --git a/addons/membership/report/report_membership.py b/addons/membership/report/report_membership.py
index 9e016a9890..6594f8173e 100644
--- a/addons/membership/report/report_membership.py
+++ b/addons/membership/report/report_membership.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
STATE = [
('none', 'Non Member'),
diff --git a/addons/membership/report/report_membership_views.xml b/addons/membership/report/report_membership_views.xml
index 610f44899c..fe13f3e471 100644
--- a/addons/membership/report/report_membership_views.xml
+++ b/addons/membership/report/report_membership_views.xml
@@ -1,5 +1,5 @@
-
+report.membership.search
@@ -71,4 +71,4 @@
id="menu_report_membership"
groups="base.group_partner_manager"/>
-
+
diff --git a/addons/membership/tests/__init__.py b/addons/membership/tests/__init__.py
index a02bcfa7e5..e171cdab13 100644
--- a/addons/membership/tests/__init__.py
+++ b/addons/membership/tests/__init__.py
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
-from odoo.addons.membership.tests import test_membership
+from flectra.addons.membership.tests import test_membership
diff --git a/addons/membership/tests/common.py b/addons/membership/tests/common.py
index 2e8d889e58..55e8d77ff6 100644
--- a/addons/membership/tests/common.py
+++ b/addons/membership/tests/common.py
@@ -3,7 +3,7 @@
import datetime
from dateutil.relativedelta import relativedelta
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestMembershipCommon(AccountingTestCase):
diff --git a/addons/membership/tests/test_membership.py b/addons/membership/tests/test_membership.py
index d59bc0763b..423b5c2575 100644
--- a/addons/membership/tests/test_membership.py
+++ b/addons/membership/tests/test_membership.py
@@ -3,7 +3,7 @@
import datetime
from dateutil.relativedelta import relativedelta
-from odoo.addons.membership.tests.common import TestMembershipCommon
+from flectra.addons.membership.tests.common import TestMembershipCommon
class TestMembership(TestMembershipCommon):
diff --git a/addons/membership/views/partner_views.xml b/addons/membership/views/partner_views.xml
index 6d19bb5327..d4a6145f0f 100644
--- a/addons/membership/views/partner_views.xml
+++ b/addons/membership/views/partner_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -54,7 +54,7 @@
Click to add a new Member
- Odoo helps you easily track all activities related to a member:
+ Flectra helps you easily track all activities related to a member:
Current Membership Status, Discussions and History of Membership, etc.
@@ -146,4 +146,4 @@
-
+
diff --git a/addons/membership/views/product_views.xml b/addons/membership/views/product_views.xml
index 7bde4262c7..248afea16f 100644
--- a/addons/membership/views/product_views.xml
+++ b/addons/membership/views/product_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -140,4 +140,4 @@
-
+
diff --git a/addons/membership/wizard/__init__.py b/addons/membership/wizard/__init__.py
index b374507287..262ed7643a 100644
--- a/addons/membership/wizard/__init__.py
+++ b/addons/membership/wizard/__init__.py
@@ -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 membership_invoice
diff --git a/addons/membership/wizard/membership_invoice.py b/addons/membership/wizard/membership_invoice.py
index 56208de5ab..92f4ff0b85 100644
--- a/addons/membership/wizard/membership_invoice.py
+++ b/addons/membership/wizard/membership_invoice.py
@@ -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 api, fields, models
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models
+from flectra.addons import decimal_precision as dp
class MembershipInvoice(models.TransientModel):
diff --git a/addons/membership/wizard/membership_invoice_views.xml b/addons/membership/wizard/membership_invoice_views.xml
index 366cbe14c6..cfab036b79 100644
--- a/addons/membership/wizard/membership_invoice_views.xml
+++ b/addons/membership/wizard/membership_invoice_views.xml
@@ -1,5 +1,5 @@
-
+membership.invoice.view.form
@@ -35,4 +35,4 @@
view_mode="form"
id="action_membership_invoice_view"/>
-
+
diff --git a/addons/mrp/__init__.py b/addons/mrp/__init__.py
index f17ad3dbae..5cf102c628 100644
--- a/addons/mrp/__init__.py
+++ b/addons/mrp/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/mrp/__manifest__.py b/addons/mrp/__manifest__.py
index 9766a88bf5..469ca9a5ec 100644
--- a/addons/mrp/__manifest__.py
+++ b/addons/mrp/__manifest__.py
@@ -1,11 +1,11 @@
# -*- 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.
{
'name': 'Manufacturing',
'version': '2.0',
- 'website': 'https://www.odoo.com/page/manufacturing',
+ 'website': 'https://flectrahq.com/page/manufacturing',
'category': 'Manufacturing',
'sequence': 14,
'summary': 'Manufacturing Orders, Bill of Materials, Routings',
diff --git a/addons/mrp/data/mrp_data.xml b/addons/mrp/data/mrp_data.xml
index 85fffdb3bd..a537786309 100644
--- a/addons/mrp/data/mrp_data.xml
+++ b/addons/mrp/data/mrp_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -83,4 +83,4 @@
0
-
+
diff --git a/addons/mrp/data/mrp_demo.xml b/addons/mrp/data/mrp_demo.xml
index b15716264b..8df34dc0d6 100644
--- a/addons/mrp/data/mrp_demo.xml
+++ b/addons/mrp/data/mrp_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -591,4 +591,4 @@
-
+
diff --git a/addons/mrp/models/__init__.py b/addons/mrp/models/__init__.py
index 35239e53b1..b545c1d59b 100644
--- a/addons/mrp/models/__init__.py
+++ b/addons/mrp/models/__init__.py
@@ -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 mrp_document
from . import res_config_settings
diff --git a/addons/mrp/models/mrp_bom.py b/addons/mrp/models/mrp_bom.py
index 4d9a0e5bcb..102b63ed89 100644
--- a/addons/mrp/models/mrp_bom.py
+++ b/addons/mrp/models/mrp_bom.py
@@ -1,10 +1,10 @@
# -*- 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, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError, ValidationError
-from odoo.tools import float_round
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError, ValidationError
+from flectra.tools import float_round
class MrpBom(models.Model):
diff --git a/addons/mrp/models/mrp_document.py b/addons/mrp/models/mrp_document.py
index 73009000ac..b2722686e3 100644
--- a/addons/mrp/models/mrp_document.py
+++ b/addons/mrp/models/mrp_document.py
@@ -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 MrpDocument(models.Model):
diff --git a/addons/mrp/models/mrp_message.py b/addons/mrp/models/mrp_message.py
index 4f550bed88..a123ade9d1 100644
--- a/addons/mrp/models/mrp_message.py
+++ b/addons/mrp/models/mrp_message.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models
-from odoo.tools import html2plaintext
+from flectra import api, fields, models
+from flectra.tools import html2plaintext
class MrpProductionMessage(models.Model):
diff --git a/addons/mrp/models/mrp_production.py b/addons/mrp/models/mrp_production.py
index 14a288f5f9..48f36a3115 100644
--- a/addons/mrp/models/mrp_production.py
+++ b/addons/mrp/models/mrp_production.py
@@ -1,13 +1,13 @@
# -*- 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 collections import defaultdict
import math
-from odoo import api, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError
-from odoo.tools import float_compare
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError
+from flectra.tools import float_compare
class MrpProduction(models.Model):
""" Manufacturing Orders """
diff --git a/addons/mrp/models/mrp_routing.py b/addons/mrp/models/mrp_routing.py
index 7c2c48c0fc..fa8c20c85b 100644
--- a/addons/mrp/models/mrp_routing.py
+++ b/addons/mrp/models/mrp_routing.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class MrpRouting(models.Model):
diff --git a/addons/mrp/models/mrp_unbuild.py b/addons/mrp/models/mrp_unbuild.py
index 6c87ed8614..0892d7416c 100644
--- a/addons/mrp/models/mrp_unbuild.py
+++ b/addons/mrp/models/mrp_unbuild.py
@@ -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, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import float_compare
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import float_compare
class MrpUnbuild(models.Model):
diff --git a/addons/mrp/models/mrp_workcenter.py b/addons/mrp/models/mrp_workcenter.py
index 457304f139..a09049fb9b 100644
--- a/addons/mrp/models/mrp_workcenter.py
+++ b/addons/mrp/models/mrp_workcenter.py
@@ -1,10 +1,10 @@
# -*- 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 dateutil import relativedelta
import datetime
-from odoo import api, exceptions, fields, models, _
+from flectra import api, exceptions, fields, models, _
class MrpWorkcenter(models.Model):
diff --git a/addons/mrp/models/mrp_workorder.py b/addons/mrp/models/mrp_workorder.py
index 7937055a3b..4f53f8fa73 100644
--- a/addons/mrp/models/mrp_workorder.py
+++ b/addons/mrp/models/mrp_workorder.py
@@ -1,13 +1,13 @@
# -*- 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 datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import float_compare, float_round
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import float_compare, float_round
+from flectra.addons import decimal_precision as dp
class MrpWorkorder(models.Model):
diff --git a/addons/mrp/models/procurement.py b/addons/mrp/models/procurement.py
index 0942601cb3..b4b8051b39 100644
--- a/addons/mrp/models/procurement.py
+++ b/addons/mrp/models/procurement.py
@@ -1,10 +1,10 @@
# -*- 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 dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class ProcurementRule(models.Model):
diff --git a/addons/mrp/models/product.py b/addons/mrp/models/product.py
index 51a2192f5e..bd52ffe9e2 100644
--- a/addons/mrp/models/product.py
+++ b/addons/mrp/models/product.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ProductTemplate(models.Model):
diff --git a/addons/mrp/models/res_company.py b/addons/mrp/models/res_company.py
index 0b96b19f3b..1660e71791 100644
--- a/addons/mrp/models/res_company.py
+++ b/addons/mrp/models/res_company.py
@@ -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 Company(models.Model):
diff --git a/addons/mrp/models/res_config_settings.py b/addons/mrp/models/res_config_settings.py
index af2dd08e1a..d9851e7059 100644
--- a/addons/mrp/models/res_config_settings.py
+++ b/addons/mrp/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/mrp/models/stock_move.py b/addons/mrp/models/stock_move.py
index f9436f6687..f81bc67571 100644
--- a/addons/mrp/models/stock_move.py
+++ b/addons/mrp/models/stock_move.py
@@ -1,10 +1,10 @@
# -*- 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, exceptions, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import float_compare, float_round
-from odoo.addons import decimal_precision as dp
+from flectra import api, exceptions, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import float_compare, float_round
+from flectra.addons import decimal_precision as dp
class StockMoveLine(models.Model):
diff --git a/addons/mrp/models/stock_picking.py b/addons/mrp/models/stock_picking.py
index 337d84541b..0eebe3bbf8 100644
--- a/addons/mrp/models/stock_picking.py
+++ b/addons/mrp/models/stock_picking.py
@@ -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 StockPickingType(models.Model):
diff --git a/addons/mrp/models/stock_production_lot.py b/addons/mrp/models/stock_production_lot.py
index 9c2470c64e..8f7bf597a6 100644
--- a/addons/mrp/models/stock_production_lot.py
+++ b/addons/mrp/models/stock_production_lot.py
@@ -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 api, exceptions, fields, models, _
+from flectra import api, exceptions, fields, models, _
class StockProductionLot(models.Model):
diff --git a/addons/mrp/models/stock_scrap.py b/addons/mrp/models/stock_scrap.py
index 4eb5d06cda..b3055a7f92 100644
--- a/addons/mrp/models/stock_scrap.py
+++ b/addons/mrp/models/stock_scrap.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class StockScrap(models.Model):
@@ -36,4 +36,4 @@ class StockScrap(models.Model):
return vals
def _get_origin_moves(self):
- return super(StockScrap, self)._get_origin_moves() or self.production_id and self.production_id.move_raw_ids.filtered(lambda x: x.product_id == self.product_id)
\ No newline at end of file
+ return super(StockScrap, self)._get_origin_moves() or self.production_id and self.production_id.move_raw_ids.filtered(lambda x: x.product_id == self.product_id)
\ No newline at end of file
diff --git a/addons/mrp/models/stock_traceability.py b/addons/mrp/models/stock_traceability.py
index 2d5c0aae6b..9170763f7c 100644
--- a/addons/mrp/models/stock_traceability.py
+++ b/addons/mrp/models/stock_traceability.py
@@ -1,4 +1,4 @@
-from odoo import models, api
+from flectra import models, api
class MrpStockReport(models.TransientModel):
_inherit = 'stock.traceability.report'
diff --git a/addons/mrp/models/stock_warehouse.py b/addons/mrp/models/stock_warehouse.py
index ab9f26d730..8cd714f4d8 100644
--- a/addons/mrp/models/stock_warehouse.py
+++ b/addons/mrp/models/stock_warehouse.py
@@ -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 api, exceptions, fields, models, _
+from flectra import api, exceptions, fields, models, _
class StockWarehouse(models.Model):
diff --git a/addons/mrp/report/__init__.py b/addons/mrp/report/__init__.py
index 866d5e524c..9d1670cdc3 100644
--- a/addons/mrp/report/__init__.py
+++ b/addons/mrp/report/__init__.py
@@ -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 mrp_bom_cost_report
from . import mrp_bom_structure_report
diff --git a/addons/mrp/report/mrp_bom_cost_report.py b/addons/mrp/report/mrp_bom_cost_report.py
index d71be4d1a7..369ee69b8e 100644
--- a/addons/mrp/report/mrp_bom_cost_report.py
+++ b/addons/mrp/report/mrp_bom_cost_report.py
@@ -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 api, models
+from flectra import api, models
class MrpBomCost(models.AbstractModel):
diff --git a/addons/mrp/report/mrp_bom_cost_report_templates.xml b/addons/mrp/report/mrp_bom_cost_report_templates.xml
index 85d3b442a9..a0936d9622 100644
--- a/addons/mrp/report/mrp_bom_cost_report_templates.xml
+++ b/addons/mrp/report/mrp_bom_cost_report_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -58,4 +58,4 @@
-
+
diff --git a/addons/mrp/report/mrp_bom_structure_report.py b/addons/mrp/report/mrp_bom_structure_report.py
index a98f45b475..37e3b33e47 100644
--- a/addons/mrp/report/mrp_bom_structure_report.py
+++ b/addons/mrp/report/mrp_bom_structure_report.py
@@ -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 api, models
+from flectra import api, models
class BomStructureReport(models.AbstractModel):
diff --git a/addons/mrp/report/mrp_bom_structure_report_templates.xml b/addons/mrp/report/mrp_bom_structure_report_templates.xml
index 549d75662c..ea0066ef86 100644
--- a/addons/mrp/report/mrp_bom_structure_report_templates.xml
+++ b/addons/mrp/report/mrp_bom_structure_report_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -50,4 +50,4 @@
-
+
diff --git a/addons/mrp/report/mrp_production_templates.xml b/addons/mrp/report/mrp_production_templates.xml
index d17a8b18fb..42d44f0f5a 100644
--- a/addons/mrp/report/mrp_production_templates.xml
+++ b/addons/mrp/report/mrp_production_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -104,4 +104,4 @@
-
+
diff --git a/addons/mrp/report/mrp_report_views_main.xml b/addons/mrp/report/mrp_report_views_main.xml
index 064558ddad..7967ee706d 100644
--- a/addons/mrp/report/mrp_report_views_main.xml
+++ b/addons/mrp/report/mrp_report_views_main.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/mrp/security/mrp_security.xml b/addons/mrp/security/mrp_security.xml
index 35d843b9ae..8610651dd9 100644
--- a/addons/mrp/security/mrp_security.xml
+++ b/addons/mrp/security/mrp_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -62,4 +62,4 @@
-
+
diff --git a/addons/mrp/static/src/js/mrp.js b/addons/mrp/static/src/js/mrp.js
index f181565002..5ff8716727 100644
--- a/addons/mrp/static/src/js/mrp.js
+++ b/addons/mrp/static/src/js/mrp.js
@@ -1,4 +1,4 @@
-odoo.define('mrp.mrp_state', function (require) {
+flectra.define('mrp.mrp_state', function (require) {
"use strict";
var AbstractField = require('web.AbstractField');
diff --git a/addons/mrp/static/tests/mrp_tests.js b/addons/mrp/static/tests/mrp_tests.js
index 3acca104da..48cdc17122 100644
--- a/addons/mrp/static/tests/mrp_tests.js
+++ b/addons/mrp/static/tests/mrp_tests.js
@@ -1,4 +1,4 @@
-odoo.define('mrp.tests', function (require) {
+flectra.define('mrp.tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/mrp/tests/common.py b/addons/mrp/tests/common.py
index 47cb622de2..cd408ee68e 100644
--- a/addons/mrp/tests/common.py
+++ b/addons/mrp/tests/common.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.addons.stock.tests import common2
+from flectra.addons.stock.tests import common2
class TestMrpCommon(common2.TestStockCommon):
diff --git a/addons/mrp/tests/test_bom.py b/addons/mrp/tests/test_bom.py
index 7142121641..9c4766970d 100644
--- a/addons/mrp/tests/test_bom.py
+++ b/addons/mrp/tests/test_bom.py
@@ -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 exceptions
-from odoo.addons.mrp.tests.common import TestMrpCommon
+from flectra import exceptions
+from flectra.addons.mrp.tests.common import TestMrpCommon
class TestBoM(TestMrpCommon):
diff --git a/addons/mrp/tests/test_multicompany.py b/addons/mrp/tests/test_multicompany.py
index f7d3451634..b432a808b9 100644
--- a/addons/mrp/tests/test_multicompany.py
+++ b/addons/mrp/tests/test_multicompany.py
@@ -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.tests import common
+from flectra.tests import common
class TestMrpMulticompany(common.TransactionCase):
diff --git a/addons/mrp/tests/test_order.py b/addons/mrp/tests/test_order.py
index 56b87b7e61..09667b7eb1 100644
--- a/addons/mrp/tests/test_order.py
+++ b/addons/mrp/tests/test_order.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import datetime, timedelta
-from odoo.fields import Datetime as Dt
-from odoo.addons.mrp.tests.common import TestMrpCommon
+from flectra.fields import Datetime as Dt
+from flectra.addons.mrp.tests.common import TestMrpCommon
class TestMrpOrder(TestMrpCommon):
diff --git a/addons/mrp/tests/test_procurement.py b/addons/mrp/tests/test_procurement.py
index 16c6dbe4a3..653c502fa2 100644
--- a/addons/mrp/tests/test_procurement.py
+++ b/addons/mrp/tests/test_procurement.py
@@ -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.addons.mrp.tests.common import TestMrpCommon
-from odoo.exceptions import UserError
+from flectra.addons.mrp.tests.common import TestMrpCommon
+from flectra.exceptions import UserError
class TestProcurement(TestMrpCommon):
@@ -133,4 +133,4 @@ class TestProcurement(TestMrpCommon):
'product_qty': 1,
'bom_id': self.bom_1.id,
'product_uom_id': self.product_4.uom_id.id,
- })
\ No newline at end of file
+ })
\ No newline at end of file
diff --git a/addons/mrp/tests/test_stock.py b/addons/mrp/tests/test_stock.py
index 8b3c557d3e..4eb14788d9 100644
--- a/addons/mrp/tests/test_stock.py
+++ b/addons/mrp/tests/test_stock.py
@@ -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 . import common
-from odoo.exceptions import except_orm
+from flectra.exceptions import except_orm
class TestWarehouse(common.TestMrpCommon):
diff --git a/addons/mrp/tests/test_unbuild.py b/addons/mrp/tests/test_unbuild.py
index 0c98b64b38..e10880db94 100644
--- a/addons/mrp/tests/test_unbuild.py
+++ b/addons/mrp/tests/test_unbuild.py
@@ -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.addons.mrp.tests.common import TestMrpCommon
-from odoo.exceptions import UserError
+from flectra.addons.mrp.tests.common import TestMrpCommon
+from flectra.exceptions import UserError
class TestUnbuild(TestMrpCommon):
@@ -452,4 +452,4 @@ class TestUnbuild(TestMrpCommon):
ml = mo.finished_move_line_ids[0].consume_line_ids.filtered(lambda m: m.product_id == p1 and m.lot_produced_id == lot_finished_1)
self.assertEqual(ml.qty_done, 12.0, 'Should have consumed 12 for the first lot')
ml = mo.finished_move_line_ids[1].consume_line_ids.filtered(lambda m: m.product_id == p1 and m.lot_produced_id == lot_finished_2)
- self.assertEqual(ml.qty_done, 8.0, 'Should have consumed 8 for the second lot')
\ No newline at end of file
+ self.assertEqual(ml.qty_done, 8.0, 'Should have consumed 8 for the second lot')
\ No newline at end of file
diff --git a/addons/mrp/tests/test_workorder_operation.py b/addons/mrp/tests/test_workorder_operation.py
index 79121e0468..58d8a83d38 100644
--- a/addons/mrp/tests/test_workorder_operation.py
+++ b/addons/mrp/tests/test_workorder_operation.py
@@ -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.
import unittest
-from odoo.tests import common
+from flectra.tests import common
class TestWorkOrderProcess(common.TransactionCase):
diff --git a/addons/mrp/views/ir_attachment_view.xml b/addons/mrp/views/ir_attachment_view.xml
index cf6b00982c..3c2e071a45 100644
--- a/addons/mrp/views/ir_attachment_view.xml
+++ b/addons/mrp/views/ir_attachment_view.xml
@@ -1,5 +1,5 @@
-
+mrp.document kanban.mrp
@@ -55,4 +55,4 @@
-
+
diff --git a/addons/mrp/views/mrp_bom_views.xml b/addons/mrp/views/mrp_bom_views.xml
index 787ef1ea3b..5a2389d248 100644
--- a/addons/mrp/views/mrp_bom_views.xml
+++ b/addons/mrp/views/mrp_bom_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -161,7 +161,7 @@
materials used to make a finished product; through a manufacturing
order or a pack of products.
- Odoo uses these BoMs to automatically propose manufacturing
+ Flectra uses these BoMs to automatically propose manufacturing
orders according to procurement needs.
@@ -242,4 +242,4 @@
form
-
+
diff --git a/addons/mrp/views/mrp_message_views.xml b/addons/mrp/views/mrp_message_views.xml
index 18fc7c1040..d6ebf29453 100644
--- a/addons/mrp/views/mrp_message_views.xml
+++ b/addons/mrp/views/mrp_message_views.xml
@@ -1,5 +1,5 @@
-
+mrp.message.view.formmrp.message
@@ -150,4 +150,4 @@
action="mrp_message_action_main"
groups="group_mrp_routings"
sequence="99"/>
-
+
diff --git a/addons/mrp/views/mrp_production_views.xml b/addons/mrp/views/mrp_production_views.xml
index 54f487d5fa..aa8c917a79 100644
--- a/addons/mrp/views/mrp_production_views.xml
+++ b/addons/mrp/views/mrp_production_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -411,4 +411,4 @@
form
-
+
diff --git a/addons/mrp/views/mrp_routing_views.xml b/addons/mrp/views/mrp_routing_views.xml
index 8ee1b962f8..59d2af6219 100644
--- a/addons/mrp/views/mrp_routing_views.xml
+++ b/addons/mrp/views/mrp_routing_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -177,4 +177,4 @@
groups="group_mrp_routings"
sequence="50"/>
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/mrp/views/mrp_templates.xml b/addons/mrp/views/mrp_templates.xml
index f66d4d496a..d80abcaa67 100644
--- a/addons/mrp/views/mrp_templates.xml
+++ b/addons/mrp/views/mrp_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/mrp/views/mrp_unbuild_views.xml b/addons/mrp/views/mrp_unbuild_views.xml
index 6692e735f3..444204d912 100644
--- a/addons/mrp/views/mrp_unbuild_views.xml
+++ b/addons/mrp/views/mrp_unbuild_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -176,4 +176,4 @@
action="mrp_unbuild"
sequence="20"/>
-
+
diff --git a/addons/mrp/views/mrp_views_menus.xml b/addons/mrp/views/mrp_views_menus.xml
index 4a611f17fd..1d1d81801d 100644
--- a/addons/mrp/views/mrp_views_menus.xml
+++ b/addons/mrp/views/mrp_views_menus.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/mrp/views/mrp_workcenter_views.xml b/addons/mrp/views/mrp_workcenter_views.xml
index 886c3ba3d7..13ea515c4b 100644
--- a/addons/mrp/views/mrp_workcenter_views.xml
+++ b/addons/mrp/views/mrp_workcenter_views.xml
@@ -1,5 +1,5 @@
-
+{'search_default_confirmed': 1}
@@ -629,4 +629,4 @@
groups="group_mrp_routings"
sequence="12"/>
-
+
diff --git a/addons/mrp/views/mrp_workorder_views.xml b/addons/mrp/views/mrp_workorder_views.xml
index 9e9f3b7bd2..c40060ad21 100644
--- a/addons/mrp/views/mrp_workorder_views.xml
+++ b/addons/mrp/views/mrp_workorder_views.xml
@@ -1,5 +1,5 @@
-
+mrp.production.work.order.searchmrp.workorder
@@ -449,4 +449,4 @@
-
+
diff --git a/addons/mrp/views/procurement_views.xml b/addons/mrp/views/procurement_views.xml
index 9101fa31b8..304670430b 100644
--- a/addons/mrp/views/procurement_views.xml
+++ b/addons/mrp/views/procurement_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -14,4 +14,4 @@
-
+
diff --git a/addons/mrp/views/product_views.xml b/addons/mrp/views/product_views.xml
index 7ef4ce2b04..c4c1a4b763 100644
--- a/addons/mrp/views/product_views.xml
+++ b/addons/mrp/views/product_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -84,4 +84,4 @@
-
+
diff --git a/addons/mrp/views/res_config_settings_views.xml b/addons/mrp/views/res_config_settings_views.xml
index 260820cd97..f2a956fadf 100644
--- a/addons/mrp/views/res_config_settings_views.xml
+++ b/addons/mrp/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.mrp
@@ -121,4 +121,4 @@
-
+
diff --git a/addons/mrp/views/stock_move_views.xml b/addons/mrp/views/stock_move_views.xml
index dee3548056..3683c59ea9 100644
--- a/addons/mrp/views/stock_move_views.xml
+++ b/addons/mrp/views/stock_move_views.xml
@@ -1,5 +1,5 @@
-
+Inventory Movesir.actions.act_window
@@ -100,4 +100,4 @@
action="stock.action_stock_scrap"
sequence="25"/>
-
+
diff --git a/addons/mrp/views/stock_picking_views.xml b/addons/mrp/views/stock_picking_views.xml
index 844a669489..07a43f121c 100644
--- a/addons/mrp/views/stock_picking_views.xml
+++ b/addons/mrp/views/stock_picking_views.xml
@@ -1,5 +1,5 @@
-
+stock.picking.type.kanbanstock.picking.type
@@ -108,4 +108,4 @@
-
+
diff --git a/addons/mrp/views/stock_scrap_views.xml b/addons/mrp/views/stock_scrap_views.xml
index 22021e9d47..a35d51ba89 100644
--- a/addons/mrp/views/stock_scrap_views.xml
+++ b/addons/mrp/views/stock_scrap_views.xml
@@ -1,5 +1,5 @@
-
+stock.scrap.view.form2.inherit.mrpstock.scrap
@@ -22,4 +22,4 @@
-
+
diff --git a/addons/mrp/views/stock_warehouse_views.xml b/addons/mrp/views/stock_warehouse_views.xml
index 2d652127a0..0d07e0e656 100644
--- a/addons/mrp/views/stock_warehouse_views.xml
+++ b/addons/mrp/views/stock_warehouse_views.xml
@@ -1,5 +1,5 @@
-
+Stock Warehouse Inherited
@@ -14,4 +14,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/mrp/wizard/__init__.py b/addons/mrp/wizard/__init__.py
index 83ad5a17ef..0de1d632b3 100644
--- a/addons/mrp/wizard/__init__.py
+++ b/addons/mrp/wizard/__init__.py
@@ -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 mrp_product_produce
from . import change_production_qty
diff --git a/addons/mrp/wizard/change_production_qty.py b/addons/mrp/wizard/change_production_qty.py
index 90db7f0948..dfac83b9ca 100644
--- a/addons/mrp/wizard/change_production_qty.py
+++ b/addons/mrp/wizard/change_production_qty.py
@@ -1,10 +1,10 @@
# -*- 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, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError
-from odoo.tools import float_is_zero
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError
+from flectra.tools import float_is_zero
import math
class ChangeProductionQty(models.TransientModel):
diff --git a/addons/mrp/wizard/change_production_qty_views.xml b/addons/mrp/wizard/change_production_qty_views.xml
index f731d2cecc..09a7ecea01 100644
--- a/addons/mrp/wizard/change_production_qty_views.xml
+++ b/addons/mrp/wizard/change_production_qty_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -31,4 +31,4 @@
-
+
diff --git a/addons/mrp/wizard/mrp_product_produce.py b/addons/mrp/wizard/mrp_product_produce.py
index 33ffb3d48f..2ac4d881bb 100644
--- a/addons/mrp/wizard/mrp_product_produce.py
+++ b/addons/mrp/wizard/mrp_product_produce.py
@@ -1,13 +1,13 @@
# -*- 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 collections import Counter
from datetime import datetime
-from odoo import api, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError, ValidationError
-from odoo.tools import float_compare, float_round
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError, ValidationError
+from flectra.tools import float_compare, float_round
class MrpProductProduce(models.TransientModel):
_name = "mrp.product.produce"
diff --git a/addons/mrp/wizard/mrp_product_produce_views.xml b/addons/mrp/wizard/mrp_product_produce_views.xml
index 661ceed00d..286976f692 100644
--- a/addons/mrp/wizard/mrp_product_produce_views.xml
+++ b/addons/mrp/wizard/mrp_product_produce_views.xml
@@ -1,5 +1,5 @@
-
+MRP Product Produce
@@ -49,4 +49,4 @@
{}new
-
+
diff --git a/addons/mrp/wizard/mrp_workcenter_block_view.xml b/addons/mrp/wizard/mrp_workcenter_block_view.xml
index 01bc051de3..f3f9bfd4a6 100644
--- a/addons/mrp/wizard/mrp_workcenter_block_view.xml
+++ b/addons/mrp/wizard/mrp_workcenter_block_view.xml
@@ -1,5 +1,5 @@
-
+mrp.workcenter.productivity.form
@@ -39,4 +39,4 @@
new
-
+
diff --git a/addons/mrp/wizard/stock_warn_insufficient_qty.py b/addons/mrp/wizard/stock_warn_insufficient_qty.py
index c6342b2bad..c5f1e1f7a9 100644
--- a/addons/mrp/wizard/stock_warn_insufficient_qty.py
+++ b/addons/mrp/wizard/stock_warn_insufficient_qty.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class StockWarnInsufficientQtyUnbuild(models.TransientModel):
@@ -12,4 +12,4 @@ class StockWarnInsufficientQtyUnbuild(models.TransientModel):
def action_done(self):
self.ensure_one()
- return self.unbuild_id.action_unbuild()
\ No newline at end of file
+ return self.unbuild_id.action_unbuild()
\ No newline at end of file
diff --git a/addons/mrp/wizard/stock_warn_insufficient_qty_views.xml b/addons/mrp/wizard/stock_warn_insufficient_qty_views.xml
index 6e319650d5..0a2cbfe618 100644
--- a/addons/mrp/wizard/stock_warn_insufficient_qty_views.xml
+++ b/addons/mrp/wizard/stock_warn_insufficient_qty_views.xml
@@ -1,5 +1,5 @@
-
+stock.warn.insufficient.qty.unbuildstock.warn.insufficient.qty.unbuild
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/mrp_byproduct/__init__.py b/addons/mrp_byproduct/__init__.py
index e7ae8afb15..3abeb6a41c 100644
--- a/addons/mrp_byproduct/__init__.py
+++ b/addons/mrp_byproduct/__init__.py
@@ -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 models
from . import wizard
\ No newline at end of file
diff --git a/addons/mrp_byproduct/__manifest__.py b/addons/mrp_byproduct/__manifest__.py
index 041c58e850..355278bb79 100644
--- a/addons/mrp_byproduct/__manifest__.py
+++ b/addons/mrp_byproduct/__manifest__.py
@@ -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.
{
@@ -20,7 +20,7 @@ With this module:
-----------------
A + B + C -> D + E
""",
- 'website': 'https://www.odoo.com/page/manufacturing',
+ 'website': 'https://flectrahq.com/page/manufacturing',
'depends': ['base', 'mrp'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/mrp_byproduct/models/__init__.py b/addons/mrp_byproduct/models/__init__.py
index a35c17d027..4d1ca455ea 100644
--- a/addons/mrp_byproduct/models/__init__.py
+++ b/addons/mrp_byproduct/models/__init__.py
@@ -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 mrp_bom
from . import mrp_production
diff --git a/addons/mrp_byproduct/models/mrp_bom.py b/addons/mrp_byproduct/models/mrp_bom.py
index 5ab0ab210b..be3b8fd770 100644
--- a/addons/mrp_byproduct/models/mrp_bom.py
+++ b/addons/mrp_byproduct/models/mrp_bom.py
@@ -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 MrpBom(models.Model):
diff --git a/addons/mrp_byproduct/models/mrp_production.py b/addons/mrp_byproduct/models/mrp_production.py
index 05584d0d01..4d2052abc2 100644
--- a/addons/mrp_byproduct/models/mrp_production.py
+++ b/addons/mrp_byproduct/models/mrp_production.py
@@ -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
+from flectra import api, models
-from odoo.tools import float_round
+from flectra.tools import float_round
class MrpProduction(models.Model):
diff --git a/addons/mrp_byproduct/models/mrp_subproduct.py b/addons/mrp_byproduct/models/mrp_subproduct.py
index 18b7fbb473..7892bfa87b 100644
--- a/addons/mrp_byproduct/models/mrp_subproduct.py
+++ b/addons/mrp_byproduct/models/mrp_subproduct.py
@@ -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 api, fields, models, _
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
class MrpSubProduct(models.Model):
diff --git a/addons/mrp_byproduct/models/stock_move.py b/addons/mrp_byproduct/models/stock_move.py
index 119cc8fda9..0a42f9a4cf 100644
--- a/addons/mrp_byproduct/models/stock_move.py
+++ b/addons/mrp_byproduct/models/stock_move.py
@@ -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 StockMove(models.Model):
diff --git a/addons/mrp_byproduct/tests/__init__.py b/addons/mrp_byproduct/tests/__init__.py
index aa2c86d696..68709d9132 100644
--- a/addons/mrp_byproduct/tests/__init__.py
+++ b/addons/mrp_byproduct/tests/__init__.py
@@ -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_mrp_byproduct
diff --git a/addons/mrp_byproduct/tests/test_mrp_byproduct.py b/addons/mrp_byproduct/tests/test_mrp_byproduct.py
index 2b20b116fe..f97b05dd28 100644
--- a/addons/mrp_byproduct/tests/test_mrp_byproduct.py
+++ b/addons/mrp_byproduct/tests/test_mrp_byproduct.py
@@ -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.tests import common
+from flectra.tests import common
class TestMrpByProduct(common.TransactionCase):
diff --git a/addons/mrp_byproduct/views/mrp_bom_views.xml b/addons/mrp_byproduct/views/mrp_bom_views.xml
index dc6993751f..9c0838939d 100644
--- a/addons/mrp_byproduct/views/mrp_bom_views.xml
+++ b/addons/mrp_byproduct/views/mrp_bom_views.xml
@@ -1,5 +1,5 @@
-
+mrp.bom.sub.product
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/mrp_byproduct/wizard/__init__.py b/addons/mrp_byproduct/wizard/__init__.py
index e6a13ea798..0d3c805941 100644
--- a/addons/mrp_byproduct/wizard/__init__.py
+++ b/addons/mrp_byproduct/wizard/__init__.py
@@ -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 change_production_qty
\ No newline at end of file
diff --git a/addons/mrp_byproduct/wizard/change_production_qty.py b/addons/mrp_byproduct/wizard/change_production_qty.py
index aaec431c6f..64ec02504b 100644
--- a/addons/mrp_byproduct/wizard/change_production_qty.py
+++ b/addons/mrp_byproduct/wizard/change_production_qty.py
@@ -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 api, models
+from flectra import api, models
class ChangeProductionQty(models.TransientModel):
@@ -20,4 +20,4 @@ class ChangeProductionQty(models.TransientModel):
qty1 *= product_uom_factor / prod.bom_id.product_qty
move[0].write({'product_uom_qty': qty1})
else:
- prod._create_byproduct_move(sub_product_line)
\ No newline at end of file
+ prod._create_byproduct_move(sub_product_line)
\ No newline at end of file
diff --git a/addons/mrp_repair/__init__.py b/addons/mrp_repair/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/mrp_repair/__init__.py
+++ b/addons/mrp_repair/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/mrp_repair/__manifest__.py b/addons/mrp_repair/__manifest__.py
index 98ce96f36f..12d28172fc 100644
--- a/addons/mrp_repair/__manifest__.py
+++ b/addons/mrp_repair/__manifest__.py
@@ -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.
{
@@ -22,7 +22,7 @@ The following topics are covered by this module:
* Notes for the technician and for the final customer
""",
'depends': ['stock', 'sale_management', 'account'],
- 'website': 'https://www.odoo.com/page/manufacturing',
+ 'website': 'https://flectrahq.com/page/manufacturing',
'data': [
'security/ir.model.access.csv',
'security/mrp_repair_security.xml',
diff --git a/addons/mrp_repair/data/ir_sequence_data.xml b/addons/mrp_repair/data/ir_sequence_data.xml
index 095afd5700..70b4a6aa8a 100644
--- a/addons/mrp_repair/data/ir_sequence_data.xml
+++ b/addons/mrp_repair/data/ir_sequence_data.xml
@@ -1,5 +1,5 @@
-
+Repair Order
@@ -8,4 +8,4 @@
5
-
+
diff --git a/addons/mrp_repair/data/mrp_repair_data.xml b/addons/mrp_repair/data/mrp_repair_data.xml
index 839b5729e2..d273b99d6c 100644
--- a/addons/mrp_repair/data/mrp_repair_data.xml
+++ b/addons/mrp_repair/data/mrp_repair_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -28,4 +28,4 @@
-
+
diff --git a/addons/mrp_repair/models/__init__.py b/addons/mrp_repair/models/__init__.py
index 99c5bc6cb6..bd8ff45758 100644
--- a/addons/mrp_repair/models/__init__.py
+++ b/addons/mrp_repair/models/__init__.py
@@ -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 mrp_repair
from . import stock_traceability
diff --git a/addons/mrp_repair/models/mrp_repair.py b/addons/mrp_repair/models/mrp_repair.py
index 487aadaa40..2d32dade67 100644
--- a/addons/mrp_repair/models/mrp_repair.py
+++ b/addons/mrp_repair/models/mrp_repair.py
@@ -1,12 +1,12 @@
# -*- 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 datetime import datetime
-from odoo import api, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError, ValidationError
-from odoo.tools import float_compare
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError, ValidationError
+from flectra.tools import float_compare
class StockMove(models.Model):
diff --git a/addons/mrp_repair/models/stock_traceability.py b/addons/mrp_repair/models/stock_traceability.py
index 9d08311854..7cff07d004 100644
--- a/addons/mrp_repair/models/stock_traceability.py
+++ b/addons/mrp_repair/models/stock_traceability.py
@@ -1,4 +1,4 @@
-from odoo import models, api
+from flectra import models, api
class MrpStockReport(models.TransientModel):
_inherit = 'stock.traceability.report'
diff --git a/addons/mrp_repair/report/mrp_repair_reports.xml b/addons/mrp_repair/report/mrp_repair_reports.xml
index ca9c966538..056a4cdc3a 100644
--- a/addons/mrp_repair/report/mrp_repair_reports.xml
+++ b/addons/mrp_repair/report/mrp_repair_reports.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/mrp_repair/report/mrp_repair_templates_repair_order.xml b/addons/mrp_repair/report/mrp_repair_templates_repair_order.xml
index 2171b51373..8eb1257bce 100644
--- a/addons/mrp_repair/report/mrp_repair_templates_repair_order.xml
+++ b/addons/mrp_repair/report/mrp_repair_templates_repair_order.xml
@@ -1,5 +1,5 @@
-
+
@@ -166,4 +166,4 @@
-
+
diff --git a/addons/mrp_repair/security/mrp_repair_security.xml b/addons/mrp_repair/security/mrp_repair_security.xml
index 99afbc61f8..d288d2e96f 100644
--- a/addons/mrp_repair/security/mrp_repair_security.xml
+++ b/addons/mrp_repair/security/mrp_repair_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/mrp_repair/tests/__init__.py b/addons/mrp_repair/tests/__init__.py
index 0d6a3e371e..7de72adcbf 100644
--- a/addons/mrp_repair/tests/__init__.py
+++ b/addons/mrp_repair/tests/__init__.py
@@ -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_mrp_repair
diff --git a/addons/mrp_repair/tests/test_mrp_repair.py b/addons/mrp_repair/tests/test_mrp_repair.py
index b8f9a7e168..ca6a2e8e82 100644
--- a/addons/mrp_repair/tests/test_mrp_repair.py
+++ b/addons/mrp_repair/tests/test_mrp_repair.py
@@ -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.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestMrpRepair(AccountingTestCase):
diff --git a/addons/mrp_repair/views/mrp_repair_views.xml b/addons/mrp_repair/views/mrp_repair_views.xml
index ddee570124..4449cd3bee 100644
--- a/addons/mrp_repair/views/mrp_repair_views.xml
+++ b/addons/mrp_repair/views/mrp_repair_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -291,4 +291,4 @@
web_icon="mrp_repair,static/description/icon.png"/>
-
+
diff --git a/addons/mrp_repair/wizard/__init__.py b/addons/mrp_repair/wizard/__init__.py
index 1d010fc960..6096aeddec 100644
--- a/addons/mrp_repair/wizard/__init__.py
+++ b/addons/mrp_repair/wizard/__init__.py
@@ -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 mrp_repair_cancel
from . import mrp_repair_make_invoice
diff --git a/addons/mrp_repair/wizard/mrp_repair_cancel.py b/addons/mrp_repair/wizard/mrp_repair_cancel.py
index f9a0ef17a1..f0c5f1d94c 100644
--- a/addons/mrp_repair/wizard/mrp_repair_cancel.py
+++ b/addons/mrp_repair/wizard/mrp_repair_cancel.py
@@ -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 api, models, _
-from odoo.exceptions import UserError
+from flectra import api, models, _
+from flectra.exceptions import UserError
class RepairCancel(models.TransientModel):
diff --git a/addons/mrp_repair/wizard/mrp_repair_cancel_views.xml b/addons/mrp_repair/wizard/mrp_repair_cancel_views.xml
index 3cfd39117c..d9171a03cf 100644
--- a/addons/mrp_repair/wizard/mrp_repair_cancel_views.xml
+++ b/addons/mrp_repair/wizard/mrp_repair_cancel_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -30,4 +30,4 @@
-
+
diff --git a/addons/mrp_repair/wizard/mrp_repair_make_invoice.py b/addons/mrp_repair/wizard/mrp_repair_make_invoice.py
index 03e89da5cd..3c7b0d6b3b 100644
--- a/addons/mrp_repair/wizard/mrp_repair_make_invoice.py
+++ b/addons/mrp_repair/wizard/mrp_repair_make_invoice.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class MakeInvoice(models.TransientModel):
diff --git a/addons/mrp_repair/wizard/mrp_repair_make_invoice_views.xml b/addons/mrp_repair/wizard/mrp_repair_make_invoice_views.xml
index 75877ac939..f9d8e11ea0 100644
--- a/addons/mrp_repair/wizard/mrp_repair_make_invoice_views.xml
+++ b/addons/mrp_repair/wizard/mrp_repair_make_invoice_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -30,4 +30,4 @@
multi="True"/>
-
+
diff --git a/addons/mrp_repair/wizard/stock_warn_insufficient_qty.py b/addons/mrp_repair/wizard/stock_warn_insufficient_qty.py
index 30e4f21a66..80ec7ffad5 100644
--- a/addons/mrp_repair/wizard/stock_warn_insufficient_qty.py
+++ b/addons/mrp_repair/wizard/stock_warn_insufficient_qty.py
@@ -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 StockWarnInsufficientQtyRepair(models.TransientModel):
_name = 'stock.warn.insufficient.qty.repair'
diff --git a/addons/mrp_repair/wizard/stock_warn_insufficient_qty_views.xml b/addons/mrp_repair/wizard/stock_warn_insufficient_qty_views.xml
index 132284bff2..43d81bc2ce 100644
--- a/addons/mrp_repair/wizard/stock_warn_insufficient_qty_views.xml
+++ b/addons/mrp_repair/wizard/stock_warn_insufficient_qty_views.xml
@@ -1,5 +1,5 @@
-
+stock.warn.insufficient.qty.repairstock.warn.insufficient.qty.repair
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/note/__init__.py b/addons/note/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/note/__init__.py
+++ b/addons/note/__init__.py
@@ -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 models
diff --git a/addons/note/__manifest__.py b/addons/note/__manifest__.py
index 15dbe44874..2681d369cc 100644
--- a/addons/note/__manifest__.py
+++ b/addons/note/__manifest__.py
@@ -1,12 +1,12 @@
# -*- 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.
{
'name': 'Productivity',
'version': '1.0',
'category': 'Tools',
'description': "",
- 'website': 'https://www.odoo.com/page/notes',
+ 'website': 'https://flectrahq.com/page/notes',
'summary': 'Sticky notes, Collaborative, Memos',
'sequence': 45,
'depends': [
diff --git a/addons/note/data/note_data.xml b/addons/note/data/note_data.xml
index 292dc9487b..ce8b769368 100644
--- a/addons/note/data/note_data.xml
+++ b/addons/note/data/note_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -33,4 +33,4 @@
-
+
diff --git a/addons/note/data/note_demo.xml b/addons/note/data/note_demo.xml
index 7e0af90cc4..42e0bd5dbb 100644
--- a/addons/note/data/note_demo.xml
+++ b/addons/note/data/note_demo.xml
@@ -1,5 +1,5 @@
-
+Today
@@ -92,8 +92,8 @@
Read those books
-
* Odoo: a modern approach to integrated business management
- * Odoo for Retail and Industrial Management
+
* Flectra: a modern approach to integrated business management
+ * Flectra for Retail and Industrial Management
]]>
@@ -101,9 +101,9 @@
- Read some documentation about Odoo before diving into the code
-
* Odoo: a modern approach to integrated business management
- * Odoo for Retail and Industrial Management
+ Read some documentation about Flectra before diving into the code
+
* Flectra: a modern approach to integrated business management
+ * Flectra for Retail and Industrial Management
]]>
7
@@ -111,4 +111,4 @@
-
+
diff --git a/addons/note/models/__init__.py b/addons/note/models/__init__.py
index 5c651fca9a..56eb3e573b 100644
--- a/addons/note/models/__init__.py
+++ b/addons/note/models/__init__.py
@@ -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 note
from . import res_users
diff --git a/addons/note/models/note.py b/addons/note/models/note.py
index 2861bb9d0f..482d14cd24 100644
--- a/addons/note/models/note.py
+++ b/addons/note/models/note.py
@@ -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 api, fields, models, _
-from odoo.tools import html2plaintext
+from flectra import api, fields, models, _
+from flectra.tools import html2plaintext
class Stage(models.Model):
diff --git a/addons/note/models/res_users.py b/addons/note/models/res_users.py
index 4cb4e3757c..8397a1102c 100644
--- a/addons/note/models/res_users.py
+++ b/addons/note/models/res_users.py
@@ -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 api, models
+from flectra import api, models
class Users(models.Model):
diff --git a/addons/note/security/note_security.xml b/addons/note/security/note_security.xml
index 6463bbfab1..a29d83114c 100644
--- a/addons/note/security/note_security.xml
+++ b/addons/note/security/note_security.xml
@@ -1,5 +1,5 @@
-
+Only followers can access a sticky notes
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/note/tests/__init__.py b/addons/note/tests/__init__.py
index b712013885..d7b6029dd3 100644
--- a/addons/note/tests/__init__.py
+++ b/addons/note/tests/__init__.py
@@ -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_note
diff --git a/addons/note/tests/test_note.py b/addons/note/tests/test_note.py
index 124f45ca0a..a92a78e63a 100644
--- a/addons/note/tests/test_note.py
+++ b/addons/note/tests/test_note.py
@@ -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.tests import common
+from flectra.tests import common
class TestNote(common.TransactionCase):
diff --git a/addons/note/views/note_templates.xml b/addons/note/views/note_templates.xml
index dcdc6e5cd9..bb076b4148 100644
--- a/addons/note/views/note_templates.xml
+++ b/addons/note/views/note_templates.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml
index 77c766c3fd..6503f20b25 100644
--- a/addons/note/views/note_views.xml
+++ b/addons/note/views/note_views.xml
@@ -1,5 +1,5 @@
-
+note.stage.form
@@ -249,4 +249,4 @@
action="note_tag_action"
sequence="22"/>
-
+
diff --git a/addons/note_pad/__init__.py b/addons/note_pad/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/note_pad/__init__.py
+++ b/addons/note_pad/__init__.py
@@ -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 models
diff --git a/addons/note_pad/__manifest__.py b/addons/note_pad/__manifest__.py
index 87b64cedbb..7961b85f83 100644
--- a/addons/note_pad/__manifest__.py
+++ b/addons/note_pad/__manifest__.py
@@ -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.
{
'name': 'Memos pad',
@@ -12,7 +12,7 @@ This module update memos inside Odoo for using an external pad
Use for update your text memo in real time with the following user that you invite.
""",
- 'website': 'https://www.odoo.com/page/notes',
+ 'website': 'https://flectrahq.com/page/notes',
'summary': 'Sticky memos, Collaborative',
'depends': [
'mail',
diff --git a/addons/note_pad/models/__init__.py b/addons/note_pad/models/__init__.py
index 266ecc6a7a..25b18b697e 100644
--- a/addons/note_pad/models/__init__.py
+++ b/addons/note_pad/models/__init__.py
@@ -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 note
diff --git a/addons/note_pad/models/note.py b/addons/note_pad/models/note.py
index 080e313a87..c8ec32b28e 100644
--- a/addons/note_pad/models/note.py
+++ b/addons/note_pad/models/note.py
@@ -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 NotePad(models.Model):
diff --git a/addons/note_pad/views/note_views.xml b/addons/note_pad/views/note_views.xml
index b36586fee4..9eaedbedf6 100644
--- a/addons/note_pad/views/note_views.xml
+++ b/addons/note_pad/views/note_views.xml
@@ -1,5 +1,5 @@
-
+note_pad.view.form
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/pad/__init__.py b/addons/pad/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/pad/__init__.py
+++ b/addons/pad/__init__.py
@@ -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 models
diff --git a/addons/pad/__manifest__.py b/addons/pad/__manifest__.py
index 22e7c14bff..958a46fff1 100644
--- a/addons/pad/__manifest__.py
+++ b/addons/pad/__manifest__.py
@@ -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.
{
'name': 'Collaborative Pads',
@@ -12,7 +12,7 @@ Adds enhanced support for (Ether)Pad attachments in the web client.
Lets the company customize which Pad installation should be used to link to new
pads (by default, http://etherpad.com/).
""",
- 'website': 'https://www.odoo.com/page/notes',
+ 'website': 'https://flectrahq.com/page/notes',
'depends': ['web', 'base_setup'],
'data': [
'views/pad.xml',
diff --git a/addons/pad/data/pad_demo.xml b/addons/pad/data/pad_demo.xml
index 723d1ac977..8b69667dd7 100644
--- a/addons/pad/data/pad_demo.xml
+++ b/addons/pad/data/pad_demo.xml
@@ -1,12 +1,12 @@
-
+
- https://pad.odoo.com
+ https://pad.flectra.com4DxmsNIbnQUVQMW9S9tx2oLOSjFdrx1l
-
+
diff --git a/addons/pad/models/__init__.py b/addons/pad/models/__init__.py
index 24e85f37e8..b02e64e8a9 100644
--- a/addons/pad/models/__init__.py
+++ b/addons/pad/models/__init__.py
@@ -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 res_config_settings
from . import pad
diff --git a/addons/pad/models/pad.py b/addons/pad/models/pad.py
index 60eaa5fc2b..ee8c52f692 100644
--- a/addons/pad/models/pad.py
+++ b/addons/pad/models/pad.py
@@ -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.
import logging
import random
@@ -8,9 +8,9 @@ import string
import requests
-from odoo import api, models, _
-from odoo.exceptions import UserError
-from odoo.tools import html2plaintext
+from flectra import api, models, _
+from flectra.exceptions import UserError
+from flectra.tools import html2plaintext
from ..py_etherpad import EtherpadLiteClient
diff --git a/addons/pad/models/res_company.py b/addons/pad/models/res_company.py
index 18c05556f2..965e29c626 100644
--- a/addons/pad/models/res_company.py
+++ b/addons/pad/models/res_company.py
@@ -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 ResCompany(models.Model):
diff --git a/addons/pad/models/res_config_settings.py b/addons/pad/models/res_config_settings.py
index 939bb10e93..786998a5f9 100644
--- a/addons/pad/models/res_config_settings.py
+++ b/addons/pad/models/res_config_settings.py
@@ -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):
diff --git a/addons/pad/static/plugin/ep_disable_init_focus/package.json b/addons/pad/static/plugin/ep_disable_init_focus/package.json
index e6f307d19f..c54612a979 100644
--- a/addons/pad/static/plugin/ep_disable_init_focus/package.json
+++ b/addons/pad/static/plugin/ep_disable_init_focus/package.json
@@ -9,7 +9,7 @@
"node":"*"
},
"author":{
- "name":"Odoo S.A. - Hitesh Trivedi",
+ "name":"Flectra S.A. - Hitesh Trivedi",
"email":"thiteshm155@gmail.com"
}
}
diff --git a/addons/pad/static/src/js/pad.js b/addons/pad/static/src/js/pad.js
index 1d162bdbc8..e1f417e6f1 100644
--- a/addons/pad/static/src/js/pad.js
+++ b/addons/pad/static/src/js/pad.js
@@ -1,4 +1,4 @@
-odoo.define('pad.pad', function (require) {
+flectra.define('pad.pad', function (require) {
"use strict";
var AbstractField = require('web.AbstractField');
diff --git a/addons/pad/static/tests/pad_tests.js b/addons/pad/static/tests/pad_tests.js
index f2ab3a42df..5a05e1d4e2 100644
--- a/addons/pad/static/tests/pad_tests.js
+++ b/addons/pad/static/tests/pad_tests.js
@@ -1,4 +1,4 @@
-odoo.define('pad.pad_tests', function (require) {
+flectra.define('pad.pad_tests', function (require) {
"use strict";
var FieldPad = require('pad.pad');
@@ -16,14 +16,14 @@ QUnit.module('pad widget', {
},
records: [
{id: 1, description: false},
- {id: 2, description: "https://pad.odoo.pad/p/test-03AK6RCJT"},
+ {id: 2, description: "https://pad.flectra.pad/p/test-03AK6RCJT"},
],
pad_is_configured: function () {
return true;
},
pad_generate_url: function (route, args) {
return {
- url:'https://pad.odoo.pad/p/test/' + args.context.object_id
+ url:'https://pad.flectra.pad/p/test/' + args.context.object_id
};
},
pad_get_content: function () {
@@ -85,7 +85,7 @@ QUnit.module('pad widget', {
'',
res_id: 1,
mockRPC: function (route, args) {
- if (route === 'https://pad.odoo.pad/p/test/1?showChat=false&userName=batman') {
+ if (route === 'https://pad.flectra.pad/p/test/1?showChat=false&userName=batman') {
assert.ok(true, "should have an iframe with correct src");
return $.when(true);
}
diff --git a/addons/pad/views/pad.xml b/addons/pad/views/pad.xml
index 126f8c84f1..1cd3f7f6e0 100644
--- a/addons/pad/views/pad.xml
+++ b/addons/pad/views/pad.xml
@@ -1,5 +1,5 @@
-
+
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/pad/views/res_config_settings_views.xml b/addons/pad/views/res_config_settings_views.xml
index 4d0744d9d7..4f1932e05c 100644
--- a/addons/pad/views/res_config_settings_views.xml
+++ b/addons/pad/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.padres.config.settings
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/pad_project/__init__.py b/addons/pad_project/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/pad_project/__init__.py
+++ b/addons/pad_project/__init__.py
@@ -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 models
diff --git a/addons/pad_project/__manifest__.py b/addons/pad_project/__manifest__.py
index b5a16a8be0..5fc8d48a71 100644
--- a/addons/pad_project/__manifest__.py
+++ b/addons/pad_project/__manifest__.py
@@ -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.
{
'name': 'Pad on tasks',
@@ -8,7 +8,7 @@
This module adds a PAD in all project form views.
=================================================
""",
- 'website': 'https://www.odoo.com/page/project-management',
+ 'website': 'https://flectrahq.com/page/project-management',
'depends': [
'project',
'pad'
diff --git a/addons/pad_project/models/__init__.py b/addons/pad_project/models/__init__.py
index 527e2954c0..0d00687986 100644
--- a/addons/pad_project/models/__init__.py
+++ b/addons/pad_project/models/__init__.py
@@ -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 project
diff --git a/addons/pad_project/models/project.py b/addons/pad_project/models/project.py
index eae27a4f6a..20da39ca40 100644
--- a/addons/pad_project/models/project.py
+++ b/addons/pad_project/models/project.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ProjectTask(models.Model):
diff --git a/addons/pad_project/views/project_views.xml b/addons/pad_project/views/project_views.xml
index e97514a985..34ff63e6cf 100644
--- a/addons/pad_project/views/project_views.xml
+++ b/addons/pad_project/views/project_views.xml
@@ -1,5 +1,5 @@
-
+project.task.form.inheritproject.task
@@ -26,4 +26,4 @@
-
+
diff --git a/addons/pad_project/views/res_config_settings_views.xml b/addons/pad_project/views/res_config_settings_views.xml
index 469f203e65..0246e59b2b 100644
--- a/addons/pad_project/views/res_config_settings_views.xml
+++ b/addons/pad_project/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.pad.projectres.config.settings
@@ -20,4 +20,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/payment/__init__.py b/addons/payment/__init__.py
index b75bfd8cfe..1b140d0b38 100644
--- a/addons/payment/__init__.py
+++ b/addons/payment/__init__.py
@@ -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 models
from . import controllers
\ No newline at end of file
diff --git a/addons/payment/controllers/__init__.py b/addons/payment/controllers/__init__.py
index 903b755e71..e344144f49 100644
--- a/addons/payment/controllers/__init__.py
+++ b/addons/payment/controllers/__init__.py
@@ -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 portal
diff --git a/addons/payment/controllers/portal.py b/addons/payment/controllers/portal.py
index 265309f8d3..01a4cf3c25 100644
--- a/addons/payment/controllers/portal.py
+++ b/addons/payment/controllers/portal.py
@@ -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 WebsitePayment(http.Controller):
diff --git a/addons/payment/data/account_data.xml b/addons/payment/data/account_data.xml
index 2c9ad492b8..cc12d10683 100644
--- a/addons/payment/data/account_data.xml
+++ b/addons/payment/data/account_data.xml
@@ -1,8 +1,8 @@
-
+Electronicelectronicinbound
-
+
diff --git a/addons/payment/data/payment_acquirer_data.xml b/addons/payment/data/payment_acquirer_data.xml
index 871ee7ef8e..14b0b374ee 100644
--- a/addons/payment/data/payment_acquirer_data.xml
+++ b/addons/payment/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -241,4 +241,4 @@
ref("payment.payment_icon_cc_visa")])]'/>
-
+
diff --git a/addons/payment/data/payment_icon_data.xml b/addons/payment/data/payment_icon_data.xml
index 4dc62d67e3..690f5a8e7d 100644
--- a/addons/payment/data/payment_icon_data.xml
+++ b/addons/payment/data/payment_icon_data.xml
@@ -1,5 +1,5 @@
-
+VISA
@@ -54,4 +54,4 @@
Bancontact
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/payment/models/account_payment.py b/addons/payment/models/account_payment.py
index 5a15e71e6e..06eacdf61d 100644
--- a/addons/payment/models/account_payment.py
+++ b/addons/payment/models/account_payment.py
@@ -2,8 +2,8 @@
import datetime
-from odoo import _, api, fields, models
-from odoo.exceptions import ValidationError
+from flectra import _, api, fields, models
+from flectra.exceptions import ValidationError
class AccountPayment(models.Model):
diff --git a/addons/payment/models/payment_acquirer.py b/addons/payment/models/payment_acquirer.py
index 319807780c..f4f8b6e5bd 100644
--- a/addons/payment/models/payment_acquirer.py
+++ b/addons/payment/models/payment_acquirer.py
@@ -4,10 +4,10 @@ import hmac
import logging
import datetime
-from odoo import api, exceptions, fields, models, _
-from odoo.tools import consteq, float_round, image_resize_images, image_resize_image, ustr
-from odoo.addons.base.module import module
-from odoo.exceptions import ValidationError
+from flectra import api, exceptions, fields, models, _
+from flectra.tools import consteq, float_round, image_resize_images, image_resize_image, ustr
+from flectra.addons.base.module import module
+from flectra.exceptions import ValidationError
_logger = logging.getLogger(__name__)
@@ -74,7 +74,7 @@ class PaymentAcquirer(models.Model):
help="Make this payment acquirer available (Customer invoices, etc.)")
# Formerly associated to `authorize` option from auto_confirm
capture_manually = fields.Boolean(string="Capture Amount Manually",
- help="Capture the amount from Odoo, when the delivery is completed.")
+ help="Capture the amount from Flectra, when the delivery is completed.")
# Formerly associated to `generate_and_pay_invoice` option from auto_confirm
journal_id = fields.Many2one(
'account.journal', 'Payment Journal', domain=[('type', '=', 'bank')],
@@ -277,7 +277,7 @@ class PaymentAcquirer(models.Model):
- 'return_url': URL for coming back after payment validation (wihout base url) -> FIXME
- 'cancel_url': URL if the client cancels the payment -> FIXME
- 'error_url': URL if there is an issue with the payment -> FIXME
- - context: Odoo context
+ - context: Flectra context
"""
if values is None:
diff --git a/addons/payment/models/res_partner.py b/addons/payment/models/res_partner.py
index ef97997c26..3ab670a03a 100644
--- a/addons/payment/models/res_partner.py
+++ b/addons/payment/models/res_partner.py
@@ -1,6 +1,6 @@
# coding: utf-8
-from odoo import api, fields, models
+from flectra import api, fields, models
class res_partner(models.Model):
diff --git a/addons/payment/security/payment_security.xml b/addons/payment/security/payment_security.xml
index df797070ae..cb50efeacd 100644
--- a/addons/payment/security/payment_security.xml
+++ b/addons/payment/security/payment_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/payment/static/src/js/payment_form.js b/addons/payment/static/src/js/payment_form.js
index dd643840e9..3ecefbd22b 100644
--- a/addons/payment/static/src/js/payment_form.js
+++ b/addons/payment/static/src/js/payment_form.js
@@ -1,4 +1,4 @@
-odoo.define('payment.payment_form', function (require) {
+flectra.define('payment.payment_form', function (require) {
"use strict";
var ajax = require('web.ajax');
diff --git a/addons/payment/static/src/js/payment_transaction_portal.js b/addons/payment/static/src/js/payment_transaction_portal.js
index 26c0fb35d1..b11649356c 100644
--- a/addons/payment/static/src/js/payment_transaction_portal.js
+++ b/addons/payment/static/src/js/payment_transaction_portal.js
@@ -1,4 +1,4 @@
-odoo.define('payment.website_payment', function (require) {
+flectra.define('payment.website_payment', function (require) {
"use strict";
require('web.dom_ready');
diff --git a/addons/payment/static/src/less/payment_form.less b/addons/payment/static/src/less/payment_form.less
index b5aeb2e928..169e9b67cf 100644
--- a/addons/payment/static/src/less/payment_form.less
+++ b/addons/payment/static/src/less/payment_form.less
@@ -47,4 +47,4 @@
margin-top: 0px !important;
margin-bottom: -5px !important;
}
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/payment/tests/common.py b/addons/payment/tests/common.py
index 4caa6206dc..0c3070f707 100644
--- a/addons/payment/tests/common.py
+++ b/addons/payment/tests/common.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
+from flectra.tests import common
class PaymentAcquirerCommon(common.TransactionCase):
diff --git a/addons/payment/views/account_payment_views.xml b/addons/payment/views/account_payment_views.xml
index dd9a5400be..acdab4e2e3 100644
--- a/addons/payment/views/account_payment_views.xml
+++ b/addons/payment/views/account_payment_views.xml
@@ -1,5 +1,5 @@
-
+view.account.payment.form.inherit.payment
@@ -27,4 +27,4 @@
-
+
diff --git a/addons/payment/views/assets.xml b/addons/payment/views/assets.xml
index c5639ba06d..e8059d9b60 100644
--- a/addons/payment/views/assets.xml
+++ b/addons/payment/views/assets.xml
@@ -1,5 +1,5 @@
-
+
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/payment/views/payment_portal_templates.xml b/addons/payment/views/payment_portal_templates.xml
index f599329e5e..35ff7d35ce 100644
--- a/addons/payment/views/payment_portal_templates.xml
+++ b/addons/payment/views/payment_portal_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -123,4 +123,4 @@
-
+
diff --git a/addons/payment/views/payment_templates.xml b/addons/payment/views/payment_templates.xml
index d85ae8a135..eddba823e2 100644
--- a/addons/payment/views/payment_templates.xml
+++ b/addons/payment/views/payment_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -153,4 +153,4 @@
-
+
diff --git a/addons/payment/views/payment_views.xml b/addons/payment/views/payment_views.xml
index 21f63f8cf1..794c83f2a0 100644
--- a/addons/payment/views/payment_views.xml
+++ b/addons/payment/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -450,4 +450,4 @@
parent="root_payment_menu"
groups="base.group_no_one"/>
-
+
diff --git a/addons/payment/views/res_partner_views.xml b/addons/payment/views/res_partner_views.xml
index 4708fec0c5..8a26dea002 100644
--- a/addons/payment/views/res_partner_views.xml
+++ b/addons/payment/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/payment_adyen/__init__.py b/addons/payment_adyen/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_adyen/__init__.py
+++ b/addons/payment_adyen/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_adyen/controllers/main.py b/addons/payment_adyen/controllers/main.py
index b6b4331e57..7da323a1e0 100644
--- a/addons/payment_adyen/controllers/main.py
+++ b/addons/payment_adyen/controllers/main.py
@@ -5,8 +5,8 @@ import logging
import pprint
import werkzeug
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_adyen/data/payment_acquirer_data.xml b/addons/payment_adyen/data/payment_acquirer_data.xml
index a0b6488663..f8882ffd05 100644
--- a/addons/payment_adyen/data/payment_acquirer_data.xml
+++ b/addons/payment_adyen/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/payment_adyen/models/payment.py b/addons/payment_adyen/models/payment.py
index dbc24ced0c..0cfe5a846d 100644
--- a/addons/payment_adyen/models/payment.py
+++ b/addons/payment_adyen/models/payment.py
@@ -11,9 +11,9 @@ from itertools import chain
from werkzeug import urls
-from odoo import api, fields, models, tools, _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment_adyen.controllers.main import AdyenController
+from flectra import api, fields, models, tools, _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment_adyen.controllers.main import AdyenController
_logger = logging.getLogger(__name__)
@@ -38,8 +38,8 @@ class AcquirerAdyen(models.Model):
""" Generate the shasign for incoming or outgoing communications., when using the SHA-256
signature.
- :param string inout: 'in' (odoo contacting ogone) or 'out' (adyen
- contacting odoo). In this last case only some
+ :param string inout: 'in' (flectra contacting ogone) or 'out' (adyen
+ contacting flectra). In this last case only some
fields should be contained (see e-Commerce basic)
:param dict values: transaction values
:return string: shasign
@@ -88,8 +88,8 @@ class AcquirerAdyen(models.Model):
""" Generate the shasign for incoming or outgoing communications, when using the SHA-1
signature (deprecated by Adyen).
- :param string inout: 'in' (odoo contacting ogone) or 'out' (adyen
- contacting odoo). In this last case only some
+ :param string inout: 'in' (flectra contacting ogone) or 'out' (adyen
+ contacting flectra). In this last case only some
fields should be contained (see e-Commerce basic)
:param dict values: transaction values
diff --git a/addons/payment_adyen/tests/test_adyen.py b/addons/payment_adyen/tests/test_adyen.py
index 2e1d3eb53f..f3fc0ffacf 100644
--- a/addons/payment_adyen/tests/test_adyen.py
+++ b/addons/payment_adyen/tests/test_adyen.py
@@ -2,8 +2,8 @@
from lxml import objectify
-from odoo.addons.payment.tests.common import PaymentAcquirerCommon
-from odoo.addons.payment_adyen.controllers.main import AdyenController
+from flectra.addons.payment.tests.common import PaymentAcquirerCommon
+from flectra.addons.payment_adyen.controllers.main import AdyenController
from werkzeug import urls
diff --git a/addons/payment_adyen/views/payment_adyen_templates.xml b/addons/payment_adyen/views/payment_adyen_templates.xml
index 4f4d21811a..83a6cb5256 100644
--- a/addons/payment_adyen/views/payment_adyen_templates.xml
+++ b/addons/payment_adyen/views/payment_adyen_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -24,4 +24,4 @@
type='hidden' name='shopperEmail' t-att-value="shopperEmail"/>
-
+
diff --git a/addons/payment_adyen/views/payment_views.xml b/addons/payment_adyen/views/payment_views.xml
index 6914a28ff3..54f3c3b13c 100644
--- a/addons/payment_adyen/views/payment_views.xml
+++ b/addons/payment_adyen/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/payment_authorize/__init__.py b/addons/payment_authorize/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_authorize/__init__.py
+++ b/addons/payment_authorize/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_authorize/controllers/main.py b/addons/payment_authorize/controllers/main.py
index 6b0aae9bf6..843b95d467 100644
--- a/addons/payment_authorize/controllers/main.py
+++ b/addons/payment_authorize/controllers/main.py
@@ -3,8 +3,8 @@ import pprint
import logging
from werkzeug import urls, utils
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_authorize/data/payment_acquirer_data.xml b/addons/payment_authorize/data/payment_acquirer_data.xml
index da0e438c41..05bdaabd6c 100644
--- a/addons/payment_authorize/data/payment_acquirer_data.xml
+++ b/addons/payment_authorize/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/payment_authorize/models/authorize_request.py b/addons/payment_authorize/models/authorize_request.py
index 939abcaf04..9da456b881 100644
--- a/addons/payment_authorize/models/authorize_request.py
+++ b/addons/payment_authorize/models/authorize_request.py
@@ -5,9 +5,9 @@ from lxml import etree, objectify
from xml.etree import ElementTree as ET
from uuid import uuid4
-from odoo import _
-from odoo.exceptions import ValidationError, UserError
-from odoo import _
+from flectra import _
+from flectra.exceptions import ValidationError, UserError
+from flectra import _
XMLNS = 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'
@@ -118,7 +118,7 @@ class AuthorizeAPI():
"""Create a payment and customer profile in the Authorize.net backend.
Creates a customer profile for the partner/credit card combination and links
- a corresponding payment profile to it. Note that a single partner in the Odoo
+ a corresponding payment profile to it. Note that a single partner in the Flectra
database can have multiple customer profiles in Authorize.net (i.e. a customer
profile is created for every res.partner/payment.token couple).
@@ -133,7 +133,7 @@ class AuthorizeAPI():
"""
root = self._base_tree('createCustomerProfileRequest')
profile = etree.SubElement(root, "profile")
- etree.SubElement(profile, "merchantCustomerId").text = 'ODOO-%s-%s' % (partner.id, uuid4().hex[:8])
+ etree.SubElement(profile, "merchantCustomerId").text = 'FLECTRA-%s-%s' % (partner.id, uuid4().hex[:8])
etree.SubElement(profile, "email").text = partner.email
payment_profile = etree.SubElement(profile, "paymentProfiles")
etree.SubElement(payment_profile, "customerType").text = 'business' if partner.is_company else 'individual'
@@ -175,7 +175,7 @@ class AuthorizeAPI():
"""Create an Auth.net payment/customer profile from an existing transaction.
Creates a customer profile for the partner/credit card combination and links
- a corresponding payment profile to it. Note that a single partner in the Odoo
+ a corresponding payment profile to it. Note that a single partner in the Flectra
database can have multiple customer profiles in Authorize.net (i.e. a customer
profile is created for every res.partner/payment.token couple).
@@ -194,7 +194,7 @@ class AuthorizeAPI():
root = self._base_tree('createCustomerProfileFromTransactionRequest')
etree.SubElement(root, "transId").text = transaction_id
customer = etree.SubElement(root, "customer")
- etree.SubElement(customer, "merchantCustomerId").text = 'ODOO-%s-%s' % (partner.id, uuid4().hex[:8])
+ etree.SubElement(customer, "merchantCustomerId").text = 'FLECTRA-%s-%s' % (partner.id, uuid4().hex[:8])
etree.SubElement(customer, "email").text = partner.email or ''
response = self._authorize_request(root)
res = dict()
diff --git a/addons/payment_authorize/models/payment.py b/addons/payment_authorize/models/payment.py
index ad792a0898..4315690e40 100644
--- a/addons/payment_authorize/models/payment.py
+++ b/addons/payment_authorize/models/payment.py
@@ -8,11 +8,11 @@ import hmac
import logging
import time
-from odoo import _, api, fields, models
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment_authorize.controllers.main import AuthorizeController
-from odoo.tools.float_utils import float_compare
-from odoo.tools.safe_eval import safe_eval
+from flectra import _, api, fields, models
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment_authorize.controllers.main import AuthorizeController
+from flectra.tools.float_utils import float_compare
+from flectra.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_authorize/tests/test_authorize.py b/addons/payment_authorize/tests/test_authorize.py
index 9e438deb76..b6abe74c6d 100644
--- a/addons/payment_authorize/tests/test_authorize.py
+++ b/addons/payment_authorize/tests/test_authorize.py
@@ -7,15 +7,15 @@ import unittest
from lxml import objectify
from werkzeug import urls
-import odoo
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment.tests.common import PaymentAcquirerCommon
-from odoo.addons.payment_authorize.controllers.main import AuthorizeController
-from odoo.tools import mute_logger
+import flectra
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment.tests.common import PaymentAcquirerCommon
+from flectra.addons.payment_authorize.controllers.main import AuthorizeController
+from flectra.tools import mute_logger
-@odoo.tests.common.at_install(True)
-@odoo.tests.common.post_install(True)
+@flectra.tests.common.at_install(True)
+@flectra.tests.common.post_install(True)
class AuthorizeCommon(PaymentAcquirerCommon):
def setUp(self):
@@ -28,8 +28,8 @@ class AuthorizeCommon(PaymentAcquirerCommon):
# self.authorize.auto_confirm = 'confirm_so'
-@odoo.tests.common.at_install(True)
-@odoo.tests.common.post_install(True)
+@flectra.tests.common.at_install(True)
+@flectra.tests.common.post_install(True)
class AuthorizeForm(AuthorizeCommon):
def _authorize_generate_hashing(self, values):
@@ -103,7 +103,7 @@ class AuthorizeForm(AuthorizeCommon):
'Authorize: wrong value for input %s: received %s instead of %s' % (values[1], values[2], form_values[values[1]])
)
- @mute_logger('odoo.addons.payment_authorize.models.payment', 'ValidationError')
+ @mute_logger('flectra.addons.payment_authorize.models.payment', 'ValidationError')
def test_20_authorize_form_management(self):
# be sure not to do stupid thing
self.assertEqual(self.authorize.environment, 'test', 'test without test environment')
@@ -188,7 +188,7 @@ class AuthorizeForm(AuthorizeCommon):
self.assertEqual(authorize.environment, 'test', 'test without test environment')
# add credential
- # FIXME: put this test in master-nightly on odoo/odoo + create sandbox account
+ # FIXME: put this test in master-nightly on flectra/flectra + create sandbox account
authorize.write({
'authorize_transaction_key': '',
'authorize_login': '',
diff --git a/addons/payment_authorize/views/payment_authorize_templates.xml b/addons/payment_authorize/views/payment_authorize_templates.xml
index 1e56c30931..49bd1f9bbd 100644
--- a/addons/payment_authorize/views/payment_authorize_templates.xml
+++ b/addons/payment_authorize/views/payment_authorize_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -74,4 +74,4 @@
-
+
diff --git a/addons/payment_authorize/views/payment_views.xml b/addons/payment_authorize/views/payment_views.xml
index 0237325e0c..84541b89b7 100644
--- a/addons/payment_authorize/views/payment_views.xml
+++ b/addons/payment_authorize/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+acquirer.form.authorizepayment.acquirer
@@ -9,7 +9,7 @@
- How to get paid with Authorize.Net
+ How to get paid with Authorize.Net
@@ -27,4 +27,4 @@
-
+
diff --git a/addons/payment_buckaroo/__init__.py b/addons/payment_buckaroo/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_buckaroo/__init__.py
+++ b/addons/payment_buckaroo/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_buckaroo/controllers/main.py b/addons/payment_buckaroo/controllers/main.py
index 40e4ae539e..bb9637f532 100644
--- a/addons/payment_buckaroo/controllers/main.py
+++ b/addons/payment_buckaroo/controllers/main.py
@@ -4,8 +4,8 @@ import logging
import pprint
import werkzeug
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_buckaroo/data/payment_acquirer_data.xml b/addons/payment_buckaroo/data/payment_acquirer_data.xml
index db69ed5fa7..7c1ebcbbbf 100644
--- a/addons/payment_buckaroo/data/payment_acquirer_data.xml
+++ b/addons/payment_buckaroo/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/payment_buckaroo/models/payment.py b/addons/payment_buckaroo/models/payment.py
index ec0cadfab0..3c65859094 100644
--- a/addons/payment_buckaroo/models/payment.py
+++ b/addons/payment_buckaroo/models/payment.py
@@ -4,11 +4,11 @@ import logging
from werkzeug import urls
-from odoo import api, fields, models, _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment_buckaroo.controllers.main import BuckarooController
+from flectra import api, fields, models, _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment_buckaroo.controllers.main import BuckarooController
-from odoo.tools.float_utils import float_compare
+from flectra.tools.float_utils import float_compare
_logger = logging.getLogger(__name__)
@@ -47,8 +47,8 @@ class AcquirerBuckaroo(models.Model):
:param browse acquirer: the payment.acquirer browse record. It should
have a shakey in shaky out
- :param string inout: 'in' (odoo contacting buckaroo) or 'out' (buckaroo
- contacting odoo).
+ :param string inout: 'in' (flectra contacting buckaroo) or 'out' (buckaroo
+ contacting flectra).
:param dict values: transaction values
:return string: shasign
diff --git a/addons/payment_buckaroo/tests/test_buckaroo.py b/addons/payment_buckaroo/tests/test_buckaroo.py
index 0825f67e87..cfeed708fd 100644
--- a/addons/payment_buckaroo/tests/test_buckaroo.py
+++ b/addons/payment_buckaroo/tests/test_buckaroo.py
@@ -3,15 +3,15 @@
from lxml import objectify
from werkzeug import urls
-import odoo
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment.tests.common import PaymentAcquirerCommon
-from odoo.addons.payment_buckaroo.controllers.main import BuckarooController
-from odoo.tools import mute_logger
+import flectra
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment.tests.common import PaymentAcquirerCommon
+from flectra.addons.payment_buckaroo.controllers.main import BuckarooController
+from flectra.tools import mute_logger
-@odoo.tests.common.at_install(False)
-@odoo.tests.common.post_install(False)
+@flectra.tests.common.at_install(False)
+@flectra.tests.common.post_install(False)
class BuckarooCommon(PaymentAcquirerCommon):
def setUp(self):
@@ -20,8 +20,8 @@ class BuckarooCommon(PaymentAcquirerCommon):
self.buckaroo = self.env.ref('payment.payment_acquirer_buckaroo')
-@odoo.tests.common.at_install(False)
-@odoo.tests.common.post_install(False)
+@flectra.tests.common.at_install(False)
+@flectra.tests.common.post_install(False)
class BuckarooForm(BuckarooCommon):
def test_10_Buckaroo_form_render(self):
@@ -98,7 +98,7 @@ class BuckarooForm(BuckarooCommon):
'Buckaroo: wrong value for form input %s: received %s instead of %s' % (form_input.get('name'), form_input.get('value'), form_values[form_input.get('name')])
)
- @mute_logger('odoo.addons.payment_buckaroo.models.payment', 'ValidationError')
+ @mute_logger('flectra.addons.payment_buckaroo.models.payment', 'ValidationError')
def test_20_buckaroo_form_management(self):
# be sure not to do stupid thing
self.assertEqual(self.buckaroo.environment, 'test', 'test without test environment')
@@ -113,7 +113,7 @@ class BuckarooForm(BuckarooCommon):
'brq_payment': u'573311D081B04069BD6336001611DBD4',
'BRQ_PAYMENT_METHOD': u'paypal',
'BRQ_SERVICE_PAYPAL_PAYERCOUNTRY': u'NL',
- 'BRQ_SERVICE_PAYPAL_PAYEREMAIL': u'fhe@odoo.com',
+ 'BRQ_SERVICE_PAYPAL_PAYEREMAIL': u'fhe@flectra.com',
'BRQ_SERVICE_PAYPAL_PAYERFIRSTNAME': u'Jan',
'BRQ_SERVICE_PAYPAL_PAYERLASTNAME': u'Tester',
'BRQ_SERVICE_PAYPAL_PAYERMIDDLENAME': u'de',
diff --git a/addons/payment_buckaroo/views/payment_buckaroo_templates.xml b/addons/payment_buckaroo/views/payment_buckaroo_templates.xml
index e65700ee6e..30010fe6f8 100644
--- a/addons/payment_buckaroo/views/payment_buckaroo_templates.xml
+++ b/addons/payment_buckaroo/views/payment_buckaroo_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -22,4 +22,4 @@
-
+
diff --git a/addons/payment_buckaroo/views/payment_views.xml b/addons/payment_buckaroo/views/payment_views.xml
index 11ef4873cf..bc3da7a69d 100644
--- a/addons/payment_buckaroo/views/payment_views.xml
+++ b/addons/payment_buckaroo/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/payment_ogone/__init__.py b/addons/payment_ogone/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_ogone/__init__.py
+++ b/addons/payment_ogone/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_ogone/controllers/main.py b/addons/payment_ogone/controllers/main.py
index 9c81761a70..bd04e6e26f 100644
--- a/addons/payment_ogone/controllers/main.py
+++ b/addons/payment_ogone/controllers/main.py
@@ -3,9 +3,9 @@ import logging
import pprint
import werkzeug
-from odoo import http
-from odoo.http import request
-from odoo.addons.payment.models.payment_acquirer import ValidationError
+from flectra import http
+from flectra.http import request
+from flectra.addons.payment.models.payment_acquirer import ValidationError
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_ogone/data/payment_acquirer_data.xml b/addons/payment_ogone/data/payment_acquirer_data.xml
index 49743cc2a6..efae6c077b 100644
--- a/addons/payment_ogone/data/payment_acquirer_data.xml
+++ b/addons/payment_ogone/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/payment_ogone/models/payment.py b/addons/payment_ogone/models/payment.py
index 7a2adf37d4..c052e61442 100644
--- a/addons/payment_ogone/models/payment.py
+++ b/addons/payment_ogone/models/payment.py
@@ -11,13 +11,13 @@ import requests
from lxml import etree, objectify
from werkzeug import urls, url_encode
-from odoo import api, fields, models, _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment_ogone.controllers.main import OgoneController
-from odoo.addons.payment_ogone.data import ogone
-from odoo.tools import float_round, DEFAULT_SERVER_DATE_FORMAT
-from odoo.tools.float_utils import float_compare, float_repr
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment_ogone.controllers.main import OgoneController
+from flectra.addons.payment_ogone.data import ogone
+from flectra.tools import float_round, DEFAULT_SERVER_DATE_FORMAT
+from flectra.tools.float_utils import float_compare, float_repr
+from flectra.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
@@ -64,8 +64,8 @@ class PaymentAcquirerOgone(models.Model):
def _ogone_generate_shasign(self, inout, values):
""" Generate the shasign for incoming or outgoing communications.
- :param string inout: 'in' (odoo contacting ogone) or 'out' (ogone
- contacting odoo). In this last case only some
+ :param string inout: 'in' (flectra contacting ogone) or 'out' (ogone
+ contacting flectra). In this last case only some
fields should be contained (see e-Commerce basic)
:param dict values: transaction values
@@ -172,7 +172,7 @@ class PaymentAcquirerOgone(models.Model):
}
if self.save_token in ['ask', 'always']:
temp_ogone_tx_values.update({
- 'ALIAS': 'ODOO-NEW-ALIAS-%s' % time.time(), # something unique,
+ 'ALIAS': 'FLECTRA-NEW-ALIAS-%s' % time.time(), # something unique,
'ALIASUSAGE': values.get('alias_usage') or self.ogone_alias_usage,
})
shasign = self._ogone_generate_shasign('in', temp_ogone_tx_values)
@@ -341,7 +341,7 @@ class PaymentTxOgone(models.Model):
def ogone_s2s_do_transaction(self, **kwargs):
# TODO: create tx with s2s type
account = self.acquirer_id
- reference = self.reference or "ODOO-%s-%s" % (datetime.datetime.now().strftime('%y%m%d_%H%M%S'), self.partner_id.id)
+ reference = self.reference or "FLECTRA-%s-%s" % (datetime.datetime.now().strftime('%y%m%d_%H%M%S'), self.partner_id.id)
param_plus = {
'return_url': kwargs.get('return_url', False)
@@ -399,7 +399,7 @@ class PaymentTxOgone(models.Model):
self.state = 'refunding'
account = self.acquirer_id
- reference = self.reference or "ODOO-%s-%s" % (datetime.datetime.now().strftime('%y%m%d_%H%M%S'), self.partner_id.id)
+ reference = self.reference or "FLECTRA-%s-%s" % (datetime.datetime.now().strftime('%y%m%d_%H%M%S'), self.partner_id.id)
data = {
'PSPID': account.ogone_pspid,
@@ -493,7 +493,7 @@ class PaymentTxOgone(models.Model):
def _ogone_s2s_get_tx_status(self):
account = self.acquirer_id
- #reference = tx.reference or "ODOO-%s-%s" % (datetime.datetime.now().strftime('%Y%m%d_%H%M%S'), tx.partner_id.id)
+ #reference = tx.reference or "FLECTRA-%s-%s" % (datetime.datetime.now().strftime('%Y%m%d_%H%M%S'), tx.partner_id.id)
data = {
'PAYID': self.acquirer_reference,
@@ -526,7 +526,7 @@ class PaymentToken(models.Model):
# create a alias via batch
values['cc_number'] = values['cc_number'].replace(' ', '')
acquirer = self.env['payment.acquirer'].browse(values['acquirer_id'])
- alias = 'ODOO-NEW-ALIAS-%s' % time.time()
+ alias = 'FLECTRA-NEW-ALIAS-%s' % time.time()
expiry = str(values['cc_expiry'][:2]) + str(values['cc_expiry'][-2:])
line = 'ADDALIAS;%(alias)s;%(cc_holder_name)s;%(cc_number)s;%(expiry)s;%(cc_brand)s;%(pspid)s'
@@ -575,4 +575,4 @@ class PaymentToken(models.Model):
'acquirer_ref': alias,
'name': 'XXXXXXXXXXXX%s - %s' % (values['cc_number'][-4:], values['cc_holder_name'])
}
- return {}
\ No newline at end of file
+ return {}
\ No newline at end of file
diff --git a/addons/payment_ogone/tests/test_ogone.py b/addons/payment_ogone/tests/test_ogone.py
index 76215ebf72..c17f3f86c4 100644
--- a/addons/payment_ogone/tests/test_ogone.py
+++ b/addons/payment_ogone/tests/test_ogone.py
@@ -3,12 +3,12 @@
from lxml import objectify
import time
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment.tests.common import PaymentAcquirerCommon
-from odoo.addons.payment_ogone.controllers.main import OgoneController
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment.tests.common import PaymentAcquirerCommon
+from flectra.addons.payment_ogone.controllers.main import OgoneController
from werkzeug import urls
-from odoo.tools import mute_logger
+from flectra.tools import mute_logger
class OgonePayment(PaymentAcquirerCommon):
@@ -95,7 +95,7 @@ class OgonePayment(PaymentAcquirerCommon):
'ogone: wrong value for form input %s: received %s instead of %s' % (form_input.get('name'), form_input.get('value'), form_values[form_input.get('name')])
)
- @mute_logger('odoo.addons.payment_ogone.models.payment', 'ValidationError')
+ @mute_logger('flectra.addons.payment_ogone.models.payment', 'ValidationError')
def test_20_ogone_form_management(self):
# be sure not to do stupid thing
self.assertEqual(self.ogone.environment, 'test', 'test without test environment')
diff --git a/addons/payment_ogone/views/payment_ogone_templates.xml b/addons/payment_ogone/views/payment_ogone_templates.xml
index aec5274981..8fd8c16f5a 100644
--- a/addons/payment_ogone/views/payment_ogone_templates.xml
+++ b/addons/payment_ogone/views/payment_ogone_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -59,4 +59,4 @@
-
+
diff --git a/addons/payment_ogone/views/payment_views.xml b/addons/payment_ogone/views/payment_views.xml
index bffca767fb..222259ab4e 100644
--- a/addons/payment_ogone/views/payment_views.xml
+++ b/addons/payment_ogone/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -22,4 +22,4 @@
-
+
diff --git a/addons/payment_paypal/__init__.py b/addons/payment_paypal/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_paypal/__init__.py
+++ b/addons/payment_paypal/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_paypal/controllers/main.py b/addons/payment_paypal/controllers/main.py
index 951799917a..31a2fcbae9 100644
--- a/addons/payment_paypal/controllers/main.py
+++ b/addons/payment_paypal/controllers/main.py
@@ -8,9 +8,9 @@ import requests
import werkzeug
from werkzeug import urls
-from odoo import http
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.http import request
+from flectra import http
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_paypal/data/payment_acquirer_data.xml b/addons/payment_paypal/data/payment_acquirer_data.xml
index 71901c2416..d916b1a992 100644
--- a/addons/payment_paypal/data/payment_acquirer_data.xml
+++ b/addons/payment_paypal/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/payment_paypal/models/payment.py b/addons/payment_paypal/models/payment.py
index 5d8e5d9ed2..3977907d59 100644
--- a/addons/payment_paypal/models/payment.py
+++ b/addons/payment_paypal/models/payment.py
@@ -7,10 +7,10 @@ import dateutil.parser
import pytz
from werkzeug import urls
-from odoo import api, fields, models, _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment_paypal.controllers.main import PaypalController
-from odoo.tools.float_utils import float_compare
+from flectra import api, fields, models, _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment_paypal.controllers.main import PaypalController
+from flectra.tools.float_utils import float_compare
_logger = logging.getLogger(__name__)
@@ -179,9 +179,9 @@ class TxPaypal(models.Model):
if not data.get('receiver_id') or not self.acquirer_id.paypal_seller_account:
# Check receiver_email only if receiver_id was not checked.
# In Paypal, this is possible to configure as receiver_email a different email than the business email (the login email)
- # In Odoo, there is only one field for the Paypal email: the business email. This isn't possible to set a receiver_email
+ # In Flectra, there is only one field for the Paypal email: the business email. This isn't possible to set a receiver_email
# different than the business email. Therefore, if you want such a configuration in your Paypal, you are then obliged to fill
- # the Merchant ID in the Paypal payment acquirer in Odoo, so the check is performed on this variable instead of the receiver_email.
+ # the Merchant ID in the Paypal payment acquirer in Flectra, so the check is performed on this variable instead of the receiver_email.
# At least one of the two checks must be done, to avoid fraudsters.
if data.get('receiver_email') != self.acquirer_id.paypal_email_account:
invalid_parameters.append(('receiver_email', data.get('receiver_email'), self.acquirer_id.paypal_email_account))
diff --git a/addons/payment_paypal/tests/test_paypal.py b/addons/payment_paypal/tests/test_paypal.py
index 676e3e0a08..a473a6e8d4 100644
--- a/addons/payment_paypal/tests/test_paypal.py
+++ b/addons/payment_paypal/tests/test_paypal.py
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment.tests.common import PaymentAcquirerCommon
-from odoo.addons.payment_paypal.controllers.main import PaypalController
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment.tests.common import PaymentAcquirerCommon
+from flectra.addons.payment_paypal.controllers.main import PaypalController
from werkzeug import urls
-from odoo.tools import mute_logger
+from flectra.tools import mute_logger
from lxml import objectify
@@ -35,7 +35,7 @@ class PaypalForm(PaypalCommon):
def test_10_paypal_form_render(self):
base_url = self.env['ir.config_parameter'].get_param('web.base.url')
# be sure not to do stupid things
- self.paypal.write({'paypal_email_account': 'tde+paypal-facilitator@odoo.com', 'fees_active': False})
+ self.paypal.write({'paypal_email_account': 'tde+paypal-facilitator@flectra.com', 'fees_active': False})
self.assertEqual(self.paypal.environment, 'test', 'test without test environment')
# ----------------------------------------
@@ -49,7 +49,7 @@ class PaypalForm(PaypalCommon):
form_values = {
'cmd': '_xclick',
- 'business': 'tde+paypal-facilitator@odoo.com',
+ 'business': 'tde+paypal-facilitator@flectra.com',
'item_name': 'YourCompany: test_ref0',
'item_number': 'test_ref0',
'first_name': 'Norbert',
@@ -112,7 +112,7 @@ class PaypalForm(PaypalCommon):
self.assertEqual(form_input.get('value'), '1.57', 'paypal: wrong computed fees')
self.assertTrue(handling_found, 'paypal: fees_active did not add handling input in rendered form')
- @mute_logger('odoo.addons.payment_paypal.models.payment', 'ValidationError')
+ @mute_logger('flectra.addons.payment_paypal.models.payment', 'ValidationError')
def test_20_paypal_form_management(self):
# be sure not to do stupid things
self.assertEqual(self.paypal.environment, 'test', 'test without test environment')
@@ -154,7 +154,7 @@ class PaypalForm(PaypalCommon):
'address_status': u'unconfirmed',
'mc_currency': u'EUR',
'shipping': u'0.00',
- 'payer_email': u'tde+buyer@odoo.com',
+ 'payer_email': u'tde+buyer@flectra.com',
'payment_type': u'instant',
'mc_gross': u'1.95',
'ipn_track_id': u'866df2ccd444b',
diff --git a/addons/payment_paypal/views/payment_paypal_templates.xml b/addons/payment_paypal/views/payment_paypal_templates.xml
index 5678a460aa..41498288ea 100644
--- a/addons/payment_paypal/views/payment_paypal_templates.xml
+++ b/addons/payment_paypal/views/payment_paypal_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -35,4 +35,4 @@
-
+
diff --git a/addons/payment_paypal/views/payment_views.xml b/addons/payment_paypal/views/payment_views.xml
index a1c4672f75..02c9d5308e 100644
--- a/addons/payment_paypal/views/payment_views.xml
+++ b/addons/payment_paypal/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,7 +16,7 @@
- How to configure your paypal account?
+ How to configure your paypal account?
@@ -34,4 +34,4 @@
-
+
diff --git a/addons/payment_payumoney/__init__.py b/addons/payment_payumoney/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_payumoney/__init__.py
+++ b/addons/payment_payumoney/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_payumoney/__manifest__.py b/addons/payment_payumoney/__manifest__.py
index 794ba6b6de..d6b607a3c6 100644
--- a/addons/payment_payumoney/__manifest__.py
+++ b/addons/payment_payumoney/__manifest__.py
@@ -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.
{
'name': 'PayuMoney Payment Acquirer',
diff --git a/addons/payment_payumoney/controllers/__init__.py b/addons/payment_payumoney/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/payment_payumoney/controllers/__init__.py
+++ b/addons/payment_payumoney/controllers/__init__.py
@@ -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 main
diff --git a/addons/payment_payumoney/controllers/main.py b/addons/payment_payumoney/controllers/main.py
index 78bc73dfe2..8a9cef091e 100644
--- a/addons/payment_payumoney/controllers/main.py
+++ b/addons/payment_payumoney/controllers/main.py
@@ -1,12 +1,12 @@
# -*- 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.
import logging
import pprint
import werkzeug
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_payumoney/data/payment_acquirer_data.xml b/addons/payment_payumoney/data/payment_acquirer_data.xml
index f8c9dd9713..5c57c53a7d 100644
--- a/addons/payment_payumoney/data/payment_acquirer_data.xml
+++ b/addons/payment_payumoney/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+PayUmoney
@@ -15,4 +15,4 @@
dummy
-
+
diff --git a/addons/payment_payumoney/models/__init__.py b/addons/payment_payumoney/models/__init__.py
index 2ec5b9cd2f..10906eb4b6 100644
--- a/addons/payment_payumoney/models/__init__.py
+++ b/addons/payment_payumoney/models/__init__.py
@@ -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 payment
diff --git a/addons/payment_payumoney/models/payment.py b/addons/payment_payumoney/models/payment.py
index cbda9e6452..79c4006828 100644
--- a/addons/payment_payumoney/models/payment.py
+++ b/addons/payment_payumoney/models/payment.py
@@ -1,13 +1,13 @@
# -*- 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.
import hashlib
from werkzeug import urls
-from odoo import api, fields, models, _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.tools.float_utils import float_compare
+from flectra import api, fields, models, _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.tools.float_utils import float_compare
import logging
@@ -31,8 +31,8 @@ class PaymentAcquirerPayumoney(models.Model):
def _payumoney_generate_sign(self, inout, values):
""" Generate the shasign for incoming or outgoing communications.
:param self: the self browse record. It should have a shakey in shakey out
- :param string inout: 'in' (odoo contacting payumoney) or 'out' (payumoney
- contacting odoo).
+ :param string inout: 'in' (flectra contacting payumoney) or 'out' (payumoney
+ contacting flectra).
:param dict values: transaction values
:return string: shasign
diff --git a/addons/payment_payumoney/views/payment_payumoney_templates.xml b/addons/payment_payumoney/views/payment_payumoney_templates.xml
index 70ec052fd0..1c2486a516 100644
--- a/addons/payment_payumoney/views/payment_payumoney_templates.xml
+++ b/addons/payment_payumoney/views/payment_payumoney_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/payment_payumoney/views/payment_views.xml b/addons/payment_payumoney/views/payment_views.xml
index 406aab52db..ba816fe387 100644
--- a/addons/payment_payumoney/views/payment_views.xml
+++ b/addons/payment_payumoney/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+payment.acquirer.form.inheritpayment.acquirer
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/payment_sips/__manifest__.py b/addons/payment_sips/__manifest__.py
index 6039f96200..6fab548959 100644
--- a/addons/payment_sips/__manifest__.py
+++ b/addons/payment_sips/__manifest__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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.
# Copyright 2015 Eezee-It
diff --git a/addons/payment_sips/controllers/main.py b/addons/payment_sips/controllers/main.py
index 3af8e2c7b3..609578d847 100644
--- a/addons/payment_sips/controllers/main.py
+++ b/addons/payment_sips/controllers/main.py
@@ -6,8 +6,8 @@ import json
import logging
import werkzeug
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_sips/data/payment_acquirer_data.xml b/addons/payment_sips/data/payment_acquirer_data.xml
index c6082d6f6f..e0436c0dcc 100644
--- a/addons/payment_sips/data/payment_acquirer_data.xml
+++ b/addons/payment_sips/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/payment_sips/models/payment.py b/addons/payment_sips/models/payment.py
index f06b72461f..eef26b19dd 100644
--- a/addons/payment_sips/models/payment.py
+++ b/addons/payment_sips/models/payment.py
@@ -8,11 +8,11 @@ from hashlib import sha256
from werkzeug import urls
-from odoo import models, fields, api
-from odoo.tools.float_utils import float_compare
-from odoo.tools.translate import _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.addons.payment_sips.controllers.main import SipsController
+from flectra import models, fields, api
+from flectra.tools.float_utils import float_compare
+from flectra.tools.translate import _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.addons.payment_sips.controllers.main import SipsController
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_sips/views/payment_sips_templates.xml b/addons/payment_sips/views/payment_sips_templates.xml
index 477bb96414..316dd6c0b7 100644
--- a/addons/payment_sips/views/payment_sips_templates.xml
+++ b/addons/payment_sips/views/payment_sips_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -8,4 +8,4 @@
-
+
diff --git a/addons/payment_sips/views/payment_views.xml b/addons/payment_sips/views/payment_views.xml
index aa3b20bd92..318a0498b3 100644
--- a/addons/payment_sips/views/payment_views.xml
+++ b/addons/payment_sips/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/payment_stripe/__init__.py b/addons/payment_stripe/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_stripe/__init__.py
+++ b/addons/payment_stripe/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_stripe/controllers/main.py b/addons/payment_stripe/controllers/main.py
index 61c1f003b5..0c9fc11c4f 100644
--- a/addons/payment_stripe/controllers/main.py
+++ b/addons/payment_stripe/controllers/main.py
@@ -3,8 +3,8 @@ import logging
import pprint
import werkzeug
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_stripe/data/payment_acquirer_data.xml b/addons/payment_stripe/data/payment_acquirer_data.xml
index db6b74294f..f606336c57 100644
--- a/addons/payment_stripe/data/payment_acquirer_data.xml
+++ b/addons/payment_stripe/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+Stripe
@@ -15,4 +15,4 @@
dummy
-
+
diff --git a/addons/payment_stripe/models/payment.py b/addons/payment_stripe/models/payment.py
index 76b8e3aebf..06bee17238 100644
--- a/addons/payment_stripe/models/payment.py
+++ b/addons/payment_stripe/models/payment.py
@@ -4,10 +4,10 @@ import logging
import requests
import pprint
-from odoo import api, fields, models, _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.exceptions import UserError
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.exceptions import UserError
+from flectra.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_stripe/static/src/js/stripe.js b/addons/payment_stripe/static/src/js/stripe.js
index 7a6d1447f8..76de080bee 100644
--- a/addons/payment_stripe/static/src/js/stripe.js
+++ b/addons/payment_stripe/static/src/js/stripe.js
@@ -1,4 +1,4 @@
-odoo.define('payment_stripe.stripe', function(require) {
+flectra.define('payment_stripe.stripe', function(require) {
"use strict";
var ajax = require('web.ajax');
diff --git a/addons/payment_stripe/tests/test_stripe.py b/addons/payment_stripe/tests/test_stripe.py
index ded2b7e946..2cf2579c9b 100644
--- a/addons/payment_stripe/tests/test_stripe.py
+++ b/addons/payment_stripe/tests/test_stripe.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
import unittest
-import odoo
-from odoo import fields
-from odoo.addons.payment.tests.common import PaymentAcquirerCommon
-from odoo.tools import mute_logger
+import flectra
+from flectra import fields
+from flectra.addons.payment.tests.common import PaymentAcquirerCommon
+from flectra.tools import mute_logger
-@odoo.tests.common.at_install(False)
-@odoo.tests.common.post_install(True)
+@flectra.tests.common.at_install(False)
+@flectra.tests.common.post_install(True)
class StripeCommon(PaymentAcquirerCommon):
def setUp(self):
@@ -15,8 +15,8 @@ class StripeCommon(PaymentAcquirerCommon):
self.stripe = self.env.ref('payment.payment_acquirer_stripe')
-@odoo.tests.common.at_install(False)
-@odoo.tests.common.post_install(True)
+@flectra.tests.common.at_install(False)
+@flectra.tests.common.post_install(True)
class StripeTest(StripeCommon):
@unittest.skip("Stripe test disabled: We do not want to overload Stripe with runbot's requests")
@@ -166,7 +166,7 @@ class StripeTest(StripeCommon):
# simulate an error
stripe_post_data['status'] = 'error'
stripe_post_data.update({u'error': {u'message': u"Your card's expiration year is invalid.", u'code': u'invalid_expiry_year', u'type': u'card_error', u'param': u'exp_year'}})
- with mute_logger('odoo.addons.payment_stripe.models.payment'):
+ with mute_logger('flectra.addons.payment_stripe.models.payment'):
tx.form_feedback(stripe_post_data, 'stripe')
# check state
self.assertEqual(tx.state, 'error', 'Stipe: erroneous validation did not put tx into error state')
diff --git a/addons/payment_stripe/views/payment_stripe_templates.xml b/addons/payment_stripe/views/payment_stripe_templates.xml
index 6060bb1f75..576b9782f2 100644
--- a/addons/payment_stripe/views/payment_stripe_templates.xml
+++ b/addons/payment_stripe/views/payment_stripe_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -50,4 +50,4 @@
-
+
diff --git a/addons/payment_stripe/views/payment_views.xml b/addons/payment_stripe/views/payment_views.xml
index 46bd921452..30b5fc5372 100644
--- a/addons/payment_stripe/views/payment_views.xml
+++ b/addons/payment_stripe/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+payment.acquirer.form.inheritpayment.acquirer
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/payment_transfer/__init__.py b/addons/payment_transfer/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/payment_transfer/__init__.py
+++ b/addons/payment_transfer/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/payment_transfer/controllers/main.py b/addons/payment_transfer/controllers/main.py
index 6411414c59..fca5cb3882 100644
--- a/addons/payment_transfer/controllers/main.py
+++ b/addons/payment_transfer/controllers/main.py
@@ -3,8 +3,8 @@ import logging
import pprint
import werkzeug
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/payment_transfer/data/payment_acquirer_data.xml b/addons/payment_transfer/data/payment_acquirer_data.xml
index 4cd7c7811e..3e503a436b 100644
--- a/addons/payment_transfer/data/payment_acquirer_data.xml
+++ b/addons/payment_transfer/data/payment_acquirer_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -21,4 +21,4 @@
-
+
diff --git a/addons/payment_transfer/models/payment.py b/addons/payment_transfer/models/payment.py
index 00a34ac0ad..5c942f1d87 100644
--- a/addons/payment_transfer/models/payment.py
+++ b/addons/payment_transfer/models/payment.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models, _
-from odoo.addons.payment.models.payment_acquirer import ValidationError
-from odoo.tools.float_utils import float_compare
+from flectra import api, fields, models, _
+from flectra.addons.payment.models.payment_acquirer import ValidationError
+from flectra.tools.float_utils import float_compare
import logging
import pprint
diff --git a/addons/payment_transfer/views/payment_transfer_templates.xml b/addons/payment_transfer/views/payment_transfer_templates.xml
index abd39cf681..2d0e8ba824 100644
--- a/addons/payment_transfer/views/payment_transfer_templates.xml
+++ b/addons/payment_transfer/views/payment_transfer_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/payment_transfer/views/payment_views.xml b/addons/payment_transfer/views/payment_views.xml
index a126bb6762..4d490c85e2 100644
--- a/addons/payment_transfer/views/payment_views.xml
+++ b/addons/payment_transfer/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+payment.acquirer.view.form.inherit.transferpayment.acquirer
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/phone_validation/__init__.py b/addons/phone_validation/__init__.py
index 3d097a1fcd..b1e361bf85 100644
--- a/addons/phone_validation/__init__.py
+++ b/addons/phone_validation/__init__.py
@@ -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 tools
from . import models
diff --git a/addons/phone_validation/__manifest__.py b/addons/phone_validation/__manifest__.py
index 2ebc99f3ea..becb17989a 100644
--- a/addons/phone_validation/__manifest__.py
+++ b/addons/phone_validation/__manifest__.py
@@ -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.
{
'name': 'Phone Numbers Validation',
diff --git a/addons/phone_validation/models/__init__.py b/addons/phone_validation/models/__init__.py
index 85ea059748..7a699c5d23 100644
--- a/addons/phone_validation/models/__init__.py
+++ b/addons/phone_validation/models/__init__.py
@@ -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 res_company
from . import phone_validation_mixin
diff --git a/addons/phone_validation/models/phone_validation_mixin.py b/addons/phone_validation/models/phone_validation_mixin.py
index 1003ab929f..34bed54391 100644
--- a/addons/phone_validation/models/phone_validation_mixin.py
+++ b/addons/phone_validation/models/phone_validation_mixin.py
@@ -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 models
-from odoo.addons.phone_validation.tools import phone_validation
+from flectra import models
+from flectra.addons.phone_validation.tools import phone_validation
class PhoneValidationMixin(models.AbstractModel):
diff --git a/addons/phone_validation/models/res_company.py b/addons/phone_validation/models/res_company.py
index 2ee2c18d7b..91ab2e6472 100644
--- a/addons/phone_validation/models/res_company.py
+++ b/addons/phone_validation/models/res_company.py
@@ -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 ResCompany(models.Model):
diff --git a/addons/phone_validation/tools/__init__.py b/addons/phone_validation/tools/__init__.py
index 1c27cd6ebe..070d10d115 100644
--- a/addons/phone_validation/tools/__init__.py
+++ b/addons/phone_validation/tools/__init__.py
@@ -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 phone_validation
diff --git a/addons/phone_validation/tools/phone_validation.py b/addons/phone_validation/tools/phone_validation.py
index 718b051880..385c2286cd 100644
--- a/addons/phone_validation/tools/phone_validation.py
+++ b/addons/phone_validation/tools/phone_validation.py
@@ -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 _
-from odoo.exceptions import UserError
+from flectra import _
+from flectra.exceptions import UserError
import logging
diff --git a/addons/phone_validation/views/res_company_view.xml b/addons/phone_validation/views/res_company_view.xml
index d788e5aa7f..8ec0660f6f 100644
--- a/addons/phone_validation/views/res_company_view.xml
+++ b/addons/phone_validation/views/res_company_view.xml
@@ -3,7 +3,7 @@
The purpose of this view is to move the VAT field at the top of the
company form. That way, the user will fill it first
-->
-
+res.company.view.form.phone_validationres.company
@@ -14,4 +14,4 @@
-
+
diff --git a/addons/point_of_sale/__init__.py b/addons/point_of_sale/__init__.py
index ee87c280f2..8cede6552f 100644
--- a/addons/point_of_sale/__init__.py
+++ b/addons/point_of_sale/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/point_of_sale/__manifest__.py b/addons/point_of_sale/__manifest__.py
index 7689d082fc..21443a3cea 100644
--- a/addons/point_of_sale/__manifest__.py
+++ b/addons/point_of_sale/__manifest__.py
@@ -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.
{
'name': 'Point of Sale',
@@ -47,5 +47,5 @@
'installable': True,
'application': True,
'qweb': ['static/src/xml/pos.xml'],
- 'website': 'https://www.odoo.com/page/point-of-sale',
+ 'website': 'https://flectrahq.com/page/point-of-sale',
}
diff --git a/addons/point_of_sale/controllers/main.py b/addons/point_of_sale/controllers/main.py
index 79ec844fdf..23c09c2111 100644
--- a/addons/point_of_sale/controllers/main.py
+++ b/addons/point_of_sale/controllers/main.py
@@ -3,8 +3,8 @@ import json
import logging
import werkzeug.utils
-from odoo import http
-from odoo.http import request
+from flectra import http
+from flectra.http import request
_logger = logging.getLogger(__name__)
diff --git a/addons/point_of_sale/controllers/web_editor.py b/addons/point_of_sale/controllers/web_editor.py
index bb423f2806..3066add025 100644
--- a/addons/point_of_sale/controllers/web_editor.py
+++ b/addons/point_of_sale/controllers/web_editor.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from odoo import http
-from odoo.http import request
-from odoo.addons.web_editor.controllers.main import Web_Editor
+from flectra import http
+from flectra.http import request
+from flectra.addons.web_editor.controllers.main import Web_Editor
class WebEditorPointOfSale(Web_Editor):
diff --git a/addons/point_of_sale/data/default_barcode_patterns.xml b/addons/point_of_sale/data/default_barcode_patterns.xml
index 75bb18c287..5b33f8e9c2 100644
--- a/addons/point_of_sale/data/default_barcode_patterns.xml
+++ b/addons/point_of_sale/data/default_barcode_patterns.xml
@@ -1,5 +1,5 @@
-
+Cashier Barcodes
@@ -35,4 +35,4 @@
ean1323.....{NNNDD}
-
+
diff --git a/addons/point_of_sale/data/point_of_sale_data.xml b/addons/point_of_sale/data/point_of_sale_data.xml
index 13059b39a0..132b190a41 100644
--- a/addons/point_of_sale/data/point_of_sale_data.xml
+++ b/addons/point_of_sale/data/point_of_sale_data.xml
@@ -1,5 +1,5 @@
-
+Picking POS
@@ -58,5 +58,5 @@
True
-
+
diff --git a/addons/point_of_sale/data/point_of_sale_demo.xml b/addons/point_of_sale/data/point_of_sale_demo.xml
index 1c18cb8e74..662c603179 100644
--- a/addons/point_of_sale/data/point_of_sale_demo.xml
+++ b/addons/point_of_sale/data/point_of_sale_demo.xml
@@ -1,5 +1,5 @@
-
+04201000000050420200000004
@@ -365,4 +365,4 @@
-
+
diff --git a/addons/point_of_sale/models/__init__.py b/addons/point_of_sale/models/__init__.py
index c65760ad7f..349a1bcc8a 100644
--- a/addons/point_of_sale/models/__init__.py
+++ b/addons/point_of_sale/models/__init__.py
@@ -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 account_bank_statement
from . import account_journal
diff --git a/addons/point_of_sale/models/account_bank_statement.py b/addons/point_of_sale/models/account_bank_statement.py
index 60f7380a32..fe61e6d9c5 100644
--- a/addons/point_of_sale/models/account_bank_statement.py
+++ b/addons/point_of_sale/models/account_bank_statement.py
@@ -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.
# Copyright (C) 2004-2008 PC Solutions (). All Rights Reserved
-from odoo import fields, models
+from flectra import fields, models
class AccountBankStatement(models.Model):
diff --git a/addons/point_of_sale/models/account_journal.py b/addons/point_of_sale/models/account_journal.py
index 1f487f522e..fa4d643865 100644
--- a/addons/point_of_sale/models/account_journal.py
+++ b/addons/point_of_sale/models/account_journal.py
@@ -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.
# Copyright (C) 2004-2008 PC Solutions (). All Rights Reserved
-from odoo import fields, models, api
+from flectra import fields, models, api
class AccountJournal(models.Model):
diff --git a/addons/point_of_sale/models/barcode_rule.py b/addons/point_of_sale/models/barcode_rule.py
index 9fab9caa69..7eb04af5bf 100644
--- a/addons/point_of_sale/models/barcode_rule.py
+++ b/addons/point_of_sale/models/barcode_rule.py
@@ -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 models, fields
-from odoo.tools.translate import _
+from flectra import models, fields
+from flectra.tools.translate import _
class BarcodeRule(models.Model):
diff --git a/addons/point_of_sale/models/pos_category.py b/addons/point_of_sale/models/pos_category.py
index 916db9f579..65c525575b 100644
--- a/addons/point_of_sale/models/pos_category.py
+++ b/addons/point_of_sale/models/pos_category.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, fields, models, tools, _
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, fields, models, tools, _
class PosCategory(models.Model):
_name = "pos.category"
diff --git a/addons/point_of_sale/models/pos_config.py b/addons/point_of_sale/models/pos_config.py
index db88b7c663..0bba11b5d1 100644
--- a/addons/point_of_sale/models/pos_config.py
+++ b/addons/point_of_sale/models/pos_config.py
@@ -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.
import uuid
-from odoo import api, fields, models, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError
class AccountCashboxLine(models.Model):
@@ -113,10 +113,10 @@ class PosConfig(models.Model):
uuid = fields.Char(readonly=True, default=lambda self: str(uuid.uuid4()),
help='A globally unique identifier for this pos configuration, used to prevent conflicts in client-generated data.')
sequence_id = fields.Many2one('ir.sequence', string='Order IDs Sequence', readonly=True,
- help="This sequence is automatically created by Odoo but you can change it "
+ help="This sequence is automatically created by Flectra but you can change it "
"to customize the reference numbers of your orders.", copy=False)
sequence_line_id = fields.Many2one('ir.sequence', string='Order Line IDs Sequence', readonly=True,
- help="This sequence is automatically created by Odoo but you can change it "
+ help="This sequence is automatically created by Flectra but you can change it "
"to customize the reference numbers of your orders lines.", copy=False)
session_ids = fields.One2many('pos.session', 'config_id', string='Sessions')
current_session_id = fields.Many2one('pos.session', compute='_compute_current_session', string="Current Session")
diff --git a/addons/point_of_sale/models/pos_order.py b/addons/point_of_sale/models/pos_order.py
index e7ce561d56..1a82b6ff65 100644
--- a/addons/point_of_sale/models/pos_order.py
+++ b/addons/point_of_sale/models/pos_order.py
@@ -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.
import logging
from datetime import timedelta
from functools import partial
@@ -7,11 +7,11 @@ from functools import partial
import psycopg2
import pytz
-from odoo import api, fields, models, tools, _
-from odoo.tools import float_is_zero
-from odoo.exceptions import UserError
-from odoo.http import request
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models, tools, _
+from flectra.tools import float_is_zero
+from flectra.exceptions import UserError
+from flectra.http import request
+from flectra.addons import decimal_precision as dp
_logger = logging.getLogger(__name__)
diff --git a/addons/point_of_sale/models/pos_session.py b/addons/point_of_sale/models/pos_session.py
index d9f38720fd..038632c3d8 100644
--- a/addons/point_of_sale/models/pos_session.py
+++ b/addons/point_of_sale/models/pos_session.py
@@ -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 api, fields, models, SUPERUSER_ID, _
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, SUPERUSER_ID, _
+from flectra.exceptions import UserError, ValidationError
class PosSession(models.Model):
diff --git a/addons/point_of_sale/models/product.py b/addons/point_of_sale/models/product.py
index e1a85cd7c4..2969cac558 100644
--- a/addons/point_of_sale/models/product.py
+++ b/addons/point_of_sale/models/product.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class ProductTemplate(models.Model):
diff --git a/addons/point_of_sale/models/res_partner.py b/addons/point_of_sale/models/res_partner.py
index e094d68cf2..1fd4006a6a 100644
--- a/addons/point_of_sale/models/res_partner.py
+++ b/addons/point_of_sale/models/res_partner.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, fields, models
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, fields, models
class ResPartner(models.Model):
diff --git a/addons/point_of_sale/models/res_users.py b/addons/point_of_sale/models/res_users.py
index 6fb09e8a44..23a86777e2 100644
--- a/addons/point_of_sale/models/res_users.py
+++ b/addons/point_of_sale/models/res_users.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class ResUsers(models.Model):
diff --git a/addons/point_of_sale/report/__init__.py b/addons/point_of_sale/report/__init__.py
index ec1d3ae581..e59696943d 100644
--- a/addons/point_of_sale/report/__init__.py
+++ b/addons/point_of_sale/report/__init__.py
@@ -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 pos_invoice
from . import pos_order_report
diff --git a/addons/point_of_sale/report/pos_invoice.py b/addons/point_of_sale/report/pos_invoice.py
index 7e25d2c6a8..ad6e1e125c 100644
--- a/addons/point_of_sale/report/pos_invoice.py
+++ b/addons/point_of_sale/report/pos_invoice.py
@@ -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 api, models, _
-from odoo.exceptions import UserError
+from flectra import api, models, _
+from flectra.exceptions import UserError
class PosInvoiceReport(models.AbstractModel):
diff --git a/addons/point_of_sale/report/pos_order_report.py b/addons/point_of_sale/report/pos_order_report.py
index 67e3620ccb..d537df9020 100644
--- a/addons/point_of_sale/report/pos_order_report.py
+++ b/addons/point_of_sale/report/pos_order_report.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class PosOrderReport(models.Model):
diff --git a/addons/point_of_sale/security/point_of_sale_security.xml b/addons/point_of_sale/security/point_of_sale_security.xml
index f29a37cfcf..bb1da8bab0 100644
--- a/addons/point_of_sale/security/point_of_sale_security.xml
+++ b/addons/point_of_sale/security/point_of_sale_security.xml
@@ -1,5 +1,5 @@
-
+User
@@ -72,4 +72,4 @@
-
+
diff --git a/addons/point_of_sale/static/src/css/chrome50.css b/addons/point_of_sale/static/src/css/chrome50.css
index 67ecddccfd..6596b9cd61 100644
--- a/addons/point_of_sale/static/src/css/chrome50.css
+++ b/addons/point_of_sale/static/src/css/chrome50.css
@@ -3,4 +3,4 @@
}
.pos .subwindow .subwindow-container{
height: 100%;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/point_of_sale/static/src/css/customer_facing_display.css b/addons/point_of_sale/static/src/css/customer_facing_display.css
index 6025040506..3e18c7e754 100644
--- a/addons/point_of_sale/static/src/css/customer_facing_display.css
+++ b/addons/point_of_sale/static/src/css/customer_facing_display.css
@@ -260,7 +260,7 @@ body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .p
font-size: 1.5vw;
line-height: 1.3;
}
-body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .pos-odoo_logo_container {
+body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .pos-flectra_logo_container {
text-align: right;
margin-top: 10%;
-webkit-box-flex: 0 1 auto;
@@ -269,7 +269,7 @@ body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .p
-ms-flex: 0 1 auto;
flex: 0 1 auto;
}
-body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .pos-odoo_logo_container img {
+body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .pos-flectra_logo_container img {
max-width: 40px;
}
@media all and (orientation: portrait) {
@@ -402,7 +402,7 @@ body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .p
font-size: 80%;
line-height: 1.2;
}
- body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .pos-odoo_logo_container {
+ body .pos-customer_facing_display .pos-payment_info .pos-payment_info_details .pos-flectra_logo_container {
position: absolute;
right: 3%;
bottom: 1%;
diff --git a/addons/point_of_sale/static/src/js/chrome.js b/addons/point_of_sale/static/src/js/chrome.js
index 88ca9e8e4f..808f9ca705 100644
--- a/addons/point_of_sale/static/src/js/chrome.js
+++ b/addons/point_of_sale/static/src/js/chrome.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.chrome', function (require) {
+flectra.define('point_of_sale.chrome', function (require) {
"use strict";
var PosBaseWidget = require('point_of_sale.BaseWidget');
diff --git a/addons/point_of_sale/static/src/js/db.js b/addons/point_of_sale/static/src/js/db.js
index dc93133be0..f166ed589d 100644
--- a/addons/point_of_sale/static/src/js/db.js
+++ b/addons/point_of_sale/static/src/js/db.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.DB', function (require) {
+flectra.define('point_of_sale.DB', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/point_of_sale/static/src/js/devices.js b/addons/point_of_sale/static/src/js/devices.js
index bf11db31bf..65fd442280 100644
--- a/addons/point_of_sale/static/src/js/devices.js
+++ b/addons/point_of_sale/static/src/js/devices.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.devices', function (require) {
+flectra.define('point_of_sale.devices', function (require) {
"use strict";
var core = require('web.core');
@@ -176,7 +176,7 @@ var ProxyDevice = core.Class.extend(mixins.PropertiesMixin,{
// find a proxy and connects to it. for options see find_proxy
// - force_ip : only try to connect to the specified ip.
- // - port: what port to listen to (default 8069)
+ // - port: what port to listen to (default 7073)
// - progress(fac) : callback for search progress ( fac in [0,1] )
autoconnect: function(options){
var self = this;
@@ -247,7 +247,7 @@ var ProxyDevice = core.Class.extend(mixins.PropertiesMixin,{
// try several time to connect to a known proxy url
try_hard_to_connect: function(url,options){
options = options || {};
- var port = ':' + (options.port || '8069');
+ var port = ':' + (options.port || '7073');
this.set_connection_status('connecting');
@@ -287,12 +287,12 @@ var ProxyDevice = core.Class.extend(mixins.PropertiesMixin,{
// returns as a deferred a valid host url that can be used as proxy.
// options:
- // - port: what port to listen to (default 8069)
+ // - port: what port to listen to (default 7073)
// - progress(fac) : callback for search progress ( fac in [0,1] )
find_proxy: function(options){
options = options || {};
var self = this;
- var port = ':' + (options.port || '8069');
+ var port = ':' + (options.port || '7073');
var urls = [];
var found = false;
var parallel = 8;
diff --git a/addons/point_of_sale/static/src/js/field_text_html.js b/addons/point_of_sale/static/src/js/field_text_html.js
index 27b378801c..0b6f3ac333 100644
--- a/addons/point_of_sale/static/src/js/field_text_html.js
+++ b/addons/point_of_sale/static/src/js/field_text_html.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.fieldtexthtml', function (require) {
+flectra.define('point_of_sale.fieldtexthtml', function (require) {
'use strict';
var FieldTextHtml = require('web_editor.backend').FieldTextHtml;
diff --git a/addons/point_of_sale/static/src/js/gui.js b/addons/point_of_sale/static/src/js/gui.js
index 7abb931d68..cbdfe84a72 100644
--- a/addons/point_of_sale/static/src/js/gui.js
+++ b/addons/point_of_sale/static/src/js/gui.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.gui', function (require) {
+flectra.define('point_of_sale.gui', function (require) {
"use strict";
// this file contains the Gui, which is the pos 'controller'.
// It contains high level methods to manipulate the interface
diff --git a/addons/point_of_sale/static/src/js/keyboard.js b/addons/point_of_sale/static/src/js/keyboard.js
index a9ea1f5555..6e026869bc 100644
--- a/addons/point_of_sale/static/src/js/keyboard.js
+++ b/addons/point_of_sale/static/src/js/keyboard.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.keyboard', function (require) {
+flectra.define('point_of_sale.keyboard', function (require) {
"use strict";
var Widget = require('web.Widget');
diff --git a/addons/point_of_sale/static/src/js/main.js b/addons/point_of_sale/static/src/js/main.js
index 1af93ff17c..8fe6c419bb 100644
--- a/addons/point_of_sale/static/src/js/main.js
+++ b/addons/point_of_sale/static/src/js/main.js
@@ -1,5 +1,5 @@
-odoo.define('point_of_sale.main', function (require) {
+flectra.define('point_of_sale.main', function (require) {
"use strict";
var chrome = require('point_of_sale.chrome');
diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js
index 8452bccabd..b4cdc73646 100644
--- a/addons/point_of_sale/static/src/js/models.js
+++ b/addons/point_of_sale/static/src/js/models.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.models', function (require) {
+flectra.define('point_of_sale.models', function (require) {
"use strict";
var ajax = require('web.ajax');
diff --git a/addons/point_of_sale/static/src/js/popups.js b/addons/point_of_sale/static/src/js/popups.js
index e27ffc75dd..21085772bd 100644
--- a/addons/point_of_sale/static/src/js/popups.js
+++ b/addons/point_of_sale/static/src/js/popups.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.popups', function (require) {
+flectra.define('point_of_sale.popups', function (require) {
"use strict";
// This file contains the Popups.
@@ -112,7 +112,7 @@ var ErrorTracebackPopupWidget = ErrorPopupWidget.extend({
this.$('.email').off('click').click(function(){
self.gui.send_email( self.pos.company.email,
- _t('IMPORTANT: Bug Report From Odoo Point Of Sale'),
+ _t('IMPORTANT: Bug Report From Flectra Point Of Sale'),
self.options.body);
});
}
diff --git a/addons/point_of_sale/static/src/js/pos.web_editor.js b/addons/point_of_sale/static/src/js/pos.web_editor.js
index 8a172085d1..c8fdb3dc37 100644
--- a/addons/point_of_sale/static/src/js/pos.web_editor.js
+++ b/addons/point_of_sale/static/src/js/pos.web_editor.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.editor', function (require) {
+flectra.define('point_of_sale.editor', function (require) {
'use strict';
var s_options = require('web_editor.snippets.options');
diff --git a/addons/point_of_sale/static/src/js/screens.js b/addons/point_of_sale/static/src/js/screens.js
index 61e7225899..18417473cf 100644
--- a/addons/point_of_sale/static/src/js/screens.js
+++ b/addons/point_of_sale/static/src/js/screens.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.screens', function (require) {
+flectra.define('point_of_sale.screens', function (require) {
"use strict";
// This file contains the Screens definitions. Screens are the
// content of the right pane of the pos, containing the main functionalities.
diff --git a/addons/point_of_sale/static/src/js/tests.js b/addons/point_of_sale/static/src/js/tests.js
index 6c5c970f54..6da83782d6 100644
--- a/addons/point_of_sale/static/src/js/tests.js
+++ b/addons/point_of_sale/static/src/js/tests.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.tour.pricelist', function (require) {
+flectra.define('point_of_sale.tour.pricelist', function (require) {
"use strict";
var Tour = require('web_tour.tour');
@@ -205,7 +205,7 @@ odoo.define('point_of_sale.tour.pricelist', function (require) {
Tour.register('pos_pricelist', { test: true, url: '/pos/web' }, steps);
});
-odoo.define('point_of_sale.tour.acceptance', function (require) {
+flectra.define('point_of_sale.tour.acceptance', function (require) {
"use strict";
var Tour = require("web_tour.tour");
diff --git a/addons/point_of_sale/static/src/js/tour.js b/addons/point_of_sale/static/src/js/tour.js
index 775fe748cf..31ec741ac3 100644
--- a/addons/point_of_sale/static/src/js/tour.js
+++ b/addons/point_of_sale/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.tour', function(require) {
+flectra.define('point_of_sale.tour', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/point_of_sale/static/src/js/widget_base.js b/addons/point_of_sale/static/src/js/widget_base.js
index fa98137674..cce1cebe1e 100644
--- a/addons/point_of_sale/static/src/js/widget_base.js
+++ b/addons/point_of_sale/static/src/js/widget_base.js
@@ -1,4 +1,4 @@
-odoo.define('point_of_sale.BaseWidget', function (require) {
+flectra.define('point_of_sale.BaseWidget', function (require) {
"use strict";
var field_utils = require('web.field_utils');
diff --git a/addons/point_of_sale/static/src/less/customer_facing_display.less b/addons/point_of_sale/static/src/less/customer_facing_display.less
index 143509ed2a..46fa63115b 100644
--- a/addons/point_of_sale/static/src/less/customer_facing_display.less
+++ b/addons/point_of_sale/static/src/less/customer_facing_display.less
@@ -238,7 +238,7 @@ body {
line-height: 1.3;
}
- .pos-odoo_logo_container {
+ .pos-flectra_logo_container {
text-align: right;
margin-top: 10%;
.flex(0 1 auto);
@@ -355,7 +355,7 @@ body {
font-size: 80%;
line-height: 1.2;
}
- .pos-odoo_logo_container {
+ .pos-flectra_logo_container {
position: absolute;
right: 3%;
bottom: 1%;
diff --git a/addons/point_of_sale/tests/__init__.py b/addons/point_of_sale/tests/__init__.py
index 8a93c4c447..f73f14bbd5 100644
--- a/addons/point_of_sale/tests/__init__.py
+++ b/addons/point_of_sale/tests/__init__.py
@@ -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 test_point_of_sale_flow
from . import test_frontend
diff --git a/addons/point_of_sale/tests/common.py b/addons/point_of_sale/tests/common.py
index 1352e7e2e9..40af8b9b8c 100644
--- a/addons/point_of_sale/tests/common.py
+++ b/addons/point_of_sale/tests/common.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
+from flectra.tests import common
class TestPointOfSaleCommon(common.TransactionCase):
diff --git a/addons/point_of_sale/tests/test_frontend.py b/addons/point_of_sale/tests/test_frontend.py
index b3dae4e935..54a5600b3f 100644
--- a/addons/point_of_sale/tests/test_frontend.py
+++ b/addons/point_of_sale/tests/test_frontend.py
@@ -1,14 +1,14 @@
# -*- 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.api import Environment
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT
+from flectra.api import Environment
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT
from datetime import date, timedelta
-import odoo.tests
+import flectra.tests
-class TestUi(odoo.tests.HttpCase):
+class TestUi(flectra.tests.HttpCase):
def test_01_pos_basic_order(self):
cr = self.registry.cursor()
assert cr == self.registry.test_cr
@@ -297,13 +297,13 @@ class TestUi(odoo.tests.HttpCase):
cr.release()
self.phantom_js("/pos/web",
- "odoo.__DEBUG__.services['web_tour.tour'].run('pos_pricelist')",
- "odoo.__DEBUG__.services['web_tour.tour'].tours.pos_pricelist.ready",
+ "flectra.__DEBUG__.services['web_tour.tour'].run('pos_pricelist')",
+ "flectra.__DEBUG__.services['web_tour.tour'].tours.pos_pricelist.ready",
login="admin")
self.phantom_js("/pos/web",
- "odoo.__DEBUG__.services['web_tour.tour'].run('pos_basic_order')",
- "odoo.__DEBUG__.services['web_tour.tour'].tours.pos_basic_order.ready",
+ "flectra.__DEBUG__.services['web_tour.tour'].run('pos_basic_order')",
+ "flectra.__DEBUG__.services['web_tour.tour'].tours.pos_basic_order.ready",
login="admin")
for order in env['pos.order'].search([]):
diff --git a/addons/point_of_sale/tests/test_point_of_sale_flow.py b/addons/point_of_sale/tests/test_point_of_sale_flow.py
index af5b4e9337..b6905d6df0 100644
--- a/addons/point_of_sale/tests/test_point_of_sale_flow.py
+++ b/addons/point_of_sale/tests/test_point_of_sale_flow.py
@@ -1,14 +1,14 @@
# -*- coding: utf-8 -*-
import time
-import odoo
-from odoo import fields
-from odoo.tools import float_compare, mute_logger, test_reports
-from odoo.addons.point_of_sale.tests.common import TestPointOfSaleCommon
+import flectra
+from flectra import fields
+from flectra.tools import float_compare, mute_logger, test_reports
+from flectra.addons.point_of_sale.tests.common import TestPointOfSaleCommon
-@odoo.tests.common.at_install(False)
-@odoo.tests.common.post_install(True)
+@flectra.tests.common.at_install(False)
+@flectra.tests.common.post_install(True)
class TestPointOfSaleFlow(TestPointOfSaleCommon):
def test_register_open(self):
@@ -589,7 +589,7 @@ class TestPointOfSaleFlow(TestPointOfSaleCommon):
self.assertFalse(self.pos_config.current_session_id, "Current session not properly recomputed")
# I keep selling after the session is closed
- with mute_logger('odoo.addons.point_of_sale.models.pos_order'):
+ with mute_logger('flectra.addons.point_of_sale.models.pos_order'):
self.PosOrder.create_from_ui([zucchini_order, onions_order])
rescue_session = self.PosSession.search([
('config_id', '=', self.pos_config.id),
diff --git a/addons/point_of_sale/tests/test_point_of_sale_ui.py b/addons/point_of_sale/tests/test_point_of_sale_ui.py
index afd9c16e24..d41900aa3b 100644
--- a/addons/point_of_sale/tests/test_point_of_sale_ui.py
+++ b/addons/point_of_sale/tests/test_point_of_sale_ui.py
@@ -1,11 +1,11 @@
-# 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.
-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_01_point_of_sale_tour(self):
- self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('point_of_sale_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.point_of_sale_tour.ready", login="admin")
+ self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('point_of_sale_tour')", "flectra.__DEBUG__.services['web_tour.tour'].tours.point_of_sale_tour.ready", login="admin")
diff --git a/addons/point_of_sale/tools/posbox/configuration/odoo.conf b/addons/point_of_sale/tools/posbox/configuration/flectra.conf
similarity index 100%
rename from addons/point_of_sale/tools/posbox/configuration/odoo.conf
rename to addons/point_of_sale/tools/posbox/configuration/flectra.conf
diff --git a/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/share/firefox-esr/browser/defaults/preferences/all-posbox.js b/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/share/firefox-esr/browser/defaults/preferences/all-posbox.js
index 8de5d5d60a..0d210468a9 100644
--- a/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/share/firefox-esr/browser/defaults/preferences/all-posbox.js
+++ b/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/share/firefox-esr/browser/defaults/preferences/all-posbox.js
@@ -1,5 +1,5 @@
// Preferences to allow unattended install of R-Kiosk extension
-// Needed for Odoo posbox Client display
+// Needed for Flectra posbox Client display
pref("app.update.checkInstallTime", false);
pref("devtools.webide.widget.autoinstall", false);
pref("xpinstall.customConfirmationUI", false);
diff --git a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init.d/odoo b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init.d/flectra
similarity index 100%
rename from addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init.d/odoo
rename to addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init.d/flectra
diff --git a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/logrotate.d/odoo b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/logrotate.d/flectra
similarity index 100%
rename from addons/point_of_sale/tools/posbox/overwrite_before_init/etc/logrotate.d/odoo
rename to addons/point_of_sale/tools/posbox/overwrite_before_init/etc/logrotate.d/flectra
diff --git a/addons/point_of_sale/views/account_journal_view.xml b/addons/point_of_sale/views/account_journal_view.xml
index 7255a81cf0..eb3f971d05 100644
--- a/addons/point_of_sale/views/account_journal_view.xml
+++ b/addons/point_of_sale/views/account_journal_view.xml
@@ -1,5 +1,5 @@
-
+Payment Methodsaccount.journal
@@ -45,4 +45,4 @@
{'search_default_available_in_pos': 1, 'default_type': 'cash'}
-
+
diff --git a/addons/point_of_sale/views/account_statement_report.xml b/addons/point_of_sale/views/account_statement_report.xml
index b0f0ca9aa7..d5e03896e1 100644
--- a/addons/point_of_sale/views/account_statement_report.xml
+++ b/addons/point_of_sale/views/account_statement_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/point_of_sale/views/account_statement_view.xml b/addons/point_of_sale/views/account_statement_view.xml
index cd7eac8716..31822ecce9 100644
--- a/addons/point_of_sale/views/account_statement_view.xml
+++ b/addons/point_of_sale/views/account_statement_view.xml
@@ -1,5 +1,5 @@
-
+account.journal.pos.user.form.inheritaccount.journal
@@ -31,4 +31,4 @@
-
+
diff --git a/addons/point_of_sale/views/point_of_sale.xml b/addons/point_of_sale/views/point_of_sale.xml
index 5868d6f705..2216ace9d0 100644
--- a/addons/point_of_sale/views/point_of_sale.xml
+++ b/addons/point_of_sale/views/point_of_sale.xml
@@ -1,5 +1,5 @@
-
+
@@ -107,8 +107,8 @@
$ 0.86
-
-
+
diff --git a/addons/pos_mercury/views/pos_mercury_templates.xml b/addons/pos_mercury/views/pos_mercury_templates.xml
index 53f0361c0e..876e63cd97 100644
--- a/addons/pos_mercury/views/pos_mercury_templates.xml
+++ b/addons/pos_mercury/views/pos_mercury_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/pos_mercury/views/pos_mercury_transaction_templates.xml b/addons/pos_mercury/views/pos_mercury_transaction_templates.xml
index 0ac0f8edb7..7096840136 100644
--- a/addons/pos_mercury/views/pos_mercury_transaction_templates.xml
+++ b/addons/pos_mercury/views/pos_mercury_transaction_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -66,4 +66,4 @@
-
+
diff --git a/addons/pos_mercury/views/pos_mercury_views.xml b/addons/pos_mercury/views/pos_mercury_views.xml
index d9f668b6c0..eb8ecbcd92 100644
--- a/addons/pos_mercury/views/pos_mercury_views.xml
+++ b/addons/pos_mercury/views/pos_mercury_views.xml
@@ -1,5 +1,5 @@
-
+Mercury Configurations
@@ -106,4 +106,4 @@
-
+
diff --git a/addons/pos_reprint/__init__.py b/addons/pos_reprint/__init__.py
index 67dee8c60d..7eb1309519 100644
--- a/addons/pos_reprint/__init__.py
+++ b/addons/pos_reprint/__init__.py
@@ -1,2 +1,2 @@
# -*- 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.
diff --git a/addons/pos_reprint/__manifest__.py b/addons/pos_reprint/__manifest__.py
index bda15eae0a..3a693acdb3 100644
--- a/addons/pos_reprint/__manifest__.py
+++ b/addons/pos_reprint/__manifest__.py
@@ -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.
{
'name': 'Point of Sale Receipt Reprinting',
@@ -21,5 +21,5 @@ Allow cashier to reprint receipts
'static/src/xml/reprint.xml',
],
'installable': True,
- 'website': 'https://www.odoo.com/page/point-of-sale',
+ 'website': 'https://flectrahq.com/page/point-of-sale',
}
diff --git a/addons/pos_reprint/static/src/js/reprint.js b/addons/pos_reprint/static/src/js/reprint.js
index f133cf4a2d..541738543e 100644
--- a/addons/pos_reprint/static/src/js/reprint.js
+++ b/addons/pos_reprint/static/src/js/reprint.js
@@ -1,4 +1,4 @@
-odoo.define('pos_reprint.pos_reprint', function (require) {
+flectra.define('pos_reprint.pos_reprint', function (require) {
"use strict";
var screens = require('point_of_sale.screens');
diff --git a/addons/pos_reprint/views/pos_config_views.xml b/addons/pos_reprint/views/pos_config_views.xml
index d5861bf3eb..7237dcc0f9 100644
--- a/addons/pos_reprint/views/pos_config_views.xml
+++ b/addons/pos_reprint/views/pos_config_views.xml
@@ -1,5 +1,5 @@
-
+pos.config.form.inherit.reprintpos.config
@@ -8,4 +8,4 @@
-
+
diff --git a/addons/pos_reprint/views/pos_reprint_templates.xml b/addons/pos_reprint/views/pos_reprint_templates.xml
index c1e2a54ccf..73b2f34377 100644
--- a/addons/pos_reprint/views/pos_reprint_templates.xml
+++ b/addons/pos_reprint/views/pos_reprint_templates.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/addons/pos_restaurant/__init__.py b/addons/pos_restaurant/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/pos_restaurant/__init__.py
+++ b/addons/pos_restaurant/__init__.py
@@ -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 models
diff --git a/addons/pos_restaurant/__manifest__.py b/addons/pos_restaurant/__manifest__.py
index 9db1a3c50b..83d54dd4f1 100644
--- a/addons/pos_restaurant/__manifest__.py
+++ b/addons/pos_restaurant/__manifest__.py
@@ -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.
{
@@ -17,7 +17,7 @@ This module adds several restaurant features to the Point of Sale:
""",
'depends': ['point_of_sale'],
- 'website': 'https://www.odoo.com/page/point-of-sale',
+ 'website': 'https://flectrahq.com/page/point-of-sale',
'data': [
'security/ir.model.access.csv',
'views/pos_order_views.xml',
diff --git a/addons/pos_restaurant/data/pos_restaurant_demo.xml b/addons/pos_restaurant/data/pos_restaurant_demo.xml
index c585c1be9a..b5ab4afcb2 100644
--- a/addons/pos_restaurant/data/pos_restaurant_demo.xml
+++ b/addons/pos_restaurant/data/pos_restaurant_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -332,4 +332,4 @@
315
-
+
diff --git a/addons/pos_restaurant/models/__init__.py b/addons/pos_restaurant/models/__init__.py
index 2b2442fbdd..197d1fe7d2 100644
--- a/addons/pos_restaurant/models/__init__.py
+++ b/addons/pos_restaurant/models/__init__.py
@@ -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 pos_config
from . import pos_order
diff --git a/addons/pos_restaurant/models/pos_config.py b/addons/pos_restaurant/models/pos_config.py
index 8a396f9ff0..7993ca2d02 100644
--- a/addons/pos_restaurant/models/pos_config.py
+++ b/addons/pos_restaurant/models/pos_config.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class PosConfig(models.Model):
diff --git a/addons/pos_restaurant/models/pos_order.py b/addons/pos_restaurant/models/pos_order.py
index 8059814901..07370e035d 100644
--- a/addons/pos_restaurant/models/pos_order.py
+++ b/addons/pos_restaurant/models/pos_order.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class PosOrder(models.Model):
diff --git a/addons/pos_restaurant/models/pos_restaurant.py b/addons/pos_restaurant/models/pos_restaurant.py
index 8ec6709690..a365d02b57 100644
--- a/addons/pos_restaurant/models/pos_restaurant.py
+++ b/addons/pos_restaurant/models/pos_restaurant.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class RestaurantFloor(models.Model):
diff --git a/addons/pos_restaurant/static/src/js/floors.js b/addons/pos_restaurant/static/src/js/floors.js
index 4ad760b8d0..e4502f3c74 100644
--- a/addons/pos_restaurant/static/src/js/floors.js
+++ b/addons/pos_restaurant/static/src/js/floors.js
@@ -1,4 +1,4 @@
-odoo.define('pos_restaurant.floors', function (require) {
+flectra.define('pos_restaurant.floors', function (require) {
"use strict";
var PosBaseWidget = require('point_of_sale.BaseWidget');
diff --git a/addons/pos_restaurant/static/src/js/multiprint.js b/addons/pos_restaurant/static/src/js/multiprint.js
index dac0a90685..a6959b2624 100644
--- a/addons/pos_restaurant/static/src/js/multiprint.js
+++ b/addons/pos_restaurant/static/src/js/multiprint.js
@@ -1,4 +1,4 @@
-odoo.define('pos_restaurant.multiprint', function (require) {
+flectra.define('pos_restaurant.multiprint', function (require) {
"use strict";
var models = require('point_of_sale.models');
@@ -13,7 +13,7 @@ var Printer = core.Class.extend(mixins.PropertiesMixin,{
init: function(parent,options){
mixins.PropertiesMixin.init.call(this,parent);
options = options || {};
- var url = options.url || 'http://localhost:8069';
+ var url = options.url || 'http://localhost:7073';
this.connection = new Session(undefined,url, { use_cors: true});
this.host = url;
this.receipt_queue = [];
@@ -59,7 +59,7 @@ models.load_models({
url = 'http://'+url;
}
if(url.indexOf(':',url.indexOf('//')+2) < 0){
- url = url+':8069';
+ url = url+':7073';
}
var printer = new Printer(self,{url:url});
printer.config = printers[i];
diff --git a/addons/pos_restaurant/static/src/js/notes.js b/addons/pos_restaurant/static/src/js/notes.js
index d5dfe8e23e..fd35aaf57a 100644
--- a/addons/pos_restaurant/static/src/js/notes.js
+++ b/addons/pos_restaurant/static/src/js/notes.js
@@ -1,4 +1,4 @@
-odoo.define('pos_restaurant.notes', function (require) {
+flectra.define('pos_restaurant.notes', function (require) {
"use strict";
var models = require('point_of_sale.models');
diff --git a/addons/pos_restaurant/static/src/js/printbill.js b/addons/pos_restaurant/static/src/js/printbill.js
index 578fd25040..e4b3d9811d 100644
--- a/addons/pos_restaurant/static/src/js/printbill.js
+++ b/addons/pos_restaurant/static/src/js/printbill.js
@@ -1,4 +1,4 @@
-odoo.define('pos_restaurant.printbill', function (require) {
+flectra.define('pos_restaurant.printbill', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/pos_restaurant/static/src/js/splitbill.js b/addons/pos_restaurant/static/src/js/splitbill.js
index 70c042c117..240e5261c8 100644
--- a/addons/pos_restaurant/static/src/js/splitbill.js
+++ b/addons/pos_restaurant/static/src/js/splitbill.js
@@ -1,4 +1,4 @@
-odoo.define('pos_restaurant.splitbill', function (require) {
+flectra.define('pos_restaurant.splitbill', function (require) {
"use strict";
var gui = require('point_of_sale.gui');
diff --git a/addons/pos_restaurant/views/pos_config_views.xml b/addons/pos_restaurant/views/pos_config_views.xml
index be94d8fd3f..1450de557b 100644
--- a/addons/pos_restaurant/views/pos_config_views.xml
+++ b/addons/pos_restaurant/views/pos_config_views.xml
@@ -1,5 +1,5 @@
-
+pos.config.form.inherit.restaurant
@@ -112,4 +112,4 @@
-
+
diff --git a/addons/pos_restaurant/views/pos_order_views.xml b/addons/pos_restaurant/views/pos_order_views.xml
index 182eb8d404..4c8cd408e6 100644
--- a/addons/pos_restaurant/views/pos_order_views.xml
+++ b/addons/pos_restaurant/views/pos_order_views.xml
@@ -1,5 +1,5 @@
-
+pos.order.form.view.inherit
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/pos_restaurant/views/pos_restaurant_templates.xml b/addons/pos_restaurant/views/pos_restaurant_templates.xml
index 179b941427..04f4eb9725 100644
--- a/addons/pos_restaurant/views/pos_restaurant_templates.xml
+++ b/addons/pos_restaurant/views/pos_restaurant_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/pos_restaurant/views/pos_restaurant_views.xml b/addons/pos_restaurant/views/pos_restaurant_views.xml
index 61f13b9008..49b91b4f9c 100644
--- a/addons/pos_restaurant/views/pos_restaurant_views.xml
+++ b/addons/pos_restaurant/views/pos_restaurant_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -156,4 +156,4 @@
sequence="15"
groups="base.group_no_one"/>
-
+
diff --git a/addons/pos_sale/__init__.py b/addons/pos_sale/__init__.py
index 0bedb4deb0..8fc6245872 100644
--- a/addons/pos_sale/__init__.py
+++ b/addons/pos_sale/__init__.py
@@ -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 models
from . import report
\ No newline at end of file
diff --git a/addons/pos_sale/__manifest__.py b/addons/pos_sale/__manifest__.py
index 5d77986635..4afcc3b652 100644
--- a/addons/pos_sale/__manifest__.py
+++ b/addons/pos_sale/__manifest__.py
@@ -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.
{
diff --git a/addons/pos_sale/data/pos_sale_data.xml b/addons/pos_sale/data/pos_sale_data.xml
index 08ff06db59..d43528dc54 100644
--- a/addons/pos_sale/data/pos_sale_data.xml
+++ b/addons/pos_sale/data/pos_sale_data.xml
@@ -1,5 +1,5 @@
-
+Point of Sale
@@ -10,5 +10,5 @@
-
+
diff --git a/addons/pos_sale/models/__init__.py b/addons/pos_sale/models/__init__.py
index 00d1440560..6640ff0d0b 100644
--- a/addons/pos_sale/models/__init__.py
+++ b/addons/pos_sale/models/__init__.py
@@ -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 pos_config
from . import crm_team
diff --git a/addons/pos_sale/models/crm_team.py b/addons/pos_sale/models/crm_team.py
index e11727e0a1..60dd08df1b 100644
--- a/addons/pos_sale/models/crm_team.py
+++ b/addons/pos_sale/models/crm_team.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
from datetime import datetime
diff --git a/addons/pos_sale/models/pos_config.py b/addons/pos_sale/models/pos_config.py
index 269a4471ff..e80371bfe1 100644
--- a/addons/pos_sale/models/pos_config.py
+++ b/addons/pos_sale/models/pos_config.py
@@ -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 PosConfig(models.Model):
diff --git a/addons/pos_sale/models/pos_session.py b/addons/pos_sale/models/pos_session.py
index cde76bfd6c..f17c4b057b 100644
--- a/addons/pos_sale/models/pos_session.py
+++ b/addons/pos_sale/models/pos_session.py
@@ -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 PosSession(models.Model):
diff --git a/addons/pos_sale/report/__init__.py b/addons/pos_sale/report/__init__.py
index 72bdd30312..29ef572fbb 100644
--- a/addons/pos_sale/report/__init__.py
+++ b/addons/pos_sale/report/__init__.py
@@ -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 report_all_channels_sales
diff --git a/addons/pos_sale/report/report_all_channels_sales.py b/addons/pos_sale/report/report_all_channels_sales.py
index 1baf9caab8..91519a847b 100644
--- a/addons/pos_sale/report/report_all_channels_sales.py
+++ b/addons/pos_sale/report/report_all_channels_sales.py
@@ -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 models
+from flectra import models
class PosSaleReport(models.Model):
diff --git a/addons/pos_sale/security/pos_sale_security.xml b/addons/pos_sale/security/pos_sale_security.xml
index 8b14025fa0..55767a2101 100644
--- a/addons/pos_sale/security/pos_sale_security.xml
+++ b/addons/pos_sale/security/pos_sale_security.xml
@@ -1,9 +1,9 @@
-
+POS Sales Channel[('team_type', '=', 'pos')]
-
+
diff --git a/addons/pos_sale/views/pos_config_views.xml b/addons/pos_sale/views/pos_config_views.xml
index caa000eacd..357d06f0ef 100644
--- a/addons/pos_sale/views/pos_config_views.xml
+++ b/addons/pos_sale/views/pos_config_views.xml
@@ -1,5 +1,5 @@
-
+pos.config.form.pos.sale
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/pos_sale/views/sales_team_views.xml b/addons/pos_sale/views/sales_team_views.xml
index 044d4abc40..bcd95d0155 100644
--- a/addons/pos_sale/views/sales_team_views.xml
+++ b/addons/pos_sale/views/sales_team_views.xml
@@ -1,5 +1,5 @@
-
+crm.team.formcrm.team
@@ -105,4 +105,4 @@
-
+
diff --git a/addons/procurement_jit/__init__.py b/addons/procurement_jit/__init__.py
index 216835128a..4eddfb9e15 100644
--- a/addons/procurement_jit/__init__.py
+++ b/addons/procurement_jit/__init__.py
@@ -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 sale
diff --git a/addons/procurement_jit/__manifest__.py b/addons/procurement_jit/__manifest__.py
index a85ee4911a..9133502393 100644
--- a/addons/procurement_jit/__manifest__.py
+++ b/addons/procurement_jit/__manifest__.py
@@ -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.
{
@@ -21,7 +21,7 @@ will take into account the expected date and the priority.
If this automatic reservation would reserve too much, you can
still unreserve a picking.
""",
- 'website': 'https://www.odoo.com/page/manufacturing',
+ 'website': 'https://flectrahq.com/page/manufacturing',
'depends': ['sale_stock'],
'data': [],
'demo': [],
diff --git a/addons/procurement_jit/sale.py b/addons/procurement_jit/sale.py
index ae6023e74b..4a5f5fc7c6 100644
--- a/addons/procurement_jit/sale.py
+++ b/addons/procurement_jit/sale.py
@@ -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 api, models
+from flectra import api, models
class SaleOrderLine(models.Model):
diff --git a/addons/product/__init__.py b/addons/product/__init__.py
index de3c67453a..d58811f03f 100644
--- a/addons/product/__init__.py
+++ b/addons/product/__init__.py
@@ -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 models
from . import report
diff --git a/addons/product/__manifest__.py b/addons/product/__manifest__.py
index f0c923d129..eb9ed729b2 100644
--- a/addons/product/__manifest__.py
+++ b/addons/product/__manifest__.py
@@ -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.
{
'name': 'Products & Pricelists',
@@ -7,7 +7,7 @@
'category': 'Sales',
'depends': ['base', 'decimal_precision', 'mail'],
'description': """
-This is the base module for managing products and pricelists in Odoo.
+This is the base module for managing products and pricelists in Odoo, Flectra.
========================================================================
Products support variants, different pricing methods, vendors information,
diff --git a/addons/product/data/product_data.xml b/addons/product/data/product_data.xml
index 386f3a5f59..bd59a16d00 100644
--- a/addons/product/data/product_data.xml
+++ b/addons/product/data/product_data.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/product/data/product_demo.xml b/addons/product/data/product_demo.xml
index 2a8e9305b1..7e8de3149a 100644
--- a/addons/product/data/product_demo.xml
+++ b/addons/product/data/product_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -735,4 +735,4 @@
-
+
diff --git a/addons/product/data/product_image_demo.xml b/addons/product/data/product_image_demo.xml
index ab98b4a703..b7753247db 100644
--- a/addons/product/data/product_image_demo.xml
+++ b/addons/product/data/product_image_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -107,4 +107,4 @@
-
+
diff --git a/addons/product/models/__init__.py b/addons/product/models/__init__.py
index a8b4525cc4..fe09dab522 100644
--- a/addons/product/models/__init__.py
+++ b/addons/product/models/__init__.py
@@ -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.
# flake8: noqa: F401
diff --git a/addons/product/models/decimal_precision.py b/addons/product/models/decimal_precision.py
index 3347bc167b..7fcbc8e094 100644
--- a/addons/product/models/decimal_precision.py
+++ b/addons/product/models/decimal_precision.py
@@ -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 api, models, tools, _
-from odoo.exceptions import ValidationError
+from flectra import api, models, tools, _
+from flectra.exceptions import ValidationError
class DecimalPrecision(models.Model):
diff --git a/addons/product/models/product.py b/addons/product/models/product.py
index 5ac510b84f..1f85bad566 100644
--- a/addons/product/models/product.py
+++ b/addons/product/models/product.py
@@ -1,15 +1,15 @@
# -*- 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.
import re
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import ValidationError
-from odoo.osv import expression
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import ValidationError
+from flectra.osv import expression
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
-from odoo.tools import float_compare, pycompat
+from flectra.tools import float_compare, pycompat
class ProductCategory(models.Model):
diff --git a/addons/product/models/product_attribute.py b/addons/product/models/product_attribute.py
index cffefbbda1..cfa8ed4e22 100644
--- a/addons/product/models/product_attribute.py
+++ b/addons/product/models/product_attribute.py
@@ -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, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError, ValidationError
class ProductAttribute(models.Model):
diff --git a/addons/product/models/product_pricelist.py b/addons/product/models/product_pricelist.py
index 3df9625414..a91ceb7bd8 100644
--- a/addons/product/models/product_pricelist.py
+++ b/addons/product/models/product_pricelist.py
@@ -1,14 +1,14 @@
# -*- 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 itertools import chain
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError, ValidationError
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
-from odoo.tools import pycompat
+from flectra.tools import pycompat
class Pricelist(models.Model):
diff --git a/addons/product/models/product_template.py b/addons/product/models/product_template.py
index 9ef10ae531..f578ccaf99 100644
--- a/addons/product/models/product_template.py
+++ b/addons/product/models/product_template.py
@@ -1,14 +1,14 @@
# -*- 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.
import itertools
import psycopg2
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import ValidationError, RedirectWarning, except_orm
-from odoo.tools import pycompat
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import ValidationError, RedirectWarning, except_orm
+from flectra.tools import pycompat
class ProductTemplate(models.Model):
@@ -436,7 +436,7 @@ class ProductTemplate(models.Model):
# unlink or inactive product
for variant in variants_to_unlink:
try:
- with self._cr.savepoint(), tools.mute_logger('odoo.sql_db'):
+ with self._cr.savepoint(), tools.mute_logger('flectra.sql_db'):
variant.unlink()
# We catch all kind of exception to be sure that the operation doesn't fail.
except (psycopg2.Error, except_orm):
diff --git a/addons/product/models/product_uom.py b/addons/product/models/product_uom.py
index 9606a51dfc..9a121b7933 100644
--- a/addons/product/models/product_uom.py
+++ b/addons/product/models/product_uom.py
@@ -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 api, fields, tools, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, tools, models, _
+from flectra.exceptions import UserError
class ProductUoMCategory(models.Model):
diff --git a/addons/product/models/res_company.py b/addons/product/models/res_company.py
index d94e8d2cda..87b42a111d 100644
--- a/addons/product/models/res_company.py
+++ b/addons/product/models/res_company.py
@@ -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 api, models, _
+from flectra import api, models, _
class ResCompany(models.Model):
diff --git a/addons/product/models/res_config_settings.py b/addons/product/models/res_config_settings.py
index 1d08f2a9a4..c3573f46e0 100644
--- a/addons/product/models/res_config_settings.py
+++ b/addons/product/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/product/models/res_partner.py b/addons/product/models/res_partner.py
index d307bd6ab0..4794e78d11 100644
--- a/addons/product/models/res_partner.py
+++ b/addons/product/models/res_partner.py
@@ -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, api
+from flectra import fields, models, api
class Partner(models.Model):
diff --git a/addons/product/report/__init__.py b/addons/product/report/__init__.py
index 84e96d32c2..051ae298b1 100644
--- a/addons/product/report/__init__.py
+++ b/addons/product/report/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 product_pricelist
diff --git a/addons/product/report/product_pricelist.py b/addons/product/report/product_pricelist.py
index 91f72d6cad..fc46e18ec4 100644
--- a/addons/product/report/product_pricelist.py
+++ b/addons/product/report/product_pricelist.py
@@ -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 api, models
-from odoo.tools import float_round
+from flectra import api, models
+from flectra.tools import float_round
class report_product_pricelist(models.AbstractModel):
diff --git a/addons/product/report/product_pricelist_templates.xml b/addons/product/report/product_pricelist_templates.xml
index 43a127cdc6..e14465bde4 100644
--- a/addons/product/report/product_pricelist_templates.xml
+++ b/addons/product/report/product_pricelist_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -61,4 +61,4 @@
-
+
diff --git a/addons/product/report/product_product_templates.xml b/addons/product/report/product_product_templates.xml
index 2d75d5e3a3..a580f8057d 100644
--- a/addons/product/report/product_product_templates.xml
+++ b/addons/product/report/product_product_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -44,4 +44,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/product/report/product_reports.xml b/addons/product/report/product_reports.xml
index cf75e9513e..1364e7371b 100644
--- a/addons/product/report/product_reports.xml
+++ b/addons/product/report/product_reports.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/product/report/product_template_templates.xml b/addons/product/report/product_template_templates.xml
index d196f3cab0..e97ff9b619 100644
--- a/addons/product/report/product_template_templates.xml
+++ b/addons/product/report/product_template_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,4 +13,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml
index bc39a2ec9f..bcc3f92219 100644
--- a/addons/product/security/product_security.xml
+++ b/addons/product/security/product_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -65,4 +65,4 @@
-
+
diff --git a/addons/product/tests/__init__.py b/addons/product/tests/__init__.py
index cb24f04241..30885ae7cb 100644
--- a/addons/product/tests/__init__.py
+++ b/addons/product/tests/__init__.py
@@ -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_variants, test_uom, test_pricelist, test_product_pricelist
diff --git a/addons/product/tests/common.py b/addons/product/tests/common.py
index e48e4da948..dd0ce152ae 100644
--- a/addons/product/tests/common.py
+++ b/addons/product/tests/common.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.tests import common
+from flectra.tests import common
class TestProductCommon(common.SavepointCase):
diff --git a/addons/product/tests/test_pricelist.py b/addons/product/tests/test_pricelist.py
index a4d43392c8..b76eec6ef1 100644
--- a/addons/product/tests/test_pricelist.py
+++ b/addons/product/tests/test_pricelist.py
@@ -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.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestPricelist(TransactionCase):
diff --git a/addons/product/tests/test_product_pricelist.py b/addons/product/tests/test_product_pricelist.py
index 70ad0167b9..1efc007677 100644
--- a/addons/product/tests/test_product_pricelist.py
+++ b/addons/product/tests/test_product_pricelist.py
@@ -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.tests.common import TransactionCase
-from odoo.tools import float_compare, test_reports
+from flectra.tests.common import TransactionCase
+from flectra.tools import float_compare, test_reports
class TestProductPricelist(TransactionCase):
diff --git a/addons/product/tests/test_uom.py b/addons/product/tests/test_uom.py
index 03fb0cbae5..305ee926d8 100644
--- a/addons/product/tests/test_uom.py
+++ b/addons/product/tests/test_uom.py
@@ -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.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestUom(TransactionCase):
diff --git a/addons/product/tests/test_variants.py b/addons/product/tests/test_variants.py
index fbf3073377..59def7c861 100644
--- a/addons/product/tests/test_variants.py
+++ b/addons/product/tests/test_variants.py
@@ -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 common
diff --git a/addons/product/views/product_attribute_views.xml b/addons/product/views/product_attribute_views.xml
index f6ec4d8fcf..2d42ce8e3a 100644
--- a/addons/product/views/product_attribute_views.xml
+++ b/addons/product/views/product_attribute_views.xml
@@ -1,5 +1,5 @@
-
+product.attribute.value.view.tree
@@ -114,4 +114,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/product/views/product_pricelist_views.xml b/addons/product/views/product_pricelist_views.xml
index b2496285d7..d3e9cd31bc 100644
--- a/addons/product/views/product_pricelist_views.xml
+++ b/addons/product/views/product_pricelist_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -202,4 +202,4 @@
-
+
diff --git a/addons/product/views/product_template_views.xml b/addons/product/views/product_template_views.xml
index ed4e2ca54a..4be0a7a8d3 100644
--- a/addons/product/views/product_template_views.xml
+++ b/addons/product/views/product_template_views.xml
@@ -1,5 +1,5 @@
-
+product.template.product.treeproduct.template
@@ -118,4 +118,4 @@
-
+
diff --git a/addons/product/views/product_uom_views.xml b/addons/product/views/product_uom_views.xml
index edb4f88424..5554ae5cc5 100644
--- a/addons/product/views/product_uom_views.xml
+++ b/addons/product/views/product_uom_views.xml
@@ -1,5 +1,5 @@
-
+product.uom.treeproduct.uom
@@ -89,4 +89,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml
index d97f991bbb..4e38f13460 100644
--- a/addons/product/views/product_views.xml
+++ b/addons/product/views/product_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -192,7 +192,7 @@
-
+
All general settings about this product are managed on
@@ -579,4 +579,4 @@
-
+
diff --git a/addons/product/views/res_config_settings_views.xml b/addons/product/views/res_config_settings_views.xml
index bb23206d34..3dde3757fc 100644
--- a/addons/product/views/res_config_settings_views.xml
+++ b/addons/product/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.productres.config.settings
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/product/views/res_partner_views.xml b/addons/product/views/res_partner_views.xml
index 692fe5025e..cdc02ba7eb 100644
--- a/addons/product/views/res_partner_views.xml
+++ b/addons/product/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+res.partner.product.property.form.inheritres.partner
@@ -14,4 +14,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/product/wizard/__init__.py b/addons/product/wizard/__init__.py
index 0e9e331843..dc2295c097 100644
--- a/addons/product/wizard/__init__.py
+++ b/addons/product/wizard/__init__.py
@@ -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 product_price_list
diff --git a/addons/product/wizard/product_price_list.py b/addons/product/wizard/product_price_list.py
index 06609f1210..8c47ca3867 100644
--- a/addons/product/wizard/product_price_list.py
+++ b/addons/product/wizard/product_price_list.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class product_price_list(models.TransientModel):
diff --git a/addons/product/wizard/product_price_list_views.xml b/addons/product/wizard/product_price_list_views.xml
index 96edadb4c4..428c1a46f3 100644
--- a/addons/product/wizard/product_price_list_views.xml
+++ b/addons/product/wizard/product_price_list_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -30,4 +30,4 @@
src_model="product.product"
groups="product.group_sale_pricelist"
view_mode="form" target="new" view_type="form" />
-
+
diff --git a/addons/product_email_template/data/product_demo.xml b/addons/product_email_template/data/product_demo.xml
index 7dff86cc04..512ed8299d 100644
--- a/addons/product_email_template/data/product_demo.xml
+++ b/addons/product_email_template/data/product_demo.xml
@@ -1,5 +1,5 @@
-
+Online TrainingOnline Training
@@ -47,8 +47,8 @@
The 5-day training is modular, which means that you can choose to participate in the full training or to just 1 or 2 modules.
Nevertheless, the first day of the training is compulsory for everyone. The Monday is compulsory because the
- introduction of Odoo is important before going through the other modules.
- Each day of the week starts from 9 AM (CEST/PST) to 12 PM (CEST/PST). A Q&A session will be hosted by an Odoo trainer.
+ introduction of Flectra is important before going through the other modules.
+ Each day of the week starts from 9 AM (CEST/PST) to 12 PM (CEST/PST). A Q&A session will be hosted by an Flectra trainer.
Each day, the participants are expected to have done the following BEFORE attending the Q&A session:
Watch the videos for this day
@@ -60,7 +60,7 @@
Q&A session is not to cover questions related to a specific implementation project or company-specific business
workflows. The questions should be about the material covered in the videos and the exercises and should benefit
the other participants of the training as well.
- Each day of the week is dedicated to specific applications in Odoo as per the following planning:
+ Each day of the week is dedicated to specific applications in Flectra as per the following planning:
Monday:
@@ -100,8 +100,8 @@
-
Odoo’s architecture
-
How to create an Odoo Online instance
+
Flectra’s architecture
+
How to create an Flectra Online instance
List and form views, search and filter features
Tooltips and drill-downs
Advanced navigation
@@ -110,7 +110,7 @@
- The introduction exercises have been created to help you discover Odoo in an easy way. Their main objective is to present the different applications, menus, view types, shortcuts, field types, wizards, actions, etc. It will help you to discover how to navigate in Odoo!
+ The introduction exercises have been created to help you discover Flectra in an easy way. Their main objective is to present the different applications, menus, view types, shortcuts, field types, wizards, actions, etc. It will help you to discover how to navigate in Flectra!
Therefore, the Introduction is compulsory for everyone, even if you need to learn a specific module given on an other date. This obligation has been made to make sure that you are not lost if you arrive in the middle of the training for another module.
@@ -179,7 +179,7 @@
- Odoo can work with independent applications, so the
+ Flectra can work with independent applications, so the
whole commercial process can be integrated together in
order to accomplish complete business flows.
@@ -387,7 +387,7 @@
- Odoo Warehouse Management is at once very simple, flexible and complete. It is based on the concept of double entry that revolutionized accounting: ‘Nothing lost, everything moved’. In Odoo, we don’t talk about disappearance, consumption or loss of products: instead we speak only of stock moves from one place to another.
+ Flectra Warehouse Management is at once very simple, flexible and complete. It is based on the concept of double entry that revolutionized accounting: ‘Nothing lost, everything moved’. In Flectra, we don’t talk about disappearance, consumption or loss of products: instead we speak only of stock moves from one place to another.
@@ -449,9 +449,9 @@
-
Transfer data from one system to Odoo.
+
Transfer data from one system to Flectra.
- Odoo offers a simple way to import and export data. Odoo will guide you for this phase thanks to a FAQ directly integrated into the import screen
+ Flectra offers a simple way to import and export data. Flectra will guide you for this phase thanks to a FAQ directly integrated into the import screen
@@ -505,7 +505,7 @@
- Odoo POS is the first POS running in a 100% web based environment, which means any computer with a browser can host the POS. The POS is a two-part system with a front-end (interaction with the client) and a back-end (managers can configure the system, print reports, analyse, ...)
+ Flectra POS is the first POS running in a 100% web based environment, which means any computer with a browser can host the POS. The POS is a two-part system with a front-end (interaction with the client) and a back-end (managers can configure the system, print reports, analyse, ...)
About the front-end:
Offline mode. Imagine several cases were having an offline mode is of prime interest: Connexion to server shutdown at a big supermarket / Use in environments that requires mobility but without wifi / Use in large environments like restaurants and gardens / Use in low tech environments
@@ -535,7 +535,7 @@
- This features will help you to fully customize the standard documents made from Odoo.
+ This features will help you to fully customize the standard documents made from Flectra.
@@ -577,7 +577,7 @@
- With the live sessions, we learned a lot more than what was covered in the videos. Definitely a good start for building up a solid base of working knowledge of Odoo.
+ With the live sessions, we learned a lot more than what was covered in the videos. Definitely a good start for building up a solid base of working knowledge of Flectra.
The trainer did a wonderful job with the training! He was well informed and interactive online and offline. Thank you so much for the experience!
@@ -585,7 +585,7 @@
- It would be very difficult to cover all of the possibilities of Odoo and I believe the major aspects were covered very well
+ It would be very difficult to cover all of the possibilities of Flectra and I believe the major aspects were covered very well
The trainer has a very good knowledge of the subject, he understands the issues of the trainees very fast and provided answers with the right level of illustration.
@@ -609,4 +609,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/product_email_template/models/account_invoice.py b/addons/product_email_template/models/account_invoice.py
index 82c0dfbbea..62e7c8a795 100644
--- a/addons/product_email_template/models/account_invoice.py
+++ b/addons/product_email_template/models/account_invoice.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, models
+from flectra import api, models
class AccountInvoice(models.Model):
diff --git a/addons/product_email_template/models/product.py b/addons/product_email_template/models/product.py
index 83583c3a23..eeeb891d51 100644
--- a/addons/product_email_template/models/product.py
+++ b/addons/product_email_template/models/product.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class ProductTemplate(models.Model):
diff --git a/addons/product_email_template/views/mail_template_views.xml b/addons/product_email_template/views/mail_template_views.xml
index 60aa1a2d3b..f94c02724c 100644
--- a/addons/product_email_template/views/mail_template_views.xml
+++ b/addons/product_email_template/views/mail_template_views.xml
@@ -1,5 +1,5 @@
-
+mail.template.form.simplifiedmail.template
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/product_email_template/views/product_views.xml b/addons/product_email_template/views/product_views.xml
index f410118998..81d1eccf99 100644
--- a/addons/product_email_template/views/product_views.xml
+++ b/addons/product_email_template/views/product_views.xml
@@ -1,5 +1,5 @@
-
+product.template.form.inherit.email.templateproduct.template
@@ -21,4 +21,4 @@
-
+
diff --git a/addons/product_expiry/__init__.py b/addons/product_expiry/__init__.py
index d6210b1285..aaea41f08e 100644
--- a/addons/product_expiry/__init__.py
+++ b/addons/product_expiry/__init__.py
@@ -1,3 +1,3 @@
-# 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 models
diff --git a/addons/product_expiry/__manifest__.py b/addons/product_expiry/__manifest__.py
index 4772e3d5be..91d0bdd5f7 100644
--- a/addons/product_expiry/__manifest__.py
+++ b/addons/product_expiry/__manifest__.py
@@ -1,4 +1,4 @@
-# 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.
{
'name' : 'Products Expiration Date',
'category' : 'Warehouse',
diff --git a/addons/product_expiry/data/product_expiry_data.xml b/addons/product_expiry/data/product_expiry_data.xml
index d9c2831bfa..a55ef6d035 100644
--- a/addons/product_expiry/data/product_expiry_data.xml
+++ b/addons/product_expiry/data/product_expiry_data.xml
@@ -1,8 +1,8 @@
-
+First Expiry First Out (FEFO)fefo
-
+
diff --git a/addons/product_expiry/data/product_expiry_demo.xml b/addons/product_expiry/data/product_expiry_demo.xml
index 851c9ba1b2..55cfe96260 100644
--- a/addons/product_expiry/data/product_expiry_demo.xml
+++ b/addons/product_expiry/data/product_expiry_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -87,4 +87,4 @@
-
+
diff --git a/addons/product_expiry/models/__init__.py b/addons/product_expiry/models/__init__.py
index 47544a5eeb..9a174d7057 100644
--- a/addons/product_expiry/models/__init__.py
+++ b/addons/product_expiry/models/__init__.py
@@ -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 production_lot
from . import product_product
diff --git a/addons/product_expiry/models/product_product.py b/addons/product_expiry/models/product_product.py
index 86094cfed1..5a42a469d6 100644
--- a/addons/product_expiry/models/product_product.py
+++ b/addons/product_expiry/models/product_product.py
@@ -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 ProductTemplate(models.Model):
diff --git a/addons/product_expiry/models/production_lot.py b/addons/product_expiry/models/production_lot.py
index 6be9a2865d..4e22266e5f 100644
--- a/addons/product_expiry/models/production_lot.py
+++ b/addons/product_expiry/models/production_lot.py
@@ -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.
import datetime
-from odoo import api, fields, models
+from flectra import api, fields, models
class StockProductionLot(models.Model):
diff --git a/addons/product_expiry/models/stock_quant.py b/addons/product_expiry/models/stock_quant.py
index 4dd0945aee..fc4c933c75 100644
--- a/addons/product_expiry/models/stock_quant.py
+++ b/addons/product_expiry/models/stock_quant.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class StockQuant(models.Model):
diff --git a/addons/product_expiry/views/product_template_views.xml b/addons/product_expiry/views/product_template_views.xml
index b68ab2aa19..fdfc4f009f 100644
--- a/addons/product_expiry/views/product_template_views.xml
+++ b/addons/product_expiry/views/product_template_views.xml
@@ -1,5 +1,5 @@
-
+product.template.inherit.formproduct.template
@@ -31,4 +31,4 @@
-
+
diff --git a/addons/product_expiry/views/production_lot_views.xml b/addons/product_expiry/views/production_lot_views.xml
index afe1824ef9..3b01c4cb96 100644
--- a/addons/product_expiry/views/production_lot_views.xml
+++ b/addons/product_expiry/views/production_lot_views.xml
@@ -1,5 +1,5 @@
-
+stock.production.lot.inherit.formstock.production.lot
@@ -59,4 +59,4 @@
-
+
diff --git a/addons/product_expiry/views/report_deliveryslip.xml b/addons/product_expiry/views/report_deliveryslip.xml
index 9de2d6eba7..fa3a2cb94b 100644
--- a/addons/product_expiry/views/report_deliveryslip.xml
+++ b/addons/product_expiry/views/report_deliveryslip.xml
@@ -1,4 +1,4 @@
-
+
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/product_expiry/views/stock_quant_views.xml b/addons/product_expiry/views/stock_quant_views.xml
index d3e0839580..c825a9e4df 100644
--- a/addons/product_expiry/views/stock_quant_views.xml
+++ b/addons/product_expiry/views/stock_quant_views.xml
@@ -1,5 +1,5 @@
-
+stock.quant.inherit.formstock.quant
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/product_extended/__init__.py b/addons/product_extended/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/product_extended/__init__.py
+++ b/addons/product_extended/__init__.py
@@ -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 models
diff --git a/addons/product_extended/__manifest__.py b/addons/product_extended/__manifest__.py
index cfddc06435..fb037bd200 100644
--- a/addons/product_extended/__manifest__.py
+++ b/addons/product_extended/__manifest__.py
@@ -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.
{
"name" : "Product extension to track sales and purchases",
diff --git a/addons/product_extended/models/__init__.py b/addons/product_extended/models/__init__.py
index 06ab2512b7..a7c03f7a0d 100644
--- a/addons/product_extended/models/__init__.py
+++ b/addons/product_extended/models/__init__.py
@@ -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 product
\ No newline at end of file
diff --git a/addons/product_extended/models/product.py b/addons/product_extended/models/product.py
index 0efd659dd7..afce3a330b 100644
--- a/addons/product_extended/models/product.py
+++ b/addons/product_extended/models/product.py
@@ -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 api, models
+from flectra import api, models
class ProductTemplate(models.Model):
diff --git a/addons/product_extended/views/product_views.xml b/addons/product_extended/views/product_views.xml
index 4e065e1960..47f0bfd12b 100644
--- a/addons/product_extended/views/product_views.xml
+++ b/addons/product_extended/views/product_views.xml
@@ -1,5 +1,5 @@
-
+product_extended.product.form.viewproduct.template
@@ -35,4 +35,4 @@
-
+
diff --git a/addons/product_margin/__init__.py b/addons/product_margin/__init__.py
index b6f0743338..e9efe3ac92 100644
--- a/addons/product_margin/__init__.py
+++ b/addons/product_margin/__init__.py
@@ -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 wizard
from . import models
diff --git a/addons/product_margin/__manifest__.py b/addons/product_margin/__manifest__.py
index 6bf8b11ad2..3c64b3e63e 100644
--- a/addons/product_margin/__manifest__.py
+++ b/addons/product_margin/__manifest__.py
@@ -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.
{
diff --git a/addons/product_margin/models/__init__.py b/addons/product_margin/models/__init__.py
index 4bd5f3c3d8..7adbed47aa 100644
--- a/addons/product_margin/models/__init__.py
+++ b/addons/product_margin/models/__init__.py
@@ -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 product_product
\ No newline at end of file
diff --git a/addons/product_margin/models/product_product.py b/addons/product_margin/models/product_product.py
index 3dd735b26a..d9140dc362 100644
--- a/addons/product_margin/models/product_product.py
+++ b/addons/product_margin/models/product_product.py
@@ -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.
import time
-from odoo import api, fields, models
+from flectra import api, fields, models
class ProductProduct(models.Model):
diff --git a/addons/product_margin/views/product_product_views.xml b/addons/product_margin/views/product_product_views.xml
index 8612b355a1..ddb8817560 100644
--- a/addons/product_margin/views/product_product_views.xml
+++ b/addons/product_margin/views/product_product_views.xml
@@ -1,5 +1,5 @@
-
+product.margin.graphproduct.product
@@ -86,4 +86,4 @@
-
+
diff --git a/addons/product_margin/wizard/__init__.py b/addons/product_margin/wizard/__init__.py
index 2bbaa5a97a..f9170d53b0 100644
--- a/addons/product_margin/wizard/__init__.py
+++ b/addons/product_margin/wizard/__init__.py
@@ -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 product_margin
diff --git a/addons/product_margin/wizard/product_margin.py b/addons/product_margin/wizard/product_margin.py
index b5cc892ea7..aed87084de 100644
--- a/addons/product_margin/wizard/product_margin.py
+++ b/addons/product_margin/wizard/product_margin.py
@@ -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.
import time
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
class ProductMargin(models.TransientModel):
diff --git a/addons/product_margin/wizard/product_margin_view.xml b/addons/product_margin/wizard/product_margin_view.xml
index 689021f99f..6dc1a9a4a8 100644
--- a/addons/product_margin/wizard/product_margin_view.xml
+++ b/addons/product_margin/wizard/product_margin_view.xml
@@ -1,5 +1,5 @@
-
+product.margin.formproduct.margin
@@ -26,4 +26,4 @@
key2="client_action_multi"
id="product_margin_act_window"/>
-
+
diff --git a/addons/project/__init__.py b/addons/project/__init__.py
index 7039d459cb..72b4051222 100644
--- a/addons/project/__init__.py
+++ b/addons/project/__init__.py
@@ -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
diff --git a/addons/project/__manifest__.py b/addons/project/__manifest__.py
index 214588a81c..adb80fe985 100644
--- a/addons/project/__manifest__.py
+++ b/addons/project/__manifest__.py
@@ -1,10 +1,10 @@
# -*- 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.
{
'name': 'Project',
'version': '1.1',
- 'website': 'https://www.odoo.com/page/project-management',
+ 'website': 'https://flectrahq.com/page/project-management',
'category': 'Project',
'sequence': 10,
'summary': 'Projects, Tasks',
diff --git a/addons/project/controllers/__init__.py b/addons/project/controllers/__init__.py
index 903b755e71..e344144f49 100644
--- a/addons/project/controllers/__init__.py
+++ b/addons/project/controllers/__init__.py
@@ -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 portal
diff --git a/addons/project/controllers/portal.py b/addons/project/controllers/portal.py
index 621113a385..b31efa2f78 100644
--- a/addons/project/controllers/portal.py
+++ b/addons/project/controllers/portal.py
@@ -1,13 +1,13 @@
# -*- 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 collections import OrderedDict
-from odoo import http, _
-from odoo.http import request
-from odoo.addons.portal.controllers.portal import get_records_pager, CustomerPortal, pager as portal_pager
+from flectra import http, _
+from flectra.http import request
+from flectra.addons.portal.controllers.portal import get_records_pager, CustomerPortal, pager as portal_pager
-from odoo.osv.expression import OR
+from flectra.osv.expression import OR
class CustomerPortal(CustomerPortal):
diff --git a/addons/project/data/project_data.xml b/addons/project/data/project_data.xml
index 6aff15a116..9057d9ef3d 100644
--- a/addons/project/data/project_data.xml
+++ b/addons/project/data/project_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -94,7 +94,7 @@
- Start here to discover Odoo
+ Start here to discover Flectrafollowers
@@ -130,7 +130,7 @@
0
- Welcome to Odoo
+ Welcome to FlectraWelcome! This project has the objective to show you all the main feature in the project app. Each card will help you to manage your projects easily in a few minutes.2
@@ -346,4 +346,4 @@
-
+
diff --git a/addons/project/data/project_demo.xml b/addons/project/data/project_demo.xml
index f5e53c769d..6b24a64909 100644
--- a/addons/project/data/project_demo.xml
+++ b/addons/project/data/project_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -431,4 +431,4 @@ Send it ASAP, its urgent.
eval="[ref('project.project_project_1')], [ref('base.partner_demo_portal')]"/>
-
+
diff --git a/addons/project/data/project_mail_template_data.xml b/addons/project/data/project_mail_template_data.xml
index 1b86d20040..53a92872bc 100644
--- a/addons/project/data/project_mail_template_data.xml
+++ b/addons/project/data/project_mail_template_data.xml
@@ -1,11 +1,11 @@
-
+project module install then send email
- Your Odoo Project application is up and running
- help@odoo.com
+ Your Flectra Project application is up and running
+ help@flectra.com${user.email|safe}${user.lang}
@@ -31,7 +31,7 @@
- Your Odoo Project application is up and running
+ Your Flectra Project application is up and running
What’s next?
@@ -94,22 +94,22 @@
We would be delighted to assist you along the way. Contact us through our
- support form if you have any question.
- You can also discover how to get the best out of Odoo Project with our
-
+ support form if you have any question.
+ You can also discover how to get the best out of Flectra Project with our
+ User Documentation or with our
-
+ API Documentation
- Congratulations on choosing Odoo Project to help running your company more efficiently!
+ Congratulations on choosing Flectra Project to help running your company more efficiently!
- Odoo Project is a super fast and easy way to make your activities and tasks visible to
+ Flectra Project is a super fast and easy way to make your activities and tasks visible to
everyone in your company. Follow how things progress, see when things are stuck, know
who's in charge, all in one place.
But because change is never easy, we've created this Planner to guide you.
- For example, you'll understand why you shouldn’t use Odoo to plan but instead to
+ For example, you'll understand why you shouldn’t use Flectra to plan but instead to
collaborate, or why organizing your projects by role is wrong.
This whole process might take you a few hours, but don't worry, you can take a break and
@@ -27,7 +27,7 @@
- For the Odoo Team,
+ For the Flectra Team,
Fabien Pinckaers, Founder
@@ -41,7 +41,7 @@
Your ObjectivesObjectives
- It's essential to be clear about why you want to use Odoo Project and what your goals are.
+ It's essential to be clear about why you want to use Flectra Project and what your goals are.
Indeed, there are many ways to manage a project, to find the best one for you, you need to know exactly what you want to achieve. And later on, we will hopefully transform your objectives into real improvements for your company.
- It is time to think about how you will transform your activities into real projects in Odoo.
+ It is time to think about how you will transform your activities into real projects in Flectra.
For that, the most important part is defining the stages of your projects. Stages are the different steps a task can go through, from its creation to its ending. They will appear in what we call the 'Kanban' view of your projects.
Creating Tasks is the next step in managing your Projects.
- In Odoo, it is pretty straightforward, but here are some explanations you may find useful.
+ In Flectra, it is pretty straightforward, but here are some explanations you may find useful.
@@ -404,7 +404,7 @@
-
A great feature in Odoo is the integration of a Collaborative Notepad called Etherpad.
+
A great feature in Flectra is the integration of a Collaborative Notepad called Etherpad.
It replaces the standard Description area in Tasks and is extremely useful for several cases.
You have different users writing Tasks descriptions
It can quickly become messy if everyone uses his own layout. Etherpad will allow you to create a basic template with a few titles and bullet points, making it much easier for everyone.
@@ -433,7 +433,7 @@
Use Timesheets
Timesheets are often essential for running a company.
They are also prone to human error, repetitive, annoying, and sometimes stressful to employees.
- Fortunately, Odoo has several solutions to make them as efficient and painless as possible!
+ Fortunately, Flectra has several solutions to make them as efficient and painless as possible!
Enter your activities (every day)
@@ -442,7 +442,7 @@
- Directly in Odoo
+ Directly in Flectra
@@ -464,12 +464,12 @@
We've developed a super simple and efficient Chrome extension to enter your timesheets:
Every business is different.
- Odoo allows you to customize every application and it's usually a good idea to customize screens to fit your project needs.
+ Flectra allows you to customize every application and it's usually a good idea to customize screens to fit your project needs.
A project usually involves many stakeholders, be it the project's sponsor, resources, customers or external contractors. But the most important person in a project is usually the Project Manager.
- In Odoo, the Project Managers have the responsibility of managing the Kanban view: they ensure smooth progression of the projects, minimal downtime between stages and optimal work distribution between resources.
+ In Flectra, the Project Managers have the responsibility of managing the Kanban view: they ensure smooth progression of the projects, minimal downtime between stages and optimal work distribution between resources.
- Even if there is no specific field in Odoo, it's important to define a person responsible for each stage of your Project.
+ Even if there is no specific field in Flectra, it's important to define a person responsible for each stage of your Project.
This person will have the responsibility for validating each stage and ensuring that the requirements to move to the next stage are met.
@@ -783,7 +783,7 @@
Notifications
-
Managing notifications is essential: too few and you risk missing critical information, too many and you will be overloaded with unnecessary information. The trick is to find the right balance between the projects, stages and tasks you want to be informed about. Fortunately, Odoo Project has many levels of notifications and messages you can choose from.
+
Managing notifications is essential: too few and you risk missing critical information, too many and you will be overloaded with unnecessary information. The trick is to find the right balance between the projects, stages and tasks you want to be informed about. Fortunately, Flectra Project has many levels of notifications and messages you can choose from.
@@ -806,7 +806,7 @@
Rely on the chatter
- Below every Task (or more generally, below every Document in Odoo) is an area called Chatter.
+ Below every Task (or more generally, below every Document in Flectra) is an area called Chatter.
It's for logging every change, event or message related to the Document.
So if you're looking for the history of a Task, or the latest message on a Task, simply go to the corresponding Document and you'll find it!
@@ -817,7 +817,7 @@
Be careful about the messages you send
- Sending a message through Odoo will automatically send an email containing your message to all the followers including internal employees, external users or customers.
+ Sending a message through Flectra will automatically send an email containing your message to all the followers including internal employees, external users or customers.
An internal message will not send any email notification, but your message will still be displayed to every user that has access to the page.
If you want to limit access for certain users or customers, simply use the Privacy / Visibility settings in the Project Settings.
@@ -832,7 +832,7 @@
Create tasks by email
- In Odoo, every project has an email alias. If you send an email to this alias, it will automatically create a task in the first stage of the project, with all the email recipients as its default followers.
+ In Flectra, every project has an email alias. If you send an email to this alias, it will automatically create a task in the first stage of the project, with all the email recipients as its default followers.
This is particularly useful to manage help and support: all incoming email from customers will be transformed into a task that you'll be able to track easily!
@@ -843,7 +843,7 @@
-
Internal notes are messages that will appear in the Chatter but will not be notified in Odoo's Inbox.
+
Internal notes are messages that will appear in the Chatter but will not be notified in Flectra's Inbox.
You can reply directly to a message from you email software; the message and its attachments will be added to the Chatter.
If you don't want to receive email notifications, you can uncheck the option in your Account Preferences.
We hope this process helped you implement our project management application.
-
Don't hesitate to send us an email to describe your experience or to suggest improvements !
-
- The Odoo Team
-
+
Don't hesitate to send us an email to describe your experience or to suggest improvements !
+
- The Flectra Team
+
@@ -1036,4 +1036,4 @@
-
+
diff --git a/addons/project/models/__init__.py b/addons/project/models/__init__.py
index 0507afc3e0..069e9802a5 100644
--- a/addons/project/models/__init__.py
+++ b/addons/project/models/__init__.py
@@ -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 project
from . import res_config_settings
diff --git a/addons/project/models/project.py b/addons/project/models/project.py
index 9e5ffa0b1a..27c3a112ef 100644
--- a/addons/project/models/project.py
+++ b/addons/project/models/project.py
@@ -1,11 +1,11 @@
# -*- 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 lxml import etree
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.exceptions import UserError, AccessError
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.exceptions import UserError, AccessError
+from flectra.tools.safe_eval import safe_eval
class ProjectTaskType(models.Model):
@@ -839,11 +839,11 @@ class Task(models.Model):
except Exception:
pass
if self.project_id:
- current_objects = [h for h in headers.get('X-Odoo-Objects', '').split(',') if h]
+ current_objects = [h for h in headers.get('X-Flectra-Objects', '').split(',') if h]
current_objects.insert(0, 'project.project-%s, ' % self.project_id.id)
- headers['X-Odoo-Objects'] = ','.join(current_objects)
+ headers['X-Flectra-Objects'] = ','.join(current_objects)
if self.tag_ids:
- headers['X-Odoo-Tags'] = ','.join(self.tag_ids.mapped('name'))
+ headers['X-Flectra-Tags'] = ','.join(self.tag_ids.mapped('name'))
res['headers'] = repr(headers)
return res
diff --git a/addons/project/models/res_company.py b/addons/project/models/res_company.py
index 282b611ca7..3150fcd8e7 100644
--- a/addons/project/models/res_company.py
+++ b/addons/project/models/res_company.py
@@ -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 ResCompany(models.Model):
diff --git a/addons/project/models/res_config_settings.py b/addons/project/models/res_config_settings.py
index f008f52a5a..a195cc665d 100644
--- a/addons/project/models/res_config_settings.py
+++ b/addons/project/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/project/models/res_partner.py b/addons/project/models/res_partner.py
index a21370e52e..9948923ca9 100644
--- a/addons/project/models/res_partner.py
+++ b/addons/project/models/res_partner.py
@@ -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 ResPartner(models.Model):
diff --git a/addons/project/models/web_planner.py b/addons/project/models/web_planner.py
index ed10092b4d..ff73fd739f 100644
--- a/addons/project/models/web_planner.py
+++ b/addons/project/models/web_planner.py
@@ -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 models
+from flectra import models
class PlannerProject(models.Model):
diff --git a/addons/project/report/__init__.py b/addons/project/report/__init__.py
index 3079695339..765764d2c8 100644
--- a/addons/project/report/__init__.py
+++ b/addons/project/report/__init__.py
@@ -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 project_report
diff --git a/addons/project/report/project_report.py b/addons/project/report/project_report.py
index 22dcca906e..62ce0794d4 100644
--- a/addons/project/report/project_report.py
+++ b/addons/project/report/project_report.py
@@ -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, tools
+from flectra import fields, models, tools
class ReportProjectTaskUser(models.Model):
diff --git a/addons/project/report/project_report_views.xml b/addons/project/report/project_report_views.xml
index 5a8687a65d..f6d5b97c82 100644
--- a/addons/project/report/project_report_views.xml
+++ b/addons/project/report/project_report_views.xml
@@ -1,5 +1,5 @@
-
+report.project.task.user.pivot
@@ -108,4 +108,4 @@
This report allows you to analyse the performance of your projects and users. You can analyse the quantities of tasks, the hours spent compared to the planned hours, the average number of days to open or close a task, etc.
-
+
diff --git a/addons/project/security/project_security.xml b/addons/project/security/project_security.xml
index 5651bc4b2d..0d347069fd 100644
--- a/addons/project/security/project_security.xml
+++ b/addons/project/security/project_security.xml
@@ -1,5 +1,5 @@
-
+User
@@ -124,4 +124,4 @@
-
+
diff --git a/addons/project/static/src/js/project.js b/addons/project/static/src/js/project.js
index a13c451f44..120ae00438 100644
--- a/addons/project/static/src/js/project.js
+++ b/addons/project/static/src/js/project.js
@@ -1,4 +1,4 @@
-odoo.define('project.update_kanban', function (require) {
+flectra.define('project.update_kanban', function (require) {
'use strict';
var core = require('web.core');
diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tour.js
index 24a3e7f0c1..27fb6cc914 100644
--- a/addons/project/static/src/js/tour.js
+++ b/addons/project/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define('project.tour', function(require) {
+flectra.define('project.tour', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/project/static/src/js/web_planner_project.js b/addons/project/static/src/js/web_planner_project.js
index ff85e9278c..6d3b28c48c 100644
--- a/addons/project/static/src/js/web_planner_project.js
+++ b/addons/project/static/src/js/web_planner_project.js
@@ -1,4 +1,4 @@
-odoo.define('planner_project.planner', function (require) {
+flectra.define('planner_project.planner', function (require) {
"use strict";
var planner = require('web.planner.common');
diff --git a/addons/project/static/tests/project_tests.js b/addons/project/static/tests/project_tests.js
index fa92415684..a7f915f5e6 100644
--- a/addons/project/static/tests/project_tests.js
+++ b/addons/project/static/tests/project_tests.js
@@ -1,4 +1,4 @@
-odoo.define('project.project_kanban_tests', function (require) {
+flectra.define('project.project_kanban_tests', function (require) {
"use strict";
var KanbanView = require('web.KanbanView');
diff --git a/addons/project/tests/test_access_rights.py b/addons/project/tests/test_access_rights.py
index 0e3cc8cfb6..408b7fdc1d 100644
--- a/addons/project/tests/test_access_rights.py
+++ b/addons/project/tests/test_access_rights.py
@@ -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.addons.project.tests.test_project_base import TestProjectBase
-from odoo.exceptions import AccessError
-from odoo.tools import mute_logger
+from flectra.addons.project.tests.test_project_base import TestProjectBase
+from flectra.exceptions import AccessError
+from flectra.tools import mute_logger
class TestPortalProjectBase(TestProjectBase):
@@ -30,7 +30,7 @@ class TestPortalProjectBase(TestProjectBase):
class TestPortalProject(TestPortalProjectBase):
- @mute_logger('odoo.addons.base.ir.ir_model')
+ @mute_logger('flectra.addons.base.ir.ir_model')
def test_employee_project_access_rights(self):
pigs = self.project_pigs
@@ -52,7 +52,7 @@ class TestPortalProject(TestPortalProjectBase):
'project_id': pigs.id})
tmp_task.sudo(self.user_projectuser).unlink()
- @mute_logger('odoo.addons.base.ir.ir_model')
+ @mute_logger('flectra.addons.base.ir.ir_model')
def test_followers_project_access_rights(self):
pigs = self.project_pigs
pigs.write({'privacy_visibility': 'followers'})
diff --git a/addons/project/tests/test_portal.py b/addons/project/tests/test_portal.py
index fe44676074..e0ea810223 100644
--- a/addons/project/tests/test_portal.py
+++ b/addons/project/tests/test_portal.py
@@ -1,13 +1,13 @@
# -*- 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.addons.project.tests.test_access_rights import TestPortalProjectBase
-from odoo.exceptions import AccessError
-from odoo.tools import mute_logger
+from flectra.addons.project.tests.test_access_rights import TestPortalProjectBase
+from flectra.exceptions import AccessError
+from flectra.tools import mute_logger
class TestPortalProject(TestPortalProjectBase):
- @mute_logger('odoo.addons.base.ir.ir_model')
+ @mute_logger('flectra.addons.base.ir.ir_model')
def test_portal_project_access_rights(self):
pigs = self.project_pigs
pigs.write({'privacy_visibility': 'portal'})
diff --git a/addons/project/tests/test_project_base.py b/addons/project/tests/test_project_base.py
index 4713aa5edb..b42ecf46d5 100644
--- a/addons/project/tests/test_project_base.py
+++ b/addons/project/tests/test_project_base.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.addons.mail.tests.common import TestMail
+from flectra.addons.mail.tests.common import TestMail
class TestProjectBase(TestMail):
diff --git a/addons/project/tests/test_project_flow.py b/addons/project/tests/test_project_flow.py
index 4edb87361e..9c805d2079 100644
--- a/addons/project/tests/test_project_flow.py
+++ b/addons/project/tests/test_project_flow.py
@@ -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 .test_project_base import TestProjectBase
-from odoo.tools import mute_logger
+from flectra.tools import mute_logger
EMAIL_TPL = """Return-Path:
@@ -10,7 +10,7 @@ X-Original-To: {to}
Delivered-To: {to}
To: {to}
cc: {cc}
-Received: by mail1.odoo.com (Postfix, from userid 10002)
+Received: by mail1.flectra.com (Postfix, from userid 10002)
id 5DF9ABFB2A; Fri, 10 Aug 2012 16:16:39 +0200 (CEST)
Message-ID: {msg_id}
Date: Tue, 29 Nov 2011 12:43:21 +0530
@@ -38,7 +38,7 @@ class TestProjectFlow(TestProjectBase):
dogs = pigs.copy()
self.assertEqual(len(dogs.tasks), 2, 'project: duplicating a project must duplicate its tasks')
- @mute_logger('odoo.addons.mail.mail_thread')
+ @mute_logger('flectra.addons.mail.mail_thread')
def test_task_process_without_stage(self):
# Do: incoming mail from an unknown partner on an alias creates a new task 'Frogs'
task = self.format_and_process(
@@ -63,7 +63,7 @@ class TestProjectFlow(TestProjectBase):
self.assertEqual(task.project_id.id, self.project_pigs.id, 'project_task: incorrect project')
self.assertEqual(task.stage_id.sequence, False, "project_task: shouldn't have a stage, i.e. sequence=False")
- @mute_logger('odoo.addons.mail.mail_thread')
+ @mute_logger('flectra.addons.mail.mail_thread')
def test_task_process_with_stages(self):
# Do: incoming mail from an unknown partner on an alias creates a new task 'Cats'
task = self.format_and_process(
diff --git a/addons/project/tests/test_project_ui.py b/addons/project/tests/test_project_ui.py
index 7648fdbeb1..dfde040f31 100644
--- a/addons/project/tests/test_project_ui.py
+++ b/addons/project/tests/test_project_ui.py
@@ -1,11 +1,11 @@
-# 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.
-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_01_project_tour(self):
- self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('project_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.project_tour.ready", login="admin")
+ self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('project_tour')", "flectra.__DEBUG__.services['web_tour.tour'].tours.project_tour.ready", login="admin")
diff --git a/addons/project/views/project_portal_templates.xml b/addons/project/views/project_portal_templates.xml
index a86176bd10..93c760cda2 100644
--- a/addons/project/views/project_portal_templates.xml
+++ b/addons/project/views/project_portal_templates.xml
@@ -1,5 +1,5 @@
-
+
- Odoo's project management allows you to manage the pipeline of your tasks efficiently. You can track progress, discuss on tasks, attach documents, etc.
+ Flectra's project management allows you to manage the pipeline of your tasks efficiently. You can track progress, discuss on tasks, attach documents, etc.
@@ -898,4 +898,4 @@
parent="menu_project_report"
sequence="10"/>
-
+
diff --git a/addons/project/views/res_config_settings_views.xml b/addons/project/views/res_config_settings_views.xml
index 058a8f5565..16bba18e32 100644
--- a/addons/project/views/res_config_settings_views.xml
+++ b/addons/project/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.projectres.config.settings
@@ -86,4 +86,4 @@
-
+
diff --git a/addons/project/views/res_partner_views.xml b/addons/project/views/res_partner_views.xml
index 34e59d2d3f..f8b71ffff1 100644
--- a/addons/project/views/res_partner_views.xml
+++ b/addons/project/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/project/wizard/__init__.py b/addons/project/wizard/__init__.py
index 8b4d658a81..29154837c3 100644
--- a/addons/project/wizard/__init__.py
+++ b/addons/project/wizard/__init__.py
@@ -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 project_task_merge_wizard
diff --git a/addons/project/wizard/project_task_merge_wizard.py b/addons/project/wizard/project_task_merge_wizard.py
index 2e57bde423..d14b8fe377 100644
--- a/addons/project/wizard/project_task_merge_wizard.py
+++ b/addons/project/wizard/project_task_merge_wizard.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class ProjectTaskMergeWizard(models.TransientModel):
diff --git a/addons/project/wizard/project_task_merge_wizard_views.xml b/addons/project/wizard/project_task_merge_wizard_views.xml
index e234d05fd3..ef1734808d 100644
--- a/addons/project/wizard/project_task_merge_wizard_views.xml
+++ b/addons/project/wizard/project_task_merge_wizard_views.xml
@@ -1,5 +1,5 @@
-
+project.task.merge.wizard.formproject.task.merge.wizard
@@ -47,4 +47,4 @@
key2="client_action_multi"
view_mode="form"
name="Merge Selected Tasks"/>
-
+
diff --git a/addons/project_timesheet_holidays/__init__.py b/addons/project_timesheet_holidays/__init__.py
index cb09489a1e..27610ec0ea 100644
--- a/addons/project_timesheet_holidays/__init__.py
+++ b/addons/project_timesheet_holidays/__init__.py
@@ -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 models
@@ -9,7 +9,7 @@ def post_init(cr, registry):
be sure the internal project/task of res.company are set. (Since timesheet_generate field
is true by default, those 2 fields are required on the leave type).
"""
- from odoo import api, SUPERUSER_ID
+ from flectra import api, SUPERUSER_ID
env = api.Environment(cr, SUPERUSER_ID, {})
for leave_type in env['hr.holidays.status'].search([('timesheet_generate', '=', True), ('timesheet_project_id', '=', False)]):
diff --git a/addons/project_timesheet_holidays/__manifest__.py b/addons/project_timesheet_holidays/__manifest__.py
index d98cef28b5..6c40a47b9b 100644
--- a/addons/project_timesheet_holidays/__manifest__.py
+++ b/addons/project_timesheet_holidays/__manifest__.py
@@ -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.
{
'name': 'Timesheet when on Leaves',
diff --git a/addons/project_timesheet_holidays/models/__init__.py b/addons/project_timesheet_holidays/models/__init__.py
index 4dee358245..4657a862cb 100644
--- a/addons/project_timesheet_holidays/models/__init__.py
+++ b/addons/project_timesheet_holidays/models/__init__.py
@@ -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 res_company # has to be before hr_holidays to create needed columns on res.company
from . import account_analytic
diff --git a/addons/project_timesheet_holidays/models/account_analytic.py b/addons/project_timesheet_holidays/models/account_analytic.py
index b0472a515b..da5eecee36 100644
--- a/addons/project_timesheet_holidays/models/account_analytic.py
+++ b/addons/project_timesheet_holidays/models/account_analytic.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class AccountAnalyticLine(models.Model):
diff --git a/addons/project_timesheet_holidays/models/hr_holidays.py b/addons/project_timesheet_holidays/models/hr_holidays.py
index 2d245e834d..c3633ec2d8 100644
--- a/addons/project_timesheet_holidays/models/hr_holidays.py
+++ b/addons/project_timesheet_holidays/models/hr_holidays.py
@@ -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 api, fields, models, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError
class HolidaysType(models.Model):
diff --git a/addons/project_timesheet_holidays/models/res_company.py b/addons/project_timesheet_holidays/models/res_company.py
index 0eb9e4e368..58cbc19d43 100644
--- a/addons/project_timesheet_holidays/models/res_company.py
+++ b/addons/project_timesheet_holidays/models/res_company.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class Company(models.Model):
diff --git a/addons/project_timesheet_holidays/models/res_config_settings.py b/addons/project_timesheet_holidays/models/res_config_settings.py
index 6e264971e7..9125a90abb 100644
--- a/addons/project_timesheet_holidays/models/res_config_settings.py
+++ b/addons/project_timesheet_holidays/models/res_config_settings.py
@@ -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):
diff --git a/addons/project_timesheet_holidays/tests/__init__.py b/addons/project_timesheet_holidays/tests/__init__.py
index a506a2840d..12eb35fb5c 100644
--- a/addons/project_timesheet_holidays/tests/__init__.py
+++ b/addons/project_timesheet_holidays/tests/__init__.py
@@ -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_timesheet_holidays
diff --git a/addons/project_timesheet_holidays/tests/test_timesheet_holidays.py b/addons/project_timesheet_holidays/tests/test_timesheet_holidays.py
index 9d358c1411..cae6d7a1c7 100644
--- a/addons/project_timesheet_holidays/tests/test_timesheet_holidays.py
+++ b/addons/project_timesheet_holidays/tests/test_timesheet_holidays.py
@@ -1,13 +1,13 @@
# -*- 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 datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import fields
+from flectra import fields
-from odoo.tests import common
-from odoo.addons.hr_timesheet.tests.test_timesheet import TestTimesheet
+from flectra.tests import common
+from flectra.addons.hr_timesheet.tests.test_timesheet import TestTimesheet
class TestTimesheetHolidaysCreate(common.TransactionCase):
diff --git a/addons/project_timesheet_holidays/views/hr_holidays_views.xml b/addons/project_timesheet_holidays/views/hr_holidays_views.xml
index 27af36b85f..e8963706b1 100644
--- a/addons/project_timesheet_holidays/views/hr_holidays_views.xml
+++ b/addons/project_timesheet_holidays/views/hr_holidays_views.xml
@@ -1,5 +1,5 @@
-
+hr.holidays.status.form
@@ -16,4 +16,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/project_timesheet_holidays/views/res_config_settings_views.xml b/addons/project_timesheet_holidays/views/res_config_settings_views.xml
index a7485bec71..ecc415e510 100644
--- a/addons/project_timesheet_holidays/views/res_config_settings_views.xml
+++ b/addons/project_timesheet_holidays/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.project.timesheet.holidays
@@ -23,4 +23,4 @@
-
+
diff --git a/addons/purchase/__init__.py b/addons/purchase/__init__.py
index 5905766d86..00e1407820 100644
--- a/addons/purchase/__init__.py
+++ b/addons/purchase/__init__.py
@@ -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
diff --git a/addons/purchase/__manifest__.py b/addons/purchase/__manifest__.py
index 49b839f29d..1a546fa919 100644
--- a/addons/purchase/__manifest__.py
+++ b/addons/purchase/__manifest__.py
@@ -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.
{
'name': 'Purchase Management',
@@ -8,7 +8,7 @@
'sequence': 60,
'summary': 'Purchase Orders, Receipts, Vendor Bills',
'description': "",
- 'website': 'https://www.odoo.com/page/purchase',
+ 'website': 'https://flectrahq.com/page/purchase',
'depends': ['stock_account'],
'data': [
'security/purchase_security.xml',
diff --git a/addons/purchase/controllers/__init__.py b/addons/purchase/controllers/__init__.py
index 903b755e71..e344144f49 100644
--- a/addons/purchase/controllers/__init__.py
+++ b/addons/purchase/controllers/__init__.py
@@ -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 portal
diff --git a/addons/purchase/controllers/portal.py b/addons/purchase/controllers/portal.py
index 53a517845e..58b1488d47 100644
--- a/addons/purchase/controllers/portal.py
+++ b/addons/purchase/controllers/portal.py
@@ -1,13 +1,13 @@
# -*- 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 collections import OrderedDict
-from odoo import http
-from odoo.exceptions import AccessError
-from odoo.http import request
-from odoo.tools.translate import _
-from odoo.addons.portal.controllers.portal import get_records_pager, pager as portal_pager, CustomerPortal
+from flectra import http
+from flectra.exceptions import AccessError
+from flectra.http import request
+from flectra.tools.translate import _
+from flectra.addons.portal.controllers.portal import get_records_pager, pager as portal_pager, CustomerPortal
class CustomerPortal(CustomerPortal):
diff --git a/addons/purchase/data/mail_template_data.xml b/addons/purchase/data/mail_template_data.xml
index ecba11ce05..94f1878884 100644
--- a/addons/purchase/data/mail_template_data.xml
+++ b/addons/purchase/data/mail_template_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -146,7 +146,7 @@ from ${object.company_id.name}.
@@ -162,4 +162,4 @@ from ${object.company_id.name}.
-
+
diff --git a/addons/purchase/data/purchase_data.xml b/addons/purchase/data/purchase_data.xml
index cabe2306f9..296dd2af7e 100644
--- a/addons/purchase/data/purchase_data.xml
+++ b/addons/purchase/data/purchase_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -43,4 +43,4 @@
-
+
diff --git a/addons/purchase/data/purchase_demo.xml b/addons/purchase/data/purchase_demo.xml
index 7d57595798..71be5a3553 100644
--- a/addons/purchase/data/purchase_demo.xml
+++ b/addons/purchase/data/purchase_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -22,5 +22,5 @@
-
+
diff --git a/addons/purchase/models/__init__.py b/addons/purchase/models/__init__.py
index c5c55d6eda..2c5528e808 100644
--- a/addons/purchase/models/__init__.py
+++ b/addons/purchase/models/__init__.py
@@ -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 account_invoice
from . import purchase
diff --git a/addons/purchase/models/account_invoice.py b/addons/purchase/models/account_invoice.py
index 195829b82e..7ba27dd9ec 100644
--- a/addons/purchase/models/account_invoice.py
+++ b/addons/purchase/models/account_invoice.py
@@ -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 api, fields, models, _
-from odoo.tools.float_utils import float_compare
+from flectra import api, fields, models, _
+from flectra.tools.float_utils import float_compare
class AccountInvoice(models.Model):
diff --git a/addons/purchase/models/purchase.py b/addons/purchase/models/purchase.py
index f6a906bc73..9260a98618 100644
--- a/addons/purchase/models/purchase.py
+++ b/addons/purchase/models/purchase.py
@@ -1,16 +1,16 @@
# -*- 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 datetime import datetime
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models, SUPERUSER_ID, _
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
-from odoo.tools.float_utils import float_is_zero, float_compare
-from odoo.exceptions import UserError, AccessError
-from odoo.tools.misc import formatLang
-from odoo.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models, SUPERUSER_ID, _
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.tools.float_utils import float_is_zero, float_compare
+from flectra.exceptions import UserError, AccessError
+from flectra.tools.misc import formatLang
+from flectra.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
+from flectra.addons import decimal_precision as dp
class PurchaseOrder(models.Model):
diff --git a/addons/purchase/models/res_company.py b/addons/purchase/models/res_company.py
index 49768923bd..08d34811a8 100644
--- a/addons/purchase/models/res_company.py
+++ b/addons/purchase/models/res_company.py
@@ -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 Company(models.Model):
_inherit = 'res.company'
diff --git a/addons/purchase/models/res_config_settings.py b/addons/purchase/models/res_config_settings.py
index 0a733cb856..ab5f8515f8 100644
--- a/addons/purchase/models/res_config_settings.py
+++ b/addons/purchase/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/purchase/models/res_partner.py b/addons/purchase/models/res_partner.py
index 8983a4b07b..380ec50f77 100644
--- a/addons/purchase/models/res_partner.py
+++ b/addons/purchase/models/res_partner.py
@@ -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 api, fields, models
-from odoo.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
+from flectra import api, fields, models
+from flectra.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
class res_partner(models.Model):
diff --git a/addons/purchase/models/stock.py b/addons/purchase/models/stock.py
index ca97053c77..36b7b73e42 100644
--- a/addons/purchase/models/stock.py
+++ b/addons/purchase/models/stock.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class StockPicking(models.Model):
diff --git a/addons/purchase/models/stock_config_settings.py b/addons/purchase/models/stock_config_settings.py
index 1b506911f5..d0c6c7f63a 100644
--- a/addons/purchase/models/stock_config_settings.py
+++ b/addons/purchase/models/stock_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/purchase/report/__init__.py b/addons/purchase/report/__init__.py
index b8436ab280..784d255f89 100644
--- a/addons/purchase/report/__init__.py
+++ b/addons/purchase/report/__init__.py
@@ -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 purchase_report
diff --git a/addons/purchase/report/purchase_order_templates.xml b/addons/purchase/report/purchase_order_templates.xml
index c91660ba14..9f1a54dd04 100644
--- a/addons/purchase/report/purchase_order_templates.xml
+++ b/addons/purchase/report/purchase_order_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -122,4 +122,4 @@
-
+
diff --git a/addons/purchase/report/purchase_quotation_templates.xml b/addons/purchase/report/purchase_quotation_templates.xml
index 79a1d82ab7..f9eb58f4df 100644
--- a/addons/purchase/report/purchase_quotation_templates.xml
+++ b/addons/purchase/report/purchase_quotation_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -66,5 +66,5 @@
-
+
diff --git a/addons/purchase/report/purchase_report.py b/addons/purchase/report/purchase_report.py
index dc158c7622..4b53433208 100644
--- a/addons/purchase/report/purchase_report.py
+++ b/addons/purchase/report/purchase_report.py
@@ -1,11 +1,11 @@
# -*- 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.
#
# Please note that these reports are not multi-currency !!!
#
-from odoo import api, fields, models, tools
+from flectra import api, fields, models, tools
class PurchaseReport(models.Model):
diff --git a/addons/purchase/report/purchase_report_views.xml b/addons/purchase/report/purchase_report_views.xml
index 9683ff0d9a..ed61328ab0 100644
--- a/addons/purchase/report/purchase_report_views.xml
+++ b/addons/purchase/report/purchase_report_views.xml
@@ -1,5 +1,5 @@
-
+product.month.pivotpurchase.report
@@ -94,4 +94,4 @@
-
+
diff --git a/addons/purchase/report/purchase_reports.xml b/addons/purchase/report/purchase_reports.xml
index 913a41021a..312fbcef2d 100644
--- a/addons/purchase/report/purchase_reports.xml
+++ b/addons/purchase/report/purchase_reports.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/purchase/security/purchase_security.xml b/addons/purchase/security/purchase_security.xml
index 9327210daf..debd620afb 100644
--- a/addons/purchase/security/purchase_security.xml
+++ b/addons/purchase/security/purchase_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -76,4 +76,4 @@
-
+
diff --git a/addons/purchase/test/stock_valuation_account.xml b/addons/purchase/test/stock_valuation_account.xml
index 41dff11daf..ddebb9e53c 100644
--- a/addons/purchase/test/stock_valuation_account.xml
+++ b/addons/purchase/test/stock_valuation_account.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/purchase/test/ui/delete_order.yml b/addons/purchase/test/ui/delete_order.yml
index 99b32a5960..dc8da202db 100644
--- a/addons/purchase/test/ui/delete_order.yml
+++ b/addons/purchase/test/ui/delete_order.yml
@@ -17,7 +17,7 @@
I delete a cancelled order.
-
!python {model: purchase.order, id: purchase_order_7}: |
- from odoo.exceptions import UserError
+ from flectra.exceptions import UserError
try:
self.unlink()
except UserError:
diff --git a/addons/purchase/tests/__init__.py b/addons/purchase/tests/__init__.py
index fd93f8e2b6..25e5da8b2f 100644
--- a/addons/purchase/tests/__init__.py
+++ b/addons/purchase/tests/__init__.py
@@ -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 test_onchange_product_id
from . import test_purchase_order
diff --git a/addons/purchase/tests/common.py b/addons/purchase/tests/common.py
index 1e1b290377..532f04d55d 100644
--- a/addons/purchase/tests/common.py
+++ b/addons/purchase/tests/common.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
from datetime import timedelta
-from odoo import fields
-from odoo.addons.stock.tests.common2 import TestStockCommon
+from flectra import fields
+from flectra.addons.stock.tests.common2 import TestStockCommon
class TestPurchase(TestStockCommon):
diff --git a/addons/purchase/tests/test_create_picking.py b/addons/purchase/tests/test_create_picking.py
index b29e85b382..baa5dc086a 100644
--- a/addons/purchase/tests/test_create_picking.py
+++ b/addons/purchase/tests/test_create_picking.py
@@ -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 datetime import datetime
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
-from odoo.addons.product.tests import common
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.addons.product.tests import common
class TestCreatePicking(common.TestProductCommon):
diff --git a/addons/purchase/tests/test_onchange_product_id.py b/addons/purchase/tests/test_onchange_product_id.py
index 5a838fdbbd..2a8a1ec2ef 100644
--- a/addons/purchase/tests/test_onchange_product_id.py
+++ b/addons/purchase/tests/test_onchange_product_id.py
@@ -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 datetime import datetime
-from odoo.tests.common import TransactionCase
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.tests.common import TransactionCase
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
class TestOnchangeProductId(TransactionCase):
"""Test that when an included tax is mapped by a fiscal position, the included tax must be
diff --git a/addons/purchase/tests/test_purchase_lead_time.py b/addons/purchase/tests/test_purchase_lead_time.py
index 834d40bf82..b0d8ca4f6e 100644
--- a/addons/purchase/tests/test_purchase_lead_time.py
+++ b/addons/purchase/tests/test_purchase_lead_time.py
@@ -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 datetime import timedelta
-from odoo import fields
+from flectra import fields
from .common import TestPurchase
diff --git a/addons/purchase/tests/test_purchase_order.py b/addons/purchase/tests/test_purchase_order.py
index edab672a21..8661a83217 100644
--- a/addons/purchase/tests/test_purchase_order.py
+++ b/addons/purchase/tests/test_purchase_order.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import datetime
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestPurchaseOrder(AccountingTestCase):
@@ -156,4 +156,4 @@ class TestPurchaseOrder(AccountingTestCase):
self.invoice.invoice_line_ids[0].quantity = 2.0
self.invoice.invoice_line_ids[1].quantity = 2.0
self.invoice.invoice_validate()
- self.assertEqual(self.po.order_line.mapped('qty_invoiced'), [3.0, 3.0], 'Purchase: Billed quantity should be 3.0')
\ No newline at end of file
+ self.assertEqual(self.po.order_line.mapped('qty_invoiced'), [3.0, 3.0], 'Purchase: Billed quantity should be 3.0')
\ No newline at end of file
diff --git a/addons/purchase/tests/test_stockvaluation.py b/addons/purchase/tests/test_stockvaluation.py
index 0421bde3f7..81d678acb0 100644
--- a/addons/purchase/tests/test_stockvaluation.py
+++ b/addons/purchase/tests/test_stockvaluation.py
@@ -1,11 +1,11 @@
# -*- 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.
import time
from datetime import datetime
-from odoo.tests.common import TransactionCase
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
+from flectra.tests.common import TransactionCase
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
class TestStockValuation(TransactionCase):
diff --git a/addons/purchase/views/account_invoice_views.xml b/addons/purchase/views/account_invoice_views.xml
index a71a775abb..41915ff47a 100644
--- a/addons/purchase/views/account_invoice_views.xml
+++ b/addons/purchase/views/account_invoice_views.xml
@@ -1,5 +1,5 @@
-
+Vendor Billsaccount.invoice
@@ -15,7 +15,7 @@
Use this menu to control the invoices to be received from your
vendors. When registering a new bill, set the purchase order
- and Odoo will fill the bill automatically according to ordered
+ and Flectra will fill the bill automatically according to ordered
or received quantities.
-
+
diff --git a/addons/purchase/views/res_partner_views.xml b/addons/purchase/views/res_partner_views.xml
index ac8d39e558..7718c93576 100644
--- a/addons/purchase/views/res_partner_views.xml
+++ b/addons/purchase/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+res.partner.purchase.property.form.inherit
@@ -61,7 +61,7 @@
Vendors bills can be pre-generated based on purchase
orders or receipts. This allows you to control bills
you receive from your vendor according to the draft
- document in Odoo.
+ document in Flectra.
@@ -105,4 +105,4 @@
-
+
diff --git a/addons/purchase/views/stock_views.xml b/addons/purchase/views/stock_views.xml
index 80c9382ca1..1e9fe7c244 100644
--- a/addons/purchase/views/stock_views.xml
+++ b/addons/purchase/views/stock_views.xml
@@ -1,5 +1,5 @@
-
+stock.move.formstock.move
@@ -37,4 +37,4 @@
-
+
diff --git a/addons/purchase_mrp/__init__.py b/addons/purchase_mrp/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/purchase_mrp/__init__.py
+++ b/addons/purchase_mrp/__init__.py
@@ -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 models
diff --git a/addons/purchase_mrp/__manifest__.py b/addons/purchase_mrp/__manifest__.py
index ce84472e8d..d878f278b2 100644
--- a/addons/purchase_mrp/__manifest__.py
+++ b/addons/purchase_mrp/__manifest__.py
@@ -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.
{
@@ -13,7 +13,7 @@ This module provides facility to the user to install mrp and purchase modules at
It is basically used when we want to keep track of production orders generated
from purchase order.
""",
- 'website': 'https://www.odoo.com/page/manufacturing',
+ 'website': 'https://flectrahq.com/page/manufacturing',
'depends': ['mrp', 'purchase'],
'data': [],
'demo': [],
diff --git a/addons/purchase_mrp/models/__init__.py b/addons/purchase_mrp/models/__init__.py
index 6b81dc1791..d0c9dffb48 100644
--- a/addons/purchase_mrp/models/__init__.py
+++ b/addons/purchase_mrp/models/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 purchase_mrp
\ No newline at end of file
diff --git a/addons/purchase_mrp/models/purchase_mrp.py b/addons/purchase_mrp/models/purchase_mrp.py
index 776b1e4604..7b1ef51f8e 100644
--- a/addons/purchase_mrp/models/purchase_mrp.py
+++ b/addons/purchase_mrp/models/purchase_mrp.py
@@ -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 fields, models
-from odoo.tools import float_compare
+from flectra import fields, models
+from flectra.tools import float_compare
class PurchaseOrderLine(models.Model):
diff --git a/addons/purchase_requisition/__init__.py b/addons/purchase_requisition/__init__.py
index d6210b1285..aaea41f08e 100644
--- a/addons/purchase_requisition/__init__.py
+++ b/addons/purchase_requisition/__init__.py
@@ -1,3 +1,3 @@
-# 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 models
diff --git a/addons/purchase_requisition/__manifest__.py b/addons/purchase_requisition/__manifest__.py
index a345ae30de..da62de024a 100644
--- a/addons/purchase_requisition/__manifest__.py
+++ b/addons/purchase_requisition/__manifest__.py
@@ -1,9 +1,9 @@
-# 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.
{
'name': 'Purchase Agreements',
'version': '0.1',
'category': 'Purchases',
- 'website': 'https://www.odoo.com/page/purchase',
+ 'website': 'https://flectrahq.com/page/purchase',
'description': """
This module allows you to manage your Purchase Agreements.
===========================================================
diff --git a/addons/purchase_requisition/data/purchase_requisition_data.xml b/addons/purchase_requisition/data/purchase_requisition_data.xml
index 8028122da4..26e35e35e9 100644
--- a/addons/purchase_requisition/data/purchase_requisition_data.xml
+++ b/addons/purchase_requisition/data/purchase_requisition_data.xml
@@ -1,5 +1,5 @@
-
+5
-
+
diff --git a/addons/purchase_requisition/data/purchase_requisition_demo.xml b/addons/purchase_requisition/data/purchase_requisition_demo.xml
index 4788f60778..8680e81e1b 100644
--- a/addons/purchase_requisition/data/purchase_requisition_demo.xml
+++ b/addons/purchase_requisition/data/purchase_requisition_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -58,4 +58,4 @@
-
+
diff --git a/addons/purchase_requisition/models/__init__.py b/addons/purchase_requisition/models/__init__.py
index 028784383c..6830785847 100644
--- a/addons/purchase_requisition/models/__init__.py
+++ b/addons/purchase_requisition/models/__init__.py
@@ -1,3 +1,3 @@
-# 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 purchase_requisition
diff --git a/addons/purchase_requisition/models/purchase_requisition.py b/addons/purchase_requisition/models/purchase_requisition.py
index b2c1df32fb..bd0c5e3085 100644
--- a/addons/purchase_requisition/models/purchase_requisition.py
+++ b/addons/purchase_requisition/models/purchase_requisition.py
@@ -1,9 +1,9 @@
# -*- encoding: 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, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError
class PurchaseRequisitionType(models.Model):
diff --git a/addons/purchase_requisition/report/purchase_requisition_report.xml b/addons/purchase_requisition/report/purchase_requisition_report.xml
index 91b537ad35..ff21fa9702 100644
--- a/addons/purchase_requisition/report/purchase_requisition_report.xml
+++ b/addons/purchase_requisition/report/purchase_requisition_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/purchase_requisition/report/report_purchaserequisition.xml b/addons/purchase_requisition/report/report_purchaserequisition.xml
index b3bd1e06c8..fdf0fc313d 100644
--- a/addons/purchase_requisition/report/report_purchaserequisition.xml
+++ b/addons/purchase_requisition/report/report_purchaserequisition.xml
@@ -1,5 +1,5 @@
-
+
@@ -97,4 +97,4 @@
-
+
diff --git a/addons/purchase_requisition/security/purchase_tender.xml b/addons/purchase_requisition/security/purchase_tender.xml
index cefb083422..e311ffb2fc 100644
--- a/addons/purchase_requisition/security/purchase_tender.xml
+++ b/addons/purchase_requisition/security/purchase_tender.xml
@@ -1,5 +1,5 @@
-
+
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/purchase_requisition/tests/__init__.py b/addons/purchase_requisition/tests/__init__.py
index bcd6590145..245a44504c 100644
--- a/addons/purchase_requisition/tests/__init__.py
+++ b/addons/purchase_requisition/tests/__init__.py
@@ -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_purchase_requisition
diff --git a/addons/purchase_requisition/tests/test_purchase_requisition.py b/addons/purchase_requisition/tests/test_purchase_requisition.py
index 1ddbed67bf..883bf219f8 100644
--- a/addons/purchase_requisition/tests/test_purchase_requisition.py
+++ b/addons/purchase_requisition/tests/test_purchase_requisition.py
@@ -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.tests import common
-from odoo import fields
+from flectra.tests import common
+from flectra import fields
class TestPurchaseRequisition(common.TransactionCase):
diff --git a/addons/purchase_requisition/views/purchase_requisition_views.xml b/addons/purchase_requisition/views/purchase_requisition_views.xml
index 97484e9b0c..c14f695eb0 100644
--- a/addons/purchase_requisition/views/purchase_requisition_views.xml
+++ b/addons/purchase_requisition/views/purchase_requisition_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -331,4 +331,4 @@
src_model="purchase.requisition"/>
-
+
diff --git a/addons/purchase_requisition/views/res_config_settings_views.xml b/addons/purchase_requisition/views/res_config_settings_views.xml
index ba0e177460..cbbbd4e7fe 100644
--- a/addons/purchase_requisition/views/res_config_settings_views.xml
+++ b/addons/purchase_requisition/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.purchase.requisitionres.config.settings
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/rating/__init__.py b/addons/rating/__init__.py
index 0539a3a9d2..d4c95a0ac3 100644
--- a/addons/rating/__init__.py
+++ b/addons/rating/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/rating/__manifest__.py b/addons/rating/__manifest__.py
index f2824bb0d7..e3bf8ce949 100644
--- a/addons/rating/__manifest__.py
+++ b/addons/rating/__manifest__.py
@@ -6,7 +6,7 @@
'description': """
This module allows a customer to give rating.
""",
- 'website': 'http://odoo.com',
+ 'website': 'http://flectra.com',
'depends': [
'mail',
],
diff --git a/addons/rating/controllers/main.py b/addons/rating/controllers/main.py
index 817f26aa79..aeb521b282 100644
--- a/addons/rating/controllers/main.py
+++ b/addons/rating/controllers/main.py
@@ -1,11 +1,11 @@
# -*- 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.
import werkzeug
-from odoo import http
-from odoo.http import request
-from odoo.tools.translate import _
+from flectra import http
+from flectra.http import request
+from flectra.tools.translate import _
class Rating(http.Controller):
diff --git a/addons/rating/models/mail_message.py b/addons/rating/models/mail_message.py
index b0190933d1..6bf945dd5d 100644
--- a/addons/rating/models/mail_message.py
+++ b/addons/rating/models/mail_message.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class MailMessage(models.Model):
diff --git a/addons/rating/models/mail_thread.py b/addons/rating/models/mail_thread.py
index 89ba8badf8..ed70f23cf6 100644
--- a/addons/rating/models/mail_thread.py
+++ b/addons/rating/models/mail_thread.py
@@ -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 api, models
+from flectra import api, models
class MailThread(models.AbstractModel):
diff --git a/addons/rating/models/rating.py b/addons/rating/models/rating.py
index 67360ffd3d..e44431c974 100644
--- a/addons/rating/models/rating.py
+++ b/addons/rating/models/rating.py
@@ -1,11 +1,11 @@
# -*- 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.
import base64
import uuid
-from odoo import api, fields, models, tools, _
+from flectra import api, fields, models, tools, _
-from odoo.modules.module import get_resource_path
+from flectra.modules.module import get_resource_path
RATING_LIMIT_SATISFIED = 7
RATING_LIMIT_OK = 3
diff --git a/addons/rating/views/rating_template.xml b/addons/rating/views/rating_template.xml
index b6fa5304b5..05c5caaa2a 100644
--- a/addons/rating/views/rating_template.xml
+++ b/addons/rating/views/rating_template.xml
@@ -1,5 +1,5 @@
-
+
@@ -52,4 +52,4 @@
-
+
diff --git a/addons/rating/views/rating_view.xml b/addons/rating/views/rating_view.xml
index a3f18c899f..be1795e584 100644
--- a/addons/rating/views/rating_view.xml
+++ b/addons/rating/views/rating_view.xml
@@ -1,5 +1,5 @@
-
+rating.rating.tree
@@ -167,4 +167,4 @@
-
+
diff --git a/addons/rating_project/__init__.py b/addons/rating_project/__init__.py
index be9f4fab00..0803f61949 100644
--- a/addons/rating_project/__init__.py
+++ b/addons/rating_project/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 models
diff --git a/addons/rating_project/__manifest__.py b/addons/rating_project/__manifest__.py
index 3222ae86b8..cdc6c0b1b1 100644
--- a/addons/rating_project/__manifest__.py
+++ b/addons/rating_project/__manifest__.py
@@ -6,7 +6,7 @@
'description': """
This module Allows a customer to give rating on Project.
""",
- 'website': 'http://odoo.com',
+ 'website': 'http://flectra.com',
'depends': [
'rating',
'project'
diff --git a/addons/rating_project/data/project_data.xml b/addons/rating_project/data/project_data.xml
index b238f9c17f..47c21f94f5 100644
--- a/addons/rating_project/data/project_data.xml
+++ b/addons/rating_project/data/project_data.xml
@@ -1,5 +1,5 @@
-
+Project: Send rating
@@ -100,7 +100,7 @@
% if object.project_id.rating_status == 'periodic':
This customer survey is sent ${object.project_id.rating_status_period} as long as the task is in the ${object.stage_id.name} stage.
@@ -143,4 +143,4 @@ from ${object.company_id.name}.
-
+
diff --git a/addons/sale/data/product_product_demo.xml b/addons/sale/data/product_product_demo.xml
index 3a2368966c..960ec9eb45 100644
--- a/addons/sale/data/product_product_demo.xml
+++ b/addons/sale/data/product_product_demo.xml
@@ -1,5 +1,5 @@
-
+delivery
@@ -154,4 +154,4 @@
-
+
diff --git a/addons/sale/data/sale_data.xml b/addons/sale/data/sale_data.xml
index 99eaf6256e..b29fcdbb61 100644
--- a/addons/sale/data/sale_data.xml
+++ b/addons/sale/data/sale_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -70,4 +70,4 @@
10
-
+
diff --git a/addons/sale/data/sale_demo.xml b/addons/sale/data/sale_demo.xml
index 4c2bb8bb8b..95120bda63 100644
--- a/addons/sale/data/sale_demo.xml
+++ b/addons/sale/data/sale_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -689,4 +689,4 @@ Thanks!
-
+
diff --git a/addons/sale/models/__init__.py b/addons/sale/models/__init__.py
index 5f6e7ba285..98545736f9 100644
--- a/addons/sale/models/__init__.py
+++ b/addons/sale/models/__init__.py
@@ -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 analytic
from . import account_invoice
diff --git a/addons/sale/models/account_invoice.py b/addons/sale/models/account_invoice.py
index 9878e75ec0..f8ad070e3d 100644
--- a/addons/sale/models/account_invoice.py
+++ b/addons/sale/models/account_invoice.py
@@ -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 itertools import groupby
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
class AccountInvoice(models.Model):
diff --git a/addons/sale/models/analytic.py b/addons/sale/models/analytic.py
index 35731e44f0..d628ec67c5 100644
--- a/addons/sale/models/analytic.py
+++ b/addons/sale/models/analytic.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class AccountAnalyticLine(models.Model):
diff --git a/addons/sale/models/product_pricelist.py b/addons/sale/models/product_pricelist.py
index 36e84ba0fb..c4c2157d4c 100644
--- a/addons/sale/models/product_pricelist.py
+++ b/addons/sale/models/product_pricelist.py
@@ -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 ProductPricelist(models.Model):
diff --git a/addons/sale/models/product_product.py b/addons/sale/models/product_product.py
index 4c6223fd26..b6ecfbca06 100644
--- a/addons/sale/models/product_product.py
+++ b/addons/sale/models/product_product.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ProductProduct(models.Model):
diff --git a/addons/sale/models/product_template.py b/addons/sale/models/product_template.py
index 7cdfc9817c..4794c66b5e 100644
--- a/addons/sale/models/product_template.py
+++ b/addons/sale/models/product_template.py
@@ -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 api, fields, models
-from odoo.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
+from flectra import api, fields, models
+from flectra.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
class ProductTemplate(models.Model):
diff --git a/addons/sale/models/res_company.py b/addons/sale/models/res_company.py
index 54a389d315..4ae847a374 100644
--- a/addons/sale/models/res_company.py
+++ b/addons/sale/models/res_company.py
@@ -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 ResCompany(models.Model):
diff --git a/addons/sale/models/res_config_settings.py b/addons/sale/models/res_config_settings.py
index 51029b8c4c..9118e9fd42 100644
--- a/addons/sale/models/res_config_settings.py
+++ b/addons/sale/models/res_config_settings.py
@@ -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 ast import literal_eval
-from odoo import api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/sale/models/res_partner.py b/addons/sale/models/res_partner.py
index cb80ca6cf3..9b8deab683 100644
--- a/addons/sale/models/res_partner.py
+++ b/addons/sale/models/res_partner.py
@@ -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 fields, models
-from odoo.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
+from flectra import fields, models
+from flectra.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
class ResPartner(models.Model):
diff --git a/addons/sale/models/sale.py b/addons/sale/models/sale.py
index 9dce1c7cb5..abb7a77146 100644
--- a/addons/sale/models/sale.py
+++ b/addons/sale/models/sale.py
@@ -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.
import uuid
@@ -7,14 +7,14 @@ from itertools import groupby
from datetime import datetime, timedelta
from werkzeug.urls import url_encode
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError, AccessError
-from odoo.osv import expression
-from odoo.tools import float_is_zero, float_compare, DEFAULT_SERVER_DATETIME_FORMAT
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError, AccessError
+from flectra.osv import expression
+from flectra.tools import float_is_zero, float_compare, DEFAULT_SERVER_DATETIME_FORMAT
-from odoo.tools.misc import formatLang
+from flectra.tools.misc import formatLang
-from odoo.addons import decimal_precision as dp
+from flectra.addons import decimal_precision as dp
class SaleOrder(models.Model):
diff --git a/addons/sale/models/sale_layout.py b/addons/sale/models/sale_layout.py
index 7ee65029ca..98f2370be8 100644
--- a/addons/sale/models/sale_layout.py
+++ b/addons/sale/models/sale_layout.py
@@ -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 SaleLayoutCategory(models.Model):
diff --git a/addons/sale/models/sales_team.py b/addons/sale/models/sales_team.py
index bdf6ca93a3..0a92365cc8 100644
--- a/addons/sale/models/sales_team.py
+++ b/addons/sale/models/sales_team.py
@@ -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 datetime import date
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
class CrmTeam(models.Model):
diff --git a/addons/sale/report/__init__.py b/addons/sale/report/__init__.py
index 90248f477c..0625e077d4 100644
--- a/addons/sale/report/__init__.py
+++ b/addons/sale/report/__init__.py
@@ -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 sale_report
from . import invoice_report
diff --git a/addons/sale/report/invoice_report.py b/addons/sale/report/invoice_report.py
index 24b0f131a2..be53218f7c 100644
--- a/addons/sale/report/invoice_report.py
+++ b/addons/sale/report/invoice_report.py
@@ -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 AccountInvoiceReport(models.Model):
diff --git a/addons/sale/report/invoice_report_templates.xml b/addons/sale/report/invoice_report_templates.xml
index 672fc81742..62b66b2297 100644
--- a/addons/sale/report/invoice_report_templates.xml
+++ b/addons/sale/report/invoice_report_templates.xml
@@ -1,5 +1,5 @@
-
+!sale.group_show_price_total
@@ -104,4 +104,4 @@
-
+
diff --git a/addons/sale/report/report_all_channels_sales.py b/addons/sale/report/report_all_channels_sales.py
index 5e1f9eca28..2ae32b0e0d 100644
--- a/addons/sale/report/report_all_channels_sales.py
+++ b/addons/sale/report/report_all_channels_sales.py
@@ -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 api, fields, models, tools
+from flectra import api, fields, models, tools
class PosSaleReport(models.Model):
diff --git a/addons/sale/report/report_all_channels_sales_views.xml b/addons/sale/report/report_all_channels_sales_views.xml
index d2ec23db18..623b40a5dc 100644
--- a/addons/sale/report/report_all_channels_sales_views.xml
+++ b/addons/sale/report/report_all_channels_sales_views.xml
@@ -1,5 +1,5 @@
-
+report.all.channels.sales.pivotreport.all.channels.sales
@@ -33,4 +33,4 @@
{'search_default_team_id': 1, 'search_default_current_year': 1}
-
+
diff --git a/addons/sale/report/sale_report.py b/addons/sale/report/sale_report.py
index 42c6953f4d..4050868654 100644
--- a/addons/sale/report/sale_report.py
+++ b/addons/sale/report/sale_report.py
@@ -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 tools
-from odoo import api, fields, models
+from flectra import tools
+from flectra import api, fields, models
class SaleReport(models.Model):
diff --git a/addons/sale/report/sale_report.xml b/addons/sale/report/sale_report.xml
index 515d7634da..4e8a2fc765 100644
--- a/addons/sale/report/sale_report.xml
+++ b/addons/sale/report/sale_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/sale/report/sale_report_templates.xml b/addons/sale/report/sale_report_templates.xml
index 350756da6e..7818fef7f9 100644
--- a/addons/sale/report/sale_report_templates.xml
+++ b/addons/sale/report/sale_report_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -210,4 +210,4 @@
-
+
diff --git a/addons/sale/report/sale_report_views.xml b/addons/sale/report/sale_report_views.xml
index 317e0e8335..945daf3c32 100644
--- a/addons/sale/report/sale_report_views.xml
+++ b/addons/sale/report/sale_report_views.xml
@@ -1,5 +1,5 @@
-
+sale.report.pivot
@@ -93,4 +93,4 @@
{'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[]}This report performs analysis on your quotations and sales orders. Analysis check your sales revenues and sort it by different group criteria (salesman, partner, product, etc.) Use this report to perform analysis on sales not having invoiced yet. If you want to analyse your turnover, you should use the Invoice Analysis report in the Accounting application.
-
+
diff --git a/addons/sale/security/sale_security.xml b/addons/sale/security/sale_security.xml
index f753c3bed1..69ac5c7602 100644
--- a/addons/sale/security/sale_security.xml
+++ b/addons/sale/security/sale_security.xml
@@ -1,5 +1,5 @@
-
+Personalize sales order and invoice report
@@ -160,4 +160,4 @@
-
+
diff --git a/addons/sale/static/src/js/sale.js b/addons/sale/static/src/js/sale.js
index 289d26ecae..6fbcc2f784 100644
--- a/addons/sale/static/src/js/sale.js
+++ b/addons/sale/static/src/js/sale.js
@@ -1,4 +1,4 @@
-odoo.define('sale.sales_team_dashboard', function (require) {
+flectra.define('sale.sales_team_dashboard', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/sale/tests/__init__.py b/addons/sale/tests/__init__.py
index 7f9d41d492..c60d2736da 100644
--- a/addons/sale/tests/__init__.py
+++ b/addons/sale/tests/__init__.py
@@ -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 test_sale_to_invoice
from . import test_sale_order
from . import test_product_id_change
diff --git a/addons/sale/tests/test_product_id_change.py b/addons/sale/tests/test_product_id_change.py
index bf61c8d644..e0873da085 100644
--- a/addons/sale/tests/test_product_id_change.py
+++ b/addons/sale/tests/test_product_id_change.py
@@ -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.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestOnchangeProductId(TransactionCase):
diff --git a/addons/sale/tests/test_sale_common.py b/addons/sale/tests/test_sale_common.py
index ebea8f85c5..96af2d8d46 100644
--- a/addons/sale/tests/test_sale_common.py
+++ b/addons/sale/tests/test_sale_common.py
@@ -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 collections import OrderedDict
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestSale(AccountingTestCase):
diff --git a/addons/sale/tests/test_sale_order.py b/addons/sale/tests/test_sale_order.py
index eee80eedc1..c1fd3e72ca 100644
--- a/addons/sale/tests/test_sale_order.py
+++ b/addons/sale/tests/test_sale_order.py
@@ -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.exceptions import UserError, AccessError
+from flectra.exceptions import UserError, AccessError
from .test_sale_common import TestSale
diff --git a/addons/sale/tests/test_sale_to_invoice.py b/addons/sale/tests/test_sale_to_invoice.py
index e16cf7f5f7..3feccad9b1 100644
--- a/addons/sale/tests/test_sale_to_invoice.py
+++ b/addons/sale/tests/test_sale_to_invoice.py
@@ -1,14 +1,14 @@
# -*- 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 datetime import datetime
-from odoo.addons.mail.tests.common import TestMail
-from odoo.tools import mute_logger
+from flectra.addons.mail.tests.common import TestMail
+from flectra.tools import mute_logger
class TestSale(TestMail):
- @mute_logger('odoo.addons.base.ir.ir_model', 'odoo.osv.orm')
+ @mute_logger('flectra.addons.base.ir.ir_model', 'flectra.osv.orm')
def setUp(self):
super(TestSale, self).setUp()
diff --git a/addons/sale/tests/test_sale_to_invoice_and_to_be_invoiced.py b/addons/sale/tests/test_sale_to_invoice_and_to_be_invoiced.py
index cc4f9cfa43..ea943d8884 100644
--- a/addons/sale/tests/test_sale_to_invoice_and_to_be_invoiced.py
+++ b/addons/sale/tests/test_sale_to_invoice_and_to_be_invoiced.py
@@ -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.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestSaleOrderInvoicing(AccountingTestCase):
diff --git a/addons/sale/views/account_invoice_views.xml b/addons/sale/views/account_invoice_views.xml
index 9a5742166f..7a51681a49 100644
--- a/addons/sale/views/account_invoice_views.xml
+++ b/addons/sale/views/account_invoice_views.xml
@@ -1,5 +1,5 @@
-
+account.invoice.form.inherit.sale
@@ -13,4 +13,4 @@
-
+
diff --git a/addons/sale/views/assets.xml b/addons/sale/views/assets.xml
index 9f89db5ab7..a82b6fad4d 100644
--- a/addons/sale/views/assets.xml
+++ b/addons/sale/views/assets.xml
@@ -1,5 +1,5 @@
-
+
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/sale/views/res_config_settings_views.xml b/addons/sale/views/res_config_settings_views.xml
index 651c9cf590..c1a3a459cd 100644
--- a/addons/sale/views/res_config_settings_views.xml
+++ b/addons/sale/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.sale
@@ -399,4 +399,4 @@
action="action_sale_config_settings"
groups="base.group_system"/>
-
+
diff --git a/addons/sale/views/res_partner_views.xml b/addons/sale/views/res_partner_views.xml
index dcd5242283..e75c6159c1 100644
--- a/addons/sale/views/res_partner_views.xml
+++ b/addons/sale/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+Quotations and Salessale.order
@@ -60,4 +60,4 @@
-
+
diff --git a/addons/sale/views/sale_layout_category_view.xml b/addons/sale/views/sale_layout_category_view.xml
index d5130bcd51..239e2c1dcd 100644
--- a/addons/sale/views/sale_layout_category_view.xml
+++ b/addons/sale/views/sale_layout_category_view.xml
@@ -1,5 +1,5 @@
-
+report.configuration.form.view
@@ -59,4 +59,4 @@
groups="sale.group_sale_layout"
active="False"
/>
-
+
diff --git a/addons/sale/views/sale_portal_templates.xml b/addons/sale/views/sale_portal_templates.xml
index d38b93cb82..4bad480549 100644
--- a/addons/sale/views/sale_portal_templates.xml
+++ b/addons/sale/views/sale_portal_templates.xml
@@ -1,4 +1,4 @@
-
+
@@ -352,4 +352,4 @@
-
+
diff --git a/addons/sale/views/sale_views.xml b/addons/sale/views/sale_views.xml
index a3b710bef1..3ab72bf3f1 100644
--- a/addons/sale/views/sale_views.xml
+++ b/addons/sale/views/sale_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -940,4 +940,4 @@
{'search_default_month':1}From this report, you can have an overview of the amount invoiced to your customer. The search tool can also be used to personalise your Invoices reports and so, match this analysis to your needs.
-
+
diff --git a/addons/sale/views/sales_team_views.xml b/addons/sale/views/sales_team_views.xml
index 31370e39bb..2c3f0402b7 100644
--- a/addons/sale/views/sales_team_views.xml
+++ b/addons/sale/views/sales_team_views.xml
@@ -1,5 +1,5 @@
-
+crm.team.formcrm.team
@@ -141,4 +141,4 @@
['|', ('res_model_id', '=', False), ('res_model_id.model', 'in', ['sale.order', 'res.partner', 'product.template', 'product.product'])]
-
+
diff --git a/addons/sale/wizard/__init__.py b/addons/sale/wizard/__init__.py
index 5d8b76139c..26c270e086 100644
--- a/addons/sale/wizard/__init__.py
+++ b/addons/sale/wizard/__init__.py
@@ -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 sale_make_invoice_advance
from . import mail_compose_message
\ No newline at end of file
diff --git a/addons/sale/wizard/mail_compose_message.py b/addons/sale/wizard/mail_compose_message.py
index 73d81116d5..c83549f5c8 100644
--- a/addons/sale/wizard/mail_compose_message.py
+++ b/addons/sale/wizard/mail_compose_message.py
@@ -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 api, models
+from flectra import api, models
class MailComposeMessage(models.TransientModel):
diff --git a/addons/sale/wizard/sale_make_invoice_advance.py b/addons/sale/wizard/sale_make_invoice_advance.py
index 089a898f67..c6740f86a8 100644
--- a/addons/sale/wizard/sale_make_invoice_advance.py
+++ b/addons/sale/wizard/sale_make_invoice_advance.py
@@ -1,11 +1,11 @@
# -*- 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.
import time
-from odoo import api, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError
class SaleAdvancePaymentInv(models.TransientModel):
diff --git a/addons/sale/wizard/sale_make_invoice_advance_views.xml b/addons/sale/wizard/sale_make_invoice_advance_views.xml
index b3bbc37391..8376727d4e 100644
--- a/addons/sale/wizard/sale_make_invoice_advance_views.xml
+++ b/addons/sale/wizard/sale_make_invoice_advance_views.xml
@@ -1,5 +1,5 @@
-
+Invoice Orderssale.advance.payment.inv
@@ -52,4 +52,4 @@
-
+
diff --git a/addons/sale_crm/__init__.py b/addons/sale_crm/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/sale_crm/__init__.py
+++ b/addons/sale_crm/__init__.py
@@ -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 models
diff --git a/addons/sale_crm/__manifest__.py b/addons/sale_crm/__manifest__.py
index 07c6aad201..fc75179d9e 100644
--- a/addons/sale_crm/__manifest__.py
+++ b/addons/sale_crm/__manifest__.py
@@ -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.
{
'name': 'Opportunity to Quotation',
@@ -16,7 +16,7 @@ The case is then closed and linked to the generated sales order.
We suggest you to install this module, if you installed both the sale and the crm
modules.
""",
- 'website': 'https://www.odoo.com/page/crm',
+ 'website': 'https://flectrahq.com/page/crm',
'depends': ['sale_management', 'crm'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/sale_crm/models/__init__.py b/addons/sale_crm/models/__init__.py
index 0317332dce..2260f78e02 100644
--- a/addons/sale_crm/models/__init__.py
+++ b/addons/sale_crm/models/__init__.py
@@ -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 account_invoice
from . import crm_lead
diff --git a/addons/sale_crm/models/account_invoice.py b/addons/sale_crm/models/account_invoice.py
old mode 100755
new mode 100644
index 695766f651..a1a03a41d7
--- a/addons/sale_crm/models/account_invoice.py
+++ b/addons/sale_crm/models/account_invoice.py
@@ -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 models
+from flectra import models
class AccountInvoice(models.Model):
diff --git a/addons/sale_crm/models/crm_lead.py b/addons/sale_crm/models/crm_lead.py
index 7409fdccaa..ac307d3b01 100644
--- a/addons/sale_crm/models/crm_lead.py
+++ b/addons/sale_crm/models/crm_lead.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import date
from dateutil.relativedelta import relativedelta
-from odoo import api, fields, models
+from flectra import api, fields, models
class CrmLead(models.Model):
diff --git a/addons/sale_crm/models/crm_team.py b/addons/sale_crm/models/crm_team.py
index b7e91e1b69..c6acb977b4 100644
--- a/addons/sale_crm/models/crm_team.py
+++ b/addons/sale_crm/models/crm_team.py
@@ -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 models, _
+from flectra import models, _
class CrmTeam(models.Model):
diff --git a/addons/sale_crm/models/res_users.py b/addons/sale_crm/models/res_users.py
index c567bfc8f8..2f07e16356 100644
--- a/addons/sale_crm/models/res_users.py
+++ b/addons/sale_crm/models/res_users.py
@@ -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 ResUsers(models.Model):
diff --git a/addons/sale_crm/models/sale_order.py b/addons/sale_crm/models/sale_order.py
index 51a95f819f..768451755d 100644
--- a/addons/sale_crm/models/sale_order.py
+++ b/addons/sale_crm/models/sale_order.py
@@ -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 SaleOrder(models.Model):
diff --git a/addons/sale_crm/views/crm_lead_views.xml b/addons/sale_crm/views/crm_lead_views.xml
index 119d702f94..44a660e498 100644
--- a/addons/sale_crm/views/crm_lead_views.xml
+++ b/addons/sale_crm/views/crm_lead_views.xml
@@ -1,5 +1,5 @@
-
+crm.lead.oppor.inherited.crm
@@ -45,4 +45,4 @@
['|', ('res_model_id', '=', False), ('res_model_id.model', 'in', ['crm.lead', 'sale.order', 'res.partner', 'product.template', 'product.product'])]
-
+
diff --git a/addons/sale_crm/views/partner_views.xml b/addons/sale_crm/views/partner_views.xml
index a712c0fc6a..e49c584879 100644
--- a/addons/sale_crm/views/partner_views.xml
+++ b/addons/sale_crm/views/partner_views.xml
@@ -1,5 +1,5 @@
-
+res.partner.form.inherit.base
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/sale_crm/views/sale_order_views.xml b/addons/sale_crm/views/sale_order_views.xml
index b6e40ca450..46b7488473 100644
--- a/addons/sale_crm/views/sale_order_views.xml
+++ b/addons/sale_crm/views/sale_order_views.xml
@@ -1,5 +1,5 @@
-
+Quotation
@@ -47,4 +47,4 @@
parent="crm.crm_menu_pipeline"
sequence="10"/>
-
+
diff --git a/addons/sale_expense/__init__.py b/addons/sale_expense/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/sale_expense/__init__.py
+++ b/addons/sale_expense/__init__.py
@@ -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 models
diff --git a/addons/sale_expense/__manifest__.py b/addons/sale_expense/__manifest__.py
index 9708001629..2eef3b8957 100644
--- a/addons/sale_expense/__manifest__.py
+++ b/addons/sale_expense/__manifest__.py
@@ -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.
{
'name': 'Sales Expense',
@@ -13,7 +13,7 @@ Reinvoice Employee Expense
Create some products for which you can re-invoice the costs.
This module allow to reinvoice employee expense, by setting the SO directly on the expense.
""",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['sale_management', 'hr_expense'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/sale_expense/models/__init__.py b/addons/sale_expense/models/__init__.py
index b5979a2dd2..256c5774a9 100644
--- a/addons/sale_expense/models/__init__.py
+++ b/addons/sale_expense/models/__init__.py
@@ -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 analytic
from . import hr_expense
diff --git a/addons/sale_expense/models/analytic.py b/addons/sale_expense/models/analytic.py
index 9f037bfcae..f5e7e9d1cd 100644
--- a/addons/sale_expense/models/analytic.py
+++ b/addons/sale_expense/models/analytic.py
@@ -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 api, models
+from flectra import api, models
class AccountAnalyticLine(models.Model):
diff --git a/addons/sale_expense/models/hr_expense.py b/addons/sale_expense/models/hr_expense.py
index fc1c840a7f..aba0f9a3d7 100644
--- a/addons/sale_expense/models/hr_expense.py
+++ b/addons/sale_expense/models/hr_expense.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class Expense(models.Model):
diff --git a/addons/sale_expense/models/product_template.py b/addons/sale_expense/models/product_template.py
index 5e6299f254..81f3c5f797 100644
--- a/addons/sale_expense/models/product_template.py
+++ b/addons/sale_expense/models/product_template.py
@@ -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 api, models
+from flectra import api, models
class ProductTemplate(models.Model):
diff --git a/addons/sale_expense/sale_expense_demo.xml b/addons/sale_expense/sale_expense_demo.xml
index 21b329c657..80901be711 100644
--- a/addons/sale_expense/sale_expense_demo.xml
+++ b/addons/sale_expense/sale_expense_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/sale_expense/security/sale_expense_security.xml b/addons/sale_expense/security/sale_expense_security.xml
index 4b40a737f7..4b2acff484 100644
--- a/addons/sale_expense/security/sale_expense_security.xml
+++ b/addons/sale_expense/security/sale_expense_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/sale_expense/tests/__init__.py b/addons/sale_expense/tests/__init__.py
index c770fdfb34..700fb39678 100644
--- a/addons/sale_expense/tests/__init__.py
+++ b/addons/sale_expense/tests/__init__.py
@@ -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 test_sale_expense
from . import test_reinvoice
diff --git a/addons/sale_expense/tests/test_reinvoice.py b/addons/sale_expense/tests/test_reinvoice.py
index b25d421ec9..7879f5a6f8 100644
--- a/addons/sale_expense/tests/test_reinvoice.py
+++ b/addons/sale_expense/tests/test_reinvoice.py
@@ -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.addons.hr_expense.tests.common import CommonTest
+from flectra.addons.hr_expense.tests.common import CommonTest
class TestReInvoice(CommonTest):
diff --git a/addons/sale_expense/tests/test_sale_expense.py b/addons/sale_expense/tests/test_sale_expense.py
index 1fd00aa2a6..6354ff7d65 100644
--- a/addons/sale_expense/tests/test_sale_expense.py
+++ b/addons/sale_expense/tests/test_sale_expense.py
@@ -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.addons.sale.tests.test_sale_common import TestSale
+from flectra.addons.sale.tests.test_sale_common import TestSale
class TestSaleExpense(TestSale):
diff --git a/addons/sale_expense/views/hr_expense_views.xml b/addons/sale_expense/views/hr_expense_views.xml
index 007e017595..3e423f4a97 100644
--- a/addons/sale_expense/views/hr_expense_views.xml
+++ b/addons/sale_expense/views/hr_expense_views.xml
@@ -1,5 +1,5 @@
-
+hr.expense.form.inherit.sale.expensehr.expense
@@ -21,4 +21,4 @@
-
+
diff --git a/addons/sale_expense/views/product_view.xml b/addons/sale_expense/views/product_view.xml
index da32ab2e71..05807596fe 100644
--- a/addons/sale_expense/views/product_view.xml
+++ b/addons/sale_expense/views/product_view.xml
@@ -1,5 +1,5 @@
-
+product.template.expense.policyproduct.template
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/sale_management/__init__.py b/addons/sale_management/__init__.py
index 67dee8c60d..7eb1309519 100644
--- a/addons/sale_management/__init__.py
+++ b/addons/sale_management/__init__.py
@@ -1,2 +1,2 @@
# -*- 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.
diff --git a/addons/sale_management/__manifest__.py b/addons/sale_management/__manifest__.py
index b498649e81..a007efefbd 100644
--- a/addons/sale_management/__manifest__.py
+++ b/addons/sale_management/__manifest__.py
@@ -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.
{
'name': 'Sales Management',
@@ -40,7 +40,7 @@ The Dashboard for the Sales Manager will include
* My Quotations
* Monthly Turnover (Graph)
""",
- 'website': 'https://www.odoo.com/page/sales',
+ 'website': 'https://flectrahq.com/page/sales',
'depends': ['sale', 'account_invoicing'],
'data': [
'views/sale_management_views.xml',
diff --git a/addons/sale_management/static/src/js/tour.js b/addons/sale_management/static/src/js/tour.js
index 92bdd5299b..769901d2fe 100644
--- a/addons/sale_management/static/src/js/tour.js
+++ b/addons/sale_management/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define('sale.tour', function(require) {
+flectra.define('sale.tour', function(require) {
"use strict";
var core = require('web.core');
diff --git a/addons/sale_management/tests/__init__.py b/addons/sale_management/tests/__init__.py
index ec46cdcd6c..1bbcee8660 100644
--- a/addons/sale_management/tests/__init__.py
+++ b/addons/sale_management/tests/__init__.py
@@ -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_sale_ui
diff --git a/addons/sale_management/tests/test_sale_ui.py b/addons/sale_management/tests/test_sale_ui.py
index 7db363187d..38bb0a3e0c 100644
--- a/addons/sale_management/tests/test_sale_ui.py
+++ b/addons/sale_management/tests/test_sale_ui.py
@@ -1,9 +1,9 @@
-import odoo.tests
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
+import flectra.tests
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
-@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_01_sale_tour(self):
- self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('sale_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.sale_tour.ready", login="admin")
+ self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('sale_tour')", "flectra.__DEBUG__.services['web_tour.tour'].tours.sale_tour.ready", login="admin")
diff --git a/addons/sale_management/views/sale_management_templates.xml b/addons/sale_management/views/sale_management_templates.xml
index 5051764018..f8c9ad64b5 100644
--- a/addons/sale_management/views/sale_management_templates.xml
+++ b/addons/sale_management/views/sale_management_templates.xml
@@ -1,9 +1,9 @@
-
+
-
+
diff --git a/addons/sale_management/views/sale_management_views.xml b/addons/sale_management/views/sale_management_views.xml
index 508accc35b..02e196e7bc 100644
--- a/addons/sale_management/views/sale_management_views.xml
+++ b/addons/sale_management/views/sale_management_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -103,4 +103,4 @@
-
+
diff --git a/addons/sale_margin/__init__.py b/addons/sale_margin/__init__.py
index a8b54e88b3..49a98edbda 100644
--- a/addons/sale_margin/__init__.py
+++ b/addons/sale_margin/__init__.py
@@ -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 functools import partial
import openerp
diff --git a/addons/sale_margin/__manifest__.py b/addons/sale_margin/__manifest__.py
index 7ead9ff4c0..40bbcb9ce2 100644
--- a/addons/sale_margin/__manifest__.py
+++ b/addons/sale_margin/__manifest__.py
@@ -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.
{
'name': 'Margins in Sales Orders',
diff --git a/addons/sale_margin/data/sale_margin_demo.xml b/addons/sale_margin/data/sale_margin_demo.xml
index 1a4e6d698e..7f4b98afc9 100644
--- a/addons/sale_margin/data/sale_margin_demo.xml
+++ b/addons/sale_margin/data/sale_margin_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -35,4 +35,4 @@
-
+
diff --git a/addons/sale_margin/models/__init__.py b/addons/sale_margin/models/__init__.py
index 00b62d54b4..8c2de71b3c 100644
--- a/addons/sale_margin/models/__init__.py
+++ b/addons/sale_margin/models/__init__.py
@@ -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 sale_order
diff --git a/addons/sale_margin/models/sale_order.py b/addons/sale_margin/models/sale_order.py
index 2aac5cb993..f7a67a15e6 100644
--- a/addons/sale_margin/models/sale_order.py
+++ b/addons/sale_margin/models/sale_order.py
@@ -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 api, fields, models
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models
+from flectra.addons import decimal_precision as dp
class SaleOrderLine(models.Model):
diff --git a/addons/sale_margin/report/__init__.py b/addons/sale_margin/report/__init__.py
index 7b0761d519..4f1db0c7fc 100644
--- a/addons/sale_margin/report/__init__.py
+++ b/addons/sale_margin/report/__init__.py
@@ -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 sale_report
diff --git a/addons/sale_margin/report/sale_report.py b/addons/sale_margin/report/sale_report.py
index f69a0e2c02..983a16bafb 100644
--- a/addons/sale_margin/report/sale_report.py
+++ b/addons/sale_margin/report/sale_report.py
@@ -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 SaleReport(models.Model):
diff --git a/addons/sale_margin/tests/__init__.py b/addons/sale_margin/tests/__init__.py
index 4a3d8eb45c..50d1927cb4 100644
--- a/addons/sale_margin/tests/__init__.py
+++ b/addons/sale_margin/tests/__init__.py
@@ -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_sale_margin
diff --git a/addons/sale_margin/tests/test_sale_margin.py b/addons/sale_margin/tests/test_sale_margin.py
index 8252fd7f39..c56d5a138d 100644
--- a/addons/sale_margin/tests/test_sale_margin.py
+++ b/addons/sale_margin/tests/test_sale_margin.py
@@ -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.tests import common
+from flectra.tests import common
from datetime import datetime
@@ -18,7 +18,7 @@ class TestSaleMargin(common.TransactionCase):
self.pricelist_id = self.ref('product.list0')
def test_sale_margin(self):
- """ Test the sale_margin module in Odoo. """
+ """ Test the sale_margin module in Flectra. """
# Create a sales order for product Graphics Card.
sale_order_so11 = self.SaleOrder.create({
'date_order': datetime.today(),
diff --git a/addons/sale_margin/views/sale_margin_view.xml b/addons/sale_margin/views/sale_margin_view.xml
index bd306877f3..1f0edec976 100644
--- a/addons/sale_margin/views/sale_margin_view.xml
+++ b/addons/sale_margin/views/sale_margin_view.xml
@@ -1,5 +1,5 @@
-
+sale.order.margin.view.form
@@ -34,4 +34,4 @@
-
+
diff --git a/addons/sale_mrp/__init__.py b/addons/sale_mrp/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/sale_mrp/__init__.py
+++ b/addons/sale_mrp/__init__.py
@@ -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 models
diff --git a/addons/sale_mrp/__manifest__.py b/addons/sale_mrp/__manifest__.py
index 0a68dd48fe..1ca75e0cb8 100644
--- a/addons/sale_mrp/__manifest__.py
+++ b/addons/sale_mrp/__manifest__.py
@@ -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.
{
@@ -13,7 +13,7 @@ This module provides facility to the user to install mrp and sales modulesat a t
It is basically used when we want to keep track of production orders generated
from sales order. It adds sales name and sales Reference on production order.
""",
- 'website': 'https://www.odoo.com/page/manufacturing',
+ 'website': 'https://flectrahq.com/page/manufacturing',
'depends': ['mrp', 'sale_stock'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/sale_mrp/models/__init__.py b/addons/sale_mrp/models/__init__.py
index 75e0d65257..abb714d3a4 100644
--- a/addons/sale_mrp/models/__init__.py
+++ b/addons/sale_mrp/models/__init__.py
@@ -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 sale_mrp
diff --git a/addons/sale_mrp/models/sale_mrp.py b/addons/sale_mrp/models/sale_mrp.py
index adbcebd4f1..710d189f6e 100644
--- a/addons/sale_mrp/models/sale_mrp.py
+++ b/addons/sale_mrp/models/sale_mrp.py
@@ -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 api, fields, models
-from odoo.tools import float_compare
+from flectra import api, fields, models
+from flectra.tools import float_compare
class SaleOrderLine(models.Model):
diff --git a/addons/sale_mrp/tests/__init__.py b/addons/sale_mrp/tests/__init__.py
index 7ab4d84374..1595320727 100644
--- a/addons/sale_mrp/tests/__init__.py
+++ b/addons/sale_mrp/tests/__init__.py
@@ -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 test_move_explode
from . import test_sale_mrp_flow
diff --git a/addons/sale_mrp/tests/test_move_explode.py b/addons/sale_mrp/tests/test_move_explode.py
index 7506f7fd20..da5a51e7b3 100644
--- a/addons/sale_mrp/tests/test_move_explode.py
+++ b/addons/sale_mrp/tests/test_move_explode.py
@@ -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.tests import common
+from flectra.tests import common
class TestMoveExplode(common.TransactionCase):
diff --git a/addons/sale_mrp/tests/test_sale_mrp_flow.py b/addons/sale_mrp/tests/test_sale_mrp_flow.py
index 7efdc9a9e7..0c22c67e56 100644
--- a/addons/sale_mrp/tests/test_sale_mrp_flow.py
+++ b/addons/sale_mrp/tests/test_sale_mrp_flow.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import datetime
-from odoo.tests import common
-from odoo.exceptions import UserError
+from flectra.tests import common
+from flectra.exceptions import UserError
class TestSaleMrpFlow(common.TransactionCase):
diff --git a/addons/sale_mrp/tests/test_sale_mrp_lead_time.py b/addons/sale_mrp/tests/test_sale_mrp_lead_time.py
index 8455226238..643acc393f 100644
--- a/addons/sale_mrp/tests/test_sale_mrp_lead_time.py
+++ b/addons/sale_mrp/tests/test_sale_mrp_lead_time.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import timedelta
-from odoo import fields
-from odoo.addons.stock.tests.common2 import TestStockCommon
+from flectra import fields
+from flectra.addons.stock.tests.common2 import TestStockCommon
class TestSaleMrpLeadTime(TestStockCommon):
diff --git a/addons/sale_order_dates/__init__.py b/addons/sale_order_dates/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/sale_order_dates/__init__.py
+++ b/addons/sale_order_dates/__init__.py
@@ -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 models
diff --git a/addons/sale_order_dates/__manifest__.py b/addons/sale_order_dates/__manifest__.py
index 2ee5c999d2..b542e8a372 100644
--- a/addons/sale_order_dates/__manifest__.py
+++ b/addons/sale_order_dates/__manifest__.py
@@ -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.
{
@@ -16,7 +16,7 @@ You can add the following additional dates to a sales order:
* Commitment Date
* Effective Date
""",
- 'website': 'https://www.odoo.com/page/crm',
+ 'website': 'https://flectrahq.com/page/crm',
'depends': ['sale_stock'],
'data': ['views/sale_order_views.xml'],
}
diff --git a/addons/sale_order_dates/models/__init__.py b/addons/sale_order_dates/models/__init__.py
index 00b62d54b4..8c2de71b3c 100644
--- a/addons/sale_order_dates/models/__init__.py
+++ b/addons/sale_order_dates/models/__init__.py
@@ -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 sale_order
diff --git a/addons/sale_order_dates/models/sale_order.py b/addons/sale_order_dates/models/sale_order.py
index 0a01683040..b0324e9eec 100644
--- a/addons/sale_order_dates/models/sale_order.py
+++ b/addons/sale_order_dates/models/sale_order.py
@@ -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 datetime import timedelta
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
class SaleOrder(models.Model):
diff --git a/addons/sale_order_dates/tests/__init__.py b/addons/sale_order_dates/tests/__init__.py
index 9df19b529f..9c7565a39b 100644
--- a/addons/sale_order_dates/tests/__init__.py
+++ b/addons/sale_order_dates/tests/__init__.py
@@ -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_requested_date
diff --git a/addons/sale_order_dates/tests/test_requested_date.py b/addons/sale_order_dates/tests/test_requested_date.py
index 7ed58f42f2..a1ed36a536 100644
--- a/addons/sale_order_dates/tests/test_requested_date.py
+++ b/addons/sale_order_dates/tests/test_requested_date.py
@@ -1,15 +1,15 @@
# -*- coding: utf-8 -*-
from datetime import timedelta
-from odoo.tests import common
-from odoo import fields
+from flectra.tests import common
+from flectra import fields
class TestSaleOrderDates(common.TransactionCase):
def test_sale_order_requested_date(self):
- # In order to test the Requested Date feature in Sales Orders in Odoo,
+ # In order to test the Requested Date feature in Sales Orders in Flectra,
# I copy a demo Sales Order with Requested Date on 2010-07-12
new_order = self.env.ref('sale.sale_order_6').copy({'requested_date': '2010-07-12'})
# I confirm the Sales Order.
diff --git a/addons/sale_order_dates/views/sale_order_views.xml b/addons/sale_order_dates/views/sale_order_views.xml
index e2038b72a3..4a52d86e6c 100644
--- a/addons/sale_order_dates/views/sale_order_views.xml
+++ b/addons/sale_order_dates/views/sale_order_views.xml
@@ -1,5 +1,5 @@
-
+sale.order.form.inheritsale.order
@@ -35,4 +35,4 @@
-
+
diff --git a/addons/sale_payment/__init__.py b/addons/sale_payment/__init__.py
index 3ea0f0cac4..83f48777e4 100644
--- a/addons/sale_payment/__init__.py
+++ b/addons/sale_payment/__init__.py
@@ -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
\ No newline at end of file
diff --git a/addons/sale_payment/controllers/__init__.py b/addons/sale_payment/controllers/__init__.py
index b3b6c6da57..fc84976599 100644
--- a/addons/sale_payment/controllers/__init__.py
+++ b/addons/sale_payment/controllers/__init__.py
@@ -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 payment
from . import portal
\ No newline at end of file
diff --git a/addons/sale_payment/controllers/payment.py b/addons/sale_payment/controllers/payment.py
index 54b89cf577..a2a96653be 100644
--- a/addons/sale_payment/controllers/payment.py
+++ b/addons/sale_payment/controllers/payment.py
@@ -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 http, _
-from odoo.addons.portal.controllers.portal import _build_url_w_params
-from odoo.http import request, route
+from flectra import http, _
+from flectra.addons.portal.controllers.portal import _build_url_w_params
+from flectra.http import request, route
class PaymentPortal(http.Controller):
diff --git a/addons/sale_payment/controllers/portal.py b/addons/sale_payment/controllers/portal.py
index 22bdaf9c88..089ccb2a63 100644
--- a/addons/sale_payment/controllers/portal.py
+++ b/addons/sale_payment/controllers/portal.py
@@ -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.addons.sale.controllers.portal import CustomerPortal
-from odoo.http import request
+from flectra.addons.sale.controllers.portal import CustomerPortal
+from flectra.http import request
class CustomerPortal(CustomerPortal):
diff --git a/addons/sale_payment/models/__init__.py b/addons/sale_payment/models/__init__.py
index 3f93126a30..344fb257d6 100644
--- a/addons/sale_payment/models/__init__.py
+++ b/addons/sale_payment/models/__init__.py
@@ -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 payment
from . import crm_team
diff --git a/addons/sale_payment/models/crm_team.py b/addons/sale_payment/models/crm_team.py
index 411fa6a21a..faac68a9ca 100644
--- a/addons/sale_payment/models/crm_team.py
+++ b/addons/sale_payment/models/crm_team.py
@@ -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 CrmTeam(models.Model):
diff --git a/addons/sale_payment/models/payment.py b/addons/sale_payment/models/payment.py
index 410d287b24..14fae5e66b 100644
--- a/addons/sale_payment/models/payment.py
+++ b/addons/sale_payment/models/payment.py
@@ -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.
import logging
-from odoo import api, fields, models, _
-from odoo.tools import float_compare
+from flectra import api, fields, models, _
+from flectra.tools import float_compare
_logger = logging.getLogger(__name__)
diff --git a/addons/sale_payment/models/sale_order.py b/addons/sale_payment/models/sale_order.py
index 6544734887..992e8dd808 100644
--- a/addons/sale_payment/models/sale_order.py
+++ b/addons/sale_payment/models/sale_order.py
@@ -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 SaleOrder(models.Model):
diff --git a/addons/sale_payment/views/crm_team_views.xml b/addons/sale_payment/views/crm_team_views.xml
index 8f2b607a3d..bc7ebd4b83 100644
--- a/addons/sale_payment/views/crm_team_views.xml
+++ b/addons/sale_payment/views/crm_team_views.xml
@@ -1,5 +1,5 @@
-
+crm.team.kanban
@@ -39,4 +39,4 @@
-
+
diff --git a/addons/sale_payment/views/payment_views.xml b/addons/sale_payment/views/payment_views.xml
index 939089fbf7..2d9b6a3844 100644
--- a/addons/sale_payment/views/payment_views.xml
+++ b/addons/sale_payment/views/payment_views.xml
@@ -1,5 +1,5 @@
-
+Pending Payment Transactionspayment.transaction
@@ -15,4 +15,4 @@
tree,form[('sale_order_id.team_id', '=', active_id), ('state', '=', 'authorized')]
-
+
diff --git a/addons/sale_payment/views/sale_order_views.xml b/addons/sale_payment/views/sale_order_views.xml
index 002866c781..5699b95b4e 100644
--- a/addons/sale_payment/views/sale_order_views.xml
+++ b/addons/sale_payment/views/sale_order_views.xml
@@ -1,5 +1,5 @@
-
+sale.order.formsale.order
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/sale_payment/views/sale_portal_templates.xml b/addons/sale_payment/views/sale_portal_templates.xml
index df86ce7599..4264d8eb42 100644
--- a/addons/sale_payment/views/sale_portal_templates.xml
+++ b/addons/sale_payment/views/sale_portal_templates.xml
@@ -1,4 +1,4 @@
-
+
@@ -105,4 +105,4 @@
-
+
diff --git a/addons/sale_service_rating/__init__.py b/addons/sale_service_rating/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/sale_service_rating/__init__.py
+++ b/addons/sale_service_rating/__init__.py
@@ -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 models
diff --git a/addons/sale_service_rating/__manifest__.py b/addons/sale_service_rating/__manifest__.py
index b4838509ce..9f791ba5fb 100644
--- a/addons/sale_service_rating/__manifest__.py
+++ b/addons/sale_service_rating/__manifest__.py
@@ -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.
{
'name': 'Sale Service Rating',
diff --git a/addons/sale_service_rating/models/__init__.py b/addons/sale_service_rating/models/__init__.py
index 527e2954c0..0d00687986 100644
--- a/addons/sale_service_rating/models/__init__.py
+++ b/addons/sale_service_rating/models/__init__.py
@@ -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 project
diff --git a/addons/sale_service_rating/models/project.py b/addons/sale_service_rating/models/project.py
index 2db0dcee67..9c8fb50e73 100644
--- a/addons/sale_service_rating/models/project.py
+++ b/addons/sale_service_rating/models/project.py
@@ -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 models
+from flectra import models
class Task(models.Model):
diff --git a/addons/sale_stock/__init__.py b/addons/sale_stock/__init__.py
index 2609681a93..589a2be5b3 100644
--- a/addons/sale_stock/__init__.py
+++ b/addons/sale_stock/__init__.py
@@ -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 models
from . import report
diff --git a/addons/sale_stock/__manifest__.py b/addons/sale_stock/__manifest__.py
index 3fbc714744..11cbde2628 100644
--- a/addons/sale_stock/__manifest__.py
+++ b/addons/sale_stock/__manifest__.py
@@ -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.
{
'name': 'Sales and Warehouse Management',
@@ -24,7 +24,7 @@ You can choose flexible invoicing methods:
* *On Delivery Order*: Invoices are generated from picking (delivery)
* *Before Delivery*: A Draft invoice is created and must be paid before delivery
""",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['sale_management', 'stock_account'],
'data': [
'security/sale_stock_security.xml',
diff --git a/addons/sale_stock/data/sale_order_demo.xml b/addons/sale_stock/data/sale_order_demo.xml
index b1ce1cb758..60c5fd852b 100644
--- a/addons/sale_stock/data/sale_order_demo.xml
+++ b/addons/sale_stock/data/sale_order_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -27,4 +27,4 @@
-
+
diff --git a/addons/sale_stock/data/sale_stock_data.xml b/addons/sale_stock/data/sale_stock_data.xml
index cd54b77fcf..ecd0b75cec 100644
--- a/addons/sale_stock/data/sale_stock_data.xml
+++ b/addons/sale_stock/data/sale_stock_data.xml
@@ -1,8 +1,8 @@
-
+True
-
+
diff --git a/addons/sale_stock/models/__init__.py b/addons/sale_stock/models/__init__.py
index aa85402192..366a03af64 100644
--- a/addons/sale_stock/models/__init__.py
+++ b/addons/sale_stock/models/__init__.py
@@ -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 account_invoice
from . import res_company
diff --git a/addons/sale_stock/models/account_invoice.py b/addons/sale_stock/models/account_invoice.py
index 4b9212beb8..8050695509 100644
--- a/addons/sale_stock/models/account_invoice.py
+++ b/addons/sale_stock/models/account_invoice.py
@@ -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 AccountInvoice(models.Model):
diff --git a/addons/sale_stock/models/res_company.py b/addons/sale_stock/models/res_company.py
index 1677868c71..76648a1251 100644
--- a/addons/sale_stock/models/res_company.py
+++ b/addons/sale_stock/models/res_company.py
@@ -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 company(models.Model):
diff --git a/addons/sale_stock/models/res_config_settings.py b/addons/sale_stock/models/res_config_settings.py
index a6e006caec..21677ed6c3 100644
--- a/addons/sale_stock/models/res_config_settings.py
+++ b/addons/sale_stock/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/sale_stock/models/sale_order.py b/addons/sale_stock/models/sale_order.py
index d3580f3588..92a0f4d18e 100644
--- a/addons/sale_stock/models/sale_order.py
+++ b/addons/sale_stock/models/sale_order.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import datetime, timedelta
-from odoo import api, fields, models, _
-from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT, float_compare
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT, float_compare
+from flectra.exceptions import UserError
class SaleOrder(models.Model):
diff --git a/addons/sale_stock/models/stock.py b/addons/sale_stock/models/stock.py
index c29193ce54..4ad54ba628 100644
--- a/addons/sale_stock/models/stock.py
+++ b/addons/sale_stock/models/stock.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class StockLocationRoute(models.Model):
diff --git a/addons/sale_stock/report/__init__.py b/addons/sale_stock/report/__init__.py
index 7b0761d519..4f1db0c7fc 100644
--- a/addons/sale_stock/report/__init__.py
+++ b/addons/sale_stock/report/__init__.py
@@ -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 sale_report
diff --git a/addons/sale_stock/report/sale_order_report_templates.xml b/addons/sale_stock/report/sale_order_report_templates.xml
index 8a8880fca4..8dbb31bc69 100644
--- a/addons/sale_stock/report/sale_order_report_templates.xml
+++ b/addons/sale_stock/report/sale_order_report_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -8,4 +8,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/sale_stock/report/sale_report.py b/addons/sale_stock/report/sale_report.py
index 5101af87c0..f2179115f6 100644
--- a/addons/sale_stock/report/sale_report.py
+++ b/addons/sale_stock/report/sale_report.py
@@ -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 SaleReport(models.Model):
diff --git a/addons/sale_stock/report/stock_report_deliveryslip.xml b/addons/sale_stock/report/stock_report_deliveryslip.xml
index ea8ca1c061..aa4fa3e4ca 100644
--- a/addons/sale_stock/report/stock_report_deliveryslip.xml
+++ b/addons/sale_stock/report/stock_report_deliveryslip.xml
@@ -1,5 +1,5 @@
-
+
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/sale_stock/security/sale_stock_security.xml b/addons/sale_stock/security/sale_stock_security.xml
index 630a6512b2..c2509d2595 100644
--- a/addons/sale_stock/security/sale_stock_security.xml
+++ b/addons/sale_stock/security/sale_stock_security.xml
@@ -1,5 +1,5 @@
-
+Enable Route on Sales Order Line
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/sale_stock/static/src/js/tour.js b/addons/sale_stock/static/src/js/tour.js
index 690150677d..f95b03b345 100644
--- a/addons/sale_stock/static/src/js/tour.js
+++ b/addons/sale_stock/static/src/js/tour.js
@@ -1,4 +1,4 @@
-odoo.define("sale_stock.tour", function (require) {
+flectra.define("sale_stock.tour", function (require) {
"use strict";
var tour = require('web_tour.tour');
diff --git a/addons/sale_stock/tests/__init__.py b/addons/sale_stock/tests/__init__.py
index 9660081dbd..421da08c8b 100644
--- a/addons/sale_stock/tests/__init__.py
+++ b/addons/sale_stock/tests/__init__.py
@@ -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_sale_stock
from . import test_sale_stock_lead_time
diff --git a/addons/sale_stock/tests/test_sale_stock.py b/addons/sale_stock/tests/test_sale_stock.py
index 5a6e43377f..47da65817d 100644
--- a/addons/sale_stock/tests/test_sale_stock.py
+++ b/addons/sale_stock/tests/test_sale_stock.py
@@ -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.addons.sale.tests.test_sale_common import TestSale
-from odoo.exceptions import UserError
+from flectra.addons.sale.tests.test_sale_common import TestSale
+from flectra.exceptions import UserError
class TestSaleStock(TestSale):
diff --git a/addons/sale_stock/tests/test_sale_stock_lead_time.py b/addons/sale_stock/tests/test_sale_stock_lead_time.py
index 1c6c1e1a5d..90bffe78e5 100644
--- a/addons/sale_stock/tests/test_sale_stock_lead_time.py
+++ b/addons/sale_stock/tests/test_sale_stock_lead_time.py
@@ -1,10 +1,10 @@
# -*- 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 datetime import timedelta
-from odoo import fields
-from odoo.addons.stock.tests.common2 import TestStockCommon
+from flectra import fields
+from flectra.addons.stock.tests.common2 import TestStockCommon
class TestSaleStockLeadTime(TestStockCommon):
diff --git a/addons/sale_stock/views/account_invoice_views.xml b/addons/sale_stock/views/account_invoice_views.xml
index b04ec1bf75..597991ec02 100644
--- a/addons/sale_stock/views/account_invoice_views.xml
+++ b/addons/sale_stock/views/account_invoice_views.xml
@@ -1,5 +1,5 @@
-
+account.invoice.form.sale.stockaccount.invoice
@@ -21,4 +21,4 @@
@@ -109,4 +109,4 @@
-
+
diff --git a/addons/sale_stock/views/sale_order_views.xml b/addons/sale_stock/views/sale_order_views.xml
index 4cce676ddf..2999758ca1 100644
--- a/addons/sale_stock/views/sale_order_views.xml
+++ b/addons/sale_stock/views/sale_order_views.xml
@@ -1,5 +1,5 @@
-
+sale.order.form.sale.stock
@@ -46,4 +46,4 @@
-
+
diff --git a/addons/sale_stock/views/stock_config_settings_views.xml b/addons/sale_stock/views/stock_config_settings_views.xml
index 3b07c6542b..5e792c54aa 100644
--- a/addons/sale_stock/views/stock_config_settings_views.xml
+++ b/addons/sale_stock/views/stock_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+stock.config.settings.inherit.sale.stock
@@ -56,4 +56,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/sale_stock/views/stock_views.xml b/addons/sale_stock/views/stock_views.xml
index b70e3ac86c..dd6f28a36c 100644
--- a/addons/sale_stock/views/stock_views.xml
+++ b/addons/sale_stock/views/stock_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -46,4 +46,4 @@
-
+
diff --git a/addons/sale_timesheet/__init__.py b/addons/sale_timesheet/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/sale_timesheet/__init__.py
+++ b/addons/sale_timesheet/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/sale_timesheet/__manifest__.py b/addons/sale_timesheet/__manifest__.py
index 0cb9db63ba..40a47c6c1b 100644
--- a/addons/sale_timesheet/__manifest__.py
+++ b/addons/sale_timesheet/__manifest__.py
@@ -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.
{
'name': 'Sales Timesheet',
@@ -13,7 +13,7 @@ This module set the right product on all timesheet lines
according to the order/contract you work on. This allows to
have real delivered quantities in sales orders.
""",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['sale_management', 'hr_timesheet'],
'data': [
'security/sale_timesheet_security.xml',
diff --git a/addons/sale_timesheet/controllers/__init__.py b/addons/sale_timesheet/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/sale_timesheet/controllers/__init__.py
+++ b/addons/sale_timesheet/controllers/__init__.py
@@ -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 main
diff --git a/addons/sale_timesheet/controllers/main.py b/addons/sale_timesheet/controllers/main.py
index f1c72039eb..0c3e76d5a0 100644
--- a/addons/sale_timesheet/controllers/main.py
+++ b/addons/sale_timesheet/controllers/main.py
@@ -1,11 +1,11 @@
# -*- 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 odoo.osv import expression
+from flectra import http, _
+from flectra.http import request
+from flectra.osv import expression
-from odoo.tools import float_round
+from flectra.tools import float_round
class SaleTimesheetController(http.Controller):
diff --git a/addons/sale_timesheet/data/sale_service_demo.xml b/addons/sale_timesheet/data/sale_service_demo.xml
index 96aadd8397..dfb3d47766 100644
--- a/addons/sale_timesheet/data/sale_service_demo.xml
+++ b/addons/sale_timesheet/data/sale_service_demo.xml
@@ -1,5 +1,5 @@
-
+timesheet
@@ -34,4 +34,4 @@
-
+
diff --git a/addons/sale_timesheet/models/__init__.py b/addons/sale_timesheet/models/__init__.py
index d22baec4d4..f6d0108a24 100644
--- a/addons/sale_timesheet/models/__init__.py
+++ b/addons/sale_timesheet/models/__init__.py
@@ -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 account
from . import account_invoice
diff --git a/addons/sale_timesheet/models/account.py b/addons/sale_timesheet/models/account.py
index 733dad9a0a..a55e4218d0 100644
--- a/addons/sale_timesheet/models/account.py
+++ b/addons/sale_timesheet/models/account.py
@@ -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.exceptions import UserError
-from odoo import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra import api, fields, models, _
class AccountAnalyticLine(models.Model):
diff --git a/addons/sale_timesheet/models/account_invoice.py b/addons/sale_timesheet/models/account_invoice.py
index c4eb3d46c3..870b7300fb 100644
--- a/addons/sale_timesheet/models/account_invoice.py
+++ b/addons/sale_timesheet/models/account_invoice.py
@@ -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 api, fields, models, _
-from odoo.tools.float_utils import float_round
+from flectra import api, fields, models, _
+from flectra.tools.float_utils import float_round
class AccountInvoice(models.Model):
diff --git a/addons/sale_timesheet/models/hr.py b/addons/sale_timesheet/models/hr.py
index a9f94f57bb..064c08150f 100644
--- a/addons/sale_timesheet/models/hr.py
+++ b/addons/sale_timesheet/models/hr.py
@@ -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 HrEmployee(models.Model):
diff --git a/addons/sale_timesheet/models/product.py b/addons/sale_timesheet/models/product.py
index aeddf1bd2c..f7ccbea25e 100644
--- a/addons/sale_timesheet/models/product.py
+++ b/addons/sale_timesheet/models/product.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ProductTemplate(models.Model):
diff --git a/addons/sale_timesheet/models/project.py b/addons/sale_timesheet/models/project.py
index 09475410a9..165484e0b5 100644
--- a/addons/sale_timesheet/models/project.py
+++ b/addons/sale_timesheet/models/project.py
@@ -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 api, fields, models, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError
class Project(models.Model):
diff --git a/addons/sale_timesheet/models/sale_order.py b/addons/sale_timesheet/models/sale_order.py
index 8e662b21ee..a81c3b438b 100644
--- a/addons/sale_timesheet/models/sale_order.py
+++ b/addons/sale_timesheet/models/sale_order.py
@@ -1,12 +1,12 @@
# -*- 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, fields, models, _
+from flectra import api, fields, models, _
-from odoo.exceptions import ValidationError
-from odoo.osv import expression
-from odoo.tools.safe_eval import safe_eval
-from odoo.tools import float_is_zero
+from flectra.exceptions import ValidationError
+from flectra.osv import expression
+from flectra.tools.safe_eval import safe_eval
+from flectra.tools import float_is_zero
class SaleOrder(models.Model):
@@ -168,7 +168,7 @@ class SaleOrderLine(models.Model):
def _timesheet_compute_delivered_quantity_domain(self):
# TODO JEM: avoid increment delivered for all AAL or just timesheet ?
- # see nim commit https://github.com/odoo/odoo/commit/21fbb9776a5fbd1838b189f1f7cf8c5d40663e14
+ # see nim commit https://github.com/flectra/flectra/commit/21fbb9776a5fbd1838b189f1f7cf8c5d40663e14
so_line_ids = self.filtered(lambda sol: sol.product_id.service_type != 'manual').ids
return ['&', ('so_line', 'in', so_line_ids), ('project_id', '!=', False)]
diff --git a/addons/sale_timesheet/security/sale_timesheet_security.xml b/addons/sale_timesheet/security/sale_timesheet_security.xml
index f038e964ad..5c8b052a51 100644
--- a/addons/sale_timesheet/security/sale_timesheet_security.xml
+++ b/addons/sale_timesheet/security/sale_timesheet_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/sale_timesheet/static/src/js/timesheet_plan.js b/addons/sale_timesheet/static/src/js/timesheet_plan.js
index 2aa8dd7b63..eea6578f79 100644
--- a/addons/sale_timesheet/static/src/js/timesheet_plan.js
+++ b/addons/sale_timesheet/static/src/js/timesheet_plan.js
@@ -1,4 +1,4 @@
-odoo.define('project_timesheet.project_plan', function (require) {
+flectra.define('project_timesheet.project_plan', function (require) {
'use strict';
var ajax = require('web.ajax');
diff --git a/addons/sale_timesheet/static/src/less/sale_timesheet.less b/addons/sale_timesheet/static/src/less/sale_timesheet.less
index c7bc486456..05a5c5a697 100644
--- a/addons/sale_timesheet/static/src/less/sale_timesheet.less
+++ b/addons/sale_timesheet/static/src/less/sale_timesheet.less
@@ -2,7 +2,7 @@
.o_timesheet_plan_sale_timesheet {
[type='action'] {
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
cursor: pointer;
}
diff --git a/addons/sale_timesheet/tests/__init__.py b/addons/sale_timesheet/tests/__init__.py
index c18361894f..9563bae010 100644
--- a/addons/sale_timesheet/tests/__init__.py
+++ b/addons/sale_timesheet/tests/__init__.py
@@ -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 common
from . import test_sale_timesheet
diff --git a/addons/sale_timesheet/tests/common.py b/addons/sale_timesheet/tests/common.py
index 3c13fa7121..7a7aa44a95 100644
--- a/addons/sale_timesheet/tests/common.py
+++ b/addons/sale_timesheet/tests/common.py
@@ -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.tests import common
+from flectra.tests import common
class CommonTest(common.SavepointCase):
diff --git a/addons/sale_timesheet/tests/test_sale_service.py b/addons/sale_timesheet/tests/test_sale_service.py
index a1fa081c10..ace75acdce 100644
--- a/addons/sale_timesheet/tests/test_sale_service.py
+++ b/addons/sale_timesheet/tests/test_sale_service.py
@@ -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.addons.sale_timesheet.tests.common import CommonTest
-from odoo.exceptions import UserError
+from flectra.addons.sale_timesheet.tests.common import CommonTest
+from flectra.exceptions import UserError
class TestSaleService(CommonTest):
diff --git a/addons/sale_timesheet/tests/test_sale_timesheet.py b/addons/sale_timesheet/tests/test_sale_timesheet.py
index fa4b8d905f..d77cac50af 100644
--- a/addons/sale_timesheet/tests/test_sale_timesheet.py
+++ b/addons/sale_timesheet/tests/test_sale_timesheet.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo.tools import float_is_zero, float_compare
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra.tools import float_is_zero, float_compare
-from odoo.addons.sale_timesheet.tests.common import CommonTest
+from flectra.addons.sale_timesheet.tests.common import CommonTest
class TestSaleTimesheet(CommonTest):
diff --git a/addons/sale_timesheet/tests/test_timesheet_revenue.py b/addons/sale_timesheet/tests/test_timesheet_revenue.py
index 79c14e68c1..98d49b821a 100644
--- a/addons/sale_timesheet/tests/test_timesheet_revenue.py
+++ b/addons/sale_timesheet/tests/test_timesheet_revenue.py
@@ -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.addons.sale.tests.test_sale_common import TestSale
-from odoo.exceptions import UserError
-from odoo.tools import float_repr
+from flectra.addons.sale.tests.test_sale_common import TestSale
+from flectra.exceptions import UserError
+from flectra.tools import float_repr
class TestSaleTimesheet(TestSale):
diff --git a/addons/sale_timesheet/views/account_invoice_views.xml b/addons/sale_timesheet/views/account_invoice_views.xml
index 20e2572034..6c0b1d71eb 100644
--- a/addons/sale_timesheet/views/account_invoice_views.xml
+++ b/addons/sale_timesheet/views/account_invoice_views.xml
@@ -1,5 +1,5 @@
-
+Timesheet
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/sale_timesheet/views/hr_timesheet_templates.xml b/addons/sale_timesheet/views/hr_timesheet_templates.xml
index 5f36367cba..71f040c8aa 100644
--- a/addons/sale_timesheet/views/hr_timesheet_templates.xml
+++ b/addons/sale_timesheet/views/hr_timesheet_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -207,4 +207,4 @@
-
+
diff --git a/addons/sale_timesheet/views/hr_timesheet_views.xml b/addons/sale_timesheet/views/hr_timesheet_views.xml
index a9beb7585b..9473c67830 100644
--- a/addons/sale_timesheet/views/hr_timesheet_views.xml
+++ b/addons/sale_timesheet/views/hr_timesheet_views.xml
@@ -1,5 +1,5 @@
-
+account.analytic.line.search
@@ -118,4 +118,4 @@
-
+
diff --git a/addons/sale_timesheet/views/hr_views.xml b/addons/sale_timesheet/views/hr_views.xml
index ce032cc01e..e923c88ab6 100644
--- a/addons/sale_timesheet/views/hr_views.xml
+++ b/addons/sale_timesheet/views/hr_views.xml
@@ -1,5 +1,5 @@
-
+hr.timesheet.employee.extd_formhr.employee
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/sale_timesheet/views/product_views.xml b/addons/sale_timesheet/views/product_views.xml
index 15704930b6..c3b5279f6b 100644
--- a/addons/sale_timesheet/views/product_views.xml
+++ b/addons/sale_timesheet/views/product_views.xml
@@ -1,5 +1,5 @@
-
+product.template.timesheet.formproduct.template
@@ -58,4 +58,4 @@
{'search_default_product_service_milestone':1, 'default_type': 'service', 'default_invoice_policy': 'delivery', 'default_service_type': 'manual'}
-
+
diff --git a/addons/sale_timesheet/views/project_task_views.xml b/addons/sale_timesheet/views/project_task_views.xml
index 1458e35dc4..06079078cf 100644
--- a/addons/sale_timesheet/views/project_task_views.xml
+++ b/addons/sale_timesheet/views/project_task_views.xml
@@ -1,5 +1,5 @@
-
+project.project.kanban.inherit.sale.timesheet
@@ -47,4 +47,4 @@
-
+
diff --git a/addons/sale_timesheet/views/res_config_settings_views.xml b/addons/sale_timesheet/views/res_config_settings_views.xml
index bcc5b92537..e93c81f912 100644
--- a/addons/sale_timesheet/views/res_config_settings_views.xml
+++ b/addons/sale_timesheet/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.sale.timesheet
@@ -24,4 +24,4 @@
-
+
diff --git a/addons/sale_timesheet/views/sale_order_views.xml b/addons/sale_timesheet/views/sale_order_views.xml
index ea4f103ada..1b851cec10 100644
--- a/addons/sale_timesheet/views/sale_order_views.xml
+++ b/addons/sale_timesheet/views/sale_order_views.xml
@@ -1,5 +1,5 @@
-
+sale.order.form.sale.timesheetsale.order
@@ -40,4 +40,4 @@
-
+
diff --git a/addons/sales_team/__init__.py b/addons/sales_team/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/sales_team/__init__.py
+++ b/addons/sales_team/__init__.py
@@ -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 models
diff --git a/addons/sales_team/__manifest__.py b/addons/sales_team/__manifest__.py
index 199b34db0e..3f30ea2aca 100644
--- a/addons/sales_team/__manifest__.py
+++ b/addons/sales_team/__manifest__.py
@@ -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.
{
'name': 'Sales Channels',
'version': '1.0',
@@ -9,7 +9,7 @@
Using this application you can manage Sales Channels with CRM and/or Sales
===========================================================================
""",
- 'website': 'https://www.odoo.com/page/crm',
+ 'website': 'https://flectrahq.com/page/crm',
'depends': ['base', 'mail'],
'data': ['security/sales_team_security.xml',
'security/ir.model.access.csv',
diff --git a/addons/sales_team/data/sales_team_data.xml b/addons/sales_team/data/sales_team_data.xml
index 2af8a2f799..51c6fa288f 100644
--- a/addons/sales_team/data/sales_team_data.xml
+++ b/addons/sales_team/data/sales_team_data.xml
@@ -1,5 +1,5 @@
-
+Sales
@@ -22,4 +22,4 @@
-
+
diff --git a/addons/sales_team/data/sales_team_demo.xml b/addons/sales_team/data/sales_team_demo.xml
index 91ea15a547..6307af6af5 100644
--- a/addons/sales_team/data/sales_team_demo.xml
+++ b/addons/sales_team/data/sales_team_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -21,4 +21,4 @@
-
+
diff --git a/addons/sales_team/models/__init__.py b/addons/sales_team/models/__init__.py
index 96b35e08a8..3acc8c9f96 100644
--- a/addons/sales_team/models/__init__.py
+++ b/addons/sales_team/models/__init__.py
@@ -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 crm_team
from . import res_partner
diff --git a/addons/sales_team/models/crm_team.py b/addons/sales_team/models/crm_team.py
index cf95b66a7e..fc3c96007f 100644
--- a/addons/sales_team/models/crm_team.py
+++ b/addons/sales_team/models/crm_team.py
@@ -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 babel.dates import format_date
@@ -7,10 +7,10 @@ from datetime import date, datetime
from dateutil.relativedelta import relativedelta
import json
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.release import version
-from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.release import version
+from flectra.tools import DEFAULT_SERVER_DATE_FORMAT as DF
class CrmTeam(models.Model):
@@ -58,7 +58,7 @@ class CrmTeam(models.Model):
compute='_compute_is_favorite', inverse='_inverse_is_favorite',
help="Favorite teams to display them in the dashboard and access them easily.")
reply_to = fields.Char(string='Reply-To',
- help="The email address put in the 'Reply-To' of all emails sent by Odoo about cases in this sales channel")
+ help="The email address put in the 'Reply-To' of all emails sent by Flectra about cases in this sales channel")
color = fields.Integer(string='Color Index', help="The color of the channel")
team_type = fields.Selection([('sales', 'Sales'), ('website', 'Website')], string='Channel Type', default='sales', required=True,
help="The type of this channel, it will define the resources this channel uses.")
diff --git a/addons/sales_team/models/res_partner.py b/addons/sales_team/models/res_partner.py
index 1df2395602..8de9257390 100644
--- a/addons/sales_team/models/res_partner.py
+++ b/addons/sales_team/models/res_partner.py
@@ -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 ResPartner(models.Model):
diff --git a/addons/sales_team/models/res_users.py b/addons/sales_team/models/res_users.py
index 325664abae..34b8c61c38 100644
--- a/addons/sales_team/models/res_users.py
+++ b/addons/sales_team/models/res_users.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResUsers(models.Model):
diff --git a/addons/sales_team/security/sales_team_security.xml b/addons/sales_team/security/sales_team_security.xml
index cf23763913..5e776de403 100644
--- a/addons/sales_team/security/sales_team_security.xml
+++ b/addons/sales_team/security/sales_team_security.xml
@@ -1,5 +1,5 @@
-
+User: Own Documents Only
@@ -45,4 +45,4 @@
-
+
diff --git a/addons/sales_team/static/src/less/sales_team_dashboard.less b/addons/sales_team/static/src/less/sales_team_dashboard.less
index 97156706e5..f06f076f45 100644
--- a/addons/sales_team/static/src/less/sales_team_dashboard.less
+++ b/addons/sales_team/static/src/less/sales_team_dashboard.less
@@ -27,7 +27,7 @@
}
g.tick.major {
// Don't know why, but leads to strange bold text
- // stroke: @odoo-brand-primary;
+ // stroke: @flectra-brand-primary;
line {
display: none;
diff --git a/addons/sales_team/views/crm_team_views.xml b/addons/sales_team/views/crm_team_views.xml
index 8b4f968ecb..446cb0c692 100644
--- a/addons/sales_team/views/crm_team_views.xml
+++ b/addons/sales_team/views/crm_team_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -178,4 +178,4 @@
['|', ('res_model_id', '=', False), ('res_model_id.model', '=', 'res.partner')]
-
+
diff --git a/addons/sales_team/views/sales_team_dashboard.xml b/addons/sales_team/views/sales_team_dashboard.xml
index e77949ad66..79f7f005ec 100644
--- a/addons/sales_team/views/sales_team_dashboard.xml
+++ b/addons/sales_team/views/sales_team_dashboard.xml
@@ -1,4 +1,4 @@
-
+crm.team.dashboard
@@ -86,4 +86,4 @@
-
+
diff --git a/addons/sms/__init__.py b/addons/sms/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/sms/__init__.py
+++ b/addons/sms/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/sms/__manifest__.py b/addons/sms/__manifest__.py
index 18330c1d79..62016ea5a4 100644
--- a/addons/sms/__manifest__.py
+++ b/addons/sms/__manifest__.py
@@ -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.
{
'name': 'SMS gateway',
'category': 'Tools',
diff --git a/addons/sms/models/__init__.py b/addons/sms/models/__init__.py
index 7a75a7a5f6..9608290e0b 100644
--- a/addons/sms/models/__init__.py
+++ b/addons/sms/models/__init__.py
@@ -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 mail_thread
from . import res_partner
diff --git a/addons/sms/models/mail_thread.py b/addons/sms/models/mail_thread.py
index 1fb62a72de..dba1c6bb6c 100644
--- a/addons/sms/models/mail_thread.py
+++ b/addons/sms/models/mail_thread.py
@@ -1,11 +1,11 @@
# -*- 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.
import logging
-from odoo import models, _
+from flectra import models, _
-from odoo.addons.iap.models.iap import InsufficientCreditError
+from flectra.addons.iap.models.iap import InsufficientCreditError
_logger = logging.getLogger(__name__)
diff --git a/addons/sms/models/res_partner.py b/addons/sms/models/res_partner.py
index 6d85ef2fe0..45ebbecdb1 100644
--- a/addons/sms/models/res_partner.py
+++ b/addons/sms/models/res_partner.py
@@ -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 models
+from flectra import models
class ResPartner(models.Model):
diff --git a/addons/sms/models/sms_api.py b/addons/sms/models/sms_api.py
index 1498ce54d9..8965b215c1 100644
--- a/addons/sms/models/sms_api.py
+++ b/addons/sms/models/sms_api.py
@@ -1,11 +1,11 @@
# -*- 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, fields, models
-from odoo.exceptions import UserError
-from odoo.addons.iap.models import iap
+from flectra import api, fields, models
+from flectra.exceptions import UserError
+from flectra.addons.iap.models import iap
-DEFAULT_ENDPOINT = 'https://iap-sms.odoo.com'
+DEFAULT_ENDPOINT = 'https://iap-sms.flectra.com'
class SmsApi(models.AbstractModel):
diff --git a/addons/sms/views/res_partner_views.xml b/addons/sms/views/res_partner_views.xml
index a35d5f1051..52e7014fb5 100644
--- a/addons/sms/views/res_partner_views.xml
+++ b/addons/sms/views/res_partner_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -37,4 +37,4 @@
-
+
diff --git a/addons/sms/wizard/send_sms.py b/addons/sms/wizard/send_sms.py
index 1856b2f17d..fe0d71cc94 100644
--- a/addons/sms/wizard/send_sms.py
+++ b/addons/sms/wizard/send_sms.py
@@ -1,11 +1,11 @@
# -*- 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.
import logging
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.addons.iap.models import iap
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.addons.iap.models import iap
_logger = logging.getLogger(__name__)
diff --git a/addons/sms/wizard/send_sms_views.xml b/addons/sms/wizard/send_sms_views.xml
index 34746c3282..d50def6bb0 100644
--- a/addons/sms/wizard/send_sms_views.xml
+++ b/addons/sms/wizard/send_sms_views.xml
@@ -1,5 +1,5 @@
-
+sms_send_sms.form
@@ -41,4 +41,4 @@
key2="client_action_multi"
target="new"/>
-
+
diff --git a/addons/stock/__init__.py b/addons/stock/__init__.py
index 7039d459cb..72b4051222 100644
--- a/addons/stock/__init__.py
+++ b/addons/stock/__init__.py
@@ -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
diff --git a/addons/stock/__manifest__.py b/addons/stock/__manifest__.py
index 1c5fcd5580..40c1fcc012 100644
--- a/addons/stock/__manifest__.py
+++ b/addons/stock/__manifest__.py
@@ -1,12 +1,12 @@
# -*- 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.
{
'name': 'Inventory Management',
'version': '1.1',
'summary': 'Inventory, Logistics, Warehousing',
'description': "",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['product', 'barcodes', 'web_planner'],
'category': 'Warehouse',
'sequence': 13,
diff --git a/addons/stock/controllers/main.py b/addons/stock/controllers/main.py
index 1d9041e0ed..a28eef95ef 100644
--- a/addons/stock/controllers/main.py
+++ b/addons/stock/controllers/main.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-from odoo import http
-from odoo.http import request
-from odoo.addons.web.controllers.main import _serialize_exception
-from odoo.tools import html_escape
+from flectra import http
+from flectra.http import request
+from flectra.addons.web.controllers.main import _serialize_exception
+from flectra.tools import html_escape
import json
@@ -40,7 +40,7 @@ class StockReportController(http.Controller):
se = _serialize_exception(e)
error = {
'code': 200,
- 'message': 'Odoo Server Error',
+ 'message': 'Flectra Server Error',
'data': se
}
return request.make_response(html_escape(json.dumps(error)))
diff --git a/addons/stock/data/default_barcode_patterns.xml b/addons/stock/data/default_barcode_patterns.xml
index ab4510d633..4cddf47874 100644
--- a/addons/stock/data/default_barcode_patterns.xml
+++ b/addons/stock/data/default_barcode_patterns.xml
@@ -1,5 +1,5 @@
-
+Weight Barcodes 3 Decimals
@@ -37,4 +37,4 @@
414
-
+
diff --git a/addons/stock/data/procurement_data.xml b/addons/stock/data/procurement_data.xml
index 0c541c5a38..2f43c3d1b0 100644
--- a/addons/stock/data/procurement_data.xml
+++ b/addons/stock/data/procurement_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/stock/data/procurement_demo.xml b/addons/stock/data/procurement_demo.xml
index 78e04f36de..3f63f31096 100644
--- a/addons/stock/data/procurement_demo.xml
+++ b/addons/stock/data/procurement_demo.xml
@@ -1,5 +1,5 @@
-
+product
@@ -87,5 +87,5 @@
-
+
\ No newline at end of file
diff --git a/addons/stock/data/stock_data.xml b/addons/stock/data/stock_data.xml
index e0e815ac9d..4811ba1fd0 100644
--- a/addons/stock/data/stock_data.xml
+++ b/addons/stock/data/stock_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -154,4 +154,4 @@
-
+
diff --git a/addons/stock/data/stock_demo.xml b/addons/stock/data/stock_demo.xml
index e84dddfd10..5db56f4e66 100644
--- a/addons/stock/data/stock_demo.xml
+++ b/addons/stock/data/stock_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -175,5 +175,5 @@
-
+
diff --git a/addons/stock/data/stock_incoterms_data.xml b/addons/stock/data/stock_incoterms_data.xml
index 6ab7d37ab8..c96f5fd66f 100644
--- a/addons/stock/data/stock_incoterms_data.xml
+++ b/addons/stock/data/stock_incoterms_data.xml
@@ -1,5 +1,5 @@
-
+EXW
@@ -63,4 +63,4 @@
-
+
diff --git a/addons/stock/data/stock_location_demo_cpu1.xml b/addons/stock/data/stock_location_demo_cpu1.xml
index f1f60ffba4..465123c77a 100644
--- a/addons/stock/data/stock_location_demo_cpu1.xml
+++ b/addons/stock/data/stock_location_demo_cpu1.xml
@@ -1,4 +1,4 @@
-
+20.0
@@ -11,4 +11,4 @@
-
+
diff --git a/addons/stock/data/stock_orderpoint_demo.xml b/addons/stock/data/stock_orderpoint_demo.xml
index 6bc757525a..118c911c8a 100644
--- a/addons/stock/data/stock_orderpoint_demo.xml
+++ b/addons/stock/data/stock_orderpoint_demo.xml
@@ -1,4 +1,4 @@
-
+
@@ -28,4 +28,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/stock/data/stock_quant_demo.xml b/addons/stock/data/stock_quant_demo.xml
index 54693634df..809592335e 100644
--- a/addons/stock/data/stock_quant_demo.xml
+++ b/addons/stock/data/stock_quant_demo.xml
@@ -1,4 +1,4 @@
-
+Whiteboardproduct
@@ -9,4 +9,4 @@
10.0
-
+
diff --git a/addons/stock/data/stock_sequence_data.xml b/addons/stock/data/stock_sequence_data.xml
index 7f07dd7e1d..34b3b21de1 100644
--- a/addons/stock/data/stock_sequence_data.xml
+++ b/addons/stock/data/stock_sequence_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -51,4 +51,4 @@
-
+
diff --git a/addons/stock/views/stock_inventory_views.xml b/addons/stock/views/stock_inventory_views.xml
index d3394da3c1..0032ca9a3e 100644
--- a/addons/stock/views/stock_inventory_views.xml
+++ b/addons/stock/views/stock_inventory_views.xml
@@ -1,5 +1,5 @@
-
+stock.inventory.line.tree
@@ -271,4 +271,4 @@
-
+
diff --git a/addons/stock/views/stock_location_views.xml b/addons/stock/views/stock_location_views.xml
index 89fc9e1b81..9e132a332f 100644
--- a/addons/stock/views/stock_location_views.xml
+++ b/addons/stock/views/stock_location_views.xml
@@ -1,5 +1,5 @@
-
+
Define your locations to reflect your warehouse structure and
- organization. Odoo is able to manage physical locations
+ organization. Flectra is able to manage physical locations
(warehouses, shelves, bin, etc), partner locations (customers,
vendors) and virtual locations which are the counterpart of
the stock operations like the manufacturing orders
consumptions, inventories, etc.
- Every stock operation in Odoo moves the products from one
+ Every stock operation in Flectra moves the products from one
location to another one. For instance, if you receive products
- from a vendor, Odoo will move products from the Vendor
+ from a vendor, Flectra will move products from the Vendor
location to the Stock location. Each report can be performed on
physical, partner or virtual locations.
- Most operations are prepared automatically by Odoo according
+ Most operations are prepared automatically by Flectra according
to your preconfigured logistics rules, but you can also record
manual stock movements.
You can define your minimum stock rules, so that Odoo will automatically create draft manufacturing orders or request for quotations according to the stock level. Once the virtual stock of a product (= stock on hand minus all confirmed orders and reservations) is below the minimum quantity, Odoo will generate a procurement request to increase the stock up to the maximum quantity.
+
You can define your minimum stock rules, so that Flectra will automatically create draft manufacturing orders or request for quotations according to the stock level. Once the virtual stock of a product (= stock on hand minus all confirmed orders and reservations) is below the minimum quantity, Flectra will generate a procurement request to increase the stock up to the maximum quantity.
-
+
diff --git a/addons/stock/wizard/__init__.py b/addons/stock/wizard/__init__.py
index 415b455f9e..0adf6c92e3 100644
--- a/addons/stock/wizard/__init__.py
+++ b/addons/stock/wizard/__init__.py
@@ -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 stock_picking_return
from . import stock_change_product_qty
diff --git a/addons/stock/wizard/stock_backorder_confirmation.py b/addons/stock/wizard/stock_backorder_confirmation.py
index 94fe84b47d..9f2973b7ca 100644
--- a/addons/stock/wizard/stock_backorder_confirmation.py
+++ b/addons/stock/wizard/stock_backorder_confirmation.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class StockBackorderConfirmation(models.TransientModel):
diff --git a/addons/stock/wizard/stock_backorder_confirmation_views.xml b/addons/stock/wizard/stock_backorder_confirmation_views.xml
index 9c1bb02ebf..b883f44487 100644
--- a/addons/stock/wizard/stock_backorder_confirmation_views.xml
+++ b/addons/stock/wizard/stock_backorder_confirmation_views.xml
@@ -1,5 +1,5 @@
-
+stock_backorder_confirmationstock.backorder.confirmation
@@ -22,4 +22,4 @@
-
+
diff --git a/addons/stock/wizard/stock_change_product_qty.py b/addons/stock/wizard/stock_change_product_qty.py
index b29e4080e3..3ff31402a8 100644
--- a/addons/stock/wizard/stock_change_product_qty.py
+++ b/addons/stock/wizard/stock_change_product_qty.py
@@ -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, tools, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError
+from flectra import api, models, fields, tools, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError
class ProductChangeQuantity(models.TransientModel):
diff --git a/addons/stock/wizard/stock_change_product_qty_views.xml b/addons/stock/wizard/stock_change_product_qty_views.xml
index 4f240e1397..22c4338a48 100644
--- a/addons/stock/wizard/stock_change_product_qty_views.xml
+++ b/addons/stock/wizard/stock_change_product_qty_views.xml
@@ -1,5 +1,5 @@
-
+Change Product Quantity
@@ -39,5 +39,5 @@
-
+
diff --git a/addons/stock/wizard/stock_immediate_transfer.py b/addons/stock/wizard/stock_immediate_transfer.py
index e137f5ad85..3045b8988f 100644
--- a/addons/stock/wizard/stock_immediate_transfer.py
+++ b/addons/stock/wizard/stock_immediate_transfer.py
@@ -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 fields, models, _
-from odoo.exceptions import UserError
+from flectra import fields, models, _
+from flectra.exceptions import UserError
class StockImmediateTransfer(models.TransientModel):
diff --git a/addons/stock/wizard/stock_immediate_transfer_views.xml b/addons/stock/wizard/stock_immediate_transfer_views.xml
index 4987bd3cb1..5a38c1228c 100644
--- a/addons/stock/wizard/stock_immediate_transfer_views.xml
+++ b/addons/stock/wizard/stock_immediate_transfer_views.xml
@@ -1,5 +1,5 @@
-
+stock.immediate.transfer.view.formstock.immediate.transfer
@@ -8,7 +8,7 @@
You haven't entered done quantities, by clicking on apply
- Odoo will process all the reserved quantities.
+ Flectra will process all the reserved quantities.
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/stock/wizard/stock_overprocessed_transfer.py b/addons/stock/wizard/stock_overprocessed_transfer.py
index b77bd18f3e..4d9259d760 100644
--- a/addons/stock/wizard/stock_overprocessed_transfer.py
+++ b/addons/stock/wizard/stock_overprocessed_transfer.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class StockOverProcessedTransfer(models.TransientModel):
diff --git a/addons/stock/wizard/stock_overprocessed_transfer_views.xml b/addons/stock/wizard/stock_overprocessed_transfer_views.xml
index 196c767bcd..85065f28db 100644
--- a/addons/stock/wizard/stock_overprocessed_transfer_views.xml
+++ b/addons/stock/wizard/stock_overprocessed_transfer_views.xml
@@ -1,5 +1,5 @@
-
+stock.overprocessed.transfer.view.formstock.overprocessed.transfer
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/stock/wizard/stock_picking_return.py b/addons/stock/wizard/stock_picking_return.py
index 23240eb1e8..bab65fcf7c 100644
--- a/addons/stock/wizard/stock_picking_return.py
+++ b/addons/stock/wizard/stock_picking_return.py
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See ICENSE file for full copyright and licensing details.
+# Part of Odoo, Flectra. See ICENSE file for full copyright and licensing details.
-from odoo import api, fields, models, _
-from odoo.addons import decimal_precision as dp
-from odoo.exceptions import UserError
-from odoo.tools.float_utils import float_round
+from flectra import api, fields, models, _
+from flectra.addons import decimal_precision as dp
+from flectra.exceptions import UserError
+from flectra.tools.float_utils import float_round
class ReturnPickingLine(models.TransientModel):
diff --git a/addons/stock/wizard/stock_picking_return_views.xml b/addons/stock/wizard/stock_picking_return_views.xml
index 797eab283c..9a78ccf15a 100644
--- a/addons/stock/wizard/stock_picking_return_views.xml
+++ b/addons/stock/wizard/stock_picking_return_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -36,4 +36,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/stock/wizard/stock_quantity_history.py b/addons/stock/wizard/stock_quantity_history.py
index e138bce9bb..c30cfef833 100644
--- a/addons/stock/wizard/stock_quantity_history.py
+++ b/addons/stock/wizard/stock_quantity_history.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class StockQuantityHistory(models.TransientModel):
diff --git a/addons/stock/wizard/stock_quantity_history.xml b/addons/stock/wizard/stock_quantity_history.xml
index d4d2c4aa49..70ff5c3cc8 100644
--- a/addons/stock/wizard/stock_quantity_history.xml
+++ b/addons/stock/wizard/stock_quantity_history.xml
@@ -1,5 +1,5 @@
-
+Inventory Reportstock.quantity.history
@@ -28,5 +28,5 @@
{'default_compute_at_date': 0}
-
+
diff --git a/addons/stock/wizard/stock_scheduler_compute.py b/addons/stock/wizard/stock_scheduler_compute.py
index 6629c5996b..3d71fe2ddb 100644
--- a/addons/stock/wizard/stock_scheduler_compute.py
+++ b/addons/stock/wizard/stock_scheduler_compute.py
@@ -1,12 +1,12 @@
# -*- 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.
#
# Order Point Method:
# - Order if the virtual stock of today is bellow the min of the defined order point
#
-from odoo import api, models, tools
+from flectra import api, models, tools
import logging
import threading
@@ -26,7 +26,7 @@ class StockSchedulerCompute(models.TransientModel):
scheduler_cron = self.sudo().env.ref('stock.ir_cron_scheduler_action')
# Avoid to run the scheduler multiple times in the same time
try:
- with tools.mute_logger('odoo.sql_db'):
+ with tools.mute_logger('flectra.sql_db'):
self._cr.execute("SELECT id FROM ir_cron WHERE id = %s FOR UPDATE NOWAIT", (scheduler_cron.id,))
except Exception:
_logger.info('Attempt to run procurement scheduler aborted, as already running')
diff --git a/addons/stock/wizard/stock_scheduler_compute_views.xml b/addons/stock/wizard/stock_scheduler_compute_views.xml
index bf208c1291..c780a0d5dc 100644
--- a/addons/stock/wizard/stock_scheduler_compute_views.xml
+++ b/addons/stock/wizard/stock_scheduler_compute_views.xml
@@ -1,12 +1,12 @@
-
+Run Schedulers Manuallystock.scheduler.compute
+
diff --git a/addons/stock/wizard/stock_warn_insufficient_qty.py b/addons/stock/wizard/stock_warn_insufficient_qty.py
index 0ce45f250f..67ac6d1aa5 100644
--- a/addons/stock/wizard/stock_warn_insufficient_qty.py
+++ b/addons/stock/wizard/stock_warn_insufficient_qty.py
@@ -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 api, fields, models
-from odoo.tools import float_compare
+from flectra import api, fields, models
+from flectra.tools import float_compare
class StockWarnInsufficientQty(models.AbstractModel):
diff --git a/addons/stock/wizard/stock_warn_insufficient_qty_views.xml b/addons/stock/wizard/stock_warn_insufficient_qty_views.xml
index 8da0843408..1d76284c08 100644
--- a/addons/stock/wizard/stock_warn_insufficient_qty_views.xml
+++ b/addons/stock/wizard/stock_warn_insufficient_qty_views.xml
@@ -1,5 +1,5 @@
-
+stock.warn.insufficient.qtystock.warn.insufficient.qty
@@ -46,4 +46,4 @@
-
+
diff --git a/addons/stock_account/__init__.py b/addons/stock_account/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/stock_account/__init__.py
+++ b/addons/stock_account/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/stock_account/__manifest__.py b/addons/stock_account/__manifest__.py
index d3b7ebdf77..e87aa708d2 100644
--- a/addons/stock_account/__manifest__.py
+++ b/addons/stock_account/__manifest__.py
@@ -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.
{
'name': 'WMS Accounting',
@@ -19,7 +19,7 @@ Dashboard / Reports for Warehouse Management includes:
------------------------------------------------------
* Stock Inventory Value at given date (support dates in the past)
""",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['stock', 'account'],
'category': 'Hidden',
'sequence': 16,
diff --git a/addons/stock_account/data/product_data.xml b/addons/stock_account/data/product_data.xml
index f1c3044dce..5dc9522c44 100644
--- a/addons/stock_account/data/product_data.xml
+++ b/addons/stock_account/data/product_data.xml
@@ -1,5 +1,5 @@
-
+property_stock_account_output
@@ -26,4 +26,4 @@
-
+
diff --git a/addons/stock_account/data/stock_account_data.xml b/addons/stock_account/data/stock_account_data.xml
index d5f55811de..0e91543df2 100644
--- a/addons/stock_account/data/stock_account_data.xml
+++ b/addons/stock_account/data/stock_account_data.xml
@@ -1,5 +1,5 @@
-
+Cost Method Property
@@ -38,5 +38,5 @@ action = env.ref('stock_account.product_valuation_action').read()[0]
-
+
diff --git a/addons/stock_account/data/stock_account_data_post_install.yml b/addons/stock_account/data/stock_account_data_post_install.yml
index 332c995f70..c26a8db379 100644
--- a/addons/stock_account/data/stock_account_data_post_install.yml
+++ b/addons/stock_account/data/stock_account_data_post_install.yml
@@ -6,7 +6,7 @@
company_obj = self.env['res.company']
company_ids = company_obj.search([('chart_template_id', '!=', False)]).ids
for company_id in company_ids:
- from odoo.tools.translate import _
+ from flectra.tools.translate import _
#Check if property exists for stock account journal exists
PropertyObj = self.env['ir.property']
diff --git a/addons/stock_account/models/__init__.py b/addons/stock_account/models/__init__.py
index 707d4618bd..3a58e020b4 100644
--- a/addons/stock_account/models/__init__.py
+++ b/addons/stock_account/models/__init__.py
@@ -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 account_chart_template
from . import account_invoice
diff --git a/addons/stock_account/models/account_chart_template.py b/addons/stock_account/models/account_chart_template.py
index fdf75e5978..4c8c426ce0 100644
--- a/addons/stock_account/models/account_chart_template.py
+++ b/addons/stock_account/models/account_chart_template.py
@@ -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 api, models, _
+from flectra import api, models, _
import logging
_logger = logging.getLogger(__name__)
diff --git a/addons/stock_account/models/account_invoice.py b/addons/stock_account/models/account_invoice.py
index db13282be1..c6d9809dae 100644
--- a/addons/stock_account/models/account_invoice.py
+++ b/addons/stock_account/models/account_invoice.py
@@ -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 api, models
+from flectra import api, models
import logging
diff --git a/addons/stock_account/models/account_move.py b/addons/stock_account/models/account_move.py
index 7919da1509..b923a205a7 100644
--- a/addons/stock_account/models/account_move.py
+++ b/addons/stock_account/models/account_move.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import fields, models
+from flectra import fields, models
class AccountMove(models.Model):
diff --git a/addons/stock_account/models/product.py b/addons/stock_account/models/product.py
index d60f889b1a..36985288ff 100644
--- a/addons/stock_account/models/product.py
+++ b/addons/stock_account/models/product.py
@@ -1,10 +1,10 @@
# -*- 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, fields, models, tools, _
-from odoo.exceptions import UserError
-from odoo.tools import float_is_zero, pycompat
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError
+from flectra.tools import float_is_zero, pycompat
+from flectra.addons import decimal_precision as dp
diff --git a/addons/stock_account/models/res_config_settings.py b/addons/stock_account/models/res_config_settings.py
index 3fa7481036..df57a6d968 100644
--- a/addons/stock_account/models/res_config_settings.py
+++ b/addons/stock_account/models/res_config_settings.py
@@ -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):
diff --git a/addons/stock_account/models/stock.py b/addons/stock_account/models/stock.py
index 0c1fdf09cb..6c3d01f7a2 100644
--- a/addons/stock_account/models/stock.py
+++ b/addons/stock_account/models/stock.py
@@ -1,11 +1,11 @@
# -*- 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 collections import defaultdict
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import float_compare, float_round, pycompat
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import float_compare, float_round, pycompat
import logging
_logger = logging.getLogger(__name__)
@@ -583,7 +583,7 @@ class StockMove(models.Model):
self.with_context(force_company=company_from.id)._create_account_move_line(acc_valuation, acc_dest, journal_id)
if self.company_id.anglo_saxon_accounting and self.location_id.usage == 'supplier' and self.location_dest_id.usage == 'customer':
- # Creates an account entry from stock_input to stock_output on a dropship move. https://github.com/odoo/odoo/issues/12687
+ # Creates an account entry from stock_input to stock_output on a dropship move. https://github.com/flectra/flectra/issues/12687
journal_id, acc_src, acc_dest, acc_valuation = self._get_accounting_data_for_valuation()
self.with_context(force_company=self.company_id.id)._create_account_move_line(acc_src, acc_dest, journal_id)
diff --git a/addons/stock_account/security/stock_account_security.xml b/addons/stock_account/security/stock_account_security.xml
index afbbbf7ca8..8b6b3c51a3 100644
--- a/addons/stock_account/security/stock_account_security.xml
+++ b/addons/stock_account/security/stock_account_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,5 +13,5 @@
-->
-
+
diff --git a/addons/stock_account/test/stock_valuation_account.xml b/addons/stock_account/test/stock_valuation_account.xml
index 40e61a96be..0ff15a145e 100644
--- a/addons/stock_account/test/stock_valuation_account.xml
+++ b/addons/stock_account/test/stock_valuation_account.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/addons/stock_account/tests/test_stockvaluation.py b/addons/stock_account/tests/test_stockvaluation.py
index ec14930dbd..00ce5a9dbb 100644
--- a/addons/stock_account/tests/test_stockvaluation.py
+++ b/addons/stock_account/tests/test_stockvaluation.py
@@ -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.exceptions import UserError
-from odoo.tests.common import TransactionCase
+from flectra.exceptions import UserError
+from flectra.tests.common import TransactionCase
class TestStockValuation(TransactionCase):
diff --git a/addons/stock_account/views/product_views.xml b/addons/stock_account/views/product_views.xml
index 5491d63a6b..5ae05e8ea8 100644
--- a/addons/stock_account/views/product_views.xml
+++ b/addons/stock_account/views/product_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -179,4 +179,4 @@
-
+
diff --git a/addons/stock_account/views/res_config_settings_views.xml b/addons/stock_account/views/res_config_settings_views.xml
index 9453a8c763..a7b972c5c7 100644
--- a/addons/stock_account/views/res_config_settings_views.xml
+++ b/addons/stock_account/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.stock.account
@@ -28,4 +28,4 @@
-
+
diff --git a/addons/stock_account/views/stock_account_views.xml b/addons/stock_account/views/stock_account_views.xml
index e169a2b7a8..f199c980d8 100644
--- a/addons/stock_account/views/stock_account_views.xml
+++ b/addons/stock_account/views/stock_account_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -51,4 +51,4 @@
-
+
diff --git a/addons/stock_account/wizard/__init__.py b/addons/stock_account/wizard/__init__.py
index 3fbd834da9..ec0cb6a5ae 100644
--- a/addons/stock_account/wizard/__init__.py
+++ b/addons/stock_account/wizard/__init__.py
@@ -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 stock_change_standard_price
diff --git a/addons/stock_account/wizard/stock_change_standard_price.py b/addons/stock_account/wizard/stock_change_standard_price.py
index 16135e2121..78a39bb740 100644
--- a/addons/stock_account/wizard/stock_change_standard_price.py
+++ b/addons/stock_account/wizard/stock_change_standard_price.py
@@ -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 api, fields, models
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models
+from flectra.addons import decimal_precision as dp
class StockChangeStandardPrice(models.TransientModel):
diff --git a/addons/stock_account/wizard/stock_change_standard_price_views.xml b/addons/stock_account/wizard/stock_change_standard_price_views.xml
index 01f4d61318..214c1f6018 100644
--- a/addons/stock_account/wizard/stock_change_standard_price_views.xml
+++ b/addons/stock_account/wizard/stock_change_standard_price_views.xml
@@ -1,5 +1,5 @@
-
+Change Standard Price
@@ -36,4 +36,4 @@
-
+
diff --git a/addons/stock_dropshipping/__init__.py b/addons/stock_dropshipping/__init__.py
index e9917144f6..0d24eb543f 100644
--- a/addons/stock_dropshipping/__init__.py
+++ b/addons/stock_dropshipping/__init__.py
@@ -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 models
\ No newline at end of file
diff --git a/addons/stock_dropshipping/__manifest__.py b/addons/stock_dropshipping/__manifest__.py
index c00b3985a6..1cf16981bb 100644
--- a/addons/stock_dropshipping/__manifest__.py
+++ b/addons/stock_dropshipping/__manifest__.py
@@ -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.
{
'name': 'Drop Shipping',
@@ -20,7 +20,7 @@ going through the retailer's warehouse. In this case no
internal transfer document is needed.
""",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['purchase', 'sale_stock'],
'data': ['data/stock_data.xml'],
'test': [
diff --git a/addons/stock_dropshipping/data/stock_data.xml b/addons/stock_dropshipping/data/stock_data.xml
index 426f5845ab..d4157f2b0c 100644
--- a/addons/stock_dropshipping/data/stock_data.xml
+++ b/addons/stock_dropshipping/data/stock_data.xml
@@ -1,5 +1,5 @@
-
+Dropship
@@ -37,4 +37,4 @@
-
+
diff --git a/addons/stock_dropshipping/models/__init__.py b/addons/stock_dropshipping/models/__init__.py
index c617a28246..df179ff475 100644
--- a/addons/stock_dropshipping/models/__init__.py
+++ b/addons/stock_dropshipping/models/__init__.py
@@ -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 purchase
\ No newline at end of file
diff --git a/addons/stock_dropshipping/models/purchase.py b/addons/stock_dropshipping/models/purchase.py
index 2a3e32d126..399d8bdbd9 100644
--- a/addons/stock_dropshipping/models/purchase.py
+++ b/addons/stock_dropshipping/models/purchase.py
@@ -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 api, models, fields
+from flectra import api, models, fields
class PurchaseOrderLine(models.Model):
diff --git a/addons/stock_dropshipping/test/dropship.yml b/addons/stock_dropshipping/test/dropship.yml
index 3bb1f5eb8d..6369dc0d29 100644
--- a/addons/stock_dropshipping/test/dropship.yml
+++ b/addons/stock_dropshipping/test/dropship.yml
@@ -46,7 +46,7 @@
Check a quotation was created to a certain vendor and confirm so it becomes a confirmed purchase order
-
!python {model: purchase.order, id: False}: |
- from odoo import netsvc
+ from flectra import netsvc
sale_record = self.env["sale.order"].browse(ref('sale_order_drp_shpng'))
purchase = self.env['purchase.order'].search([('partner_id', '=', ref('supplier_dropship'))])
purchase.button_confirm()
diff --git a/addons/stock_landed_costs/__init__.py b/addons/stock_landed_costs/__init__.py
index e9917144f6..0d24eb543f 100644
--- a/addons/stock_landed_costs/__init__.py
+++ b/addons/stock_landed_costs/__init__.py
@@ -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 models
\ No newline at end of file
diff --git a/addons/stock_landed_costs/__manifest__.py b/addons/stock_landed_costs/__manifest__.py
index 436a601b9b..21425b9947 100644
--- a/addons/stock_landed_costs/__manifest__.py
+++ b/addons/stock_landed_costs/__manifest__.py
@@ -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.
{
'name': 'WMS Landed Costs',
@@ -10,7 +10,7 @@ Landed Costs Management
=======================
This module allows you to easily add extra costs on pickings and decide the split of these costs among their stock moves in order to take them into account in your stock valuation.
""",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['stock_account', 'purchase'],
'category': 'Warehouse',
'sequence': 16,
diff --git a/addons/stock_landed_costs/data/stock_landed_cost_data.xml b/addons/stock_landed_costs/data/stock_landed_cost_data.xml
index 8746c5e026..4c9abbd068 100644
--- a/addons/stock_landed_costs/data/stock_landed_cost_data.xml
+++ b/addons/stock_landed_costs/data/stock_landed_cost_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -15,4 +15,4 @@
4
-
+
diff --git a/addons/stock_landed_costs/models/__init__.py b/addons/stock_landed_costs/models/__init__.py
index 15a94628e9..727c4561b0 100644
--- a/addons/stock_landed_costs/models/__init__.py
+++ b/addons/stock_landed_costs/models/__init__.py
@@ -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 product
from . import stock_landed_cost
diff --git a/addons/stock_landed_costs/models/product.py b/addons/stock_landed_costs/models/product.py
index 1b124a20b3..f3d8dbb61d 100644
--- a/addons/stock_landed_costs/models/product.py
+++ b/addons/stock_landed_costs/models/product.py
@@ -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
SPLIT_METHOD = [
('equal', 'Equal'),
diff --git a/addons/stock_landed_costs/models/stock_landed_cost.py b/addons/stock_landed_costs/models/stock_landed_cost.py
index f61014caf0..cc46f0e4a6 100644
--- a/addons/stock_landed_costs/models/stock_landed_cost.py
+++ b/addons/stock_landed_costs/models/stock_landed_cost.py
@@ -1,12 +1,12 @@
# -*- 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 collections import defaultdict
-from odoo import api, fields, models, tools, _
-from odoo.addons import decimal_precision as dp
-from odoo.addons.stock_landed_costs.models import product
-from odoo.exceptions import UserError
+from flectra import api, fields, models, tools, _
+from flectra.addons import decimal_precision as dp
+from flectra.addons.stock_landed_costs.models import product
+from flectra.exceptions import UserError
class StockMove(models.Model):
diff --git a/addons/stock_landed_costs/tests/common.py b/addons/stock_landed_costs/tests/common.py
index 34158874a0..6f4d51f78e 100644
--- a/addons/stock_landed_costs/tests/common.py
+++ b/addons/stock_landed_costs/tests/common.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
+from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestStockLandedCostsCommon(AccountingTestCase):
diff --git a/addons/stock_landed_costs/tests/test_stock_landed_costs_purchase.py b/addons/stock_landed_costs/tests/test_stock_landed_costs_purchase.py
index ccff987ca0..e42f133947 100644
--- a/addons/stock_landed_costs/tests/test_stock_landed_costs_purchase.py
+++ b/addons/stock_landed_costs/tests/test_stock_landed_costs_purchase.py
@@ -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.
import unittest
-from odoo.addons.stock_landed_costs.tests.common import TestStockLandedCostsCommon
+from flectra.addons.stock_landed_costs.tests.common import TestStockLandedCostsCommon
class TestLandedCosts(TestStockLandedCostsCommon):
diff --git a/addons/stock_landed_costs/views/product_views.xml b/addons/stock_landed_costs/views/product_views.xml
index dc392b7a48..47e9c91e42 100644
--- a/addons/stock_landed_costs/views/product_views.xml
+++ b/addons/stock_landed_costs/views/product_views.xml
@@ -1,5 +1,5 @@
-
+product.template.landed.cost.form
@@ -15,4 +15,4 @@
-
+
diff --git a/addons/stock_landed_costs/views/res_config_settings_views.xml b/addons/stock_landed_costs/views/res_config_settings_views.xml
index 4117f94c4d..f6054e5ede 100644
--- a/addons/stock_landed_costs/views/res_config_settings_views.xml
+++ b/addons/stock_landed_costs/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.stock.landed.costs
@@ -14,4 +14,4 @@
-
+
diff --git a/addons/stock_landed_costs/views/stock_landed_cost_views.xml b/addons/stock_landed_costs/views/stock_landed_cost_views.xml
index 1e66b113b4..3c848d5d99 100644
--- a/addons/stock_landed_costs/views/stock_landed_cost_views.xml
+++ b/addons/stock_landed_costs/views/stock_landed_cost_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -243,4 +243,4 @@
-
+
diff --git a/addons/stock_picking_batch/__init__.py b/addons/stock_picking_batch/__init__.py
index 2ae6446f9d..35c9cee77f 100644
--- a/addons/stock_picking_batch/__init__.py
+++ b/addons/stock_picking_batch/__init__.py
@@ -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 models
from . import wizard
diff --git a/addons/stock_picking_batch/__manifest__.py b/addons/stock_picking_batch/__manifest__.py
index 498ea901fd..ff7ca5795a 100644
--- a/addons/stock_picking_batch/__manifest__.py
+++ b/addons/stock_picking_batch/__manifest__.py
@@ -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.
{
'name': 'Warehouse Management: Batch Picking',
@@ -9,7 +9,7 @@
This module adds the batch picking option in warehouse management
=================================================================
""",
- 'website': 'https://www.odoo.com/page/warehouse',
+ 'website': 'https://flectrahq.com/page/warehouse',
'depends': ['stock'],
'data': [
'security/ir.model.access.csv',
diff --git a/addons/stock_picking_batch/data/stock_picking_batch_data.xml b/addons/stock_picking_batch/data/stock_picking_batch_data.xml
index 9c22ab9777..5ae89ed5ed 100644
--- a/addons/stock_picking_batch/data/stock_picking_batch_data.xml
+++ b/addons/stock_picking_batch/data/stock_picking_batch_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
5
-
+
diff --git a/addons/stock_picking_batch/data/stock_picking_batch_demo.xml b/addons/stock_picking_batch/data/stock_picking_batch_demo.xml
index 0c3434bb28..efbd3df3a3 100644
--- a/addons/stock_picking_batch/data/stock_picking_batch_demo.xml
+++ b/addons/stock_picking_batch/data/stock_picking_batch_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -132,4 +132,4 @@
-
+
diff --git a/addons/stock_picking_batch/models/__init__.py b/addons/stock_picking_batch/models/__init__.py
index 6f4ec3d803..5651775031 100644
--- a/addons/stock_picking_batch/models/__init__.py
+++ b/addons/stock_picking_batch/models/__init__.py
@@ -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 stock_picking_batch
diff --git a/addons/stock_picking_batch/models/stock_picking_batch.py b/addons/stock_picking_batch/models/stock_picking_batch.py
index 5a92147f7c..e92dc8514e 100644
--- a/addons/stock_picking_batch/models/stock_picking_batch.py
+++ b/addons/stock_picking_batch/models/stock_picking_batch.py
@@ -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 api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class StockPickingBatch(models.Model):
diff --git a/addons/stock_picking_batch/tests/__init__.py b/addons/stock_picking_batch/tests/__init__.py
index 4ca7c88d9f..73f28598d8 100644
--- a/addons/stock_picking_batch/tests/__init__.py
+++ b/addons/stock_picking_batch/tests/__init__.py
@@ -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_batch_picking
diff --git a/addons/stock_picking_batch/tests/test_batch_picking.py b/addons/stock_picking_batch/tests/test_batch_picking.py
index 6a8a1e9d39..b51b861429 100644
--- a/addons/stock_picking_batch/tests/test_batch_picking.py
+++ b/addons/stock_picking_batch/tests/test_batch_picking.py
@@ -1,4 +1,4 @@
-from odoo.tests.common import TransactionCase
+from flectra.tests.common import TransactionCase
class TestBatchPicking(TransactionCase):
@@ -222,4 +222,4 @@ class TestBatchPicking(TransactionCase):
# ensure that quantity for picking has been moved
self.assertFalse(quant_A)
- self.assertFalse(quant_B)
\ No newline at end of file
+ self.assertFalse(quant_B)
\ No newline at end of file
diff --git a/addons/stock_picking_batch/views/stock_picking_batch_views.xml b/addons/stock_picking_batch/views/stock_picking_batch_views.xml
index 4277b2172d..be14f73c09 100644
--- a/addons/stock_picking_batch/views/stock_picking_batch_views.xml
+++ b/addons/stock_picking_batch/views/stock_picking_batch_views.xml
@@ -1,5 +1,5 @@
-
+stock.picking.batch.form
@@ -141,4 +141,4 @@
-
+
diff --git a/addons/stock_picking_batch/wizard/__init__.py b/addons/stock_picking_batch/wizard/__init__.py
index 92e3d6e014..b4ff40b2cc 100644
--- a/addons/stock_picking_batch/wizard/__init__.py
+++ b/addons/stock_picking_batch/wizard/__init__.py
@@ -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 stock_picking_to_batch
from . import stock_immediate_transfer
diff --git a/addons/stock_picking_batch/wizard/stock_immediate_transfer.py b/addons/stock_picking_batch/wizard/stock_immediate_transfer.py
index 9361d18dbe..dc34764391 100644
--- a/addons/stock_picking_batch/wizard/stock_immediate_transfer.py
+++ b/addons/stock_picking_batch/wizard/stock_immediate_transfer.py
@@ -1,4 +1,4 @@
-from odoo import models, fields, api
+from flectra import models, fields, api
class StockImmediateTransfer(models.TransientModel):
diff --git a/addons/stock_picking_batch/wizard/stock_picking_to_batch.py b/addons/stock_picking_batch/wizard/stock_picking_to_batch.py
index c25b97bcad..000279df1b 100644
--- a/addons/stock_picking_batch/wizard/stock_picking_to_batch.py
+++ b/addons/stock_picking_batch/wizard/stock_picking_to_batch.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class StockPickingToBatch(models.TransientModel):
diff --git a/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml b/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml
index 9f994be520..0804b467c3 100644
--- a/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml
+++ b/addons/stock_picking_batch/wizard/stock_picking_to_batch_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -34,4 +34,4 @@
view_mode="form" target="new" view_type="form"
/>
-
+
diff --git a/addons/survey/__init__.py b/addons/survey/__init__.py
index c158f87e14..f06a436c4c 100644
--- a/addons/survey/__init__.py
+++ b/addons/survey/__init__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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
diff --git a/addons/survey/__manifest__.py b/addons/survey/__manifest__.py
index b297292aa7..31e1d032f7 100644
--- a/addons/survey/__manifest__.py
+++ b/addons/survey/__manifest__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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.
{
'name': 'Survey',
@@ -16,7 +16,7 @@ answers of question and according to that survey is done. Partners are also
sent mails with personal token for the invitation of the survey.
""",
'summary': 'Create surveys, collect answers and print statistics',
- 'website': 'https://www.odoo.com/page/survey',
+ 'website': 'https://flectrahq.com/page/survey',
'depends': ['mail', 'website'],
'data': [
'security/survey_security.xml',
diff --git a/addons/survey/controllers/__init__.py b/addons/survey/controllers/__init__.py
index e425c18c14..d8cb81828f 100644
--- a/addons/survey/controllers/__init__.py
+++ b/addons/survey/controllers/__init__.py
@@ -1,4 +1,4 @@
# -*- encoding: 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 main
diff --git a/addons/survey/controllers/main.py b/addons/survey/controllers/main.py
index e73e838742..c566470a81 100644
--- a/addons/survey/controllers/main.py
+++ b/addons/survey/controllers/main.py
@@ -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.
import json
import logging
@@ -7,9 +7,9 @@ import werkzeug
from datetime import datetime
from math import ceil
-from odoo import fields, http, SUPERUSER_ID
-from odoo.http import request
-from odoo.tools import ustr
+from flectra import fields, http, SUPERUSER_ID
+from flectra.http import request
+from flectra.tools import ustr
_logger = logging.getLogger(__name__)
diff --git a/addons/survey/data/survey_demo_feedback.xml b/addons/survey/data/survey_demo_feedback.xml
index 3d3285271a..710f8f9c4f 100644
--- a/addons/survey/data/survey_demo_feedback.xml
+++ b/addons/survey/data/survey_demo_feedback.xml
@@ -1,5 +1,5 @@
-
+
@@ -12,7 +12,7 @@
- About your Odoo usage
+ About your Flectra usage1<p></p>
@@ -20,7 +20,7 @@
1
- Are you using Odoo on a daily basis?
+ Are you using Flectra on a daily basis?simple_choicedropdown
@@ -38,7 +38,7 @@
3
- Yes, I use the online version of Odoo
+ Yes, I use the online version of Flectra
@@ -88,13 +88,13 @@
Ergonomy and ease of use2
- <p>These questions relate to the ergonomy and ease of use of Odoo. Try to remind your firsts days on Odoo and
+ <p>These questions relate to the ergonomy and ease of use of Flectra. Try to remind your firsts days on Flectra and
what have been your difficulties.</p>1
- What do you think about the documentation available on doc.odoo.com?
+ What do you think about the documentation available on doc.flectra.com?matrixsimple
@@ -132,7 +132,7 @@ what have been your difficulties.</p>
3
- I use the contextual help in Odoo
+ I use the contextual help in Flectra
@@ -147,7 +147,7 @@ what have been your difficulties.</p>
2
- What do you think about the process views of Odoo, available in the web client ?
+ What do you think about the process views of Flectra, available in the web client ?matrixsimple
@@ -175,7 +175,7 @@ what have been your difficulties.</p>
1
- They help new users to understand Odoo
+ They help new users to understand Flectra
@@ -361,7 +361,7 @@ what have been your difficulties.</p>
1
- How do you contribute or plan to contribute to Odoo?
+ How do you contribute or plan to contribute to Flectra?multiple_choice6
@@ -408,7 +408,7 @@ what have been your difficulties.</p>
Questions for developers4
- <p>If you do not contribute or develop in Odoo, skip this page.</p>
+ <p>If you do not contribute or develop in Flectra, skip this page.</p>
@@ -420,7 +420,7 @@ what have been your difficulties.</p>
1
- I use Github, like all official Odoo projects
+ I use Github, like all official Flectra projects
@@ -438,4 +438,4 @@ what have been your difficulties.</p>
I do not publish my developments
-
+
diff --git a/addons/survey/data/survey_demo_user.xml b/addons/survey/data/survey_demo_user.xml
index 0daa9eb465..ebd6b48f90 100644
--- a/addons/survey/data/survey_demo_user.xml
+++ b/addons/survey/data/survey_demo_user.xml
@@ -1,9 +1,9 @@
-
+
-
+
diff --git a/addons/survey/data/survey_stages.xml b/addons/survey/data/survey_stages.xml
index 87cefb946c..0e4cc9356f 100644
--- a/addons/survey/data/survey_stages.xml
+++ b/addons/survey/data/survey_stages.xml
@@ -1,5 +1,5 @@
-
+
@@ -27,4 +27,4 @@
-
+
diff --git a/addons/survey/models/__init__.py b/addons/survey/models/__init__.py
index 26edfafe8a..53ec0f30dc 100644
--- a/addons/survey/models/__init__.py
+++ b/addons/survey/models/__init__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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 survey
from . import ir_autovacuum
diff --git a/addons/survey/models/ir_autovacuum.py b/addons/survey/models/ir_autovacuum.py
index 466cfda6f0..6632550a00 100644
--- a/addons/survey/models/ir_autovacuum.py
+++ b/addons/survey/models/ir_autovacuum.py
@@ -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 api, models
+from flectra import api, models
class AutoVacuum(models.AbstractModel):
diff --git a/addons/survey/models/survey.py b/addons/survey/models/survey.py
index 99faaaa5b8..989f05b0b8 100644
--- a/addons/survey/models/survey.py
+++ b/addons/survey/models/survey.py
@@ -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.
import datetime
import logging
@@ -9,9 +9,9 @@ from collections import Counter, OrderedDict
from itertools import product
from werkzeug import urls
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.addons.http_routing.models.ir_http import slug
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.addons.http_routing.models.ir_http import slug
+from flectra.exceptions import UserError, ValidationError
email_validator = re.compile(r"[^@]+@[^@]+\.[^@]+")
_logger = logging.getLogger(__name__)
diff --git a/addons/survey/security/survey_security.xml b/addons/survey/security/survey_security.xml
index 357e939525..b29bc9fdff 100644
--- a/addons/survey/security/survey_security.xml
+++ b/addons/survey/security/survey_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -76,4 +76,4 @@
-
+
diff --git a/addons/survey/static/src/js/survey.js b/addons/survey/static/src/js/survey.js
index 230003de67..80d8fa088f 100644
--- a/addons/survey/static/src/js/survey.js
+++ b/addons/survey/static/src/js/survey.js
@@ -1,4 +1,4 @@
-odoo.define('survey.survey', function (require) {
+flectra.define('survey.survey', function (require) {
'use strict';
require('web.dom_ready');
diff --git a/addons/survey/static/src/js/survey_result.js b/addons/survey/static/src/js/survey_result.js
index 373296ba8e..ad861342a4 100644
--- a/addons/survey/static/src/js/survey_result.js
+++ b/addons/survey/static/src/js/survey_result.js
@@ -1,4 +1,4 @@
-odoo.define('survey.result', function (require) {
+flectra.define('survey.result', function (require) {
'use strict';
require('web.dom_ready');
diff --git a/addons/survey/static/src/js/tour_test_survey.js b/addons/survey/static/src/js/tour_test_survey.js
index bf0ae59070..4c3de5086e 100644
--- a/addons/survey/static/src/js/tour_test_survey.js
+++ b/addons/survey/static/src/js/tour_test_survey.js
@@ -1,4 +1,4 @@
-odoo.define('survey.tour_test_survey', function (require) {
+flectra.define('survey.tour_test_survey', function (require) {
'use strict';
var tour = require('web_tour.tour');
@@ -32,7 +32,7 @@ tour.register('test_survey', {
trigger: 'button[value="next"]',
},
// Page-2
- // Question: What do you think about the documentation available on doc.odoo.com?
+ // Question: What do you think about the documentation available on doc.flectra.com?
{
content: "For 'It is up-to-date' checking 'Totally disagree'",
trigger: 'input[name="1_2_3_15"][value="11"]',
@@ -44,7 +44,7 @@ tour.register('test_survey', {
run: 'text 12',
},
{
- content: "For 'I use the contextual help in Odoo' checking 'Agree'",
+ content: "For 'I use the contextual help in Flectra' checking 'Agree'",
trigger: 'input[name="1_2_3_17"][value="13"]',
run: 'text 13',
},
@@ -58,9 +58,9 @@ tour.register('test_survey', {
trigger: 'input[name="1_2_3_19"][value="12"]',
run: 'text 12',
},
- // Question: What do you think about the process views of Odoo, available in the web client ?
+ // Question: What do you think about the process views of Flectra, available in the web client ?
{
- content: "For 'They help new users to understand Odoo' checking 'Totally disagree'",
+ content: "For 'They help new users to understand Flectra' checking 'Totally disagree'",
trigger: 'input[name="1_2_4_24"][value="20"]',
run: 'text 20',
},
@@ -154,7 +154,7 @@ tour.register('test_survey', {
trigger: 'button[value="next"]',
},
// Page-3
- // Question: How do you contribute or plan to contribute to Odoo?
+ // Question: How do you contribute or plan to contribute to Flectra?
{
content: "Checking 'I would like to contribute but I don not know how?'",
trigger: 'input[name="1_3_10_53"][value="53"]',
diff --git a/addons/survey/tests/__init__.py b/addons/survey/tests/__init__.py
index 12f614f03b..7c04eb1f3a 100644
--- a/addons/survey/tests/__init__.py
+++ b/addons/survey/tests/__init__.py
@@ -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 test_survey
from . import test_survey_ui
diff --git a/addons/survey/tests/test_survey.py b/addons/survey/tests/test_survey.py
index c767b2ece4..8de62fe306 100644
--- a/addons/survey/tests/test_survey.py
+++ b/addons/survey/tests/test_survey.py
@@ -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.
import random
import re
@@ -8,10 +8,10 @@ from itertools import product
from werkzeug import urls
-from odoo import _
-from odoo.addons.http_routing.models.ir_http import slug
-from odoo.exceptions import UserError
-from odoo.tests.common import TransactionCase
+from flectra import _
+from flectra.addons.http_routing.models.ir_http import slug
+from flectra.exceptions import UserError
+from flectra.tests.common import TransactionCase
class TestSurvey(TransactionCase):
diff --git a/addons/survey/tests/test_survey_ui.py b/addons/survey/tests/test_survey_ui.py
index 8c1b4616eb..47004a0894 100644
--- a/addons/survey/tests/test_survey_ui.py
+++ b/addons/survey/tests/test_survey_ui.py
@@ -1,17 +1,17 @@
-import odoo.tests
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
+import flectra.tests
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
-class TestUi(odoo.tests.HttpCase):
+class TestUi(flectra.tests.HttpCase):
post_install = True
at_install = False
def test_01_admin_survey_tour(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="admin")
+ self.phantom_js("/", "flectra.__DEBUG__.services['web_tour.tour'].run('test_survey')", "flectra.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="admin")
def test_02_demo_survey_tour(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="demo")
+ self.phantom_js("/", "flectra.__DEBUG__.services['web_tour.tour'].run('test_survey')", "flectra.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="demo")
def test_03_public_survey_tour(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready")
+ self.phantom_js("/", "flectra.__DEBUG__.services['web_tour.tour'].run('test_survey')", "flectra.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready")
diff --git a/addons/survey/views/survey_result.xml b/addons/survey/views/survey_result.xml
index 40870ce610..120f08bad8 100644
--- a/addons/survey/views/survey_result.xml
+++ b/addons/survey/views/survey_result.xml
@@ -1,5 +1,5 @@
-
+
@@ -352,4 +352,4 @@
-
+
diff --git a/addons/survey/views/survey_templates.xml b/addons/survey/views/survey_templates.xml
index 3694f439c6..c90d041d07 100644
--- a/addons/survey/views/survey_templates.xml
+++ b/addons/survey/views/survey_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -320,4 +320,4 @@
-
+
diff --git a/addons/survey/views/survey_views.xml b/addons/survey/views/survey_views.xml
index f3955e65d1..a9278711d7 100644
--- a/addons/survey/views/survey_views.xml
+++ b/addons/survey/views/survey_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -704,4 +704,4 @@ if records:
-
+
diff --git a/addons/survey/wizard/__init__.py b/addons/survey/wizard/__init__.py
index 4b35429344..3d74f49f1f 100644
--- a/addons/survey/wizard/__init__.py
+++ b/addons/survey/wizard/__init__.py
@@ -1,4 +1,4 @@
# -*- encoding: 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 survey_email_compose_message
diff --git a/addons/survey/wizard/survey_email_compose_message.py b/addons/survey/wizard/survey_email_compose_message.py
index f23d836bc3..7e1e02867b 100644
--- a/addons/survey/wizard/survey_email_compose_message.py
+++ b/addons/survey/wizard/survey_email_compose_message.py
@@ -1,14 +1,14 @@
# -*- 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.
import re
import uuid
from werkzeug import urls
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import pycompat
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import pycompat
emails_split = re.compile(r"[;,\n\r]+")
email_validator = re.compile(r"[^@]+@[^@]+\.[^@]+")
diff --git a/addons/survey/wizard/survey_email_compose_message.xml b/addons/survey/wizard/survey_email_compose_message.xml
index 3ad78c4785..c83782d67f 100644
--- a/addons/survey/wizard/survey_email_compose_message.xml
+++ b/addons/survey/wizard/survey_email_compose_message.xml
@@ -1,5 +1,5 @@
-
+
@@ -84,4 +84,4 @@
-
+
diff --git a/addons/survey_crm/__init__.py b/addons/survey_crm/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/survey_crm/__init__.py
+++ b/addons/survey_crm/__init__.py
@@ -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 models
diff --git a/addons/survey_crm/__manifest__.py b/addons/survey_crm/__manifest__.py
index 845bb9e3c3..bf3dab5750 100644
--- a/addons/survey_crm/__manifest__.py
+++ b/addons/survey_crm/__manifest__.py
@@ -1,11 +1,11 @@
# -*- 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.
{
'name': 'Survey CRM',
'version': '2.0',
'category': 'Marketing',
'complexity': 'easy',
- 'website': 'https://www.odoo.com/page/survey',
+ 'website': 'https://flectrahq.com/page/survey',
'description': """
Survey - CRM (bridge module)
=================================================================================
diff --git a/addons/survey_crm/models/__init__.py b/addons/survey_crm/models/__init__.py
index 161185206b..303d169b6b 100644
--- a/addons/survey_crm/models/__init__.py
+++ b/addons/survey_crm/models/__init__.py
@@ -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 survey
diff --git a/addons/survey_crm/models/survey.py b/addons/survey_crm/models/survey.py
index ea7db12ffc..36db372dd9 100644
--- a/addons/survey_crm/models/survey.py
+++ b/addons/survey_crm/models/survey.py
@@ -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 api, models
+from flectra import api, models
class SurveyComposeMessage(models.TransientModel):
diff --git a/addons/survey_crm/views/survey_crm_views.xml b/addons/survey_crm/views/survey_crm_views.xml
index 3531d95daf..7db8a4a219 100644
--- a/addons/survey_crm/views/survey_crm_views.xml
+++ b/addons/survey_crm/views/survey_crm_views.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/theme_bootswatch/__init__.py b/addons/theme_bootswatch/__init__.py
index f331cf7cd7..b3fbb61bae 100644
--- a/addons/theme_bootswatch/__init__.py
+++ b/addons/theme_bootswatch/__init__.py
@@ -1,2 +1,2 @@
# -*- encoding: 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.
diff --git a/addons/theme_bootswatch/__manifest__.py b/addons/theme_bootswatch/__manifest__.py
index 25412f8270..54a0349e9b 100644
--- a/addons/theme_bootswatch/__manifest__.py
+++ b/addons/theme_bootswatch/__manifest__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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.
{
'name': 'Bootswatch Theme',
diff --git a/addons/theme_bootswatch/data/theme_bootswatch_data.xml b/addons/theme_bootswatch/data/theme_bootswatch_data.xml
index 04cf520a69..d2a85977bf 100644
--- a/addons/theme_bootswatch/data/theme_bootswatch_data.xml
+++ b/addons/theme_bootswatch/data/theme_bootswatch_data.xml
@@ -1,5 +1,5 @@
-
+Website/
@@ -9,4 +9,4 @@
open
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/cosmo/fix.css b/addons/theme_bootswatch/static/src/less/cosmo/fix.css
index 134555c71b..fa54f56d22 100644
--- a/addons/theme_bootswatch/static/src/less/cosmo/fix.css
+++ b/addons/theme_bootswatch/static/src/less/cosmo/fix.css
@@ -4,4 +4,4 @@
}
#web_editor-top-edit a.btn-link {
color: #fff;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/cyborg/bootswatch.less b/addons/theme_bootswatch/static/src/less/cyborg/bootswatch.less
index eb5f6dff00..62afea7ba8 100644
--- a/addons/theme_bootswatch/static/src/less/cyborg/bootswatch.less
+++ b/addons/theme_bootswatch/static/src/less/cyborg/bootswatch.less
@@ -161,4 +161,4 @@ a.thumbnail.active {
h1, h2, h3, h4, h5, h6 {
color: #fff;
}
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/cyborg/fix.css b/addons/theme_bootswatch/static/src/less/cyborg/fix.css
index e93b2aa8de..c683ba450d 100644
--- a/addons/theme_bootswatch/static/src/less/cyborg/fix.css
+++ b/addons/theme_bootswatch/static/src/less/cyborg/fix.css
@@ -27,4 +27,4 @@ ul.wizard .chevron:before {
}
.popover.right .arrow:after {
border-right-color: #333;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/flatly/fix.css b/addons/theme_bootswatch/static/src/less/flatly/fix.css
index c4a016443a..76ac8951f7 100644
--- a/addons/theme_bootswatch/static/src/less/flatly/fix.css
+++ b/addons/theme_bootswatch/static/src/less/flatly/fix.css
@@ -1,3 +1,3 @@
#web_editor-top-edit a.btn-link {
color: #2c3e50;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/journal/fix.css b/addons/theme_bootswatch/static/src/less/journal/fix.css
index 0631077cc0..f9d8b70941 100644
--- a/addons/theme_bootswatch/static/src/less/journal/fix.css
+++ b/addons/theme_bootswatch/static/src/less/journal/fix.css
@@ -3,4 +3,4 @@
}
#web_editor-top-edit a.btn-link {
color: #fff;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/readable/fix.css b/addons/theme_bootswatch/static/src/less/readable/fix.css
index 8e22d31861..348d1a048a 100644
--- a/addons/theme_bootswatch/static/src/less/readable/fix.css
+++ b/addons/theme_bootswatch/static/src/less/readable/fix.css
@@ -1,3 +1,3 @@
.oe_product section .text-info {
color: #2A9CBE;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/simplex/bootswatch.less b/addons/theme_bootswatch/static/src/less/simplex/bootswatch.less
index 9587dd0ec8..4c5ebbc23a 100644
--- a/addons/theme_bootswatch/static/src/less/simplex/bootswatch.less
+++ b/addons/theme_bootswatch/static/src/less/simplex/bootswatch.less
@@ -139,4 +139,4 @@ label {
// Progress bars ==============================================================
-// Containers =================================================================
\ No newline at end of file
+// Containers =================================================================
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/simplex/fix.css b/addons/theme_bootswatch/static/src/less/simplex/fix.css
index b57fda3a4d..323fae25e4 100644
--- a/addons/theme_bootswatch/static/src/less/simplex/fix.css
+++ b/addons/theme_bootswatch/static/src/less/simplex/fix.css
@@ -1,3 +1,3 @@
#web_editor-top-edit a.btn-link {
color: #fff;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/slate/bootswatch.less b/addons/theme_bootswatch/static/src/less/slate/bootswatch.less
index db2457a3f0..07efb33a67 100644
--- a/addons/theme_bootswatch/static/src/less/slate/bootswatch.less
+++ b/addons/theme_bootswatch/static/src/less/slate/bootswatch.less
@@ -372,4 +372,4 @@ a.thumbnail.active {
.panel-heading {
border-color: #000;
}
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/spacelab/bootswatch.less b/addons/theme_bootswatch/static/src/less/spacelab/bootswatch.less
index 16a6678dc5..aded08ac3a 100644
--- a/addons/theme_bootswatch/static/src/less/spacelab/bootswatch.less
+++ b/addons/theme_bootswatch/static/src/less/spacelab/bootswatch.less
@@ -136,4 +136,4 @@
color: #fff;
}
}
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/spacelab/fix.css b/addons/theme_bootswatch/static/src/less/spacelab/fix.css
index 6d01e9a248..04fb029bb3 100644
--- a/addons/theme_bootswatch/static/src/less/spacelab/fix.css
+++ b/addons/theme_bootswatch/static/src/less/spacelab/fix.css
@@ -5,4 +5,4 @@
.carousel .carousel-caption.content h4,
.carousel .carousel-caption.content h5 {
color: #ccc;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/theme_bootswatch/static/src/less/united/bootswatch.less b/addons/theme_bootswatch/static/src/less/united/bootswatch.less
index dbe7aba6df..9e692cf8e9 100644
--- a/addons/theme_bootswatch/static/src/less/united/bootswatch.less
+++ b/addons/theme_bootswatch/static/src/less/united/bootswatch.less
@@ -39,4 +39,4 @@
// Progress bars ==============================================================
-// Containers =================================================================
\ No newline at end of file
+// Containers =================================================================
\ No newline at end of file
diff --git a/addons/theme_bootswatch/views/theme_bootswatch_templates.xml b/addons/theme_bootswatch/views/theme_bootswatch_templates.xml
index b29854ed78..db264ffe8b 100644
--- a/addons/theme_bootswatch/views/theme_bootswatch_templates.xml
+++ b/addons/theme_bootswatch/views/theme_bootswatch_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -195,4 +195,4 @@
-
+
diff --git a/addons/theme_default/__init__.py b/addons/theme_default/__init__.py
index f331cf7cd7..b3fbb61bae 100644
--- a/addons/theme_default/__init__.py
+++ b/addons/theme_default/__init__.py
@@ -1,2 +1,2 @@
# -*- encoding: 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.
diff --git a/addons/theme_default/__manifest__.py b/addons/theme_default/__manifest__.py
index 7d5a447968..5e236b5181 100644
--- a/addons/theme_default/__manifest__.py
+++ b/addons/theme_default/__manifest__.py
@@ -1,5 +1,5 @@
# -*- encoding: 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.
{
'name': 'Default Theme',
diff --git a/addons/theme_default/data/theme_default_data.xml b/addons/theme_default/data/theme_default_data.xml
index 04cf520a69..d2a85977bf 100644
--- a/addons/theme_default/data/theme_default_data.xml
+++ b/addons/theme_default/data/theme_default_data.xml
@@ -1,5 +1,5 @@
-
+Website/
@@ -9,4 +9,4 @@
open
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/theme_default/static/src/less/colors.less b/addons/theme_default/static/src/less/colors.less
index fbfa3d3526..5b8a4a1ed6 100644
--- a/addons/theme_default/static/src/less/colors.less
+++ b/addons/theme_default/static/src/less/colors.less
@@ -92,4 +92,4 @@
.text-red { color: @color-red;}
.text-pink { color: @color-pink;}
.text-purple { color: @color-purple;}
-.text-brown { color: @color-brown;}
\ No newline at end of file
+.text-brown { color: @color-brown;}
\ No newline at end of file
diff --git a/addons/theme_default/static/src/less/option_color_amethyst.less b/addons/theme_default/static/src/less/option_color_amethyst.less
index ef509d6325..5284b9eec3 100644
--- a/addons/theme_default/static/src/less/option_color_amethyst.less
+++ b/addons/theme_default/static/src/less/option_color_amethyst.less
@@ -74,4 +74,4 @@ footer h4 {
}
footer .fa {
color: @color-concrete;
- }
\ No newline at end of file
+ }
\ No newline at end of file
diff --git a/addons/theme_default/views/theme_default_templates.xml b/addons/theme_default/views/theme_default_templates.xml
index b3cb5a120c..1ec479bf2f 100644
--- a/addons/theme_default/views/theme_default_templates.xml
+++ b/addons/theme_default/views/theme_default_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -169,4 +169,4 @@
-
+
diff --git a/addons/transifex/__init__.py b/addons/transifex/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/transifex/__init__.py
+++ b/addons/transifex/__init__.py
@@ -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 models
diff --git a/addons/transifex/__manifest__.py b/addons/transifex/__manifest__.py
index 98a1341bce..ae1ef7a33e 100644
--- a/addons/transifex/__manifest__.py
+++ b/addons/transifex/__manifest__.py
@@ -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.
{
'name': 'Transifex integration',
diff --git a/addons/transifex/data/ir_translation_view.xml b/addons/transifex/data/ir_translation_view.xml
index bd6541b956..603997008d 100644
--- a/addons/transifex/data/ir_translation_view.xml
+++ b/addons/transifex/data/ir_translation_view.xml
@@ -1,5 +1,5 @@
-
+ir.translation.transifexir.translation
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/transifex/data/transifex_data.xml b/addons/transifex/data/transifex_data.xml
index a8faefd166..17941e5642 100644
--- a/addons/transifex/data/transifex_data.xml
+++ b/addons/transifex/data/transifex_data.xml
@@ -1,9 +1,9 @@
-
+transifex.project_url
- https://www.transifex.com/odoo
+ https://www.transifex.com/flectra
-
+
diff --git a/addons/transifex/models/__init__.py b/addons/transifex/models/__init__.py
index 76fec4841b..910d6fe373 100644
--- a/addons/transifex/models/__init__.py
+++ b/addons/transifex/models/__init__.py
@@ -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 ir_translation
diff --git a/addons/transifex/models/ir_translation.py b/addons/transifex/models/ir_translation.py
index 46ceecdb91..1252e5ef18 100644
--- a/addons/transifex/models/ir_translation.py
+++ b/addons/transifex/models/ir_translation.py
@@ -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.
try:
from configparser import ConfigParser
@@ -10,8 +10,8 @@ from os.path import join as opj
import os
import werkzeug
-from odoo import models, fields
-from odoo.modules.module import ad_paths
+from flectra import models, fields
+from flectra.modules.module import ad_paths
class IrTranslation(models.Model):
@@ -22,7 +22,7 @@ class IrTranslation(models.Model):
def _get_transifex_url(self):
""" Construct transifex URL based on the module on configuration """
- # e.g. 'https://www.transifex.com/odoo/'
+ # e.g. 'https://www.transifex.com/flectra/'
base_url = self.env['ir.config_parameter'].sudo().get_param('transifex.project_url')
tx_config_file = ConfigParser()
@@ -31,10 +31,10 @@ class IrTranslation(models.Model):
tx_path = opj(addon_path, '.tx', 'config')
if os.path.isfile(tx_path):
tx_config_file.read(tx_path)
- # first section is [main], after [odoo-11.sale]
+ # first section is [main], after [flectra-11.sale]
tx_sections.extend(tx_config_file.sections()[1:])
- # parent directory ad .tx/config is root directory in odoo/odoo
+ # parent directory ad .tx/config is root directory in flectra/flectra
tx_path = opj(addon_path, os.pardir, '.tx', 'config')
if os.path.isfile(tx_path):
tx_config_file.read(tx_path)
@@ -53,7 +53,7 @@ class IrTranslation(models.Model):
language_codes = dict((l.code, l.iso_code) for l in languages)
# .tx/config files contains the project reference
- # using ini files like '[odoo-master.website_sale]'
+ # using ini files like '[flectra-master.website_sale]'
translation_modules = set(self.mapped('module'))
project_modules = {}
for module in translation_modules:
@@ -78,7 +78,7 @@ class IrTranslation(models.Model):
translation.transifex_url = False
continue
- # e.g. 'https://www.transifex.com/odoo/odoo-10/translate/#fr/sale/42?q=Sale+Order'
+ # e.g. 'https://www.transifex.com/flectra/flectra-10/translate/#fr/sale/42?q=Sale+Order'
translation.transifex_url = "%(url)s/%(project)s/translate/#%(lang)s/%(module)s/42?q=%(src)s" % {
'url': base_url,
'project': project,
diff --git a/addons/utm/data/utm_data.xml b/addons/utm/data/utm_data.xml
index 13f3c11cd0..d7a29593f9 100644
--- a/addons/utm/data/utm_data.xml
+++ b/addons/utm/data/utm_data.xml
@@ -1,5 +1,5 @@
-
+Sale
@@ -59,4 +59,4 @@
Google Adwords
-
+
diff --git a/addons/utm/models/ir_http.py b/addons/utm/models/ir_http.py
index b50cfff8c0..4e020ece6d 100644
--- a/addons/utm/models/ir_http.py
+++ b/addons/utm/models/ir_http.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo.http import request
-from odoo import models
+from flectra.http import request
+from flectra import models
class IrHttp(models.AbstractModel):
diff --git a/addons/utm/models/utm.py b/addons/utm/models/utm.py
index caff437468..a49bb540f7 100644
--- a/addons/utm/models/utm.py
+++ b/addons/utm/models/utm.py
@@ -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, fields, models, SUPERUSER_ID
-from odoo.http import request
-from odoo.tools import pycompat
+from flectra import api, fields, models, SUPERUSER_ID
+from flectra.http import request
+from flectra.tools import pycompat
class UtmMedium(models.Model):
@@ -52,9 +52,9 @@ class UtmMixin(models.AbstractModel):
# methods of utm.mixin, but will ignore overridden method on crm.lead
return [
# ("URL_PARAMETER", "FIELD_NAME_MIXIN", "NAME_IN_COOKIES")
- ('utm_campaign', 'campaign_id', 'odoo_utm_campaign'),
- ('utm_source', 'source_id', 'odoo_utm_source'),
- ('utm_medium', 'medium_id', 'odoo_utm_medium'),
+ ('utm_campaign', 'campaign_id', 'flectra_utm_campaign'),
+ ('utm_source', 'source_id', 'flectra_utm_source'),
+ ('utm_medium', 'medium_id', 'flectra_utm_medium'),
]
@api.model
diff --git a/addons/utm/views/utm.xml b/addons/utm/views/utm.xml
index 860d6595c9..61498abdeb 100644
--- a/addons/utm/views/utm.xml
+++ b/addons/utm/views/utm.xml
@@ -1,5 +1,5 @@
-
+
@@ -107,4 +107,4 @@
-
+
diff --git a/addons/web/Gruntfile.js b/addons/web/Gruntfile.js
index 43b58c3b64..a4dc4034a5 100644
--- a/addons/web/Gruntfile.js
+++ b/addons/web/Gruntfile.js
@@ -17,4 +17,4 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['jshint']);
-};
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/addons/web/__init__.py b/addons/web/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/web/__init__.py
+++ b/addons/web/__init__.py
@@ -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
diff --git a/addons/web/__manifest__.py b/addons/web/__manifest__.py
index ab31c49733..55a6ee154b 100644
--- a/addons/web/__manifest__.py
+++ b/addons/web/__manifest__.py
@@ -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.
{
'name': 'Web',
diff --git a/addons/web/controllers/__init__.py b/addons/web/controllers/__init__.py
index 48cc37266c..ce0d1dcd5b 100644
--- a/addons/web/controllers/__init__.py
+++ b/addons/web/controllers/__init__.py
@@ -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 main, pivot
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index b0cf820005..49b530dc8f 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -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.
import babel.messages.pofile
import base64
@@ -30,20 +30,20 @@ from werkzeug.urls import url_decode, iri_to_uri
from xml.etree import ElementTree
-import odoo
-import odoo.modules.registry
-from odoo.api import call_kw, Environment
-from odoo.modules import get_resource_path
-from odoo.tools import crop_image, topological_sort, html_escape, pycompat
-from odoo.tools.translate import _
-from odoo.tools.misc import str2bool, xlwt, file_open
-from odoo.tools.safe_eval import safe_eval
-from odoo import http
-from odoo.http import content_disposition, dispatch_rpc, request, \
+import flectra
+import flectra.modules.registry
+from flectra.api import call_kw, Environment
+from flectra.modules import get_resource_path
+from flectra.tools import crop_image, topological_sort, html_escape, pycompat
+from flectra.tools.translate import _
+from flectra.tools.misc import str2bool, xlwt, file_open
+from flectra.tools.safe_eval import safe_eval
+from flectra import http
+from flectra.http import content_disposition, dispatch_rpc, request, \
serialize_exception as _serialize_exception, Response
-from odoo.exceptions import AccessError, UserError
-from odoo.models import check_method_name
-from odoo.service import db
+from flectra.exceptions import AccessError, UserError
+from flectra.models import check_method_name
+from flectra.service import db
_logger = logging.getLogger(__name__)
@@ -52,7 +52,7 @@ if hasattr(sys, 'frozen'):
path = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', 'views'))
loader = jinja2.FileSystemLoader(path)
else:
- loader = jinja2.PackageLoader('odoo.addons.web', "views")
+ loader = jinja2.PackageLoader('flectra.addons.web', "views")
env = jinja2.Environment(loader=loader, autoescape=True)
env.filters["json"] = json.dumps
@@ -63,7 +63,7 @@ BUNDLE_MAXAGE = 60 * 60 * 24 * 7
DBNAME_PATTERN = '^[a-zA-Z0-9][a-zA-Z0-9_.-]+$'
#----------------------------------------------------------
-# Odoo Web helpers
+# Flectra Web helpers
#----------------------------------------------------------
db_list = http.db_list
@@ -80,7 +80,7 @@ def serialize_exception(f):
se = _serialize_exception(e)
error = {
'code': 200,
- 'message': "Odoo Server Error",
+ 'message': "Flectra Server Error",
'data': se
}
return werkzeug.exceptions.InternalServerError(json.dumps(error))
@@ -168,16 +168,16 @@ def module_installed(environment):
def module_installed_bypass_session(dbname):
try:
- registry = odoo.registry(dbname)
+ registry = flectra.registry(dbname)
with registry.cursor() as cr:
return module_installed(
- environment=Environment(cr, odoo.SUPERUSER_ID, {}))
+ environment=Environment(cr, flectra.SUPERUSER_ID, {}))
except Exception:
pass
return {}
def module_boot(db=None):
- server_wide_modules = odoo.conf.server_wide_modules or ['web']
+ server_wide_modules = flectra.conf.server_wide_modules or ['web']
serverside = []
dbside = []
for i in server_wide_modules:
@@ -254,7 +254,7 @@ def manifest_list(extension, mods=None, db=None, debug=None):
db: a database name (return all installed modules in that database)
"""
if debug is not None:
- _logger.warning("odoo.addons.web.main.manifest_list(): debug parameter is deprecated")
+ _logger.warning("flectra.addons.web.main.manifest_list(): debug parameter is deprecated")
files = manifest_glob(extension, addons=mods, db=db, include_remotes=True)
return [wp for _fp, wp in files]
@@ -349,7 +349,7 @@ def generate_views(action):
action['views'] = [(view_id, view_modes[0])]
def fix_view_modes(action):
- """ For historical reasons, Odoo has weird dealings in relation to
+ """ For historical reasons, Flectra has weird dealings in relation to
view_mode and the view_type attribute (on window actions):
* one of the view modes is ``tree``, which stands for both list views
@@ -430,7 +430,7 @@ def binary_content(xmlid=None, model='ir.attachment', id=None, field='datas', un
default_mimetype=default_mimetype, access_token=access_token, env=env)
#----------------------------------------------------------
-# Odoo Web web Controllers
+# Flectra Web web Controllers
#----------------------------------------------------------
class Home(http.Controller):
@@ -472,12 +472,12 @@ class Home(http.Controller):
return http.redirect_with_hash(redirect)
if not request.uid:
- request.uid = odoo.SUPERUSER_ID
+ request.uid = flectra.SUPERUSER_ID
values = request.params.copy()
try:
values['databases'] = http.db_list()
- except odoo.exceptions.AccessDenied:
+ except flectra.exceptions.AccessDenied:
values['databases'] = None
if request.httprequest.method == 'POST':
@@ -495,7 +495,7 @@ class Home(http.Controller):
if 'login' not in values and request.session.get('auth_login'):
values['login'] = request.session.get('auth_login')
- if not odoo.tools.config['list_db']:
+ if not flectra.tools.config['list_db']:
values['disable_database_manager'] = True
response = request.render('web.login', values)
@@ -609,7 +609,7 @@ class WebClient(http.Controller):
@http.route('/web/webclient/version_info', type='json', auth="none")
def version_info(self):
- return odoo.service.common.exp_version()
+ return flectra.service.common.exp_version()
@http.route('/web/tests', type='http', auth="user")
def test_suite(self, mod=None, **kwargs):
@@ -661,17 +661,17 @@ class Database(http.Controller):
def _render_template(self, **d):
d.setdefault('manage',True)
- d['insecure'] = odoo.tools.config.verify_admin_password('admin')
- d['list_db'] = odoo.tools.config['list_db']
- d['langs'] = odoo.service.db.exp_list_lang()
- d['countries'] = odoo.service.db.exp_list_countries()
+ d['insecure'] = flectra.tools.config.verify_admin_password('admin')
+ d['list_db'] = flectra.tools.config['list_db']
+ d['langs'] = flectra.service.db.exp_list_lang()
+ d['countries'] = flectra.service.db.exp_list_countries()
d['pattern'] = DBNAME_PATTERN
# databases list
d['databases'] = []
try:
d['databases'] = http.db_list()
- d['incompatible_databases'] = odoo.service.db.list_db_incompatible(d['databases'])
- except odoo.exceptions.AccessDenied:
+ d['incompatible_databases'] = flectra.service.db.list_db_incompatible(d['databases'])
+ except flectra.exceptions.AccessDenied:
monodb = db_monodb()
if monodb:
d['databases'] = [monodb]
@@ -725,14 +725,14 @@ class Database(http.Controller):
@http.route('/web/database/backup', type='http', auth="none", methods=['POST'], csrf=False)
def backup(self, master_pwd, name, backup_format = 'zip'):
try:
- odoo.service.db.check_super(master_pwd)
+ flectra.service.db.check_super(master_pwd)
ts = datetime.datetime.utcnow().strftime("%Y-%m-%d_%H-%M-%S")
filename = "%s_%s.%s" % (name, ts, backup_format)
headers = [
('Content-Type', 'application/octet-stream; charset=binary'),
('Content-Disposition', content_disposition(filename)),
]
- dump_stream = odoo.service.db.dump_db(name, None, backup_format)
+ dump_stream = flectra.service.db.dump_db(name, None, backup_format)
response = werkzeug.wrappers.Response(dump_stream, headers=headers, direct_passthrough=True)
return response
except Exception as e:
@@ -810,7 +810,7 @@ class Session(http.Controller):
@http.route('/web/session/modules', type='json', auth="user")
def modules(self):
# return all installed modules. Web client is smart enough to not load a module twice
- return module_installed(environment=request.env(user=odoo.SUPERUSER_ID))
+ return module_installed(environment=request.env(user=flectra.SUPERUSER_ID))
@http.route('/web/session/save_session_action', type='json', auth="user")
def save_session_action(self, the_action):
@@ -853,7 +853,7 @@ class Session(http.Controller):
'state': json.dumps({'d': request.db, 'u': ICP.get_param('web.base.url')}),
'scope': 'userinfo',
}
- return 'https://accounts.odoo.com/oauth2/auth?' + werkzeug.url_encode(params)
+ return 'https://accounts.flectra.com/oauth2/auth?' + werkzeug.url_encode(params)
@http.route('/web/session/destroy', type='json', auth="user")
def destroy(self):
@@ -1055,7 +1055,7 @@ class Binary(http.Controller):
width = 500
if height > 500:
height = 500
- content = odoo.tools.image_resize_image(base64_source=content, size=(width or None, height or None), encoding='base64', filetype='PNG')
+ content = flectra.tools.image_resize_image(base64_source=content, size=(width or None, height or None), encoding='base64', filetype='PNG')
# resize force png as filetype
headers = self.force_contenttype(headers, contenttype='image/png')
@@ -1143,14 +1143,14 @@ class Binary(http.Controller):
dbname = db_monodb()
if not uid:
- uid = odoo.SUPERUSER_ID
+ uid = flectra.SUPERUSER_ID
if not dbname:
response = http.send_file(placeholder(imgname + imgext))
else:
try:
# create an empty registry
- registry = odoo.modules.registry.Registry(dbname)
+ registry = flectra.modules.registry.Registry(dbname)
with registry.cursor() as cr:
company = int(kw['company']) if kw and kw.get('company') else False
if company:
@@ -1248,7 +1248,7 @@ class Export(http.Controller):
fields['.id'] = fields.pop('id', {'string': 'ID'})
fields_sequence = sorted(fields.items(),
- key=lambda field: odoo.tools.ustr(field[1].get('string', '')))
+ key=lambda field: flectra.tools.ustr(field[1].get('string', '')))
records = []
for field_name, field in fields_sequence:
@@ -1367,7 +1367,7 @@ class ExportFormat(object):
raise NotImplementedError()
def from_data(self, fields, rows):
- """ Conversion method from Odoo's export data to whatever the
+ """ Conversion method from Flectra's export data to whatever the
current export class outputs
:params list fields: a list of fields to export
@@ -1683,7 +1683,7 @@ class ReportController(http.Controller):
se = _serialize_exception(e)
error = {
'code': 200,
- 'message': "Odoo Server Error",
+ 'message': "Flectra Server Error",
'data': se
}
return request.make_response(html_escape(json.dumps(error)))
diff --git a/addons/web/controllers/pivot.py b/addons/web/controllers/pivot.py
index 3aebfe3946..4c8ae482e7 100644
--- a/addons/web/controllers/pivot.py
+++ b/addons/web/controllers/pivot.py
@@ -1,13 +1,13 @@
# -*- 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 collections import deque
import json
-from odoo import http
-from odoo.http import request
-from odoo.tools import ustr
-from odoo.tools.misc import xlwt
+from flectra import http
+from flectra.http import request
+from flectra.tools import ustr
+from flectra.tools.misc import xlwt
class TableExporter(http.Controller):
diff --git a/addons/web/models/__init__.py b/addons/web/models/__init__.py
index 29ae76aa20..2bbe4869a3 100644
--- a/addons/web/models/__init__.py
+++ b/addons/web/models/__init__.py
@@ -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 ir_qweb
from . import ir_http
diff --git a/addons/web/models/ir_http.py b/addons/web/models/ir_http.py
index 23a87f4cd0..b2b9bc1169 100644
--- a/addons/web/models/ir_http.py
+++ b/addons/web/models/ir_http.py
@@ -1,12 +1,12 @@
# -*- 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.
import json
-from odoo import models
-from odoo.http import request
+from flectra import models
+from flectra.http import request
-import odoo
+import flectra
class Http(models.AbstractModel):
@@ -21,7 +21,7 @@ class Http(models.AbstractModel):
def session_info(self):
user = request.env.user
display_switch_company_menu = user.has_group('base.group_multi_company') and len(user.company_ids) > 1
- version_info = odoo.service.common.exp_version()
+ version_info = flectra.service.common.exp_version()
return {
"session_id": request.session.sid,
"uid": request.session.uid,
diff --git a/addons/web/models/ir_qweb.py b/addons/web/models/ir_qweb.py
index 5c94da64d5..a7a5a11fa8 100644
--- a/addons/web/models/ir_qweb.py
+++ b/addons/web/models/ir_qweb.py
@@ -1,11 +1,11 @@
# -*- 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.
import hashlib
-from odoo import api, models
-from odoo.tools import pycompat
-from odoo.tools import html_escape as escape
+from flectra import api, models
+from flectra.tools import pycompat
+from flectra.tools import html_escape as escape
class Image(models.AbstractModel):
diff --git a/addons/web/models/models.py b/addons/web/models/models.py
index edf167df6c..8f3b4cd838 100644
--- a/addons/web/models/models.py
+++ b/addons/web/models/models.py
@@ -3,9 +3,9 @@ from datetime import datetime
import babel.dates
import pytz
-from odoo.tools import pycompat
-from odoo.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT, DEFAULT_SERVER_DATE_FORMAT
-from odoo import _, api, fields, models
+from flectra.tools import pycompat
+from flectra.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT, DEFAULT_SERVER_DATE_FORMAT
+from flectra import _, api, fields, models
class Base(models.AbstractModel):
diff --git a/addons/web/static/lib/ace/ace.odoo-custom.js b/addons/web/static/lib/ace/ace.flectra-custom.js
similarity index 99%
rename from addons/web/static/lib/ace/ace.odoo-custom.js
rename to addons/web/static/lib/ace/ace.flectra-custom.js
index d8f8429431..64b453211b 100644
--- a/addons/web/static/lib/ace/ace.odoo-custom.js
+++ b/addons/web/static/lib/ace/ace.flectra-custom.js
@@ -8204,7 +8204,7 @@ define("ace/lib/regexp", ["require", "exports", "module"], function(e, t, n) {
s *= this.session.$getStringScreenWidth(o)[0] + 2, i += 2
}
n -= this.scrollLeft, n > this.$size.scrollerWidth - s && (n = this.$size.scrollerWidth - s), n += this.gutterWidth, r.height = i + "px", r.width = s + "px", r.left = Math.min(n, this.$size.scrollerWidth - s) + "px", r.top = Math.min(t, this.$size.height - i) + "px"
- // ODOO monkeypatch: When we use firefox top or bottom arrow the ace container does not scroll automatically if the cursor is not visible.
+ // FLECTRA monkeypatch: When we use firefox top or bottom arrow the ace container does not scroll automatically if the cursor is not visible.
this.$scrollViewToTextArea();
}, this.$scrollViewToTextArea = function() {
// scroll the page/container to the cursor
@@ -8238,7 +8238,7 @@ define("ace/lib/regexp", ["require", "exports", "module"], function(e, t, n) {
}
}
});
- // ODOO end monkeypatch
+ // FLECTRA end monkeypatch
}, this.getFirstVisibleRow = function() {
return this.layerConfig.firstRow
}, this.getFirstFullyVisibleRow = function() {
diff --git a/addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js b/addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js
index 19f261ff4f..c0e815902e 100644
--- a/addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js
+++ b/addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js
@@ -421,11 +421,11 @@
element.children().first().after(widget);
}
- // !! ODOO FIX START !!
+ // !! FLECTRA FIX START !!
var parentOffset = parent.offset();
position.top = offset.top - parentOffset.top;
position.left = offset.left - parentOffset.left;
- // !! ODOO FIX END !!
+ // !! FLECTRA FIX END !!
// Top and bottom logic
if (vertical === 'auto') {
diff --git a/addons/web/static/lib/bootstrap/less/scaffolding.less b/addons/web/static/lib/bootstrap/less/scaffolding.less
index 2360561ed1..d8f90cd6d1 100644
--- a/addons/web/static/lib/bootstrap/less/scaffolding.less
+++ b/addons/web/static/lib/bootstrap/less/scaffolding.less
@@ -170,4 +170,4 @@ hr {
[role="button"] {
cursor: pointer;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/web/static/lib/clipboard/clipboard.js b/addons/web/static/lib/clipboard/clipboard.js
index f9b772b503..4bda868705 100644
--- a/addons/web/static/lib/clipboard/clipboard.js
+++ b/addons/web/static/lib/clipboard/clipboard.js
@@ -750,4 +750,4 @@ module.exports = E;
});
},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/lib/es5-shim/es5-shim.min.js b/addons/web/static/lib/es5-shim/es5-shim.min.js
index 5d265c55a9..e1d144dd3b 100644
--- a/addons/web/static/lib/es5-shim/es5-shim.min.js
+++ b/addons/web/static/lib/es5-shim/es5-shim.min.js
@@ -1,4 +1,4 @@
(function(definition){if(typeof define=="function"){define(definition)}else if(typeof YUI=="function"){YUI.add("es5",definition)}else{definition()}})(function(){function Empty(){}if(!Function.prototype.bind){Function.prototype.bind=function bind(that){var target=this;if(typeof target!="function"){throw new TypeError("Function.prototype.bind called on incompatible "+target)}var args=_Array_slice_.call(arguments,1);var bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(_Array_slice_.call(arguments)));if(Object(result)===result){return result}return this}else{return target.apply(that,args.concat(_Array_slice_.call(arguments)))}};if(target.prototype){Empty.prototype=target.prototype;bound.prototype=new Empty;Empty.prototype=null}return bound}}var call=Function.prototype.call;var prototypeOfArray=Array.prototype;var prototypeOfObject=Object.prototype;var _Array_slice_=prototypeOfArray.slice;var _toString=call.bind(prototypeOfObject.toString);var owns=call.bind(prototypeOfObject.hasOwnProperty);var defineGetter;var defineSetter;var lookupGetter;var lookupSetter;var supportsAccessors;if(supportsAccessors=owns(prototypeOfObject,"__defineGetter__")){defineGetter=call.bind(prototypeOfObject.__defineGetter__);defineSetter=call.bind(prototypeOfObject.__defineSetter__);lookupGetter=call.bind(prototypeOfObject.__lookupGetter__);lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)}if([1,2].splice(0).length!=2){var array_splice=Array.prototype.splice;if(function(){function makeArray(l){var a=[];while(l--){a.unshift(l)}return a}var array=[],lengthBefore;array.splice.bind(array,0,0).apply(null,makeArray(20));array.splice.bind(array,0,0).apply(null,makeArray(26));lengthBefore=array.length;array.splice(5,0,"XXX");if(lengthBefore+1==array.length){return true}}()){Array.prototype.splice=function(start,deleteCount){if(!arguments.length){return[]}else{return array_splice.apply(this,[start===void 0?0:start,deleteCount===void 0?this.length-start:deleteCount].concat(_Array_slice_.call(arguments,2)))}}}else{Array.prototype.splice=function(start,deleteCount){var result,args=_Array_slice_.call(arguments,2),addElementsCount=args.length;if(!arguments.length){return[]}if(start===void 0){start=0}if(deleteCount===void 0){deleteCount=this.length-start}if(addElementsCount>0){if(deleteCount<=0){if(start==this.length){this.push.apply(this,args);return[]}if(start==0){this.unshift.apply(this,args);return[]}}result=_Array_slice_.call(this,start,start+deleteCount);args.push.apply(args,_Array_slice_.call(this,start+deleteCount,this.length));args.unshift.apply(args,_Array_slice_.call(this,0,start));args.unshift(0,this.length);array_splice.apply(this,args);return result}return array_splice.call(this,start,deleteCount)}}}if([].unshift(0)!=1){var array_unshift=Array.prototype.unshift;Array.prototype.unshift=function(){array_unshift.apply(this,arguments);return this.length}}if(!Array.isArray){Array.isArray=function isArray(obj){return _toString(obj)=="[object Array]"}}var boxedString=Object("a"),splitString=boxedString[0]!="a"||!(0 in boxedString);if(!Array.prototype.forEach){Array.prototype.forEach=function forEach(fun){var object=toObject(this),self=splitString&&_toString(this)=="[object String]"?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if(_toString(fun)!="[object Function]"){throw new TypeError}while(++i>>0,result=Array(length),thisp=arguments[1];if(_toString(fun)!="[object Function]"){throw new TypeError(fun+" is not a function")}for(var i=0;i>>0,result=[],value,thisp=arguments[1];if(_toString(fun)!="[object Function]"){throw new TypeError(fun+" is not a function")}for(var i=0;i>>0,thisp=arguments[1];if(_toString(fun)!="[object Function]"){throw new TypeError(fun+" is not a function")}for(var i=0;i>>0,thisp=arguments[1];if(_toString(fun)!="[object Function]"){throw new TypeError(fun+" is not a function")}for(var i=0;i>>0;if(_toString(fun)!="[object Function]"){throw new TypeError(fun+" is not a function")}if(!length&&arguments.length==1){throw new TypeError("reduce of empty array with no initial value")}var i=0;var result;if(arguments.length>=2){result=arguments[1]}else{do{if(i in self){result=self[i++];break}if(++i>=length){throw new TypeError("reduce of empty array with no initial value")}}while(true)}for(;i>>0;if(_toString(fun)!="[object Function]"){throw new TypeError(fun+" is not a function")}if(!length&&arguments.length==1){throw new TypeError("reduceRight of empty array with no initial value")}var result,i=length-1;if(arguments.length>=2){result=arguments[1]}else{do{if(i in self){result=self[i--];break}if(--i<0){throw new TypeError("reduceRight of empty array with no initial value")}}while(true)}if(i<0){return result}do{if(i in this){result=fun.call(void 0,result,self[i],i,object)}}while(i--);return result}}if(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1){Array.prototype.indexOf=function indexOf(sought){var self=splitString&&_toString(this)=="[object String]"?this.split(""):toObject(this),length=self.length>>>0;if(!length){return-1}var i=0;if(arguments.length>1){i=toInteger(arguments[1])}i=i>=0?i:Math.max(0,length+i);for(;i>>0;if(!length){return-1}var i=length-1;if(arguments.length>1){i=Math.min(i,toInteger(arguments[1]))}i=i>=0?i:length-Math.abs(i);for(;i>=0;i--){if(i in self&&sought===self[i]){return i}}return-1}}if(!Object.keys){var hasDontEnumBug=true,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null}){hasDontEnumBug=false}Object.keys=function keys(object){if(typeof object!="object"&&typeof object!="function"||object===null){throw new TypeError("Object.keys called on a non-object")}var keys=[];for(var name in object){if(owns(object,name)){keys.push(name)}}if(hasDontEnumBug){for(var i=0,ii=dontEnumsLength;i9999?"+":"")+("00000"+Math.abs(year)).slice(0<=year&&year<=9999?-4:-6);length=result.length;while(length--){value=result[length];if(value<10){result[length]="0"+value}}return year+"-"+result.slice(0,2).join("-")+"T"+result.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}}var dateToJSONIsSupported=false;try{dateToJSONIsSupported=Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(negativeDate).toJSON().indexOf(negativeYearString)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}})}catch(e){}if(!dateToJSONIsSupported){Date.prototype.toJSON=function toJSON(key){var o=Object(this),tv=toPrimitive(o),toISO;if(typeof tv==="number"&&!isFinite(tv)){return null}toISO=o.toISOString;if(typeof toISO!="function"){throw new TypeError("toISOString property is not callable")}return toISO.call(o)}}if(!Date.parse||"Date.parse is buggy"){Date=function(NativeDate){function Date(Y,M,D,h,m,s,ms){var length=arguments.length;if(this instanceof NativeDate){var date=length==1&&String(Y)===Y?new NativeDate(Date.parse(Y)):length>=7?new NativeDate(Y,M,D,h,m,s,ms):length>=6?new NativeDate(Y,M,D,h,m,s):length>=5?new NativeDate(Y,M,D,h,m):length>=4?new NativeDate(Y,M,D,h):length>=3?new NativeDate(Y,M,D):length>=2?new NativeDate(Y,M):length>=1?new NativeDate(Y):new NativeDate;date.constructor=Date;return date}return NativeDate.apply(this,arguments)}var isoDateExpression=new RegExp("^"+"(\\d{4}|[+-]\\d{6})"+"(?:-(\\d{2})"+"(?:-(\\d{2})"+"(?:"+"T(\\d{2})"+":(\\d{2})"+"(?:"+":(\\d{2})"+"(?:(\\.\\d{1,}))?"+")?"+"("+"Z|"+"(?:"+"([-+])"+"(\\d{2})"+":(\\d{2})"+")"+")?)?)?)?"+"$");var months=[0,31,59,90,120,151,181,212,243,273,304,334,365];function dayFromMonth(year,month){var t=month>1?1:0;return months[month]+Math.floor((year-1969+t)/4)-Math.floor((year-1901+t)/100)+Math.floor((year-1601+t)/400)+365*(year-1970)}for(var key in NativeDate){Date[key]=NativeDate[key]}Date.now=NativeDate.now;Date.UTC=NativeDate.UTC;Date.prototype=NativeDate.prototype;Date.prototype.constructor=Date;Date.parse=function parse(string){var match=isoDateExpression.exec(string);if(match){var year=Number(match[1]),month=Number(match[2]||1)-1,day=Number(match[3]||1)-1,hour=Number(match[4]||0),minute=Number(match[5]||0),second=Number(match[6]||0),millisecond=Math.floor(Number(match[7]||0)*1e3),offset=!match[4]||match[8]?0:Number(new NativeDate(1970,0)),signOffset=match[9]==="-"?1:-1,hourOffset=Number(match[10]||0),minuteOffset=Number(match[11]||0),result;if(hour<(minute>0||second>0||millisecond>0?24:25)&&minute<60&&second<60&&millisecond<1e3&&month>-1&&month<12&&hourOffset<24&&minuteOffset<60&&day>-1&&day=0){c+=data[i];data[i]=Math.floor(c/n);c=c%n*base}}function toString(){var i=size;var s="";while(--i>=0){if(s!==""||i===0||data[i]!==0){var t=String(data[i]);if(s===""){s=t}else{s+="0000000".slice(0,7-t.length)+t}}}return s}function pow(x,n,acc){return n===0?acc:n%2===1?pow(x,n-1,acc*x):pow(x*x,n/2,acc)}function log(x){var n=0;while(x>=4096){n+=12;x/=4096}while(x>=2){n+=1;x/=2}return n}Number.prototype.toFixed=function(fractionDigits){var f,x,s,m,e,z,j,k;f=Number(fractionDigits);f=f!==f?0:Math.floor(f);if(f<0||f>20){throw new RangeError("Number.toFixed called with invalid number of decimals")}x=Number(this);if(x!==x){return"NaN"}if(x<=-1e21||x>=1e21){return String(x)}s="";if(x<0){s="-";x=-x}m="0";if(x>1e-21){e=log(x*pow(2,69,1))-69;z=e<0?x*pow(2,-e,1):x/pow(2,e,1);z*=4503599627370496;e=52-e;if(e>0){multiply(0,z);j=f;while(j>=7){multiply(1e7,0);j-=7}multiply(pow(10,j,1),0);j=e-1;while(j>=23){divide(1<<23);j-=23}divide(1<0){k=m.length;if(k<=f){m=s+"0.0000000000000000000".slice(0,f-k+2)+m}else{m=s+m.slice(0,k-f)+"."+m.slice(k-f)}}else{m=s+m}return m}})()}var string_split=String.prototype.split;if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"".split(/.?/).length===0||".".split(/()()/).length>1){(function(){var compliantExecNpcg=/()??/.exec("")[1]===void 0;String.prototype.split=function(separator,limit){var string=this;if(separator===void 0&&limit===0)return[];if(Object.prototype.toString.call(separator)!=="[object RegExp]"){return string_split.apply(this,arguments)}var output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.extended?"x":"")+(separator.sticky?"y":""),lastLastIndex=0,separator=new RegExp(separator.source,flags+"g"),separator2,match,lastIndex,lastLength;string+="";if(!compliantExecNpcg){separator2=new RegExp("^"+separator.source+"$(?!\\s)",flags)}limit=limit===void 0?-1>>>0:limit>>>0;while(match=separator.exec(string)){lastIndex=match.index+match[0].length;if(lastIndex>lastLastIndex){output.push(string.slice(lastLastIndex,match.index));if(!compliantExecNpcg&&match.length>1){match[0].replace(separator2,function(){for(var i=1;i1&&match.index=limit){break}}if(separator.lastIndex===match.index){separator.lastIndex++}}if(lastLastIndex===string.length){if(lastLength||!separator.test("")){output.push("")}}else{output.push(string.slice(lastLastIndex))}return output.length>limit?output.slice(0,limit):output}})()}else if("0".split(void 0,0).length){String.prototype.split=function(separator,limit){if(separator===void 0&&limit===0)return[];return string_split.apply(this,arguments)}}if("".substr&&"0b".substr(-1)!=="b"){var string_substr=String.prototype.substr;String.prototype.substr=function(start,length){return string_substr.call(this,start<0?(start=this.length+start)<0?0:start:start,length)}}var ws=" \n\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003"+"\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028"+"\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=new RegExp("^"+ws+ws+"*"),trimEndRegexp=new RegExp(ws+ws+"*$");String.prototype.trim=function trim(){if(this===void 0||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}function toInteger(n){n=+n;if(n!==n){n=0}else if(n!==0&&n!==1/0&&n!==-(1/0)){n=(n>0||-1)*Math.floor(Math.abs(n))}return n}function isPrimitive(input){var type=typeof input;return input===null||type==="undefined"||type==="boolean"||type==="number"||type==="string"}function toPrimitive(input){var val,valueOf,toString;if(isPrimitive(input)){return input}valueOf=input.valueOf;if(typeof valueOf==="function"){val=valueOf.call(input);if(isPrimitive(val)){return val}}toString=input.toString;if(typeof toString==="function"){val=toString.call(input);if(isPrimitive(val)){return val}}throw new TypeError}var toObject=function(o){if(o==null){throw new TypeError("can't convert "+o+" to object")}return Object(o)}});
/*
//@ sourceMappingURL=es5-shim.map
-*/
\ No newline at end of file
+*/
\ No newline at end of file
diff --git a/addons/web/static/lib/fullcalendar/js/fullcalendar.js b/addons/web/static/lib/fullcalendar/js/fullcalendar.js
index 4fdf8482db..0122c99657 100644
--- a/addons/web/static/lib/fullcalendar/js/fullcalendar.js
+++ b/addons/web/static/lib/fullcalendar/js/fullcalendar.js
@@ -13506,4 +13506,4 @@ fcViews.listYear = {
;;
return FC; // export for Node/CommonJS
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/lib/jquery.hotkeys/jquery.hotkeys.js b/addons/web/static/lib/jquery.hotkeys/jquery.hotkeys.js
index fbd71c71ec..fc78c11987 100644
--- a/addons/web/static/lib/jquery.hotkeys/jquery.hotkeys.js
+++ b/addons/web/static/lib/jquery.hotkeys/jquery.hotkeys.js
@@ -96,4 +96,4 @@
jQuery.event.special[ this ] = { add: keyHandler };
});
-})( jQuery );
\ No newline at end of file
+})( jQuery );
\ No newline at end of file
diff --git a/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js b/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
index bdde6b9d39..5db578e4e9 100644
--- a/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
+++ b/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
@@ -904,4 +904,4 @@
$.ui.sortable.prototype.options,
$.mjs.nestedSortable.prototype.options
);
-}));
\ No newline at end of file
+}));
\ No newline at end of file
diff --git a/addons/web/static/lib/jquery.placeholder/jquery.placeholder.js b/addons/web/static/lib/jquery.placeholder/jquery.placeholder.js
index d8051fa269..a79d413a77 100644
--- a/addons/web/static/lib/jquery.placeholder/jquery.placeholder.js
+++ b/addons/web/static/lib/jquery.placeholder/jquery.placeholder.js
@@ -154,4 +154,4 @@
}
}
-}(this, document, jQuery));
\ No newline at end of file
+}(this, document, jQuery));
\ No newline at end of file
diff --git a/addons/web/static/lib/jquery.ui/jquery-ui.js b/addons/web/static/lib/jquery.ui/jquery-ui.js
index cea262f057..0bfc7964bf 100644
--- a/addons/web/static/lib/jquery.ui/jquery-ui.js
+++ b/addons/web/static/lib/jquery.ui/jquery-ui.js
@@ -10946,4 +10946,4 @@ var effectBounce = $.effects.effect.bounce = function( o, done ) {
-}));
\ No newline at end of file
+}));
\ No newline at end of file
diff --git a/addons/web/static/lib/nvd3/d3.v3.js b/addons/web/static/lib/nvd3/d3.v3.js
index e4d8664329..bc3501dd94 100644
--- a/addons/web/static/lib/nvd3/d3.v3.js
+++ b/addons/web/static/lib/nvd3/d3.v3.js
@@ -9500,4 +9500,4 @@
});
if (typeof define === "function" && define.amd) define(d3); else if (typeof module === "object" && module.exports) module.exports = d3;
this.d3 = d3;
-}();
\ No newline at end of file
+}();
\ No newline at end of file
diff --git a/addons/web/static/lib/nvd3/nv.d3.css b/addons/web/static/lib/nvd3/nv.d3.css
old mode 100755
new mode 100644
diff --git a/addons/web/static/lib/nvd3/nv.d3.js b/addons/web/static/lib/nvd3/nv.d3.js
old mode 100755
new mode 100644
index 4751ebd653..837a802557
--- a/addons/web/static/lib/nvd3/nv.d3.js
+++ b/addons/web/static/lib/nvd3/nv.d3.js
@@ -5982,4 +5982,4 @@ nv.models.pie = function() {
};
nv.version = "1.8.2-dev";
-})();
\ No newline at end of file
+})();
\ No newline at end of file
diff --git a/addons/web/static/lib/pdfjs/external/cmapscompress/parse.js b/addons/web/static/lib/pdfjs/external/cmapscompress/parse.js
index acb87b9e5b..ca4b5952b1 100644
--- a/addons/web/static/lib/pdfjs/external/cmapscompress/parse.js
+++ b/addons/web/static/lib/pdfjs/external/cmapscompress/parse.js
@@ -98,4 +98,4 @@ exports.parseAdobeCMap = function (content) {
}
return result;
-};
\ No newline at end of file
+};
\ No newline at end of file
diff --git a/addons/web/static/lib/pdfjs/src/core/jbig2.js b/addons/web/static/lib/pdfjs/src/core/jbig2.js
old mode 100755
new mode 100644
diff --git a/addons/web/static/lib/pdfjs/worker_loader_by_flectra.js b/addons/web/static/lib/pdfjs/worker_loader_by_flectra.js
new file mode 100644
index 0000000000..3df47672ae
--- /dev/null
+++ b/addons/web/static/lib/pdfjs/worker_loader_by_flectra.js
@@ -0,0 +1,7 @@
+/* globals PDFJS */
+
+'use strict';
+
+// Simply resolve the promise, signaling all the assets are loaded.
+// Used since the assets are all included in flectra bundle
+PDFJS.fakeWorkerFilesLoadedCapability.resolve();
\ No newline at end of file
diff --git a/addons/web/static/lib/pdfjs/worker_loader_by_odoo.js b/addons/web/static/lib/pdfjs/worker_loader_by_odoo.js
deleted file mode 100644
index 0e358fed20..0000000000
--- a/addons/web/static/lib/pdfjs/worker_loader_by_odoo.js
+++ /dev/null
@@ -1,7 +0,0 @@
-/* globals PDFJS */
-
-'use strict';
-
-// Simply resolve the promise, signaling all the assets are loaded.
-// Used since the assets are all included in odoo bundle
-PDFJS.fakeWorkerFilesLoadedCapability.resolve();
\ No newline at end of file
diff --git a/addons/web/static/lib/select2-bootstrap-css/select2-bootstrap.css b/addons/web/static/lib/select2-bootstrap-css/select2-bootstrap.css
index 7922f6ced7..093c49d9c9 100644
--- a/addons/web/static/lib/select2-bootstrap-css/select2-bootstrap.css
+++ b/addons/web/static/lib/select2-bootstrap-css/select2-bootstrap.css
@@ -87,4 +87,4 @@ Version: 3.5.1 Timestamp: Tue Jul 22 18:58:56 EDT 2014
.control-group.success .select2-container .select2-choice div {
border-left: 1px solid #468847 !important;
background: #DFF0D8 !important;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/web/static/lib/select2/select2.css b/addons/web/static/lib/select2/select2.css
index 5b9e67fa93..b92cbe51fd 100644
--- a/addons/web/static/lib/select2/select2.css
+++ b/addons/web/static/lib/select2/select2.css
@@ -701,4 +701,4 @@ html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
.select2-search input {
background-position: 100% -21px !important;
}
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/web/static/lib/select2/select2.js b/addons/web/static/lib/select2/select2.js
index 2556185b02..353f80a6e6 100644
--- a/addons/web/static/lib/select2/select2.js
+++ b/addons/web/static/lib/select2/select2.js
@@ -3505,4 +3505,4 @@ the specific language governing permissions and limitations under the Apache Lic
}
};
-}(jQuery));
\ No newline at end of file
+}(jQuery));
\ No newline at end of file
diff --git a/addons/web/static/lib/underscore/underscore.js b/addons/web/static/lib/underscore/underscore.js
index e272fca43f..53e1ebdb21 100644
--- a/addons/web/static/lib/underscore/underscore.js
+++ b/addons/web/static/lib/underscore/underscore.js
@@ -1533,4 +1533,4 @@
return _;
});
}
-}.call(this));
\ No newline at end of file
+}.call(this));
\ No newline at end of file
diff --git a/addons/web/static/src/js/_deprecated/data.js b/addons/web/static/src/js/_deprecated/data.js
index be5496c55c..3c3f2e8985 100644
--- a/addons/web/static/src/js/_deprecated/data.js
+++ b/addons/web/static/src/js/_deprecated/data.js
@@ -1,4 +1,4 @@
-odoo.define('web.data', function (require) {
+flectra.define('web.data', function (require) {
"use strict";
var Class = require('web.Class');
@@ -579,7 +579,7 @@ var DataSet = Class.extend(mixins.PropertiesMixin, {
* Set the sort criteria on the dataset.
*
* @param {Array} fields_list: list of fields order descriptors, as used by
- * Odoo's ORM (such as 'name desc', 'product_id', 'order_date asc')
+ * Flectra's ORM (such as 'name desc', 'product_id', 'order_date asc')
*/
set_sort: function (fields_list) {
this._sort = deserialize_sort(fields_list);
diff --git a/addons/web/static/src/js/apps.js b/addons/web/static/src/js/apps.js
index fa51337226..bde7d0ade0 100644
--- a/addons/web/static/src/js/apps.js
+++ b/addons/web/static/src/js/apps.js
@@ -1,4 +1,4 @@
-odoo.define('web.Apps', function (require) {
+flectra.define('web.Apps', function (require) {
"use strict";
var core = require('web.core');
@@ -145,7 +145,7 @@ var Apps = Widget.extend({
def.resolve();
}, function() {
- self.do_warn(_t('Odoo Apps will be available soon'), _t('Showing locally available modules'), true);
+ self.do_warn(_t('Flectra Apps will be available soon'), _t('Showing locally available modules'), true);
return self._rpc({
route: '/web/action/load',
params: {action_id: self.failback_action_id},
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js
index c229029b94..11cfce21f5 100644
--- a/addons/web/static/src/js/boot.js
+++ b/addons/web/static/src/js/boot.js
@@ -44,8 +44,8 @@
var debug = ($.deparam($.param.querystring()).debug !== undefined);
- var odoo = window.odoo = window.odoo || {};
- _.extend(odoo, {
+ var flectra = window.flectra = window.flectra || {};
+ _.extend(flectra, {
testing: typeof QUnit === "object",
debug: debug,
remaining_jobs: jobs,
@@ -107,7 +107,7 @@
});
}
- if (odoo.debug) {
+ if (flectra.debug) {
if (!(deps instanceof Array)) {
throw new Error ('Dependencies should be defined by an array', deps);
}
@@ -152,7 +152,7 @@
for (var k=0; k Adapt the internal value state
*
- * @param {OdooEvent} e
+ * @param {FlectraEvent} e
*/
_onDomainSelectorValueChange: function (e) {
if (this.inDialog) return;
@@ -2359,7 +2359,7 @@ var FieldDomain = AbstractField.extend({
* Called when the in-dialog domain selector value is confirmed
* -> Adapt the internal value state
*
- * @param {OdooEvent} e
+ * @param {FlectraEvent} e
*/
_onDomainSelectorDialogValueChange: function (e) {
this._setValue(Domain.prototype.arrayToString(e.data.domain));
@@ -2368,7 +2368,7 @@ var FieldDomain = AbstractField.extend({
* Stops the propagation of the 'open_record' event, as we don't want the
* user to be able to open records from the list opened in a dialog.
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onOpenRecord: function (event) {
event.stopPropagation();
@@ -2382,7 +2382,7 @@ var FieldDomain = AbstractField.extend({
var AceEditor = DebouncedField.extend({
template: "AceEditor",
jsLibs: [
- '/web/static/lib/ace/ace.odoo-custom.js',
+ '/web/static/lib/ace/ace.flectra-custom.js',
[
'/web/static/lib/ace/mode-python.js',
'/web/static/lib/ace/mode-xml.js'
diff --git a/addons/web/static/src/js/fields/field_registry.js b/addons/web/static/src/js/fields/field_registry.js
index 6692663d5f..8e7100483f 100644
--- a/addons/web/static/src/js/fields/field_registry.js
+++ b/addons/web/static/src/js/fields/field_registry.js
@@ -1,4 +1,4 @@
-odoo.define('web.field_registry', function (require) {
+flectra.define('web.field_registry', function (require) {
"use strict";
var Registry = require('web.Registry');
@@ -6,7 +6,7 @@ var Registry = require('web.Registry');
return new Registry();
});
-odoo.define('web._field_registry', function(require) {
+flectra.define('web._field_registry', function(require) {
"use strict";
var AbstractField = require('web.AbstractField');
diff --git a/addons/web/static/src/js/fields/field_utils.js b/addons/web/static/src/js/fields/field_utils.js
index 5ac180b1de..f543b81e8a 100644
--- a/addons/web/static/src/js/fields/field_utils.js
+++ b/addons/web/static/src/js/fields/field_utils.js
@@ -1,4 +1,4 @@
-odoo.define('web.field_utils', function (require) {
+flectra.define('web.field_utils', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/fields/relational_fields.js b/addons/web/static/src/js/fields/relational_fields.js
index c399ffebe8..148fa192d3 100644
--- a/addons/web/static/src/js/fields/relational_fields.js
+++ b/addons/web/static/src/js/fields/relational_fields.js
@@ -1,4 +1,4 @@
-odoo.define('web.relational_fields', function (require) {
+flectra.define('web.relational_fields', function (require) {
"use strict";
/**
@@ -271,7 +271,7 @@ var FieldMany2One = AbstractField.extend({
* has been trigerred. This allows to detect that all changes have been
* acknowledged by the environment.
*
- * @param {OdooEvent} event 'field_changed' event
+ * @param {FlectraEvent} event 'field_changed' event
*/
_onFieldChanged: function (event) {
this.lastChangeEvent = event;
@@ -575,7 +575,7 @@ var FieldMany2One = AbstractField.extend({
/**
* @private
*
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onInputKeyup: function (ev) {
if (ev.which === $.ui.keyCode.ENTER) {
@@ -606,7 +606,7 @@ var FieldMany2One = AbstractField.extend({
* user is selecting text.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onNavigationMove: function (ev) {
// TODO Maybe this should be done in a mixin or, better, the m2o field
@@ -618,14 +618,14 @@ var FieldMany2One = AbstractField.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onQuickCreate: function (event) {
this._quickCreate(event.data.value);
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onSearchCreatePopup: function (event) {
var data = event.data;
@@ -760,7 +760,7 @@ var FieldX2Many = AbstractField.extend({
/**
* @override
* @param {Object} record
- * @param {OdooEvent} [ev] an event that triggered the reset action
+ * @param {FlectraEvent} [ev] an event that triggered the reset action
* @param {Boolean} [fieldChanged] if true, the widget field has changed
* @returns {Deferred}
*/
@@ -986,7 +986,7 @@ var FieldX2Many = AbstractField.extend({
* by the parent controller.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onDeleteRecord: function (ev) {
ev.stopPropagation();
@@ -1004,7 +1004,7 @@ var FieldX2Many = AbstractField.extend({
* know which field needs to be handled.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onDiscardChanges: function (ev) {
ev.data.fieldName = this.name;
@@ -1014,7 +1014,7 @@ var FieldX2Many = AbstractField.extend({
* him back to toggle the mode of this row.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onEditLine: function (ev) {
ev.stopPropagation();
@@ -1027,7 +1027,7 @@ var FieldX2Many = AbstractField.extend({
* Updates the given record with the changes.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onFieldChanged: function (ev) {
if (ev.target === this) {
@@ -1075,7 +1075,7 @@ var FieldX2Many = AbstractField.extend({
* executed in the mutex.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
* @param {string} ev.recordID
* @param {function} ev.onSuccess success callback (see '_saveLine')
* @param {function} ev.onFailure fail callback (see '_saveLine')
@@ -1101,7 +1101,7 @@ var FieldX2Many = AbstractField.extend({
* Forces a resequencing of the records.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onResequence: function (event) {
var self = this;
@@ -1138,7 +1138,7 @@ var FieldX2Many = AbstractField.extend({
* aware of which widgets it has to redraw.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onToggleColumnOrder: function (ev) {
ev.data.field = this.name;
@@ -1165,7 +1165,7 @@ var FieldOne2Many = FieldX2Many.extend({
/**
* @override
* @param {Object} record
- * @param {OdooEvent} [ev] an event that triggered the reset action
+ * @param {FlectraEvent} [ev] an event that triggered the reset action
* @returns {Deferred}
*/
reset: function (record, ev) {
@@ -1220,7 +1220,7 @@ var FieldOne2Many = FieldX2Many.extend({
*
* @override
* @private
- * @param {OdooEvent|MouseEvent} ev this event comes either from the 'Add
+ * @param {FlectraEvent|MouseEvent} ev this event comes either from the 'Add
* record' link in the list editable renderer, or from the 'Create' button
* in the kanban view
*/
@@ -1260,7 +1260,7 @@ var FieldOne2Many = FieldX2Many.extend({
* form view.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onOpenRecord: function (ev) {
// we don't want interference with the components upstream.
@@ -1303,7 +1303,7 @@ var FieldMany2Many = FieldX2Many.extend({
*
* @override
* @private
- * @param {OdooEvent|MouseEvent} ev this event comes either from the 'Add
+ * @param {FlectraEvent|MouseEvent} ev this event comes either from the 'Add
* record' link in the list editable renderer, or from the 'Create' button
* in the kanban view
*/
@@ -1340,7 +1340,7 @@ var FieldMany2Many = FieldX2Many.extend({
* to the form view.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onOpenRecord: function (ev) {
var self = this;
@@ -1711,7 +1711,7 @@ var FieldMany2ManyTags = AbstractField.extend({
* Controls the changes made in the internal m2o field.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onFieldChanged: function (ev) {
if (ev.target !== this.many2one) {
@@ -1740,7 +1740,7 @@ var FieldMany2ManyTags = AbstractField.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onQuickCreate: function (event) {
this._quickCreate(event.data.value);
diff --git a/addons/web/static/src/js/fields/special_fields.js b/addons/web/static/src/js/fields/special_fields.js
index 19db97fe98..20abd1d0c7 100644
--- a/addons/web/static/src/js/fields/special_fields.js
+++ b/addons/web/static/src/js/fields/special_fields.js
@@ -1,4 +1,4 @@
-odoo.define('web.special_fields', function (require) {
+flectra.define('web.special_fields', function (require) {
"use strict";
var core = require('web.core');
@@ -90,7 +90,7 @@ var FieldTimezoneMismatch = FieldSelection.extend({
if (this.mismatch){
var $span = $('');
$span.insertAfter(this.$el);
- $span.attr('title', _t("Timezone Mismatch : The timezone of your browser doesn't match the selected one. The time in Odoo is displayed according to your field timezone."));
+ $span.attr('title', _t("Timezone Mismatch : The timezone of your browser doesn't match the selected one. The time in Flectra is displayed according to your field timezone."));
this.$el = this.$el.add($span);
this.$option = this.$('option').filter(function () {
diff --git a/addons/web/static/src/js/fields/upgrade_fields.js b/addons/web/static/src/js/fields/upgrade_fields.js
index 119a64881e..827047e9d6 100644
--- a/addons/web/static/src/js/fields/upgrade_fields.js
+++ b/addons/web/static/src/js/fields/upgrade_fields.js
@@ -1,4 +1,4 @@
-odoo.define('web.upgrade_widgets', function (require) {
+flectra.define('web.upgrade_widgets', function (require) {
"use strict";
/**
@@ -31,7 +31,7 @@ var AbstractFieldUpgrade = {
//--------------------------------------------------------------------------
/**
- * Redirects the user to the odoo-enterprise/uprade page
+ * Redirects the user to the flectra-enterprise/uprade page
*
* @private
* @returns {Deferred}
@@ -43,7 +43,7 @@ var AbstractFieldUpgrade = {
args: [[["share", "=", false]]],
})
.then(function (data) {
- framework.redirect("https://www.odoo.com/odoo-enterprise/upgrade?num_users=" + data);
+ framework.redirect("https://www.flectra.com/flectra-enterprise/upgrade?num_users=" + data);
});
},
/**
@@ -83,7 +83,7 @@ var AbstractFieldUpgrade = {
$content: $('
', {
html: message,
}),
- title: _t("Odoo Enterprise"),
+ title: _t("Flectra Enterprise"),
}).open();
},
/**
diff --git a/addons/web/static/src/js/libs/autocomplete.js b/addons/web/static/src/js/libs/autocomplete.js
index 72f3ee8911..6291e4ff02 100644
--- a/addons/web/static/src/js/libs/autocomplete.js
+++ b/addons/web/static/src/js/libs/autocomplete.js
@@ -1,4 +1,4 @@
-odoo.define('web.autocomplete.extensions', function () {
+flectra.define('web.autocomplete.extensions', function () {
'use strict';
/**
diff --git a/addons/web/static/src/js/libs/bootstrap.js b/addons/web/static/src/js/libs/bootstrap.js
index 04ca2381d7..077a838c28 100644
--- a/addons/web/static/src/js/libs/bootstrap.js
+++ b/addons/web/static/src/js/libs/bootstrap.js
@@ -1,4 +1,4 @@
-odoo.define('web.bootstrap.extensions', function () {
+flectra.define('web.bootstrap.extensions', function () {
'use strict';
/**
diff --git a/addons/web/static/src/js/libs/jquery.js b/addons/web/static/src/js/libs/jquery.js
index 0b12b4fed0..164bf58c45 100644
--- a/addons/web/static/src/js/libs/jquery.js
+++ b/addons/web/static/src/js/libs/jquery.js
@@ -1,4 +1,4 @@
-odoo.define('web.jquery.extensions', function () {
+flectra.define('web.jquery.extensions', function () {
'use strict';
/**
@@ -85,9 +85,9 @@ $.fn.extend({
return o;
},
/**
- * Makes DOM elements bounce the way Odoo decided it.
+ * Makes DOM elements bounce the way Flectra decided it.
*/
- odooBounce: function () {
+ flectraBounce: function () {
return this.each(function () {
$(this).css('box-sizing', 'content-box')
.effect('bounce', {distance: 18, times: 5}, 250);
diff --git a/addons/web/static/src/js/libs/nvd3.js b/addons/web/static/src/js/libs/nvd3.js
index eebee6c945..fbaaef7254 100644
--- a/addons/web/static/src/js/libs/nvd3.js
+++ b/addons/web/static/src/js/libs/nvd3.js
@@ -1,4 +1,4 @@
-odoo.define('web.nvd3.extensions', function () {
+flectra.define('web.nvd3.extensions', function () {
'use strict';
/**
diff --git a/addons/web/static/src/js/report/client_action.js b/addons/web/static/src/js/report/client_action.js
index 60265c0a49..4beec97842 100644
--- a/addons/web/static/src/js/report/client_action.js
+++ b/addons/web/static/src/js/report/client_action.js
@@ -1,4 +1,4 @@
-odoo.define('report.client_action', function (require) {
+flectra.define('report.client_action', function (require) {
'use strict';
var core = require('web.core');
diff --git a/addons/web/static/src/js/report/qwebactionmanager.js b/addons/web/static/src/js/report/qwebactionmanager.js
index cc875882ce..5d0e6973d6 100644
--- a/addons/web/static/src/js/report/qwebactionmanager.js
+++ b/addons/web/static/src/js/report/qwebactionmanager.js
@@ -1,4 +1,4 @@
-odoo.define('report.report', function (require) {
+flectra.define('report.report', function (require) {
'use strict';
var ActionManager = require('web.ActionManager');
diff --git a/addons/web/static/src/js/report/report.editor.js b/addons/web/static/src/js/report/report.editor.js
index 0059e39be0..7031c4b0d1 100644
--- a/addons/web/static/src/js/report/report.editor.js
+++ b/addons/web/static/src/js/report/report.editor.js
@@ -1,4 +1,4 @@
-odoo.define('report.editor', function (require) {
+flectra.define('report.editor', function (require) {
'use strict';
var core = require('web.core');
diff --git a/addons/web/static/src/js/report/utils.js b/addons/web/static/src/js/report/utils.js
index 64776efb4d..f72b2e0c3d 100644
--- a/addons/web/static/src/js/report/utils.js
+++ b/addons/web/static/src/js/report/utils.js
@@ -1,4 +1,4 @@
-odoo.define('report.utils', function (require) {
+flectra.define('report.utils', function (require) {
'use strict';
function get_protocol_from_url (url) {
diff --git a/addons/web/static/src/js/services/ajax_service.js b/addons/web/static/src/js/services/ajax_service.js
index 480549347d..ee91600016 100644
--- a/addons/web/static/src/js/services/ajax_service.js
+++ b/addons/web/static/src/js/services/ajax_service.js
@@ -1,4 +1,4 @@
-odoo.define('web.AjaxService', function (require) {
+flectra.define('web.AjaxService', function (require) {
"use strict";
var AbstractService = require('web.AbstractService');
diff --git a/addons/web/static/src/js/services/config.js b/addons/web/static/src/js/services/config.js
index 4cd6063811..6974a4e584 100644
--- a/addons/web/static/src/js/services/config.js
+++ b/addons/web/static/src/js/services/config.js
@@ -1,4 +1,4 @@
-odoo.define('web.config', function (require) {
+flectra.define('web.config', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/services/core.js b/addons/web/static/src/js/services/core.js
index 86937c0e2c..6ab787eed9 100644
--- a/addons/web/static/src/js/services/core.js
+++ b/addons/web/static/src/js/services/core.js
@@ -1,4 +1,4 @@
-odoo.define('web.core', function (require) {
+flectra.define('web.core', function (require) {
"use strict";
var Bus = require('web.Bus');
@@ -51,7 +51,7 @@ return {
/**
* @type {String}
*/
- csrf_token: odoo.csrf_token,
+ csrf_token: flectra.csrf_token,
a_thing: 42,
};
diff --git a/addons/web/static/src/js/services/crash_manager.js b/addons/web/static/src/js/services/crash_manager.js
index 9c7914eeeb..67c9d4a1dc 100644
--- a/addons/web/static/src/js/services/crash_manager.js
+++ b/addons/web/static/src/js/services/crash_manager.js
@@ -1,4 +1,4 @@
-odoo.define('web.CrashManager', function (require) {
+flectra.define('web.CrashManager', function (require) {
"use strict";
var ajax = require('web.ajax');
@@ -54,8 +54,8 @@ var CrashManager = core.Class.extend({
new (handler)(this, error).display();
return;
}
- if (error.data.name === "odoo.http.SessionExpiredException" || error.data.name === "werkzeug.exceptions.Forbidden") {
- this.show_warning({type: _t("Odoo Session Expired"), data: {message: _t("Your Odoo session expired. Please refresh the current web page.")}});
+ if (error.data.name === "flectra.http.SessionExpiredException" || error.data.name === "werkzeug.exceptions.Forbidden") {
+ this.show_warning({type: _t("Flectra Session Expired"), data: {message: _t("Your Flectra session expired. Please refresh the current web page.")}});
return;
}
if (_.has(map_title, error.data.exception_type)) {
@@ -105,7 +105,7 @@ var CrashManager = core.Class.extend({
}
new Dialog(this, {
size: 'medium',
- title: _.str.capitalize(error.type || error.message) || _t("Odoo Warning"),
+ title: _.str.capitalize(error.type || error.message) || _t("Flectra Warning"),
subtitle: error.data.title,
$content: $(QWeb.render('CrashManager.warning', {error: error}))
}).open();
@@ -115,7 +115,7 @@ var CrashManager = core.Class.extend({
return;
}
var dialog = new Dialog(this, {
- title: _.str.capitalize(error.type || error.message) || _t("Odoo Error"),
+ title: _.str.capitalize(error.type || error.message) || _t("Flectra Error"),
$content: $(QWeb.render('CrashManager.error', {error: error}))
});
@@ -153,7 +153,7 @@ var CrashManager = core.Class.extend({
},
show_message: function(exception) {
this.show_error({
- type: _t("Odoo Client Error"),
+ type: _t("Flectra Client Error"),
message: exception,
data: {debug: ""}
});
@@ -194,7 +194,7 @@ var RedirectWarningHandler = Dialog.extend(ExceptionHandler, {
new Dialog(this, {
size: 'medium',
- title: _.str.capitalize(error.type) || _t("Odoo Warning"),
+ title: _.str.capitalize(error.type) || _t("Flectra Warning"),
buttons: [
{text: error.data.arguments[2], classes : "btn-primary", click: function() {
window.location.href = '#action='+error.data.arguments[1];
@@ -207,12 +207,12 @@ var RedirectWarningHandler = Dialog.extend(ExceptionHandler, {
}
});
-core.crash_registry.add('odoo.exceptions.RedirectWarning', RedirectWarningHandler);
+core.crash_registry.add('flectra.exceptions.RedirectWarning', RedirectWarningHandler);
return CrashManager;
});
-odoo.define('web.crash_manager', function (require) {
+flectra.define('web.crash_manager', function (require) {
"use strict";
var CrashManager = require('web.CrashManager');
diff --git a/addons/web/static/src/js/services/data_manager.js b/addons/web/static/src/js/services/data_manager.js
index 9b11f3a54a..ba4a571273 100644
--- a/addons/web/static/src/js/services/data_manager.js
+++ b/addons/web/static/src/js/services/data_manager.js
@@ -1,4 +1,4 @@
-odoo.define('web.DataManager', function (require) {
+flectra.define('web.DataManager', function (require) {
"use strict";
var config = require('web.config');
@@ -475,7 +475,7 @@ return core.Class.extend({
});
-odoo.define('web.data_manager', function (require) {
+flectra.define('web.data_manager', function (require) {
"use strict";
var DataManager = require('web.DataManager');
diff --git a/addons/web/static/src/js/services/local_storage_service.js b/addons/web/static/src/js/services/local_storage_service.js
index a452702623..bd809211f7 100644
--- a/addons/web/static/src/js/services/local_storage_service.js
+++ b/addons/web/static/src/js/services/local_storage_service.js
@@ -1,4 +1,4 @@
-odoo.define('web.LocalStorageService', function (require) {
+flectra.define('web.LocalStorageService', function (require) {
'use strict';
var AbstractService = require('web.AbstractService');
diff --git a/addons/web/static/src/js/services/session.js b/addons/web/static/src/js/services/session.js
index 35720f8185..38c57f0033 100644
--- a/addons/web/static/src/js/services/session.js
+++ b/addons/web/static/src/js/services/session.js
@@ -1,8 +1,8 @@
-odoo.define('web.session', function (require) {
+flectra.define('web.session', function (require) {
"use strict";
var Session = require('web.Session');
-var modules = odoo._modules;
+var modules = flectra._modules;
var session = new Session(undefined, undefined, {modules: modules, use_cors: false});
session.is_bound = session.session_bind();
diff --git a/addons/web/static/src/js/views/abstract_controller.js b/addons/web/static/src/js/views/abstract_controller.js
index 3bdf8ab08c..13e97939b6 100644
--- a/addons/web/static/src/js/views/abstract_controller.js
+++ b/addons/web/static/src/js/views/abstract_controller.js
@@ -1,9 +1,9 @@
-odoo.define('web.AbstractController', function (require) {
+flectra.define('web.AbstractController', function (require) {
"use strict";
/**
* The Controller class is the class coordinating the model and the renderer.
- * It is the C in MVC, and is what was formerly known in Odoo as a View.
+ * It is the C in MVC, and is what was formerly known in Flectra as a View.
*
* Its role is to listen to events bubbling up from the model/renderer, and call
* the appropriate methods if necessary. It also render control panel buttons,
@@ -141,7 +141,7 @@ var AbstractController = Widget.extend({
*
* Note that there is no guarantee that this method will be called. The
* controller is supposed to work even without a view manager, for example
- * in the frontend (odoo frontend = public website)
+ * in the frontend (flectra frontend = public website)
*
* @param {jQuery Node} $node
*/
@@ -244,7 +244,7 @@ var AbstractController = Widget.extend({
//--------------------------------------------------------------------------
/**
- * When an Odoo event arrives requesting a record to be opened, this method
+ * When an Flectra event arrives requesting a record to be opened, this method
* gets the res_id, and request a switch view in the appropriate mode
*
* Note: this method seems wrong, it relies on the model being a basic model,
@@ -252,7 +252,7 @@ var AbstractController = Widget.extend({
* @todo move this to basic controller? or view manager
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
* @param {number} event.data.id The local model ID for the record to be
* opened
* @param {string} [event.data.mode='readonly']
@@ -272,7 +272,7 @@ var AbstractController = Widget.extend({
* do the action. This kind of links is used a lot in no-content helpers.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onActionClicked: function (event) {
event.preventDefault();
diff --git a/addons/web/static/src/js/views/abstract_model.js b/addons/web/static/src/js/views/abstract_model.js
index 4ea6b217e6..0b48d3a764 100644
--- a/addons/web/static/src/js/views/abstract_model.js
+++ b/addons/web/static/src/js/views/abstract_model.js
@@ -1,4 +1,4 @@
-odoo.define('web.AbstractModel', function (require) {
+flectra.define('web.AbstractModel', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/abstract_renderer.js b/addons/web/static/src/js/views/abstract_renderer.js
index 935fcc6643..25f97b1ed4 100644
--- a/addons/web/static/src/js/views/abstract_renderer.js
+++ b/addons/web/static/src/js/views/abstract_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.AbstractRenderer', function (require) {
+flectra.define('web.AbstractRenderer', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/abstract_view.js b/addons/web/static/src/js/views/abstract_view.js
index 6cc8a3c814..061b08101f 100644
--- a/addons/web/static/src/js/views/abstract_view.js
+++ b/addons/web/static/src/js/views/abstract_view.js
@@ -1,15 +1,15 @@
-odoo.define('web.AbstractView', function (require) {
+flectra.define('web.AbstractView', function (require) {
"use strict";
/**
- * This is the base class inherited by all (JS) views. Odoo JS views are the
+ * This is the base class inherited by all (JS) views. Flectra JS views are the
* widgets used to display information in the main area of the web client
* (note: the search view is not a "JS view" in that sense).
*
* The abstract view role is to take a set of fields, an arch (the xml
* describing the view in db), and some params, and then, to create a
* controller, a renderer and a model. This is the classical MVC pattern, but
- * the word 'view' has historical significance in Odoo code, so we replaced the
+ * the word 'view' has historical significance in Flectra code, so we replaced the
* V in MVC by the 'renderer' word.
*
* JS views are supposed to be used like this:
diff --git a/addons/web/static/src/js/views/basic/basic_controller.js b/addons/web/static/src/js/views/basic/basic_controller.js
index 5fc68e3124..f9f8121cd1 100644
--- a/addons/web/static/src/js/views/basic/basic_controller.js
+++ b/addons/web/static/src/js/views/basic/basic_controller.js
@@ -1,4 +1,4 @@
-odoo.define('web.BasicController', function (require) {
+flectra.define('web.BasicController', function (require) {
"use strict";
/**
@@ -267,7 +267,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
*
* @param {string} id - the id of one of the view's records
* @param {string[]} fields - the changed fields
- * @param {OdooEvent} e - the event that triggered the change
+ * @param {FlectraEvent} e - the event that triggered the change
* @returns {Deferred}
*/
_confirmChange: function (id, fields, e) {
@@ -500,7 +500,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
* a list view.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onDiscardChanges: function (ev) {
var self = this;
@@ -522,7 +522,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
* in readonly (e.g. Priority).
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onFieldChanged: function (ev) {
if (this.mode === 'readonly') {
@@ -536,7 +536,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
*
* @todo: rename db_id into handle
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
* @param {Object} event.data
* @param {string} [event.data.db_id] handle of the data to reload and
* re-render (reload the whole form by default)
@@ -560,7 +560,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
},
/**
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onSetDirty: function (ev) {
ev.stopPropagation(); // prevent other controllers from handling this request
@@ -571,7 +571,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
* performed through the sidebar.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onSidebarDataAsked: function (event) {
var sidebarEnv = this._getSidebarEnv();
@@ -581,7 +581,7 @@ var BasicController = AbstractController.extend(FieldManagerMixin, {
* open the translation view for the current field
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onTranslate: function (event) {
event.stopPropagation();
diff --git a/addons/web/static/src/js/views/basic/basic_model.js b/addons/web/static/src/js/views/basic/basic_model.js
index d7fbee2b30..8f31be15ed 100644
--- a/addons/web/static/src/js/views/basic/basic_model.js
+++ b/addons/web/static/src/js/views/basic/basic_model.js
@@ -1,4 +1,4 @@
-odoo.define('web.BasicModel', function (require) {
+flectra.define('web.BasicModel', function (require) {
"use strict";
/**
@@ -64,7 +64,7 @@ odoo.define('web.BasicModel', function (require) {
* - count is basically the number of records being manipulated. We can't use
* res_ids, because we might have a very large number of records, or a
* domain, and the res_ids would be the current page, not the full set.
- * - model is the actual name of a (odoo) model, such as 'res.partner'
+ * - model is the actual name of a (flectra) model, such as 'res.partner'
* - fields contains the description of all the fields from the model. Note that
* these properties might have been modified by a view (for example, with
* required=true. So, the fields kind of depends of the context of the
diff --git a/addons/web/static/src/js/views/basic/basic_renderer.js b/addons/web/static/src/js/views/basic/basic_renderer.js
index 64b90c3302..b628d4c590 100644
--- a/addons/web/static/src/js/views/basic/basic_renderer.js
+++ b/addons/web/static/src/js/views/basic/basic_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.BasicRenderer', function (require) {
+flectra.define('web.BasicRenderer', function (require) {
"use strict";
/**
@@ -83,7 +83,7 @@ var BasicRenderer = AbstractRenderer.extend({
* @param {Object} state
* @param {string} id
* @param {string[]} fields
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
* @returns {Deferred} resolved with the list of widgets
* that have been reset
*/
@@ -677,11 +677,11 @@ var BasicRenderer = AbstractRenderer.extend({
/**
* When someone presses the TAB/UP/DOWN/... key in a widget, it is nice to
* be able to navigate in the view (default browser behaviors are disabled
- * by Odoo).
+ * by Flectra).
*
* @abstract
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onNavigationMove: function (ev) {},
});
diff --git a/addons/web/static/src/js/views/basic/basic_view.js b/addons/web/static/src/js/views/basic/basic_view.js
index 8a91e2b90c..452cab1ec1 100644
--- a/addons/web/static/src/js/views/basic/basic_view.js
+++ b/addons/web/static/src/js/views/basic/basic_view.js
@@ -1,4 +1,4 @@
-odoo.define('web.BasicView', function (require) {
+flectra.define('web.BasicView', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/basic/widget_registry.js b/addons/web/static/src/js/views/basic/widget_registry.js
index 470127bd12..2a70e99797 100644
--- a/addons/web/static/src/js/views/basic/widget_registry.js
+++ b/addons/web/static/src/js/views/basic/widget_registry.js
@@ -1,4 +1,4 @@
-odoo.define('web.widget_registry', function (require) {
+flectra.define('web.widget_registry', function (require) {
"use strict";
// This registry is supposed to contain all custom widgets that will be
diff --git a/addons/web/static/src/js/views/calendar/calendar_controller.js b/addons/web/static/src/js/views/calendar/calendar_controller.js
index 2b17710935..dfc74486a1 100644
--- a/addons/web/static/src/js/views/calendar/calendar_controller.js
+++ b/addons/web/static/src/js/views/calendar/calendar_controller.js
@@ -1,4 +1,4 @@
-odoo.define('web.CalendarController', function (require) {
+flectra.define('web.CalendarController', function (require) {
"use strict";
/**
@@ -111,7 +111,7 @@ var CalendarController = AbstractController.extend({
//--------------------------------------------------------------------------
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onChangeDate: function (event) {
var modelData = this.model.get();
@@ -133,7 +133,7 @@ var CalendarController = AbstractController.extend({
this.reload();
},
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onChangeFilter: function (event) {
if (this.model.changeFilter(event.data) && !event.data.no_reload) {
@@ -141,7 +141,7 @@ var CalendarController = AbstractController.extend({
}
},
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onDropRecord: function (event) {
this._updateRecord(event.data);
@@ -150,7 +150,7 @@ var CalendarController = AbstractController.extend({
* Handles saving data coming from quick create box
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onQuickCreate: function (event) {
var self = this;
@@ -177,7 +177,7 @@ var CalendarController = AbstractController.extend({
});
},
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onOpenCreate: function (event) {
var self = this;
@@ -247,7 +247,7 @@ var CalendarController = AbstractController.extend({
}
},
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onOpenEvent: function (event) {
var self = this;
@@ -329,7 +329,7 @@ var CalendarController = AbstractController.extend({
this.reload();
},
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onUpdateRecord: function (event) {
this._updateRecord(event.data);
@@ -338,7 +338,7 @@ var CalendarController = AbstractController.extend({
* The internal state of the calendar (mode, period displayed) has changed,
* so update the control panel buttons and breadcrumbs accordingly.
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onViewUpdated: function (event) {
this.mode = event.data.mode;
diff --git a/addons/web/static/src/js/views/calendar/calendar_model.js b/addons/web/static/src/js/views/calendar/calendar_model.js
index fac6845a31..e83e5a8646 100644
--- a/addons/web/static/src/js/views/calendar/calendar_model.js
+++ b/addons/web/static/src/js/views/calendar/calendar_model.js
@@ -1,4 +1,4 @@
-odoo.define('web.CalendarModel', function (require) {
+flectra.define('web.CalendarModel', function (require) {
"use strict";
var AbstractModel = require('web.AbstractModel');
@@ -132,7 +132,7 @@ return AbstractModel.extend({
return true;
},
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
createRecord: function (event) {
var data = this.calendarEventToRecord(event.data.data);
diff --git a/addons/web/static/src/js/views/calendar/calendar_quick_create.js b/addons/web/static/src/js/views/calendar/calendar_quick_create.js
index 698c5d8895..74bdbe6d6b 100644
--- a/addons/web/static/src/js/views/calendar/calendar_quick_create.js
+++ b/addons/web/static/src/js/views/calendar/calendar_quick_create.js
@@ -1,4 +1,4 @@
-odoo.define('web.CalendarQuickCreate', function (require) {
+flectra.define('web.CalendarQuickCreate', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/web/static/src/js/views/calendar/calendar_renderer.js b/addons/web/static/src/js/views/calendar/calendar_renderer.js
index 6283a3539f..b156ab09ff 100644
--- a/addons/web/static/src/js/views/calendar/calendar_renderer.js
+++ b/addons/web/static/src/js/views/calendar/calendar_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.CalendarRenderer', function (require) {
+flectra.define('web.CalendarRenderer', function (require) {
"use strict";
var AbstractRenderer = require('web.AbstractRenderer');
@@ -96,7 +96,7 @@ var SidebarFilter = Widget.extend(FieldManagerMixin, {
//--------------------------------------------------------------------------
/**
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onFieldChanged: function (event) {
var self = this;
diff --git a/addons/web/static/src/js/views/calendar/calendar_view.js b/addons/web/static/src/js/views/calendar/calendar_view.js
index 7f58ca5563..a25bca2913 100644
--- a/addons/web/static/src/js/views/calendar/calendar_view.js
+++ b/addons/web/static/src/js/views/calendar/calendar_view.js
@@ -1,4 +1,4 @@
-odoo.define('web.CalendarView', function (require) {
+flectra.define('web.CalendarView', function (require) {
"use strict";
var AbstractView = require('web.AbstractView');
diff --git a/addons/web/static/src/js/views/field_manager_mixin.js b/addons/web/static/src/js/views/field_manager_mixin.js
index 0bc1b5acfc..7ccf77c3b2 100644
--- a/addons/web/static/src/js/views/field_manager_mixin.js
+++ b/addons/web/static/src/js/views/field_manager_mixin.js
@@ -1,4 +1,4 @@
-odoo.define('web.FieldManagerMixin', function (require) {
+flectra.define('web.FieldManagerMixin', function (require) {
"use strict";
/**
@@ -40,7 +40,7 @@ var FieldManagerMixin = {
*
* @param {string} dataPointID
* @param {Object} changes
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
* @returns {Deferred} resolves when the change has been done, and the UI
* updated
*/
@@ -65,7 +65,7 @@ var FieldManagerMixin = {
* @abstract
* @param {string} id basicModel Id for the changed record
* @param {string[]} fields the fields (names) that have been changed
- * @param {OdooEvent} event the event that triggered the change
+ * @param {FlectraEvent} event the event that triggered the change
* @returns {Deferred}
*/
_confirmChange: function (id, fields, event) {
@@ -94,7 +94,7 @@ var FieldManagerMixin = {
* field changes. Most of the time, it notifies the model that a change
* just occurred, then confirm the change.
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onFieldChanged: function (event) {
// in case of field changed in relational record (e.g. in the form view
@@ -113,7 +113,7 @@ var FieldManagerMixin = {
* that, it can trigger a load event. This will then ask the model to
* actually reload the data, then call the on_success callback.
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
* @param {number} [event.data.limit]
* @param {number} [event.data.offset]
* @param {function} [event.data.on_success] callback
@@ -136,7 +136,7 @@ var FieldManagerMixin = {
},
/**
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
* @param {function} ev.data.action the function to execute in the mutex
*/
_onMutexify: function (ev) {
diff --git a/addons/web/static/src/js/views/form/form_controller.js b/addons/web/static/src/js/views/form/form_controller.js
index b581c4354d..57ebc3fcbe 100644
--- a/addons/web/static/src/js/views/form/form_controller.js
+++ b/addons/web/static/src/js/views/form/form_controller.js
@@ -1,4 +1,4 @@
-odoo.define('web.FormController', function (require) {
+flectra.define('web.FormController', function (require) {
"use strict";
var BasicController = require('web.BasicController');
@@ -363,12 +363,12 @@ var FormController = BasicController.extend({
*/
_onBounceEdit: function () {
if (this.$buttons) {
- this.$buttons.find('.o_form_button_edit').odooBounce();
+ this.$buttons.find('.o_form_button_edit').flectraBounce();
}
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onButtonClicked: function (event) {
// stop the event's propagation as a form controller might have other
@@ -460,7 +460,7 @@ var FormController = BasicController.extend({
* in a x2many list view
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onFreezeOrder: function (event) {
event.stopPropagation();
@@ -476,7 +476,7 @@ var FormController = BasicController.extend({
* with the one of the form view.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onOpenOne2ManyRecord: function (event) {
event.stopPropagation();
@@ -505,7 +505,7 @@ var FormController = BasicController.extend({
* Open an existing record in a form view dialog
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onOpenRecord: function (event) {
event.stopPropagation();
@@ -536,7 +536,7 @@ var FormController = BasicController.extend({
* in a x2many list view
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onToggleColumnOrder: function (event) {
event.stopPropagation();
diff --git a/addons/web/static/src/js/views/form/form_renderer.js b/addons/web/static/src/js/views/form/form_renderer.js
index 847c29b883..f986fdf21b 100644
--- a/addons/web/static/src/js/views/form/form_renderer.js
+++ b/addons/web/static/src/js/views/form/form_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.FormRenderer', function (require) {
+flectra.define('web.FormRenderer', function (require) {
"use strict";
var BasicRenderer = require('web.BasicRenderer');
@@ -867,7 +867,7 @@ var FormRenderer = BasicRenderer.extend({
/**
* @override
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onNavigationMove: function (ev) {
ev.stopPropagation();
diff --git a/addons/web/static/src/js/views/form/form_view.js b/addons/web/static/src/js/views/form/form_view.js
index 42cf5de12e..972a62e28f 100644
--- a/addons/web/static/src/js/views/form/form_view.js
+++ b/addons/web/static/src/js/views/form/form_view.js
@@ -1,4 +1,4 @@
-odoo.define('web.FormView', function (require) {
+flectra.define('web.FormView', function (require) {
"use strict";
var BasicView = require('web.BasicView');
diff --git a/addons/web/static/src/js/views/graph/graph_controller.js b/addons/web/static/src/js/views/graph/graph_controller.js
index 77e3f1e7a4..79a42e4090 100644
--- a/addons/web/static/src/js/views/graph/graph_controller.js
+++ b/addons/web/static/src/js/views/graph/graph_controller.js
@@ -1,7 +1,7 @@
-odoo.define('web.GraphController', function (require) {
+flectra.define('web.GraphController', function (require) {
"use strict";
/*---------------------------------------------------------
- * Odoo Graph view
+ * Flectra Graph view
*---------------------------------------------------------*/
var AbstractController = require('web.AbstractController');
diff --git a/addons/web/static/src/js/views/graph/graph_model.js b/addons/web/static/src/js/views/graph/graph_model.js
index 0518e27963..19e8ecec1c 100644
--- a/addons/web/static/src/js/views/graph/graph_model.js
+++ b/addons/web/static/src/js/views/graph/graph_model.js
@@ -1,4 +1,4 @@
-odoo.define('web.GraphModel', function (require) {
+flectra.define('web.GraphModel', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/graph/graph_renderer.js b/addons/web/static/src/js/views/graph/graph_renderer.js
index 7444384340..29735f0feb 100644
--- a/addons/web/static/src/js/views/graph/graph_renderer.js
+++ b/addons/web/static/src/js/views/graph/graph_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.GraphRenderer', function (require) {
+flectra.define('web.GraphRenderer', function (require) {
"use strict";
/**
@@ -52,7 +52,7 @@ return AbstractRenderer.extend({
*
* Note that This method is synchronous, but the actual rendering is done
* asynchronously (in a setTimeout). The reason for that is that nvd3/d3
- * needs to be in the DOM to correctly render itself. So, we trick Odoo by
+ * needs to be in the DOM to correctly render itself. So, we trick Flectra by
* returning immediately, then wait a tiny interval before actually
* displaying the data.
*
diff --git a/addons/web/static/src/js/views/graph/graph_view.js b/addons/web/static/src/js/views/graph/graph_view.js
index a5ad21e181..2c9ce79717 100644
--- a/addons/web/static/src/js/views/graph/graph_view.js
+++ b/addons/web/static/src/js/views/graph/graph_view.js
@@ -1,4 +1,4 @@
-odoo.define('web.GraphView', function (require) {
+flectra.define('web.GraphView', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/kanban/kanban_column.js b/addons/web/static/src/js/views/kanban/kanban_column.js
index 0e50e37194..2c14cd003d 100644
--- a/addons/web/static/src/js/views/kanban/kanban_column.js
+++ b/addons/web/static/src/js/views/kanban/kanban_column.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanColumn', function (require) {
+flectra.define('web.KanbanColumn', function (require) {
"use strict";
var config = require('web.config');
@@ -298,7 +298,7 @@ var KanbanColumn = Widget.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onQuickCreateAddRecord: function (event) {
this.trigger_up('quick_create_record', event.data);
@@ -313,14 +313,14 @@ var KanbanColumn = Widget.extend({
},
/**
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onTweakColumn: function (ev) {
ev.data.callback(this.$el);
},
/**
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onTweakColumnRecords: function (ev) {
_.each(this.records, function (record) {
diff --git a/addons/web/static/src/js/views/kanban/kanban_column_progressbar.js b/addons/web/static/src/js/views/kanban/kanban_column_progressbar.js
index 7e4f2cd96a..1126b9f0ed 100644
--- a/addons/web/static/src/js/views/kanban/kanban_column_progressbar.js
+++ b/addons/web/static/src/js/views/kanban/kanban_column_progressbar.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanColumnProgressBar', function (require) {
+flectra.define('web.KanbanColumnProgressBar', function (require) {
'use strict';
var Widget = require('web.Widget');
diff --git a/addons/web/static/src/js/views/kanban/kanban_controller.js b/addons/web/static/src/js/views/kanban/kanban_controller.js
index 9e97ec4068..3a66332283 100644
--- a/addons/web/static/src/js/views/kanban/kanban_controller.js
+++ b/addons/web/static/src/js/views/kanban/kanban_controller.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanController', function (require) {
+flectra.define('web.KanbanController', function (require) {
"use strict";
/**
@@ -150,7 +150,7 @@ var KanbanController = BasicController.extend({
* a group and to update the renderer
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onAddColumn: function (event) {
var self = this;
@@ -163,7 +163,7 @@ var KanbanController = BasicController.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onAddRecordToColumn: function (event) {
var self = this;
@@ -185,7 +185,7 @@ var KanbanController = BasicController.extend({
* what this handler is for.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onArchiveRecords: function (event) {
var self = this;
@@ -204,7 +204,7 @@ var KanbanController = BasicController.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onButtonClicked: function (event) {
var self = this;
@@ -260,14 +260,14 @@ var KanbanController = BasicController.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onColumnResequence: function (event) {
this._resequenceRecords(event.target.db_id, event.data.ids);
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onDeleteColumn: function (event) {
var self = this;
@@ -290,7 +290,7 @@ var KanbanController = BasicController.extend({
* lazy loaded)
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onLoadColumnRecords: function (event) {
var self = this;
@@ -305,7 +305,7 @@ var KanbanController = BasicController.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onLoadMore: function (event) {
var self = this;
@@ -318,7 +318,7 @@ var KanbanController = BasicController.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onQuickCreateRecord: function (event) {
var self = this;
@@ -368,14 +368,14 @@ var KanbanController = BasicController.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onRecordDelete: function (event) {
this._deleteRecords([event.data.id]);
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onResequenceColumn: function (event) {
var self = this;
@@ -387,7 +387,7 @@ var KanbanController = BasicController.extend({
},
/**
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onToggleColumn: function (event) {
var self = this;
@@ -402,7 +402,7 @@ var KanbanController = BasicController.extend({
* @todo should simply use field_changed event...
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onUpdateRecord: function (ev) {
var changes = _.clone(ev.data);
diff --git a/addons/web/static/src/js/views/kanban/kanban_model.js b/addons/web/static/src/js/views/kanban/kanban_model.js
index aba59555e9..28ff8626bf 100644
--- a/addons/web/static/src/js/views/kanban/kanban_model.js
+++ b/addons/web/static/src/js/views/kanban/kanban_model.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanModel', function (require) {
+flectra.define('web.KanbanModel', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/kanban/kanban_quick_create.js b/addons/web/static/src/js/views/kanban/kanban_quick_create.js
index 216cf1bbe8..045895d92d 100644
--- a/addons/web/static/src/js/views/kanban/kanban_quick_create.js
+++ b/addons/web/static/src/js/views/kanban/kanban_quick_create.js
@@ -1,4 +1,4 @@
-odoo.define('web.kanban_quick_create', function (require) {
+flectra.define('web.kanban_quick_create', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/kanban/kanban_record.js b/addons/web/static/src/js/views/kanban/kanban_record.js
index 361573fd3a..e5bb575907 100644
--- a/addons/web/static/src/js/views/kanban/kanban_record.js
+++ b/addons/web/static/src/js/views/kanban/kanban_record.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanRecord', function (require) {
+flectra.define('web.KanbanRecord', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/kanban/kanban_renderer.js b/addons/web/static/src/js/views/kanban/kanban_renderer.js
index e4e37095af..4c94452097 100644
--- a/addons/web/static/src/js/views/kanban/kanban_renderer.js
+++ b/addons/web/static/src/js/views/kanban/kanban_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanRenderer', function (require) {
+flectra.define('web.KanbanRenderer', function (require) {
"use strict";
var BasicRenderer = require('web.BasicRenderer');
@@ -373,7 +373,7 @@ var KanbanRenderer = BasicRenderer.extend({
* received data.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onSetProgressBarState: function (ev) {
if (!this.columnOptions.progressBarStates[ev.data.columnID]) {
diff --git a/addons/web/static/src/js/views/kanban/kanban_renderer_mobile.js b/addons/web/static/src/js/views/kanban/kanban_renderer_mobile.js
index 7614d6bca9..45d1bb5e26 100644
--- a/addons/web/static/src/js/views/kanban/kanban_renderer_mobile.js
+++ b/addons/web/static/src/js/views/kanban/kanban_renderer_mobile.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanRendererMobile', function (require) {
+flectra.define('web.KanbanRendererMobile', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/kanban/kanban_view.js b/addons/web/static/src/js/views/kanban/kanban_view.js
index 730b761b87..a614f3601e 100644
--- a/addons/web/static/src/js/views/kanban/kanban_view.js
+++ b/addons/web/static/src/js/views/kanban/kanban_view.js
@@ -1,4 +1,4 @@
-odoo.define('web.KanbanView', function (require) {
+flectra.define('web.KanbanView', function (require) {
"use strict";
var BasicView = require('web.BasicView');
diff --git a/addons/web/static/src/js/views/list/list_controller.js b/addons/web/static/src/js/views/list/list_controller.js
index 982d5456bc..8b5b17d8cd 100644
--- a/addons/web/static/src/js/views/list/list_controller.js
+++ b/addons/web/static/src/js/views/list/list_controller.js
@@ -1,4 +1,4 @@
-odoo.define('web.ListController', function (require) {
+flectra.define('web.ListController', function (require) {
"use strict";
/**
@@ -322,7 +322,7 @@ var ListController = BasicController.extend({
* Add a record to the list
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onAddRecord: function (event) {
event.stopPropagation();
@@ -336,7 +336,7 @@ var ListController = BasicController.extend({
* Handles a click on a button by performing its action.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onButtonClicked: function (event) {
event.stopPropagation();
@@ -382,7 +382,7 @@ var ListController = BasicController.extend({
/**
* Called when the user asks to edit a row -> Updates the controller buttons
*
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onEditLine: function (ev) {
var self = this;
@@ -409,7 +409,7 @@ var ListController = BasicController.extend({
* Called when the renderer displays an editable row and the user tries to
* leave it -> Saves the record associated to that line.
*
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onSaveLine: function (ev) {
var recordID = ev.data.recordID;
@@ -421,7 +421,7 @@ var ListController = BasicController.extend({
* Force a resequence of the records curently on this page.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onResequence: function (event) {
var self = this;
@@ -449,7 +449,7 @@ var ListController = BasicController.extend({
* left), we need to display (or hide) the 'sidebar'.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onSelectionChanged: function (event) {
this.selectedRecords = event.data.selection;
@@ -477,7 +477,7 @@ var ListController = BasicController.extend({
* rerender the view.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onToggleColumnOrder: function (event) {
event.stopPropagation();
@@ -496,7 +496,7 @@ var ListController = BasicController.extend({
* renderer.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onToggleGroup: function (event) {
this.model
diff --git a/addons/web/static/src/js/views/list/list_editable_renderer.js b/addons/web/static/src/js/views/list/list_editable_renderer.js
index b57d44e7de..e7316b8c59 100644
--- a/addons/web/static/src/js/views/list/list_editable_renderer.js
+++ b/addons/web/static/src/js/views/list/list_editable_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.EditableListRenderer', function (require) {
+flectra.define('web.EditableListRenderer', function (require) {
"use strict";
/**
@@ -8,7 +8,7 @@ odoo.define('web.EditableListRenderer', function (require) {
* file simply 'includes' the basic ListRenderer to add all the necessary
* behaviors to enable editing records.
*
- * Unlike Odoo v10 and before, this list renderer is independant from the form
+ * Unlike Flectra v10 and before, this list renderer is independant from the form
* view. It uses the same widgets, but the code is totally stand alone.
*/
var core = require('web.core');
@@ -123,7 +123,7 @@ ListRenderer.include({
* @param {Object} state
* @param {string} id
* @param {string[]} fields
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
* @returns {Deferred} resolved with the list of widgets
* that have been reset
*/
@@ -745,7 +745,7 @@ ListRenderer.include({
* above if on the first line automatically creates a new line.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onNavigationMove: function (ev) {
ev.stopPropagation(); // stop the event, the action is done by this renderer
diff --git a/addons/web/static/src/js/views/list/list_renderer.js b/addons/web/static/src/js/views/list/list_renderer.js
index 858a8eaed8..e161e81eb0 100644
--- a/addons/web/static/src/js/views/list/list_renderer.js
+++ b/addons/web/static/src/js/views/list/list_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.ListRenderer', function (require) {
+flectra.define('web.ListRenderer', function (require) {
"use strict";
var BasicRenderer = require('web.BasicRenderer');
diff --git a/addons/web/static/src/js/views/list/list_view.js b/addons/web/static/src/js/views/list/list_view.js
index 8a989dad35..a014308dde 100644
--- a/addons/web/static/src/js/views/list/list_view.js
+++ b/addons/web/static/src/js/views/list/list_view.js
@@ -1,4 +1,4 @@
-odoo.define('web.ListView', function (require) {
+flectra.define('web.ListView', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/pivot/pivot_controller.js b/addons/web/static/src/js/views/pivot/pivot_controller.js
index 731183e7ef..d2331c90fd 100644
--- a/addons/web/static/src/js/views/pivot/pivot_controller.js
+++ b/addons/web/static/src/js/views/pivot/pivot_controller.js
@@ -1,7 +1,7 @@
-odoo.define('web.PivotController', function (require) {
+flectra.define('web.PivotController', function (require) {
"use strict";
/**
- * Odoo Pivot Table Controller
+ * Flectra Pivot Table Controller
*
* This class is the Controller for the pivot table view. It has to coordinate
* the actions coming from the search view (through the update method), from
diff --git a/addons/web/static/src/js/views/pivot/pivot_model.js b/addons/web/static/src/js/views/pivot/pivot_model.js
index 7eb2ba4bc6..514e297e79 100644
--- a/addons/web/static/src/js/views/pivot/pivot_model.js
+++ b/addons/web/static/src/js/views/pivot/pivot_model.js
@@ -1,4 +1,4 @@
-odoo.define('web.PivotModel', function (require) {
+flectra.define('web.PivotModel', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/pivot/pivot_renderer.js b/addons/web/static/src/js/views/pivot/pivot_renderer.js
index d279d59d4b..cb2d3afce1 100644
--- a/addons/web/static/src/js/views/pivot/pivot_renderer.js
+++ b/addons/web/static/src/js/views/pivot/pivot_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web.PivotRenderer', function (require) {
+flectra.define('web.PivotRenderer', function (require) {
"use strict";
var AbstractRenderer = require('web.AbstractRenderer');
diff --git a/addons/web/static/src/js/views/pivot/pivot_view.js b/addons/web/static/src/js/views/pivot/pivot_view.js
index 7e4dddc4a5..7752da966c 100644
--- a/addons/web/static/src/js/views/pivot/pivot_view.js
+++ b/addons/web/static/src/js/views/pivot/pivot_view.js
@@ -1,4 +1,4 @@
-odoo.define('web.PivotView', function (require) {
+flectra.define('web.PivotView', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/views/standalone_field_manager_mixin.js b/addons/web/static/src/js/views/standalone_field_manager_mixin.js
index da3cc19350..8062888d96 100644
--- a/addons/web/static/src/js/views/standalone_field_manager_mixin.js
+++ b/addons/web/static/src/js/views/standalone_field_manager_mixin.js
@@ -1,4 +1,4 @@
-odoo.define('web.StandaloneFieldManagerMixin', function (require) {
+flectra.define('web.StandaloneFieldManagerMixin', function (require) {
"use strict";
@@ -37,7 +37,7 @@ var StandaloneFieldManagerMixin = _.extend({}, FieldManagerMixin, {
* @private
* @param {string} id basicModel Id for the changed record
* @param {string[]} fields the fields (names) that have been changed
- * @param {OdooEvent} event the event that triggered the change
+ * @param {FlectraEvent} event the event that triggered the change
* @returns {Deferred}
*/
_confirmChange: function (id, fields, event) {
diff --git a/addons/web/static/src/js/views/view_dialogs.js b/addons/web/static/src/js/views/view_dialogs.js
index a33f6f740b..244c66d226 100644
--- a/addons/web/static/src/js/views/view_dialogs.js
+++ b/addons/web/static/src/js/views/view_dialogs.js
@@ -1,4 +1,4 @@
-odoo.define('web.view_dialogs', function (require) {
+flectra.define('web.view_dialogs', function (require) {
"use strict";
var core = require('web.core');
@@ -57,7 +57,7 @@ var ViewDialog = Dialog.extend({
* We stop all push_state events from bubbling up. It would be weird to
* change the url because a dialog opened.
*
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onPushState: function (event) {
event.stopPropagation();
diff --git a/addons/web/static/src/js/views/view_registry.js b/addons/web/static/src/js/views/view_registry.js
index f936787ba1..bacc448db5 100644
--- a/addons/web/static/src/js/views/view_registry.js
+++ b/addons/web/static/src/js/views/view_registry.js
@@ -1,4 +1,4 @@
-odoo.define('web.view_registry', function (require) {
+flectra.define('web.view_registry', function (require) {
"use strict";
/**
@@ -16,7 +16,7 @@ return new Registry();
});
-odoo.define('web._view_registry', function (require) {
+flectra.define('web._view_registry', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/widgets/auto_complete.js b/addons/web/static/src/js/widgets/auto_complete.js
index 883206ae4c..2d6d959314 100644
--- a/addons/web/static/src/js/widgets/auto_complete.js
+++ b/addons/web/static/src/js/widgets/auto_complete.js
@@ -1,4 +1,4 @@
-odoo.define('web.AutoComplete', function (require) {
+flectra.define('web.AutoComplete', function (require) {
"use strict";
var Widget = require('web.Widget');
diff --git a/addons/web/static/src/js/widgets/change_password.js b/addons/web/static/src/js/widgets/change_password.js
index b71ae4aaf4..4364980403 100644
--- a/addons/web/static/src/js/widgets/change_password.js
+++ b/addons/web/static/src/js/widgets/change_password.js
@@ -1,4 +1,4 @@
-odoo.define('web.ChangePassword', function (require) {
+flectra.define('web.ChangePassword', function (require) {
"use strict";
/**
diff --git a/addons/web/static/src/js/widgets/data_export.js b/addons/web/static/src/js/widgets/data_export.js
index 4b9f6a29a4..dd825be03f 100644
--- a/addons/web/static/src/js/widgets/data_export.js
+++ b/addons/web/static/src/js/widgets/data_export.js
@@ -1,4 +1,4 @@
-odoo.define('web.DataExport', function (require) {
+flectra.define('web.DataExport', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/web/static/src/js/widgets/date_picker.js b/addons/web/static/src/js/widgets/date_picker.js
index 8d0b04332a..c69073574f 100644
--- a/addons/web/static/src/js/widgets/date_picker.js
+++ b/addons/web/static/src/js/widgets/date_picker.js
@@ -1,4 +1,4 @@
-odoo.define('web.datepicker', function (require) {
+flectra.define('web.datepicker', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/web/static/src/js/widgets/debug_manager.js b/addons/web/static/src/js/widgets/debug_manager.js
index d6069f7d4e..e6992dfb25 100644
--- a/addons/web/static/src/js/widgets/debug_manager.js
+++ b/addons/web/static/src/js/widgets/debug_manager.js
@@ -1,4 +1,4 @@
-odoo.define('web.DebugManager', function (require) {
+flectra.define('web.DebugManager', function (require) {
"use strict";
var ActionManager = require('web.ActionManager');
diff --git a/addons/web/static/src/js/widgets/domain_selector.js b/addons/web/static/src/js/widgets/domain_selector.js
index 0619cf613c..678e706df3 100644
--- a/addons/web/static/src/js/widgets/domain_selector.js
+++ b/addons/web/static/src/js/widgets/domain_selector.js
@@ -1,4 +1,4 @@
-odoo.define("web.DomainSelector", function (require) {
+flectra.define("web.DomainSelector", function (require) {
"use strict";
var core = require("web.core");
@@ -406,7 +406,7 @@ var DomainTree = DomainNode.extend({
* Called when a node addition was asked -> add the new domain part if on
* the right node or let the propagation continue.
*
- * @param {OdooEvent} e
+ * @param {FlectraEvent} e
*/
_onNodeAdditionAsk: function (e) {
var domain = [["id", "=", 1]];
@@ -421,7 +421,7 @@ var DomainTree = DomainNode.extend({
* Called when a node deletion was asked -> remove the domain part if on
* the right node or let the propagation continue.
*
- * @param {OdooEvent} e
+ * @param {FlectraEvent} e
*/
_onNodeDeletionAsk: function (e) {
if (this._removeChild(e.data.child)) {
@@ -575,7 +575,7 @@ var DomainSelector = DomainTree.extend({
* Called when a (child's) domain has changed -> redraw the entire tree
* representation if necessary
*
- * @param {OdooEvent} e
+ * @param {FlectraEvent} e
*/
_onDomainChange: function (e) {
// If a subdomain notifies that it underwent some modifications, the
@@ -915,7 +915,7 @@ var DomainLeaf = DomainNode.extend({
* Called when the field selector value is changed -> change the internal
* chain state and adapt
*
- * @param {OdooEvent} e
+ * @param {FlectraEvent} e
*/
_onFieldChainChange: function (e) {
this._changeFieldChain(e.data.chain);
diff --git a/addons/web/static/src/js/widgets/domain_selector_dialog.js b/addons/web/static/src/js/widgets/domain_selector_dialog.js
index 5f41973951..7c02bdf050 100644
--- a/addons/web/static/src/js/widgets/domain_selector_dialog.js
+++ b/addons/web/static/src/js/widgets/domain_selector_dialog.js
@@ -1,4 +1,4 @@
-odoo.define("web.DomainSelectorDialog", function (require) {
+flectra.define("web.DomainSelectorDialog", function (require) {
"use strict";
var core = require("web.core");
diff --git a/addons/web/static/src/js/widgets/iframe_widget.js b/addons/web/static/src/js/widgets/iframe_widget.js
index 77d27fac5b..80c27522d3 100644
--- a/addons/web/static/src/js/widgets/iframe_widget.js
+++ b/addons/web/static/src/js/widgets/iframe_widget.js
@@ -1,4 +1,4 @@
-odoo.define('web.IFrameWidget', function (require) {
+flectra.define('web.IFrameWidget', function (require) {
"use strict";
var Widget = require('web.Widget');
diff --git a/addons/web/static/src/js/widgets/model_field_selector.js b/addons/web/static/src/js/widgets/model_field_selector.js
index 81abfbe0d6..0a331e9c9e 100644
--- a/addons/web/static/src/js/widgets/model_field_selector.js
+++ b/addons/web/static/src/js/widgets/model_field_selector.js
@@ -1,4 +1,4 @@
-odoo.define("web.ModelFieldSelector", function (require) {
+flectra.define("web.ModelFieldSelector", function (require) {
"use strict";
var core = require("web.core");
diff --git a/addons/web/static/src/js/widgets/notification.js b/addons/web/static/src/js/widgets/notification.js
index 6e11b4c864..179561a319 100644
--- a/addons/web/static/src/js/widgets/notification.js
+++ b/addons/web/static/src/js/widgets/notification.js
@@ -1,4 +1,4 @@
-odoo.define('web.notification', function (require) {
+flectra.define('web.notification', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/web/static/src/js/widgets/rainbow_man.js b/addons/web/static/src/js/widgets/rainbow_man.js
index 53624b6322..b846f7f4bd 100644
--- a/addons/web/static/src/js/widgets/rainbow_man.js
+++ b/addons/web/static/src/js/widgets/rainbow_man.js
@@ -1,4 +1,4 @@
-odoo.define('web.rainbow_man', function (require) {
+flectra.define('web.rainbow_man', function (require) {
"use strict";
var ajax = require("web.ajax");
diff --git a/addons/web/static/src/js/widgets/switch_company_menu.js b/addons/web/static/src/js/widgets/switch_company_menu.js
index a51f16eb2f..aa1975f344 100644
--- a/addons/web/static/src/js/widgets/switch_company_menu.js
+++ b/addons/web/static/src/js/widgets/switch_company_menu.js
@@ -1,4 +1,4 @@
-odoo.define('web.SwitchCompanyMenu', function(require) {
+flectra.define('web.SwitchCompanyMenu', function(require) {
"use strict";
var config = require('web.config');
diff --git a/addons/web/static/src/less/base_settings.less b/addons/web/static/src/less/base_settings.less
index 74ef6472ae..8dc32d6bfc 100644
--- a/addons/web/static/src/less/base_settings.less
+++ b/addons/web/static/src/less/base_settings.less
@@ -4,10 +4,10 @@
// MIXINS
.o-base-settings-horizontal-padding(@padding-base: @padding-small-vertical) {
- padding: @padding-base @odoo-horizontal-padding;
+ padding: @padding-base @flectra-horizontal-padding;
@media (min-width: @screen-lg-min) {
- padding-left: @odoo-horizontal-padding*2;;
+ padding-left: @flectra-horizontal-padding*2;;
}
}
@@ -30,7 +30,7 @@
.o_panel {
.o-flex-display();
.o-flex-flow(row, wrap);
- margin-bottom: @odoo-sheet-vpadding*0.5;
+ margin-bottom: @flectra-sheet-vpadding*0.5;
width: 100%;
.title, .o_setting_search {
@@ -89,7 +89,7 @@
.o-flex-flow(column, nowrap);
background: @gray-dark;
overflow: auto;
- padding-top: @odoo-horizontal-padding*0.5;
+ padding-top: @flectra-horizontal-padding*0.5;
@media (max-width: @screen-xs-max) {
.o-flex(0, 0, @o-base-settings-mobile-tabs-height);
@@ -101,7 +101,7 @@
.selected {
background-color: @gray-darker;
- box-shadow: inset 3px 0 0 @odoo-brand-optional;
+ box-shadow: inset 3px 0 0 @flectra-brand-optional;
.app_name {
color: white;
@@ -110,7 +110,7 @@
.tab {
.o-flex-display();
- padding: 0 @odoo-horizontal-padding*2 0 @odoo-horizontal-padding;
+ padding: 0 @flectra-horizontal-padding*2 0 @flectra-horizontal-padding;
height: 40px;
color: @gray-lighter-darker;
font-size: 13px;
@@ -142,7 +142,7 @@
&:after {
content: '';
- background: @odoo-brand-optional;
+ background: @flectra-brand-optional;
opacity: 0;
.o-position-absolute(auto, 0, 0, 0);
.size(100%, 3px);
@@ -176,7 +176,7 @@
.settings {
position: relative;
.o-flex(1, 1, 100%);
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
overflow: auto;
> .app_settings_block {
diff --git a/addons/web/static/src/less/bootstrap_overridden.less b/addons/web/static/src/less/bootstrap_overridden.less
index ca6383e011..d45abea45e 100644
--- a/addons/web/static/src/less/bootstrap_overridden.less
+++ b/addons/web/static/src/less/bootstrap_overridden.less
@@ -3,44 +3,44 @@
// ------------------------------------------------------------------
//== Grid
-@grid-gutter-width: @odoo-horizontal-padding*2;
+@grid-gutter-width: @flectra-horizontal-padding*2;
//== Colors
-@brand-primary: @odoo-brand-primary;
-@gray-lighter: @odoo-color-silver;
+@brand-primary: @flectra-brand-primary;
+@gray-lighter: @flectra-color-silver;
//== Titles
-@font-size-h1: @odoo-font-size-base + 13px;
-@font-size-h2: @odoo-font-size-base + 7px;
-@font-size-h3: @odoo-font-size-base + 3px;
-@font-size-h4: @odoo-font-size-base + 2px;
-@font-size-h5: @odoo-font-size-base + 1px;
-@font-size-h6: @odoo-font-size-base;
+@font-size-h1: @flectra-font-size-base + 13px;
+@font-size-h2: @flectra-font-size-base + 7px;
+@font-size-h3: @flectra-font-size-base + 3px;
+@font-size-h4: @flectra-font-size-base + 2px;
+@font-size-h5: @flectra-font-size-base + 1px;
+@font-size-h6: @flectra-font-size-base;
//== Scaffolding
-@body-bg: @odoo-brand-secondary;
-@text-color: @odoo-main-text-color;
-@link-color: @odoo-brand-optional;
+@body-bg: @flectra-brand-secondary;
+@text-color: @flectra-main-text-color;
+@link-color: @flectra-brand-optional;
@link-hover-decoration: none;
//== Typography
@font-family-sans-serif: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif;
-@font-size-base: @odoo-font-size-base;
+@font-size-base: @flectra-font-size-base;
@headings-font-weight: bold;
//== Components
@component-active-bg: @gray-lighter;
-@component-active-color: @odoo-brand-optional;
+@component-active-color: @flectra-brand-optional;
//== Badges
-@badge-bg: @odoo-brand-optional;
+@badge-bg: @flectra-brand-optional;
@badge-color: white;
@badge-line-height: @line-height-base;
@badge-font-weight: normal;
//== Breadcrumbs
@breadcrumb-active-color: #777777;
-@breadcrumb-bg: @odoo-control-panel-background-color;
+@breadcrumb-bg: @flectra-control-panel-background-color;
@breadcrumb-color: #777777;
@breadcrumb-padding-horizontal: 0;
@breadcrumb-padding-vertical: 0;
@@ -48,16 +48,16 @@
//== Buttons
@btn-default-bg: white;
@btn-default-border: #cccccc;
-@btn-default-color: @odoo-main-text-color;
-@btn-primary-bg: @odoo-brand-optional;
-@btn-primary-border: @odoo-brand-optional;
+@btn-default-color: @flectra-main-text-color;
+@btn-primary-bg: @flectra-brand-optional;
+@btn-primary-border: @flectra-brand-optional;
@btn-primary-color: white;
//== Dropdowns
@dropdown-bg: white;
@dropdown-border: @gray-lighter-dark;
@dropdown-divider-bg: @gray-lighter-dark;
-@dropdown-link-color: @odoo-main-text-color;
+@dropdown-link-color: @flectra-main-text-color;
@dropdown-link-hover-color: @gray-dark;
@dropdown-link-hover-bg: @gray-lighter;
@dropdown-link-active-color: @component-active-color;
@@ -69,8 +69,8 @@
@modal-sm: 300px;
@modal-md: 650px;
@modal-lg: 980px;
-@modal-inner-padding: @odoo-horizontal-padding;
-@modal-title-padding: @odoo-horizontal-padding;
+@modal-inner-padding: @flectra-horizontal-padding;
+@modal-title-padding: @flectra-horizontal-padding;
// Change the z-index of the modal-backdrop elements to be equal to the
// modal elements' ones. Bootstrap does not support multi-modals, and without
@@ -78,7 +78,7 @@
// Indeed, bootstrap forces them to a lower z-index as the modal-backdrop
// element (unique in their supported cases) might be put after the modal
// element (if the modal is already in the DOM, hidden, then opened). This
-// cannot happen in odoo though as modals are not hidden but removed from
+// cannot happen in flectra though as modals are not hidden but removed from
// the DOM and are always put at the end of the body when opened.
//
// Note that the variable @zindex-modal-background may be renamed/removed in
@@ -92,11 +92,11 @@
@nav-link-padding: 10px 15px;
@nav-pills-border-radius: 0;
@nav-pills-active-link-hover-color: white;
-@nav-pills-active-link-hover-bg: @odoo-brand-optional;
+@nav-pills-active-link-hover-bg: @flectra-brand-optional;
@nav-tabs-active-link-hover-bg: white;
//== Navbar
-@navbar-height: @odoo-navbar-height - 2;
+@navbar-height: @flectra-navbar-height - 2;
@navbar-margin-bottom: 0;
@navbar-inverse-bg: #222222;
@navbar-inverse-link-color: #9d9d9d;
diff --git a/addons/web/static/src/less/control_panel.less b/addons/web/static/src/less/control_panel.less
index 325ed25b3a..7371fe2492 100644
--- a/addons/web/static/src/less/control_panel.less
+++ b/addons/web/static/src/less/control_panel.less
@@ -3,9 +3,9 @@
.o_control_panel {
.o-flex-display();
.o-flex-flow(row, wrap);
- border-bottom: 1px solid darken(@odoo-control-panel-background-color, 20%);
+ border-bottom: 1px solid darken(@flectra-control-panel-background-color, 20%);
.o-webclient-padding(@top: 10px, @bottom: 10px);
- background-color: @odoo-control-panel-background-color;
+ background-color: @flectra-control-panel-background-color;
> .breadcrumb {
width: 50%;
@@ -93,7 +93,7 @@
}
> .o_cp_switch_buttons > .btn:first-child {
- margin-left: @odoo-horizontal-padding;
+ margin-left: @flectra-horizontal-padding;
}
}
}
diff --git a/addons/web/static/src/less/data_export.less b/addons/web/static/src/less/data_export.less
index 01a1da8013..b8b10011f7 100644
--- a/addons/web/static/src/less/data_export.less
+++ b/addons/web/static/src/less/data_export.less
@@ -58,7 +58,7 @@
}
.o_left_field_panel, .o_fields_list {
- border: 1px solid @odoo-brand-lightsecondary;
+ border: 1px solid @flectra-brand-lightsecondary;
overflow: auto;
.o-flex(1, 1, auto);
min-height: 0;
@@ -71,7 +71,7 @@
.user-select(none);
&.o_selected > .o_tree_column {
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
color: white;
}
@@ -82,7 +82,7 @@
display: block;
&.o_required {
- border-bottom: 2px solid @odoo-main-text-color;
+ border-bottom: 2px solid @flectra-main-text-color;
}
}
diff --git a/addons/web/static/src/less/datepicker.less b/addons/web/static/src/less/datepicker.less
index 99c909efac..03211ea544 100644
--- a/addons/web/static/src/less/datepicker.less
+++ b/addons/web/static/src/less/datepicker.less
@@ -1,5 +1,5 @@
-@odoo-datepicker-week-color: #8f8f8f;
-@odoo-datepicker-week-bg-color: lighten(@odoo-datepicker-week-color, 30%);
+@flectra-datepicker-week-color: #8f8f8f;
+@flectra-datepicker-week-bg-color: lighten(@flectra-datepicker-week-color, 30%);
.sr-only {
position: absolute;
@@ -39,19 +39,19 @@
.table-condensed {
> thead {
color: white;
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
> tr {
&:first-child {
th:hover {
color: white;
- background-color: darken(@odoo-brand-primary, 10%);
+ background-color: darken(@flectra-brand-primary, 10%);
}
}
&:last-child {
- color: @odoo-datepicker-week-color;
- background-color: @odoo-datepicker-week-bg-color;
+ color: @flectra-datepicker-week-color;
+ background-color: @flectra-datepicker-week-bg-color;
}
> th {
border-radius: 0;
@@ -63,12 +63,12 @@
> tr {
> td {
&.active, .active {
- background-color: @odoo-brand-optional;
+ background-color: @flectra-brand-optional;
border-radius: 100px;
}
&.today:before {
- border-bottom-color: @odoo-brand-optional;
+ border-bottom-color: @flectra-brand-optional;
}
}
}
diff --git a/addons/web/static/src/less/domain_selector.less b/addons/web/static/src/less/domain_selector.less
index 70d4c0bd0c..4142d3e8ef 100644
--- a/addons/web/static/src/less/domain_selector.less
+++ b/addons/web/static/src/less/domain_selector.less
@@ -97,8 +97,8 @@
}
> .o_domain_leaf_info {
- background: @odoo-brand-lightsecondary;
- border: 1px solid darken(@odoo-brand-lightsecondary, 10%);
+ background: @flectra-brand-lightsecondary;
+ border: 1px solid darken(@flectra-brand-lightsecondary, 10%);
padding: 2px 4px;
> .o_field_selector {
@@ -172,7 +172,7 @@
display: block;
height: @o-domain-animation-bar-height;
max-height: 0;
- .o-linear-gradient(45deg, fade(@odoo-brand-optional, 40%), fade(@odoo-brand-optional, 10%));
+ .o-linear-gradient(45deg, fade(@flectra-brand-optional, 40%), fade(@flectra-brand-optional, 10%));
.o-transition(max-height, .05s, ease, .05s);
}
diff --git a/addons/web/static/src/less/dropdown.less b/addons/web/static/src/less/dropdown.less
index 6501b4cc52..c8f0c8854e 100644
--- a/addons/web/static/src/less/dropdown.less
+++ b/addons/web/static/src/less/dropdown.less
@@ -1,5 +1,5 @@
.li-a-padding {
- padding: 3px @odoo-dropdown-hpadding;
+ padding: 3px @flectra-dropdown-hpadding;
}
.ui-autocomplete { // Copy style of bootstrap dropdown
@@ -21,7 +21,7 @@
&.ui-state-focus {
background-image: none;
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
border: none;
font-weight: normal;
margin: 0;
@@ -29,7 +29,7 @@
&.o_m2o_dropdown_option {
padding-left: 20px;
> a {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
}
}
@@ -64,7 +64,7 @@
&.dropdown-header {
.li-a-padding;
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
@media (max-width: @screen-xs-max) {
color: white;
diff --git a/addons/web/static/src/less/dropdown_extra.less b/addons/web/static/src/less/dropdown_extra.less
index ec38e6d529..03b0543ac3 100644
--- a/addons/web/static/src/less/dropdown_extra.less
+++ b/addons/web/static/src/less/dropdown_extra.less
@@ -1,9 +1,9 @@
.ui-autocomplete .ui-menu-item {
&.ui-state-focus {
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
}
&.o_m2o_dropdown_option > a {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
&.ui-state-focus > a,
&.ui-state-focus.o_m2o_dropdown_option > a {
diff --git a/addons/web/static/src/less/fields.less b/addons/web/static/src/less/fields.less
index 9450147e7e..cb27a20419 100644
--- a/addons/web/static/src/less/fields.less
+++ b/addons/web/static/src/less/fields.less
@@ -91,10 +91,10 @@
.o-flex-flow(row, wrap);
.o-align-items(baseline);
- .o-tag-color(@size: 0) when (@size < @odoo-nb-ui-color) {
+ .o-tag-color(@size: 0) when (@size < @flectra-nb-ui-color) {
.o_tag_color_@{size} {
&, &::after {
- background-color: ~"@{odoo-color-@{size}}";
+ background-color: ~"@{flectra-color-@{size}}";
}
}
.o-tag-color(@size + 1);
@@ -149,7 +149,7 @@
}
&.fa-star-o {
- color: @odoo-main-color-muted;
+ color: @flectra-main-color-muted;
}
&.fa-star {
color: gold;
@@ -163,7 +163,7 @@
font-size: 16px;
}
i.fa-star-o {
- color: @odoo-main-color-muted;
+ color: @flectra-main-color-muted;
&:hover {
color: gold;
}
@@ -196,7 +196,7 @@
> input {
.o-flex(0, 0, auto);
- margin: 0 @odoo-form-spacing-unit 0 0;
+ margin: 0 @flectra-form-spacing-unit 0 0;
}
> label {
margin: 0;
@@ -205,14 +205,14 @@
&.o_horizontal {
.o_radio_item {
- margin-right: @odoo-form-spacing-unit * 2;
+ margin-right: @flectra-form-spacing-unit * 2;
}
}
&.o_vertical {
.o-flex-flow(column, nowrap);
.o_radio_item {
- margin-bottom: @odoo-form-spacing-unit;
+ margin-bottom: @flectra-form-spacing-unit;
}
}
}
@@ -226,7 +226,7 @@
margin-right: 10px;
border-radius: 100%;
overflow: hidden;
- background-color: @odoo-brand-optional;
+ background-color: @flectra-brand-optional;
&:after { // Outside pie border to go over border-radius irregularities
content: " ";
@@ -241,7 +241,7 @@
.o-transform-origin(0);
width: 50%;
height: 100%;
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
&.o_full {
background-color: inherit;
}
@@ -255,7 +255,7 @@
border-radius: 100%;
font-weight: 700;
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
}
}
@@ -278,7 +278,7 @@
width: 100%;
color: white;
- background-color: @odoo-brand-optional;
+ background-color: @flectra-brand-optional;
opacity: 0;
transition: opacity ease 400ms;
@@ -297,7 +297,7 @@
margin: 0px;
text-align: center;
&.o_select_file_button{
- background: @odoo-brand-optional;
+ background: @flectra-brand-optional;
}
&.o_clear_file_button{
background: @brand-danger;
diff --git a/addons/web/static/src/less/fields_extra.less b/addons/web/static/src/less/fields_extra.less
index 541fef8ba4..32083fab8f 100644
--- a/addons/web/static/src/less/fields_extra.less
+++ b/addons/web/static/src/less/fields_extra.less
@@ -43,7 +43,7 @@
margin-left: 5px;
&:after { // Outside pie border to go over border-radius irregularities
- border: 1px solid @odoo-brand-primary;
+ border: 1px solid @flectra-brand-primary;
}
.o_pie_value {
diff --git a/addons/web/static/src/less/form_view.less b/addons/web/static/src/less/form_view.less
index cd9d550843..7f24fddacf 100644
--- a/addons/web/static/src/less/form_view.less
+++ b/addons/web/static/src/less/form_view.less
@@ -1,5 +1,5 @@
.o_form_view {
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
// Utility classes
.oe_form_box_info {
@@ -44,13 +44,13 @@
.o-align-items(baseline);
min-width: 50px;
- margin: 0 -@odoo-form-spacing-unit/2;
+ margin: 0 -@flectra-form-spacing-unit/2;
> div, > span, > button, > label, > a, > input { // > * did not add a level of priority to the rule
.o-flex(0, 0, auto);
width: auto!important;
- margin-right: @odoo-form-spacing-unit/2;
- margin-left: @odoo-form-spacing-unit/2;
+ margin-right: @flectra-form-spacing-unit/2;
+ margin-left: @flectra-form-spacing-unit/2;
}
> .o_row {
@@ -85,12 +85,12 @@
.o_form_uri {
display: inline-block;
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
&:first-line {
color: @link-color;
}
&:hover {
- color: darken(@odoo-main-text-color, 1%); // hack required on chrome
+ color: darken(@flectra-main-text-color, 1%); // hack required on chrome
&:first-line {
color: darken(@link-color, 15%);
}
@@ -104,7 +104,7 @@
}
.oe_title {
- max-width: @container-sm - (2 * @odoo-horizontal-padding);
+ max-width: @container-sm - (2 * @flectra-horizontal-padding);
}
@media (min-width: @screen-xs-min) {
@@ -125,10 +125,10 @@
// No sheet
&.o_form_nosheet {
display: block;
- .o-webclient-padding(@top: @odoo-sheet-vpadding, @bottom: @odoo-sheet-vpadding);
+ .o-webclient-padding(@top: @flectra-sheet-vpadding, @bottom: @flectra-sheet-vpadding);
.o_form_statusbar {
- margin: -@odoo-sheet-vpadding -@odoo-horizontal-padding @odoo-sheet-vpadding -@odoo-horizontal-padding;
+ margin: -@flectra-sheet-vpadding -@flectra-horizontal-padding @flectra-sheet-vpadding -@flectra-horizontal-padding;
}
}
@@ -137,7 +137,7 @@
position: relative;
> .o_form_sheet {
- margin: @odoo-sheet-vpadding auto;
+ margin: @flectra-sheet-vpadding auto;
}
}
@@ -146,9 +146,9 @@
position: relative; // Needed for the "More" dropdown
.o-flex-display();
.o-justify-content(space-between);
- padding-left: @odoo-horizontal-padding;
+ padding-left: @flectra-horizontal-padding;
border-bottom: 1px solid @gray-lighter-darker;
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
> .o_statusbar_buttons, > .o_statusbar_status {
.o-flex-display();
@@ -178,21 +178,21 @@
overflow-x: hidden; // to prevent horizontal scroll due to last arrow
> .o_arrow_button {
- min-height: @odoo-statusbar-height;
+ min-height: @flectra-statusbar-height;
font-size: 11px;
font-weight: bold;
position: relative;
- padding-left: @odoo-statusbar-arrow-width*2;
+ padding-left: @flectra-statusbar-arrow-width*2;
color: @gray;
border-width: 0 0 0;
border-radius: 0;
.o-transition(all, 0.1s);
&:first-child {
- padding-right: @odoo-horizontal-padding; // Compensate container padding
+ padding-right: @flectra-horizontal-padding; // Compensate container padding
}
&:last-child {
- padding-left: @odoo-horizontal-padding - 1;
+ padding-left: @flectra-horizontal-padding - 1;
border-left: 1px solid @gray-lighter-darker;
}
@@ -210,19 +210,19 @@
&:before, &:after {
content: " ";
display: block;
- .o-position-absolute(0, -@odoo-statusbar-arrow-width + 1);
+ .o-position-absolute(0, -@flectra-statusbar-arrow-width + 1);
- border-top: floor(@odoo-statusbar-height/2) solid transparent;
- border-bottom: ceil(@odoo-statusbar-height/2) solid transparent;
+ border-top: floor(@flectra-statusbar-height/2) solid transparent;
+ border-bottom: ceil(@flectra-statusbar-height/2) solid transparent;
border-right: none;
- border-left: @odoo-statusbar-arrow-width solid @odoo-view-background-color;
+ border-left: @flectra-statusbar-arrow-width solid @flectra-view-background-color;
.o-transition(border, 0.2s);
-moz-transform: scale(0.9999); // Smooth the triangle on firefox
}
&:not(.disabled) {
&:hover, &:active, &:focus {
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
background-color: @gray-lighter;
&:after {
@@ -232,12 +232,12 @@
}
&:before {
- right: -@odoo-statusbar-arrow-width;
+ right: -@flectra-statusbar-arrow-width;
border-left-color: @gray-lighter-dark;
}
&.btn-primary.disabled {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
font-size: 11px;
background-color: @gray-lighter;
cursor: default;
@@ -263,7 +263,7 @@
> .dropdown-toggle {
&:after {
.o-caret-down();
- margin-left: @odoo-form-spacing-unit;
+ margin-left: @flectra-form-spacing-unit;
}
}
@@ -311,7 +311,7 @@
margin: 10px 0;
// o_group contains nested groups
- .o-generate-groups(@odoo-form-group-cols);
+ .o-generate-groups(@flectra-form-group-cols);
.o-generate-groups(@n, @i: 1) when (@i =< @n) {
.o_group_col_@{i} {
display: inline-block;
@@ -377,16 +377,16 @@
// Separators
.o_horizontal_separator {
font-size: @font-size-h2;
- margin: @odoo-form-spacing-unit 0;
+ margin: @flectra-form-spacing-unit 0;
&:empty {
- height: @odoo-form-spacing-unit * 2;
+ height: @flectra-form-spacing-unit * 2;
}
}
// Notebooks
.o_notebook {
clear: both; // For the notebook not to have alongside floating elements
- margin-top: @odoo-form-spacing-unit * 2;
+ margin-top: @flectra-form-spacing-unit * 2;
.nav-tabs > .tab-pane {
min-height: 100px;
@@ -395,14 +395,14 @@
// Labels
.o_form_label {
- margin: 0 @odoo-form-spacing-unit 0 0;
+ margin: 0 @flectra-form-spacing-unit 0 0;
font-size: @font-size-base; // The label muse have the same size whatever their position
line-height: @line-height-base;
}
// Form fields
.o_field_widget {
- margin-bottom: @odoo-form-spacing-unit;
+ margin-bottom: @flectra-form-spacing-unit;
}
.o_field_widget, .btn {
.o_field_widget {
@@ -553,7 +553,7 @@
// Boolean
.o_field_boolean {
- margin: 0 @odoo-form-spacing-unit 0 0;
+ margin: 0 @flectra-form-spacing-unit 0 0;
}
// Timezone widget warning
@@ -579,7 +579,7 @@
> tfoot > tr > td {
padding: 3px;
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
}
}
&.o_form_readonly .o_field_widget .o_list_view .o_row_handle {
@@ -589,9 +589,9 @@
// Attachments
.oe_attachment {
display: inline-block;
- border: 1px solid @odoo-brand-lightsecondary;
- margin: 0 @odoo-form-spacing-unit @odoo-form-spacing-unit 0;
- padding: @odoo-form-spacing-unit;
+ border: 1px solid @flectra-brand-lightsecondary;
+ margin: 0 @flectra-form-spacing-unit @flectra-form-spacing-unit 0;
+ padding: @flectra-form-spacing-unit;
}
&.oe_form_configuration {
diff --git a/addons/web/static/src/less/form_view_extra.less b/addons/web/static/src/less/form_view_extra.less
index 2349ee5c0b..395dd8d5f3 100644
--- a/addons/web/static/src/less/form_view_extra.less
+++ b/addons/web/static/src/less/form_view_extra.less
@@ -75,7 +75,7 @@
.o_stat_value {
.o-text-overflow(block);
font-weight: 700;
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
.o_stat_text {
.o-text-overflow(block);
@@ -144,7 +144,7 @@
// Separators
.o_horizontal_separator {
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
font-weight: bold;
}
diff --git a/addons/web/static/src/less/graph_view.less b/addons/web/static/src/less/graph_view.less
index f77b4faa9d..c3546fcdb2 100644
--- a/addons/web/static/src/less/graph_view.less
+++ b/addons/web/static/src/less/graph_view.less
@@ -5,7 +5,7 @@
height: 100%;
overflow: auto;
svg {
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
}
}
}
diff --git a/addons/web/static/src/less/kanban_column_progressbar.less b/addons/web/static/src/less/kanban_column_progressbar.less
index 86fe0853de..41f12bf16d 100644
--- a/addons/web/static/src/less/kanban_column_progressbar.less
+++ b/addons/web/static/src/less/kanban_column_progressbar.less
@@ -3,8 +3,8 @@
.o-kanban-css-filter(@class, @accent-color) {
// Provide CSS reordering and highlight
&.o_kanban_group_show_@{class} {
- @mix-soft: mix(@accent-color, @odoo-webclient-background-color, 5%);
- @mix-full: mix(@accent-color, @odoo-webclient-background-color);
+ @mix-soft: mix(@accent-color, @flectra-webclient-background-color, 5%);
+ @mix-full: mix(@accent-color, @flectra-webclient-background-color);
&, .o_kanban_header {
background-color: @mix-soft;
diff --git a/addons/web/static/src/less/kanban_dashboard.less b/addons/web/static/src/less/kanban_dashboard.less
index 41b325a8ef..df73c2a6e4 100644
--- a/addons/web/static/src/less/kanban_dashboard.less
+++ b/addons/web/static/src/less/kanban_dashboard.less
@@ -9,7 +9,7 @@
@o-kanban-dashboard-dropdown-complex-gap: 5px;
// Emulate dropdown links
-.o-kanban-dashboard-dropdown-link(@link-padding-gap: @odoo-dropdown-hpadding) {
+.o-kanban-dashboard-dropdown-link(@link-padding-gap: @flectra-dropdown-hpadding) {
padding: 0;
> a {
diff --git a/addons/web/static/src/less/kanban_view.less b/addons/web/static/src/less/kanban_view.less
index d95a518fdd..28b2de9cc7 100644
--- a/addons/web/static/src/less/kanban_view.less
+++ b/addons/web/static/src/less/kanban_view.less
@@ -1,5 +1,5 @@
-@o-kanban-record-margin: @odoo-horizontal-padding/2;
-@o-kanban-group-padding: @odoo-horizontal-padding; // Cannot be higher than this
+@o-kanban-record-margin: @flectra-horizontal-padding/2;
+@o-kanban-group-padding: @flectra-horizontal-padding; // Cannot be higher than this
@o-kanban-default-record-width: 300px;
@o-kanban-small-record-width: 240px;
@@ -10,7 +10,7 @@
@o-kanban-inside-vgutter: 8px;
@o-kanban-inside-hgutter: 8px;
@o-kanban-color-border-width: 3px;
-@o-kanban-inside-hgutter-mobile: @odoo-horizontal-padding;
+@o-kanban-inside-hgutter-mobile: @flectra-horizontal-padding;
@o-kanban-inner-hmargin: 5px;
@o-kanban-progressbar-height: 20px;
@@ -19,23 +19,23 @@
display: block;
line-height: @o-kanban-header-title-height;
text-align: center;
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
font-size: @font-size-small;
cursor: pointer;
.o-hover-opacity(@base-opacity);
}
-.o-kanban-tag-color(@size: 0) when (@size < @odoo-nb-ui-color) {
+.o-kanban-tag-color(@size: 0) when (@size < @flectra-nb-ui-color) {
// Note: the 0 color is supposed to be invisible if there is a color field
// but it is used as a default color when there is no color field
&.o_tag_color_@{size} span {
- background-color: ~"@{odoo-color-@{size}}";
+ background-color: ~"@{flectra-color-@{size}}";
}
.o-kanban-tag-color(@size + 1);
}
-.o-kanban-record-color(@size: 1) when (@size < @odoo-nb-ui-color) {
+.o-kanban-record-color(@size: 1) when (@size < @flectra-nb-ui-color) {
// Note: the 0 color is not defined as it is the 'no color' for kanban
.oe_kanban_color_@{size}::after {
- background-color: ~"@{odoo-color-@{size}}";
+ background-color: ~"@{flectra-color-@{size}}";
}
.o-kanban-record-color(@size + 1);
}
@@ -98,7 +98,7 @@
}
.o-kanban-colorpicker() {
max-width: 150px;
- padding: 3px (@odoo-dropdown-hpadding - @o-kanban-inner-hmargin) 3px @odoo-dropdown-hpadding;
+ padding: 3px (@flectra-dropdown-hpadding - @o-kanban-inner-hmargin) 3px @flectra-dropdown-hpadding;
> li {
display: inline-block;
@@ -500,7 +500,7 @@
}
&.o_kanban_dragged {
- background-color: @odoo-main-text-color;
+ background-color: @flectra-main-text-color;
.o_kanban_record {
visibility: hidden;
@@ -593,7 +593,7 @@
.o-flex-flow(row, wrap);
.o-justify-content(flex-start);
- padding: @o-kanban-record-margin (@odoo-horizontal-padding - @o-kanban-record-margin);
+ padding: @o-kanban-record-margin (@flectra-horizontal-padding - @o-kanban-record-margin);
.o_kanban_record {
.o-flex(1, 1, auto);
diff --git a/addons/web/static/src/less/kanban_view_mobile.less b/addons/web/static/src/less/kanban_view_mobile.less
index 72ba087e0c..9816290677 100644
--- a/addons/web/static/src/less/kanban_view_mobile.less
+++ b/addons/web/static/src/less/kanban_view_mobile.less
@@ -21,7 +21,7 @@
&.o_current {
font-weight: bold;
- border-bottom: 3px solid @odoo-brand-optional;
+ border-bottom: 3px solid @flectra-brand-optional;
}
.o_column_title {
white-space: nowrap;
diff --git a/addons/web/static/src/less/layout_background.less b/addons/web/static/src/less/layout_background.less
index 6750705c35..acc3fe42c4 100644
--- a/addons/web/static/src/less/layout_background.less
+++ b/addons/web/static/src/less/layout_background.less
@@ -13,19 +13,19 @@
margin-right: 16px;
}
h3 {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
font-weight: 700;
max-width: 300px;
}
}
.o_background_footer {
ul {
- border-top: 1px solid @odoo-brand-primary;
- border-bottom: 1px solid @odoo-brand-primary;
+ border-top: 1px solid @flectra-brand-primary;
+ border-bottom: 1px solid @flectra-brand-primary;
padding: 4px 0;
margin: 0 0 4px 0;
li {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
}
}
@@ -36,7 +36,7 @@
background-repeat: no-repeat;
min-height: 900px;
thead tr th, h2 {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
tbody {
color: @gray;
@@ -57,7 +57,7 @@
border-top: none !important;
}
tr:last-child td {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
}
#total {
diff --git a/addons/web/static/src/less/layout_clean.less b/addons/web/static/src/less/layout_clean.less
index 869e1f4098..1ac421d602 100644
--- a/addons/web/static/src/less/layout_clean.less
+++ b/addons/web/static/src/less/layout_clean.less
@@ -10,16 +10,16 @@
}
.o_clean_footer {
margin: 0 3px;
- border-top: 3px solid @odoo-brand-primary;
+ border-top: 3px solid @flectra-brand-primary;
h4 {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
font-weight: bolder;
}
.pagenumber {
width: 35px;
height: 35px;
- border: 3px solid @odoo-brand-primary;
- background-color: @odoo-brand-optional;
+ border: 3px solid @flectra-brand-primary;
+ background-color: @flectra-brand-optional;
color: white;
padding-top: 6px;
text-align: center;
@@ -27,18 +27,18 @@
}
.o_report_layout_clean {
h1, h2, h3 {
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
font-weight: bolder;
}
strong {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
}
table {
thead {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
tr th {
text-align: left !important;
- border-top: 3px solid @odoo-brand-primary !important;
+ border-top: 3px solid @flectra-brand-primary !important;
text-transform: uppercase;
}
tr th:last-child {
@@ -54,7 +54,7 @@
border-top: none;
}
tr:last-child td {
- border-bottom: 3px solid @odoo-brand-primary;
+ border-bottom: 3px solid @flectra-brand-primary;
}
tr {
td {
diff --git a/addons/web/static/src/less/list_view.less b/addons/web/static/src/less/list_view.less
index 395bf633e4..916ca5fb03 100644
--- a/addons/web/static/src/less/list_view.less
+++ b/addons/web/static/src/less/list_view.less
@@ -1,9 +1,9 @@
-@odoo-list-group-header-color: lighten(@odoo-brand-lightsecondary, 10%);
+@flectra-list-group-header-color: lighten(@flectra-brand-lightsecondary, 10%);
.o_list_view {
position: relative;
cursor: pointer;
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
margin-bottom: 0px;
&.table {
@@ -13,7 +13,7 @@
}
thead {
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
border-bottom: 1px solid #cacaca;
> tr > th {
border-left: 1px solid #dfdfdf;
@@ -25,9 +25,9 @@
tfoot {
cursor: default;
- color: @odoo-list-footer-color;
- background-color: @odoo-list-footer-bg-color;
- font-weight: @odoo-list-footer-font-weight;
+ color: @flectra-list-footer-color;
+ background-color: @flectra-list-footer-bg-color;
+ font-weight: @flectra-list-footer-font-weight;
border-top: 2px solid #cacaca;
border-bottom: 1px solid #cacaca;
}
@@ -95,9 +95,9 @@
padding-top: 0;
padding-bottom: 0;
.o_pager_previous, .o_pager_next {
- background-color: @odoo-list-group-header-color;
+ background-color: @flectra-list-group-header-color;
&:hover {
- background-color: darken(@odoo-list-group-header-color, 10%);
+ background-color: darken(@flectra-list-group-header-color, 10%);
}
}
}
diff --git a/addons/web/static/src/less/model_field_selector.less b/addons/web/static/src/less/model_field_selector.less
index aee5bd1786..87007f2e20 100644
--- a/addons/web/static/src/less/model_field_selector.less
+++ b/addons/web/static/src/less/model_field_selector.less
@@ -14,8 +14,8 @@
> .o_field_selector_chain_part {
padding: 0px 1px;
- border: 1px solid darken(@odoo-brand-lightsecondary, 10%);
- background: @odoo-brand-lightsecondary;
+ border: 1px solid darken(@flectra-brand-lightsecondary, 10%);
+ background: @flectra-brand-lightsecondary;
margin-bottom: 1px;
}
> i {
diff --git a/addons/web/static/src/less/navbar.less b/addons/web/static/src/less/navbar.less
index cf14f9a861..f30f1469e3 100644
--- a/addons/web/static/src/less/navbar.less
+++ b/addons/web/static/src/less/navbar.less
@@ -1,17 +1,17 @@
.o_main_navbar {
position: relative;
- height: @odoo-navbar-height;
- border-bottom: 1px solid @odoo-navbar-inverse-link-hover-bg;
- background-color: @odoo-brand-primary;
+ height: @flectra-navbar-height;
+ border-bottom: 1px solid @flectra-navbar-inverse-link-hover-bg;
+ background-color: @flectra-brand-primary;
color: white;
> a, > button {
float: left;
- height: @odoo-navbar-height;
+ height: @flectra-navbar-height;
border: none;
- padding: 0 @odoo-horizontal-padding - 4px 0 @odoo-horizontal-padding;
- line-height: @odoo-navbar-height;
+ padding: 0 @flectra-horizontal-padding - 4px 0 @flectra-horizontal-padding;
+ line-height: @flectra-navbar-height;
background-color: transparent;
text-align: center;
color: inherit;
@@ -20,7 +20,7 @@
.user-select(none);
&:hover, &:focus {
- background-color: @odoo-navbar-inverse-link-hover-bg;
+ background-color: @flectra-navbar-inverse-link-hover-bg;
color: inherit;
}
&:focus, &:active, &:focus:active {
@@ -36,12 +36,12 @@
color: white;
font-size: 22px;
font-weight: 500;
- line-height: @odoo-navbar-height;
+ line-height: @flectra-navbar-height;
@media (max-width: @screen-xs-max) {
float: none;
margin: 0;
- border-bottom: 1px solid @odoo-navbar-inverse-link-hover-bg;
+ border-bottom: 1px solid @flectra-navbar-inverse-link-hover-bg;
color: transparent;
}
}
@@ -64,13 +64,13 @@
> a {
display: block;
- height: @odoo-navbar-height;
+ height: @flectra-navbar-height;
padding: 0 10px;
color: white;
- line-height: @odoo-navbar-height;
+ line-height: @flectra-navbar-height;
&:hover {
- background-color: @odoo-navbar-inverse-link-hover-bg;
+ background-color: @flectra-navbar-inverse-link-hover-bg;
}
&:focus, &:active, &:focus:active {
@@ -80,7 +80,7 @@
&.o_extra_menu_items {
> a {
- width: @odoo-navbar-height;
+ width: @flectra-navbar-height;
text-align: center;
}
&.open > ul {
@@ -88,12 +88,12 @@
> li {
> a {
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
color: white;
- border-bottom: 1px solid @odoo-brand-lightsecondary;
+ border-bottom: 1px solid @flectra-brand-lightsecondary;
&.dropdown-toggle {
- background-color: lighten(@odoo-brand-primary, 15%);
+ background-color: lighten(@flectra-brand-primary, 15%);
pointer-events: none; // hack to prevent clicking on it because dropdown always opened
}
}
@@ -127,7 +127,7 @@
.o-menu-indentation(@index) when (@index < 6) {
> li.o_menu_header_lvl_@{index}, > li .o_menu_entry_lvl_@{index} {
- padding-left: @odoo-dropdown-hpadding + (@index - 2)*12px;
+ padding-left: @flectra-dropdown-hpadding + (@index - 2)*12px;
}
.o-menu-indentation(@index + 1);
}
@@ -135,13 +135,13 @@
}
.open .dropdown-toggle {
- background-color: @odoo-navbar-inverse-link-hover-bg;
+ background-color: @flectra-navbar-inverse-link-hover-bg;
}
.o_user_menu {
margin-left: 6px;
> a {
- padding-right: @odoo-horizontal-padding;
+ padding-right: @flectra-horizontal-padding;
}
.oe_topbar_avatar {
@@ -154,7 +154,7 @@
.o-transition(height, 200ms, linear);
position: relative;
- height: @odoo-navbar-height;
+ height: @flectra-navbar-height;
overflow: hidden;
> ul {
@@ -188,15 +188,15 @@
}
&.o_menu_systray {
- .o-position-absolute(0px, @odoo-navbar-height, auto, @odoo-navbar-height);
- height: @odoo-navbar-height;
+ .o-position-absolute(0px, @flectra-navbar-height, auto, @flectra-navbar-height);
+ height: @flectra-navbar-height;
text-align: right;
> li {
display: inline-block;
&.open .dropdown-menu {
- .o-position-absolute(@odoo-navbar-height, 0, 0, 0);
+ .o-position-absolute(@flectra-navbar-height, 0, 0, 0);
position: fixed;
width: auto;
}
diff --git a/addons/web/static/src/less/pivot_view.less b/addons/web/static/src/less/pivot_view.less
index 2fa6e1a6f4..0d70d26fbc 100644
--- a/addons/web/static/src/less/pivot_view.less
+++ b/addons/web/static/src/less/pivot_view.less
@@ -6,27 +6,27 @@
// items corresponding to the clicked cell
&.o_enable_linking {
.o_pivot_cell_value:hover {
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
cursor: pointer;
}
}
table {
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
width: auto; // bootstrap override
th {
font-weight: normal; // bootstrap override
- background-color: lighten(@odoo-brand-secondary, 40%);
+ background-color: lighten(@flectra-brand-secondary, 40%);
}
.o-pivot-header-cell() {
- background-color: lighten(@odoo-brand-secondary, 40%);
+ background-color: lighten(@flectra-brand-secondary, 40%);
cursor: pointer;
white-space: nowrap;
.user-select(none);
&:hover {
- background-color: lighten(@odoo-brand-secondary, 30%);
+ background-color: lighten(@flectra-brand-secondary, 30%);
}
}
@@ -76,4 +76,4 @@
// ------------------------------------------------------------------
.o_pivot_measures_list {
.o-selected-li;
-}
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/addons/web/static/src/less/progress_bar.less b/addons/web/static/src/less/progress_bar.less
index 25a89d15ec..168fce9ebb 100644
--- a/addons/web/static/src/less/progress_bar.less
+++ b/addons/web/static/src/less/progress_bar.less
@@ -14,16 +14,16 @@
height: 15px;
vertical-align: middle;
- border: 1px solid lighten(@odoo-brand-secondary, 25%);
+ border: 1px solid lighten(@flectra-brand-secondary, 25%);
overflow: hidden;
background-color: white;
&.o_progress_overflow {
- background-color: @odoo-brand-secondary;
+ background-color: @flectra-brand-secondary;
}
.o_progressbar_complete {
- background-color: @odoo-brand-optional;
+ background-color: @flectra-brand-optional;
height: 100%;
}
}
diff --git a/addons/web/static/src/less/search_view.less b/addons/web/static/src/less/search_view.less
index 0261806631..8f6fad76c7 100644
--- a/addons/web/static/src/less/search_view.less
+++ b/addons/web/static/src/less/search_view.less
@@ -103,16 +103,16 @@
cursor: pointer;
.user-select(none); // Prevent text selection when toggling the dropdowns
> a { // dropdown togglers
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
&:hover {
text-decoration: none;
font-weight: bold;
- color: darken(@odoo-main-text-color, 10%);
+ color: darken(@flectra-main-text-color, 10%);
}
}
&.open > a {
font-weight: bold;
- color: darken(@odoo-main-text-color, 10%);
+ color: darken(@flectra-main-text-color, 10%);
}
}
diff --git a/addons/web/static/src/less/search_view_extra.less b/addons/web/static/src/less/search_view_extra.less
index 9c263976e4..9ada82b3ca 100644
--- a/addons/web/static/src/less/search_view_extra.less
+++ b/addons/web/static/src/less/search_view_extra.less
@@ -6,7 +6,7 @@
.o_searchview_facet {
border: 1px solid @gray-light;
- background: lighten(@odoo-brand-primary, 35%);
+ background: lighten(@flectra-brand-primary, 35%);
.o_searchview_facet_label {
background-color: @gray-light;
@@ -28,7 +28,7 @@
.o-position-absolute(@top: 6px, @right: 5px);
}
.o_searchview_autocomplete li.o-selection-focus {
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
> a {
color: white;
}
diff --git a/addons/web/static/src/less/tooltip.less b/addons/web/static/src/less/tooltip.less
index e071bf04a4..a65c0daf7b 100644
--- a/addons/web/static/src/less/tooltip.less
+++ b/addons/web/static/src/less/tooltip.less
@@ -7,17 +7,17 @@
.tooltip-inner {
max-width: 300px; // fallback for browsers which do not support "vw" unit
max-width: 100vw;
- background-color: @odoo-tooltip-background-color;
- color: @odoo-tooltip-color;
+ background-color: @flectra-tooltip-background-color;
+ color: @flectra-tooltip-color;
border-radius: @border-radius-base;
- box-shadow: 0px 0px 1px 1px @odoo-brand-secondary;
+ box-shadow: 0px 0px 1px 1px @flectra-brand-secondary;
padding: 5px;
text-align: left;
.oe_tooltip_string {
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
color: white;
font-weight: bold;
padding: 5px;
@@ -42,18 +42,18 @@
}
&.top, &.top-left, &.top-right {
.tooltip-arrow {
- border-top-color: @odoo-tooltip-arrow-color!important;
+ border-top-color: @flectra-tooltip-arrow-color!important;
}
}
&.bottom, &.bottom-left, &.bottom-right {
.tooltip-arrow {
- border-bottom-color: @odoo-tooltip-arrow-color!important;
+ border-bottom-color: @flectra-tooltip-arrow-color!important;
}
}
&.left .tooltip-arrow {
- border-left-color: @odoo-tooltip-arrow-color!important;
+ border-left-color: @flectra-tooltip-arrow-color!important;
}
&.right .tooltip-arrow {
- border-right-color: @odoo-tooltip-arrow-color!important;
+ border-right-color: @flectra-tooltip-arrow-color!important;
}
}
diff --git a/addons/web/static/src/less/utils.less b/addons/web/static/src/less/utils.less
index addc84d214..8ceb1a2456 100644
--- a/addons/web/static/src/less/utils.less
+++ b/addons/web/static/src/less/utils.less
@@ -1,11 +1,11 @@
///
-/// This file regroups the odoo LESS mixins. They are available in every asset bundle.
+/// This file regroups the flectra LESS mixins. They are available in every asset bundle.
///
// ------------------------------------------------------------------
// Padding
// ------------------------------------------------------------------
-.o-webclient-padding(@top: 0px, @right: @odoo-horizontal-padding, @bottom: 0px, @left: @odoo-horizontal-padding) {
+.o-webclient-padding(@top: 0px, @right: @flectra-horizontal-padding, @bottom: 0px, @left: @flectra-horizontal-padding) {
padding-top: @top;
padding-right: @right;
padding-bottom: @bottom;
@@ -127,14 +127,14 @@
li {
position: relative;
> a {
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
&:hover {
- color: darken(@odoo-main-text-color, 10%);
+ color: darken(@flectra-main-text-color, 10%);
}
}
&.selected {
> a {
- color: darken(@odoo-main-text-color, 10%);
+ color: darken(@flectra-main-text-color, 10%);
font-weight: bold;
&:before {
font-family: FontAwesome;
diff --git a/addons/web/static/src/less/variables.less b/addons/web/static/src/less/variables.less
index 010c972f29..1e595510b7 100644
--- a/addons/web/static/src/less/variables.less
+++ b/addons/web/static/src/less/variables.less
@@ -1,81 +1,81 @@
///
-/// This file regroups the LESS variables that style odoo components.
+/// This file regroups the LESS variables that style flectra components.
/// They are available in every asset bundle.
///
// Font sizes
-@odoo-font-size-base: 13px;
+@flectra-font-size-base: 13px;
// Colors
-@odoo-brand-primary: #7c7bad;
-@odoo-brand-optional: #7c7bad;
-@odoo-brand-secondary: #f0eeee;
-@odoo-brand-lightsecondary: #e2e2e0;
-@odoo-color-silver: #F9F9F9;
-@odoo-color-silver-dark: #E5E5E5;
-@odoo-color-silver-darker: #d9d7d7;
+@flectra-brand-primary: #7c7bad;
+@flectra-brand-optional: #7c7bad;
+@flectra-brand-secondary: #f0eeee;
+@flectra-brand-lightsecondary: #e2e2e0;
+@flectra-color-silver: #F9F9F9;
+@flectra-color-silver-dark: #E5E5E5;
+@flectra-color-silver-darker: #d9d7d7;
// Define @gray-lighter-dark as a minor bootstrap @gray-lighter variation used
// for design purposes only (e.g. cards' borders). We avoid to overwrite the
// default @gray-light because it is deeply used by bootstrap to define muted
// elements.
-@gray-lighter-dark: @odoo-color-silver-dark;
-@gray-lighter-darker: @odoo-color-silver-darker;
+@gray-lighter-dark: @flectra-color-silver-dark;
+@gray-lighter-darker: @flectra-color-silver-darker;
-@odoo-color-pink: #875A7B; // Enterprise @odoo-brand-primary
-@odoo-main-color-muted: #a8a8a8;
-@odoo-main-text-color: #4c4c4c;
+@flectra-color-pink: #875A7B; // Enterprise @flectra-brand-primary
+@flectra-main-color-muted: #a8a8a8;
+@flectra-main-text-color: #4c4c4c;
-@odoo-view-background-color: white;
-@odoo-shadow-color: #303030;
+@flectra-view-background-color: white;
+@flectra-shadow-color: #303030;
-@odoo-webclient-background-color: @odoo-color-silver;
-@odoo-control-panel-background-color: @odoo-color-silver;
-@odoo-form-lightsecondary: #ccc;
+@flectra-webclient-background-color: @flectra-color-silver;
+@flectra-control-panel-background-color: @flectra-color-silver;
+@flectra-form-lightsecondary: #ccc;
-@odoo-list-footer-color: @odoo-main-text-color;
-@odoo-list-footer-bg-color: #eee;
-@odoo-list-footer-font-weight: bold;
+@flectra-list-footer-color: @flectra-main-text-color;
+@flectra-list-footer-bg-color: #eee;
+@flectra-list-footer-font-weight: bold;
-@odoo-tooltip-background-color: black;
-@odoo-tooltip-color: white;
-@odoo-tooltip-arrow-color: black;
+@flectra-tooltip-background-color: black;
+@flectra-tooltip-color: white;
+@flectra-tooltip-arrow-color: black;
// UI custom colors for tags, kanban records' colors, ...)
-@odoo-nb-ui-color: 12;
-@odoo-color-0: @gray-light;
-@odoo-color-1: #F06050;
-@odoo-color-2: #F4A460;
-@odoo-color-3: #F7CD1F;
-@odoo-color-4: #6CC1ED;
-@odoo-color-5: #814968;
-@odoo-color-6: #EB7E7F;
-@odoo-color-7: #2C8397;
-@odoo-color-8: #475577;
-@odoo-color-9: #D6145F;
-@odoo-color-10: #30C381;
-@odoo-color-11: #9365B8;
+@flectra-nb-ui-color: 12;
+@flectra-color-0: @gray-light;
+@flectra-color-1: #F06050;
+@flectra-color-2: #F4A460;
+@flectra-color-3: #F7CD1F;
+@flectra-color-4: #6CC1ED;
+@flectra-color-5: #814968;
+@flectra-color-6: #EB7E7F;
+@flectra-color-7: #2C8397;
+@flectra-color-8: #475577;
+@flectra-color-9: #D6145F;
+@flectra-color-10: #30C381;
+@flectra-color-11: #9365B8;
// Layout
@screen-xs-min: 475px;
@screen-xxs-max: (@screen-xs-min - 1);
-@odoo-form-group-cols: 12;
-@odoo-form-spacing-unit: 5px;
-@odoo-horizontal-padding: 16px;
-@odoo-innergroup-rpadding: 45px;
-@odoo-dropdown-hpadding: 20px;
+@flectra-form-group-cols: 12;
+@flectra-form-spacing-unit: 5px;
+@flectra-horizontal-padding: 16px;
+@flectra-innergroup-rpadding: 45px;
+@flectra-dropdown-hpadding: 20px;
@border-radius-base: 3px;
-@odoo-sheet-vpadding: 24px;
+@flectra-sheet-vpadding: 24px;
-@odoo-avatar-size: 90px;
+@flectra-avatar-size: 90px;
-@odoo-statusbar-height: 33px;
-@odoo-statusbar-arrow-width: @odoo-statusbar-height/3;
-@odoo-statusbar-disabled-bg: lighten(@odoo-brand-lightsecondary, 7%);
+@flectra-statusbar-height: 33px;
+@flectra-statusbar-arrow-width: @flectra-statusbar-height/3;
+@flectra-statusbar-disabled-bg: lighten(@flectra-brand-lightsecondary, 7%);
-@odoo-label-font-size-factor: 0.8;
-@odoo-navbar-height: 34px;
-@odoo-navbar-inverse-link-hover-bg: @navbar-inverse-link-active-bg;
+@flectra-label-font-size-factor: 0.8;
+@flectra-navbar-height: 34px;
+@flectra-navbar-inverse-link-hover-bg: @navbar-inverse-link-active-bg;
diff --git a/addons/web/static/src/less/web_calendar.less b/addons/web/static/src/less/web_calendar.less
index d6aab5e0e3..d6e1f1b92d 100644
--- a/addons/web/static/src/less/web_calendar.less
+++ b/addons/web/static/src/less/web_calendar.less
@@ -1,13 +1,13 @@
@nb-calendar-colors: 24;
@keyframes backgroundfade {
- from {background-color: fade(@odoo-brand-primary, 50%);}
+ from {background-color: fade(@flectra-brand-primary, 50%);}
to {background-color: #f5f5f5;}
}
.o_calendar_container {
height: 100%;
- .o-webclient-padding(@top: @odoo-horizontal-padding/2, @bottom: @odoo-horizontal-padding/2);
+ .o-webclient-padding(@top: @flectra-horizontal-padding/2, @bottom: @flectra-horizontal-padding/2);
.o-flex-display();
.calendar_color_loop(@index) when (@index < @nb-calendar-colors+1) {
@@ -42,12 +42,12 @@
.o_calendar_widget {
height: 100%;
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
* {
z-index: 0; // FIXME
}
.fc-week-number, .fc-widget-header {
- background-color: lighten(@odoo-brand-secondary, 30%);
+ background-color: lighten(@flectra-brand-secondary, 30%);
}
.o_avatar_square {
border-radius: 5px;
@@ -73,20 +73,20 @@
}
.o_target_date:not(.fc-today) {
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
opacity: 0.1;
}
}
.o_calendar_sidebar_container {
- .o-flex(0, 0, @odoo-horizontal-padding);
+ .o-flex(0, 0, @flectra-horizontal-padding);
position: relative;
&.o_sidebar_hidden {
- margin-right: -@odoo-horizontal-padding; // hack to display the toggler in the gutter
+ margin-right: -@flectra-horizontal-padding; // hack to display the toggler in the gutter
.o_calendar_sidebar_toggler {
padding: 4px;
- color: darken(@odoo-webclient-background-color, 30%);
+ color: darken(@flectra-webclient-background-color, 30%);
}
}
@@ -103,7 +103,7 @@
.o_calendar_sidebar {
width: 250px;
margin-left: 8px;
- background: @odoo-view-background-color;
+ background: @flectra-view-background-color;
}
.ui-datepicker {
@@ -116,7 +116,7 @@
.ui-widget-header {
.o-flex-display();
background: none;
- background-color: lighten(@odoo-brand-secondary, 30%);
+ background-color: lighten(@flectra-brand-secondary, 30%);
border-radius: 0;
.ui-datepicker-prev, .ui-datepicker-next {
@@ -125,7 +125,7 @@
cursor: pointer;
padding: 2px;
text-align: center;
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
&.ui-state-hover {
background: none;
border: none;
@@ -159,31 +159,31 @@
table {
td {
padding: 0 2px 2px 0;
- background-color: @odoo-view-background-color;
+ background-color: @flectra-view-background-color;
a {
border: none;
background: none;
- background-color: lighten(@odoo-brand-secondary, 40%);
+ background-color: lighten(@flectra-brand-secondary, 40%);
text-align: center;
}
}
.ui-state-default {
- color: @odoo-brand-primary;
+ color: @flectra-brand-primary;
&:hover {
background: none;
- background-color: fade(@odoo-brand-primary, 50%);
- border-color: @odoo-brand-primary;
- color: @odoo-view-background-color;
+ background-color: fade(@flectra-brand-primary, 50%);
+ border-color: @flectra-brand-primary;
+ color: @flectra-view-background-color;
};
}
.ui-state-active {
background: none;
- background-color: @odoo-brand-primary;
- color: @odoo-view-background-color;
+ background-color: @flectra-brand-primary;
+ color: @flectra-view-background-color;
}
.o_selected_range.o_color {
background: none;
- background-color: @odoo-brand-primary;
+ background-color: @flectra-brand-primary;
animation: backgroundfade 3s forwards;
}
}
diff --git a/addons/web/static/src/less/webclient.less b/addons/web/static/src/less/webclient.less
index dfc26b11f5..4f3e1850b5 100644
--- a/addons/web/static/src/less/webclient.less
+++ b/addons/web/static/src/less/webclient.less
@@ -3,7 +3,7 @@
// ------------------------------------------------------------------
.o_web_client {
position: relative; // normally useless but required by bootstrap-datepicker
- background-color: @odoo-webclient-background-color;
+ background-color: @flectra-webclient-background-color;
}
.o_text_overflow {
.o-text-overflow();
@@ -31,7 +31,7 @@
opacity: 0;
background-color: @notification-info-bg-color;
- box-shadow: 0px 0px 5px 1px @odoo-main-text-color;
+ box-shadow: 0px 0px 5px 1px @flectra-main-text-color;
position: relative;
.o_close {
@@ -114,7 +114,7 @@ div.o_boolean_toggle {
}
& > input:checked + .slider {
- background-color: @odoo-brand-optional;
+ background-color: @flectra-brand-optional;
&:before {
.translate(14px; 0px);
diff --git a/addons/web/static/src/less/webclient_extra.less b/addons/web/static/src/less/webclient_extra.less
index 7c33735261..ce14ec2527 100644
--- a/addons/web/static/src/less/webclient_extra.less
+++ b/addons/web/static/src/less/webclient_extra.less
@@ -18,7 +18,7 @@ div.o_checkbox {
outline: none;
}
.o_input {
- border: 1px solid @odoo-form-lightsecondary;
+ border: 1px solid @flectra-form-lightsecondary;
border-radius: @border-radius-base;
padding: 2px 4px;
color: #1f1f1f;
@@ -40,7 +40,7 @@ select {
top: 0;
right: 50%;
padding: 4px 12px;
- background-color: @odoo-color-pink;
+ background-color: @flectra-color-pink;
color: white;
text-align: center;
border-top: none;
diff --git a/addons/web/static/src/less/webclient_layout.less b/addons/web/static/src/less/webclient_layout.less
index b389a919a1..672a96e502 100644
--- a/addons/web/static/src/less/webclient_layout.less
+++ b/addons/web/static/src/less/webclient_layout.less
@@ -1,4 +1,4 @@
-@odoo-submenu-width: 220px;
+@flectra-submenu-width: 220px;
.o_web_client {
.o-flex-display();
@@ -37,11 +37,11 @@
height: 100%;
.o_sub_menu {
- .o-flex(0, 0, @odoo-submenu-width);
+ .o-flex(0, 0, @flectra-submenu-width);
.o-flex-display();
.o-flex-flow(column, nowrap);
- border-right: 1px solid darken(@odoo-control-panel-background-color, 20%);
- background-color: @odoo-control-panel-background-color;
+ border-right: 1px solid darken(@flectra-control-panel-background-color, 20%);
+ background-color: @flectra-control-panel-background-color;
.o_sub_menu_logo {
.o-flex(0, 0, auto);
@@ -75,13 +75,13 @@
.oe_secondary_menu_section {
font-weight: bold;
margin-left: 8px;
- color: @odoo-brand-optional;
+ color: @flectra-brand-optional;
}
.oe_secondary_submenu {
margin: 3px 0px 10px;
line-height: 1.1em;
>li:not(.active) > a {
- color: @odoo-main-text-color;
+ color: @flectra-main-text-color;
}
> li > a {
padding: 4px 4px 4px 18px;
@@ -135,7 +135,7 @@
> a {
font-weight: bold;
> span {
- color: @odoo-color-pink;
+ color: @flectra-color-pink;
}
}
}
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index c0386a0a87..e463ed5ffe 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1332,7 +1332,7 @@
diff --git a/addons/web/static/tests/boot_tests.js b/addons/web/static/tests/boot_tests.js
index f317e77d2e..83d7c5498b 100644
--- a/addons/web/static/tests/boot_tests.js
+++ b/addons/web/static/tests/boot_tests.js
@@ -1,11 +1,11 @@
(function() {
"use strict";
-odoo.__DEBUG__.didLogInfo.then(function() {
+flectra.__DEBUG__.didLogInfo.then(function() {
- var modulesInfo = odoo.__DEBUG__.js_modules;
+ var modulesInfo = flectra.__DEBUG__.js_modules;
- QUnit.module('Odoo JS Modules');
+ QUnit.module('Flectra JS Modules');
QUnit.test('all modules are properly loaded', function(assert) {
assert.expect(2);
@@ -18,4 +18,4 @@ odoo.__DEBUG__.didLogInfo.then(function() {
});
-})();
\ No newline at end of file
+})();
\ No newline at end of file
diff --git a/addons/web/static/tests/chrome/pager_tests.js b/addons/web/static/tests/chrome/pager_tests.js
index 48c4ce6ed8..77b4a9a6db 100644
--- a/addons/web/static/tests/chrome/pager_tests.js
+++ b/addons/web/static/tests/chrome/pager_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.pager_tests', function (require) {
+flectra.define('web.pager_tests', function (require) {
"use strict";
var Pager = require('web.Pager');
@@ -91,4 +91,4 @@ QUnit.module('chrome', {}, function () {
});
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/tests/chrome/search_tests.js b/addons/web/static/tests/chrome/search_tests.js
index c2d290134e..7bdd9b2af6 100644
--- a/addons/web/static/tests/chrome/search_tests.js
+++ b/addons/web/static/tests/chrome/search_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.search_tests', function (require) {
+flectra.define('web.search_tests', function (require) {
"use strict";
var SearchView = require('web.SearchView');
diff --git a/addons/web/static/tests/core/class_tests.js b/addons/web/static/tests/core/class_tests.js
index 438b137e6a..17a85be2a9 100644
--- a/addons/web/static/tests/core/class_tests.js
+++ b/addons/web/static/tests/core/class_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.class_tests', function (require) {
+flectra.define('web.class_tests', function (require) {
"use strict";
var Class = require('web.Class');
diff --git a/addons/web/static/tests/core/concurrency_tests.js b/addons/web/static/tests/core/concurrency_tests.js
index 62b9f90bcf..37fedcd0e9 100644
--- a/addons/web/static/tests/core/concurrency_tests.js
+++ b/addons/web/static/tests/core/concurrency_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.concurrency_tests', function (require) {
+flectra.define('web.concurrency_tests', function (require) {
"use strict";
var concurrency = require('web.concurrency');
@@ -253,4 +253,4 @@ QUnit.module('core', {}, function () {
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/tests/core/domain_tests.js b/addons/web/static/tests/core/domain_tests.js
index 001eae2d6b..a9e6db0833 100644
--- a/addons/web/static/tests/core/domain_tests.js
+++ b/addons/web/static/tests/core/domain_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.domain_tests', function (require) {
+flectra.define('web.domain_tests', function (require) {
"use strict";
var Domain = require('web.Domain');
diff --git a/addons/web/static/tests/core/mixins_tests.js b/addons/web/static/tests/core/mixins_tests.js
index c49c33ec64..236686dc88 100644
--- a/addons/web/static/tests/core/mixins_tests.js
+++ b/addons/web/static/tests/core/mixins_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.mixins_tests', function (require) {
+flectra.define('web.mixins_tests', function (require) {
"use strict";
var testUtils = require('web.test_utils');
diff --git a/addons/web/static/tests/core/pyeval_tests.js b/addons/web/static/tests/core/pyeval_tests.js
index 89bfa32872..7b0edb2793 100644
--- a/addons/web/static/tests/core/pyeval_tests.js
+++ b/addons/web/static/tests/core/pyeval_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.pyEval_tests', function(require) {
+flectra.define('web.pyEval_tests', function(require) {
"use strict";
var Context = require('web.Context');
diff --git a/addons/web/static/tests/core/registry_tests.js b/addons/web/static/tests/core/registry_tests.js
index d28e429da2..3ab3d345c5 100644
--- a/addons/web/static/tests/core/registry_tests.js
+++ b/addons/web/static/tests/core/registry_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.registry_tests', function (require) {
+flectra.define('web.registry_tests', function (require) {
"use strict";
var Registry = require('web.Registry');
diff --git a/addons/web/static/tests/core/rpc_tests.js b/addons/web/static/tests/core/rpc_tests.js
index 06763e38f0..f09c4f9767 100644
--- a/addons/web/static/tests/core/rpc_tests.js
+++ b/addons/web/static/tests/core/rpc_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.rpc_tests', function (require) {
+flectra.define('web.rpc_tests', function (require) {
"use strict";
var rpc = require('web.rpc');
diff --git a/addons/web/static/tests/core/time_tests.js b/addons/web/static/tests/core/time_tests.js
index 3407f5f427..109904690f 100644
--- a/addons/web/static/tests/core/time_tests.js
+++ b/addons/web/static/tests/core/time_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.time_tests', function (require) {
+flectra.define('web.time_tests', function (require) {
"use strict";
var time = require('web.time');
@@ -147,4 +147,4 @@ QUnit.module('core', {}, function () {
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/tests/core/util_tests.js b/addons/web/static/tests/core/util_tests.js
index 204503117e..ed565c87d9 100644
--- a/addons/web/static/tests/core/util_tests.js
+++ b/addons/web/static/tests/core/util_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.util_tests', function (require) {
+flectra.define('web.util_tests', function (require) {
"use strict";
var utils = require('web.utils');
@@ -46,4 +46,4 @@ QUnit.module('core', {}, function () {
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/tests/core/widget_tests.js b/addons/web/static/tests/core/widget_tests.js
index 8988002734..aa5c455bb7 100644
--- a/addons/web/static/tests/core/widget_tests.js
+++ b/addons/web/static/tests/core/widget_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.widget_tests', function (require) {
+flectra.define('web.widget_tests', function (require) {
"use strict";
var concurrency = require('web.concurrency');
@@ -392,4 +392,4 @@ QUnit.module('core', {}, function () {
});
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/tests/fields/basic_fields_tests.js b/addons/web/static/tests/fields/basic_fields_tests.js
index 9ea423250e..b1b3fe2411 100644
--- a/addons/web/static/tests/fields/basic_fields_tests.js
+++ b/addons/web/static/tests/fields/basic_fields_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.basic_fields_tests', function (require) {
+flectra.define('web.basic_fields_tests', function (require) {
"use strict";
var basicFields = require('web.basic_fields');
@@ -3039,7 +3039,7 @@ QUnit.module('basic_fields', {
// The behavior of this widget is completely altered by voip so this
// test is irrelevant and fails if voip is installed. The enterprise
// module is responsible for testing its own behavior in its own tests.
- if ('voip.user_agent' in odoo.__DEBUG__.services) {
+ if ('voip.user_agent' in flectra.__DEBUG__.services) {
assert.expect(0);
return;
}
@@ -3094,7 +3094,7 @@ QUnit.module('basic_fields', {
// The behavior of this widget is completely altered by voip so this
// test is irrelevant and fails if voip is installed. The enterprise
// module is responsible for testing its own behavior in its own tests.
- if ('voip.user_agent' in odoo.__DEBUG__.services) {
+ if ('voip.user_agent' in flectra.__DEBUG__.services) {
assert.expect(0);
return;
}
diff --git a/addons/web/static/tests/fields/field_utils_tests.js b/addons/web/static/tests/fields/field_utils_tests.js
index e24571ea1d..4fb3064bb6 100644
--- a/addons/web/static/tests/fields/field_utils_tests.js
+++ b/addons/web/static/tests/fields/field_utils_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.field_utils_tests', function (require) {
+flectra.define('web.field_utils_tests', function (require) {
"use strict";
var core = require('web.core');
diff --git a/addons/web/static/tests/fields/relational_fields_tests.js b/addons/web/static/tests/fields/relational_fields_tests.js
index 2eab2b421b..b562d68321 100644
--- a/addons/web/static/tests/fields/relational_fields_tests.js
+++ b/addons/web/static/tests/fields/relational_fields_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.relational_fields_tests', function (require) {
+flectra.define('web.relational_fields_tests', function (require) {
"use strict";
var AbstractField = require('web.AbstractField');
diff --git a/addons/web/static/tests/fields/special_fields.js b/addons/web/static/tests/fields/special_fields.js
index 6786f6783b..3540c75103 100644
--- a/addons/web/static/tests/fields/special_fields.js
+++ b/addons/web/static/tests/fields/special_fields.js
@@ -1,4 +1,4 @@
-odoo.define('web.special_fields_tests', function (require) {
+flectra.define('web.special_fields_tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/web/static/tests/fields/upgrade_fields_tests.js b/addons/web/static/tests/fields/upgrade_fields_tests.js
index 427ec7b54e..bd7bd79e47 100644
--- a/addons/web/static/tests/fields/upgrade_fields_tests.js
+++ b/addons/web/static/tests/fields/upgrade_fields_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.upgrade_fields_tests', function (require) {
+flectra.define('web.upgrade_fields_tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/web/static/tests/helpers/mock_server.js b/addons/web/static/tests/helpers/mock_server.js
index b9d0fc50dd..e82501d06f 100644
--- a/addons/web/static/tests/helpers/mock_server.js
+++ b/addons/web/static/tests/helpers/mock_server.js
@@ -1,4 +1,4 @@
-odoo.define('web.MockServer', function (require) {
+flectra.define('web.MockServer', function (require) {
"use strict";
var Class = require('web.Class');
diff --git a/addons/web/static/tests/helpers/qunit_config.js b/addons/web/static/tests/helpers/qunit_config.js
index 8d2b287ab8..3c9263d601 100644
--- a/addons/web/static/tests/helpers/qunit_config.js
+++ b/addons/web/static/tests/helpers/qunit_config.js
@@ -4,12 +4,12 @@
/**
* QUnit Config
*
- * The Odoo javascript test framework is based on QUnit (http://qunitjs.com/).
+ * The Flectra javascript test framework is based on QUnit (http://qunitjs.com/).
* This file is necessary to setup Qunit and to prepare its interactions with
- * Odoo. It has to be loaded before any tests are defined.
+ * Flectra. It has to be loaded before any tests are defined.
*
- * Note that it is not an Odoo module, because we want this code to be executed
- * as soon as possible, not whenever the Odoo module system feels like it.
+ * Note that it is not an Flectra module, because we want this code to be executed
+ * as soon as possible, not whenever the Flectra module system feels like it.
*/
@@ -23,7 +23,7 @@ QUnit.config.requireExpects = true;
/**
* not important in normal mode, but in debug=assets, the files are loaded
* asynchroneously, which can lead to various issues with QUnit... Notice that
- * this is done outside of odoo modules, otherwise the setting would not take
+ * this is done outside of flectra modules, otherwise the setting would not take
* effect on time.
*/
QUnit.config.autostart = false;
diff --git a/addons/web/static/tests/helpers/test_utils.js b/addons/web/static/tests/helpers/test_utils.js
index 2ff472335e..09c643bf70 100644
--- a/addons/web/static/tests/helpers/test_utils.js
+++ b/addons/web/static/tests/helpers/test_utils.js
@@ -1,4 +1,4 @@
-odoo.define('web.test_utils', function (require) {
+flectra.define('web.test_utils', function (require) {
"use strict";
/**
@@ -30,7 +30,7 @@ var DebouncedField = basic_fields.DebouncedField;
* It will not be propagated further, and even the handlers on the target will
* not fire.
*
- * @param {Widget} widget the target widget (any Odoo widget)
+ * @param {Widget} widget the target widget (any Flectra widget)
* @param {string} eventName description of the event
* @param {function} fn callback executed when the even is intercepted
* @param {boolean} [propagate=false]
@@ -100,7 +100,7 @@ function createView(params) {
* @param {any[]} [params.domain] the initial domain for the view
* @param {Object} [params.context] the initial context for the view
* @param {Object} [params.debug=false] if true, the widget will be appended in
- * the DOM. Also, the logLevel will be forced to 2 and the uncaught OdooEvent
+ * the DOM. Also, the logLevel will be forced to 2 and the uncaught FlectraEvent
* will be logged
* @param {string[]} [params.groupBy] the initial groupBy for the view
* @param {integer} [params.fieldDebounce=0] the debounce value to use for the
@@ -164,7 +164,7 @@ function createAsyncView(params) {
var $content = $('
').addClass('o_content').appendTo($web_client);
var $view_manager = $('
').addClass('o_view_manager_content').appendTo($content);
- // make sure all Odoo events bubbling up are intercepted
+ // make sure all Flectra events bubbling up are intercepted
if (params.intercepts) {
_.each(params.intercepts, function (cb, name) {
intercept(widget, name, cb);
@@ -231,7 +231,7 @@ function createAsyncView(params) {
* @param {string} [params.currentDate] a string representation of the current
* date. It is given to the mock server.
* @param {Object} params.data the data given to the created mock server. It is
- * used to generate mock answers for every kind of routes supported by odoo
+ * used to generate mock answers for every kind of routes supported by flectra
* @param {number} [params.logLevel] the log level. If it is 0, no logging is
* done, if 1, some light logging is done, if 2, detailed logs will be
* displayed for all rpcs. Most of the time, when working on a test, it is
diff --git a/addons/web/static/tests/views/abstract_view_tests.js b/addons/web/static/tests/views/abstract_view_tests.js
index b958550a8e..257ef3251a 100644
--- a/addons/web/static/tests/views/abstract_view_tests.js
+++ b/addons/web/static/tests/views/abstract_view_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.abstract_view_tests', function (require) {
+flectra.define('web.abstract_view_tests', function (require) {
"use strict";
var AbstractView = require('web.AbstractView');
diff --git a/addons/web/static/tests/views/basic_model_tests.js b/addons/web/static/tests/views/basic_model_tests.js
index 492dfd4224..cc7c008ed7 100644
--- a/addons/web/static/tests/views/basic_model_tests.js
+++ b/addons/web/static/tests/views/basic_model_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.basic_model_tests', function (require) {
+flectra.define('web.basic_model_tests', function (require) {
"use strict";
var BasicModel = require('web.BasicModel');
diff --git a/addons/web/static/tests/views/calendar_tests.js b/addons/web/static/tests/views/calendar_tests.js
index b6cbcd7e03..218783834a 100644
--- a/addons/web/static/tests/views/calendar_tests.js
+++ b/addons/web/static/tests/views/calendar_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.calendar_tests', function (require) {
+flectra.define('web.calendar_tests', function (require) {
"use strict";
var CalendarView = require('web.CalendarView');
@@ -386,7 +386,7 @@ QUnit.module('Views', {
return $.Deferred().reject({
code: 200,
data: {},
- message: "Odoo server error",
+ message: "Flectra server error",
}, event);
}
return this._super(route, args);
diff --git a/addons/web/static/tests/views/form_benchmarks.js b/addons/web/static/tests/views/form_benchmarks.js
index d664859ba2..9aa77df492 100644
--- a/addons/web/static/tests/views/form_benchmarks.js
+++ b/addons/web/static/tests/views/form_benchmarks.js
@@ -1,4 +1,4 @@
-odoo.define('web.list_benchmarks', function (require) {
+flectra.define('web.list_benchmarks', function (require) {
"use strict";
var FormView = require('web.FormView');
@@ -92,4 +92,4 @@ QUnit.module('Form View', {
});
});
-});
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/addons/web/static/tests/views/form_tests.js b/addons/web/static/tests/views/form_tests.js
index 672c7a7151..b03a19960e 100644
--- a/addons/web/static/tests/views/form_tests.js
+++ b/addons/web/static/tests/views/form_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.form_tests', function (require) {
+flectra.define('web.form_tests', function (require) {
"use strict";
var concurrency = require('web.concurrency');
@@ -3818,7 +3818,7 @@ QUnit.module('Views', {
// The behavior of the phone widget is completely altered by voip so
// this test fails if voip is installed. The enterprise module is
// responsible for testing its own behavior in its own tests.
- if ('voip.user_agent' in odoo.__DEBUG__.services) {
+ if ('voip.user_agent' in flectra.__DEBUG__.services) {
assert.expect(0);
return;
}
@@ -4707,7 +4707,7 @@ QUnit.module('Views', {
// if not only 2 dropdowns are displayed.
var $dropdowns = $('.o_web_client .o_control_panel .btn-group .o_dropdown_toggler_btn');
var $actions = $('.o_web_client .o_control_panel .btn-group .dropdown-menu')[1].children;
- if ('document.document' in odoo.__DEBUG__.services) {
+ if ('document.document' in flectra.__DEBUG__.services) {
assert.strictEqual($dropdowns.length, 3,
"there should be 3 dropdowns (print, attachment, action) in the toolbar.");
$actions = $('.o_web_client .o_control_panel .btn-group .dropdown-menu')[2].children;
diff --git a/addons/web/static/tests/views/graph_tests.js b/addons/web/static/tests/views/graph_tests.js
index f7d22f27a6..2c9631f32c 100644
--- a/addons/web/static/tests/views/graph_tests.js
+++ b/addons/web/static/tests/views/graph_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.graph_tests', function (require) {
+flectra.define('web.graph_tests', function (require) {
"use strict";
var concurrency = require('web.concurrency');
diff --git a/addons/web/static/tests/views/kanban_benchmarks.js b/addons/web/static/tests/views/kanban_benchmarks.js
index d0df270089..16c681c941 100644
--- a/addons/web/static/tests/views/kanban_benchmarks.js
+++ b/addons/web/static/tests/views/kanban_benchmarks.js
@@ -1,4 +1,4 @@
-odoo.define('web.kanban_benchmarks', function (require) {
+flectra.define('web.kanban_benchmarks', function (require) {
"use strict";
var KanbanView = require('web.KanbanView');
diff --git a/addons/web/static/tests/views/kanban_mobile_tests.js b/addons/web/static/tests/views/kanban_mobile_tests.js
index 0ee35c2c9c..bb88b9330e 100644
--- a/addons/web/static/tests/views/kanban_mobile_tests.js
+++ b/addons/web/static/tests/views/kanban_mobile_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.kanban_mobile_tests', function (require) {
+flectra.define('web.kanban_mobile_tests', function (require) {
"use strict";
var KanbanView = require('web.KanbanView');
diff --git a/addons/web/static/tests/views/kanban_model_tests.js b/addons/web/static/tests/views/kanban_model_tests.js
index 1a3391c720..750f27c489 100644
--- a/addons/web/static/tests/views/kanban_model_tests.js
+++ b/addons/web/static/tests/views/kanban_model_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.kanban_model_tests', function (require) {
+flectra.define('web.kanban_model_tests', function (require) {
"use strict";
var KanbanModel = require('web.KanbanModel');
diff --git a/addons/web/static/tests/views/kanban_tests.js b/addons/web/static/tests/views/kanban_tests.js
index 9e6d6e9e30..f13db4f722 100644
--- a/addons/web/static/tests/views/kanban_tests.js
+++ b/addons/web/static/tests/views/kanban_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.kanban_tests', function (require) {
+flectra.define('web.kanban_tests', function (require) {
"use strict";
var core = require('web.core');
@@ -570,7 +570,7 @@ QUnit.module('Views', {
return $.Deferred().reject({
code: 200,
data: {},
- message: "Odoo server error",
+ message: "Flectra server error",
}, $.Event());
}
return this._super.apply(this, arguments);
diff --git a/addons/web/static/tests/views/list_benchmarks.js b/addons/web/static/tests/views/list_benchmarks.js
index 4dadbcb47b..b70ee9eb39 100644
--- a/addons/web/static/tests/views/list_benchmarks.js
+++ b/addons/web/static/tests/views/list_benchmarks.js
@@ -1,4 +1,4 @@
-odoo.define('web.list_benchmarks', function (require) {
+flectra.define('web.list_benchmarks', function (require) {
"use strict";
var ListView = require('web.ListView');
diff --git a/addons/web/static/tests/views/list_tests.js b/addons/web/static/tests/views/list_tests.js
index 33b44948fc..bf99b87410 100644
--- a/addons/web/static/tests/views/list_tests.js
+++ b/addons/web/static/tests/views/list_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.list_tests', function (require) {
+flectra.define('web.list_tests', function (require) {
"use strict";
var config = require('web.config');
diff --git a/addons/web/static/tests/views/pivot_tests.js b/addons/web/static/tests/views/pivot_tests.js
index fe8c4c5b3f..2ebc034377 100644
--- a/addons/web/static/tests/views/pivot_tests.js
+++ b/addons/web/static/tests/views/pivot_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.pivot_tests', function (require) {
+flectra.define('web.pivot_tests', function (require) {
"use strict";
var Context = require('web.Context');
diff --git a/addons/web/static/tests/views/view_dialogs_tests.js b/addons/web/static/tests/views/view_dialogs_tests.js
index 1d99d5b1cb..fa19ad62d7 100644
--- a/addons/web/static/tests/views/view_dialogs_tests.js
+++ b/addons/web/static/tests/views/view_dialogs_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.view_dialogs_tests', function (require) {
+flectra.define('web.view_dialogs_tests', function (require) {
"use strict";
var testUtils = require('web.test_utils');
diff --git a/addons/web/static/tests/widgets/data_export_tests.js b/addons/web/static/tests/widgets/data_export_tests.js
index d251e3dea1..c7539eefe3 100644
--- a/addons/web/static/tests/widgets/data_export_tests.js
+++ b/addons/web/static/tests/widgets/data_export_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.data_export_tests', function (require) {
+flectra.define('web.data_export_tests', function (require) {
"use strict";
var framework = require('web.framework');
diff --git a/addons/web/static/tests/widgets/domain_selector_tests.js b/addons/web/static/tests/widgets/domain_selector_tests.js
index aca017e831..f2e9df9ac6 100644
--- a/addons/web/static/tests/widgets/domain_selector_tests.js
+++ b/addons/web/static/tests/widgets/domain_selector_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.domain_selector_tests', function (require) {
+flectra.define('web.domain_selector_tests', function (require) {
"use strict";
var DomainSelector = require("web.DomainSelector");
diff --git a/addons/web/static/tests/widgets/model_field_selector_tests.js b/addons/web/static/tests/widgets/model_field_selector_tests.js
index 1ce4fc8c2d..814b9bc234 100644
--- a/addons/web/static/tests/widgets/model_field_selector_tests.js
+++ b/addons/web/static/tests/widgets/model_field_selector_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.model_field_selector_tests', function (require) {
+flectra.define('web.model_field_selector_tests', function (require) {
"use strict";
var ModelFieldSelector = require("web.ModelFieldSelector");
diff --git a/addons/web/static/tests/widgets/rainbow_man_tests.js b/addons/web/static/tests/widgets/rainbow_man_tests.js
index e9674ebc3f..62f8a235a6 100644
--- a/addons/web/static/tests/widgets/rainbow_man_tests.js
+++ b/addons/web/static/tests/widgets/rainbow_man_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web.rainbow_man_tests', function (require) {
+flectra.define('web.rainbow_man_tests', function (require) {
"use strict";
var RainbowMan = require('web.rainbow_man');
diff --git a/addons/web/tests/__init__.py b/addons/web/tests/__init__.py
index 582c61fcae..9bfb25b45a 100644
--- a/addons/web/tests/__init__.py
+++ b/addons/web/tests/__init__.py
@@ -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 test_js
from . import test_menu
diff --git a/addons/web/tests/test_js.py b/addons/web/tests/test_js.py
index 49f5b8d6dc..7af055e8d6 100644
--- a/addons/web/tests/test_js.py
+++ b/addons/web/tests/test_js.py
@@ -1,12 +1,12 @@
# -*- 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.
import re
-import odoo.tests
+import flectra.tests
RE_ONLY = re.compile('QUnit\.only\(')
-class WebSuite(odoo.tests.HttpCase):
+class WebSuite(flectra.tests.HttpCase):
post_install = True
at_install = False
diff --git a/addons/web/tests/test_menu.py b/addons/web/tests/test_menu.py
index 71182f3595..a42b6e706f 100644
--- a/addons/web/tests/test_menu.py
+++ b/addons/web/tests/test_menu.py
@@ -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.
import unittest
diff --git a/addons/web/tests/test_serving_base.py b/addons/web/tests/test_serving_base.py
index 3974e79846..ab150b1d56 100644
--- a/addons/web/tests/test_serving_base.py
+++ b/addons/web/tests/test_serving_base.py
@@ -1,10 +1,10 @@
# -*- 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.
import random
import unittest
-from odoo.tools import topological_sort
+from flectra.tools import topological_sort
def sample(population):
diff --git a/addons/web/views/report_templates.xml b/addons/web/views/report_templates.xml
index 23b1b71f0a..6a8d21b67f 100644
--- a/addons/web/views/report_templates.xml
+++ b/addons/web/views/report_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -54,7 +54,7 @@
-
+
@@ -401,4 +401,4 @@
file="web.preview_externalreport"
string="Preview External Report"
report_type="qweb-pdf"/>
-
+
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml
index 5fa62beb76..b1aaab0095 100644
--- a/addons/web/views/webclient_templates.xml
+++ b/addons/web/views/webclient_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -137,7 +137,7 @@
@@ -253,11 +253,11 @@
-
+
@@ -291,7 +291,7 @@
Manage Databases |
- Powered by Odoo
+ Powered by Flectra
@@ -371,7 +371,7 @@
@@ -413,13 +413,13 @@
-
+
@@ -613,7 +613,7 @@
]]>
@@ -719,4 +719,4 @@
-->
-
+
diff --git a/addons/web_diagram/__init__.py b/addons/web_diagram/__init__.py
index dd15b5c32e..b0c2004db8 100644
--- a/addons/web_diagram/__init__.py
+++ b/addons/web_diagram/__init__.py
@@ -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 controllers
diff --git a/addons/web_diagram/__manifest__.py b/addons/web_diagram/__manifest__.py
index 537e8785f8..1847db0810 100644
--- a/addons/web_diagram/__manifest__.py
+++ b/addons/web_diagram/__manifest__.py
@@ -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.
{
'name': 'Odoo Web Diagram',
diff --git a/addons/web_diagram/controllers/__init__.py b/addons/web_diagram/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/web_diagram/controllers/__init__.py
+++ b/addons/web_diagram/controllers/__init__.py
@@ -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 main
diff --git a/addons/web_diagram/controllers/main.py b/addons/web_diagram/controllers/main.py
index d29b60df40..a42080636d 100644
--- a/addons/web_diagram/controllers/main.py
+++ b/addons/web_diagram/controllers/main.py
@@ -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.
-import odoo.http as http
+import flectra.http as http
-from odoo.tools.safe_eval import safe_eval
+from flectra.tools.safe_eval import safe_eval
class DiagramView(http.Controller):
diff --git a/addons/web_diagram/static/src/js/diagram_controller.js b/addons/web_diagram/static/src/js/diagram_controller.js
index 65a3eb157d..e7dfe29707 100644
--- a/addons/web_diagram/static/src/js/diagram_controller.js
+++ b/addons/web_diagram/static/src/js/diagram_controller.js
@@ -1,4 +1,4 @@
-odoo.define('web_diagram.DiagramController', function (require) {
+flectra.define('web_diagram.DiagramController', function (require) {
"use strict";
var AbstractController = require('web.AbstractController');
@@ -98,7 +98,7 @@ var DiagramController = AbstractController.extend({
* and dest nodes.
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onAddEdge: function (event) {
var self = this;
@@ -132,7 +132,7 @@ var DiagramController = AbstractController.extend({
* Custom event handler that opens a popup to edit an edge given its id
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onEditEdge: function (event) {
var state = this.model.get();
@@ -149,7 +149,7 @@ var DiagramController = AbstractController.extend({
* given its id
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onEditNode: function (event) {
var state = this.model.get();
@@ -165,7 +165,7 @@ var DiagramController = AbstractController.extend({
* Custom event handler that removes an edge given its id
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onRemoveEdge: function (event) {
var self = this;
@@ -185,7 +185,7 @@ var DiagramController = AbstractController.extend({
* Custom event handler that removes a node given its id
*
* @private
- * @param {OdooEvent} event
+ * @param {FlectraEvent} event
*/
_onRemoveNode: function (event) {
var self = this;
diff --git a/addons/web_diagram/static/src/js/diagram_model.js b/addons/web_diagram/static/src/js/diagram_model.js
index 8ebd572433..605a50754a 100644
--- a/addons/web_diagram/static/src/js/diagram_model.js
+++ b/addons/web_diagram/static/src/js/diagram_model.js
@@ -1,4 +1,4 @@
-odoo.define('web_diagram.DiagramModel', function (require) {
+flectra.define('web_diagram.DiagramModel', function (require) {
"use strict";
var AbstractModel = require('web.AbstractModel');
diff --git a/addons/web_diagram/static/src/js/diagram_renderer.js b/addons/web_diagram/static/src/js/diagram_renderer.js
index 7e41bf4817..e238603273 100644
--- a/addons/web_diagram/static/src/js/diagram_renderer.js
+++ b/addons/web_diagram/static/src/js/diagram_renderer.js
@@ -1,4 +1,4 @@
-odoo.define('web_diagram.DiagramRenderer', function (require) {
+flectra.define('web_diagram.DiagramRenderer', function (require) {
"use strict";
var AbstractRenderer = require('web.AbstractRenderer');
diff --git a/addons/web_diagram/static/src/js/diagram_view.js b/addons/web_diagram/static/src/js/diagram_view.js
index bb92dde417..49a5ed564f 100644
--- a/addons/web_diagram/static/src/js/diagram_view.js
+++ b/addons/web_diagram/static/src/js/diagram_view.js
@@ -1,4 +1,4 @@
-odoo.define('web_diagram.DiagramView', function (require) {
+flectra.define('web_diagram.DiagramView', function (require) {
"use strict";
var BasicView = require('web.BasicView');
diff --git a/addons/web_diagram/static/src/js/view_registry.js b/addons/web_diagram/static/src/js/view_registry.js
index edf670050a..2231524f17 100644
--- a/addons/web_diagram/static/src/js/view_registry.js
+++ b/addons/web_diagram/static/src/js/view_registry.js
@@ -1,4 +1,4 @@
-odoo.define('web_diagram.view_registry', function (require) {
+flectra.define('web_diagram.view_registry', function (require) {
"use strict";
var view_registry = require('web.view_registry');
diff --git a/addons/web_diagram/static/tests/diagram_tests.js b/addons/web_diagram/static/tests/diagram_tests.js
index 8d453f8be1..3e63817ba8 100644
--- a/addons/web_diagram/static/tests/diagram_tests.js
+++ b/addons/web_diagram/static/tests/diagram_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web_diagram.diagram_tests', function (require) {
+flectra.define('web_diagram.diagram_tests', function (require) {
"use strict";
var DiagramView = require('web_diagram.DiagramView');
diff --git a/addons/web_diagram/views/web_diagram_templates.xml b/addons/web_diagram/views/web_diagram_templates.xml
index 1e56c8abbe..b178b3e8cc 100644
--- a/addons/web_diagram/views/web_diagram_templates.xml
+++ b/addons/web_diagram/views/web_diagram_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/web_editor/__init__.py b/addons/web_editor/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/web_editor/__init__.py
+++ b/addons/web_editor/__init__.py
@@ -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
diff --git a/addons/web_editor/__manifest__.py b/addons/web_editor/__manifest__.py
index 4b6cf3fcc8..4b28eaaf9b 100644
--- a/addons/web_editor/__manifest__.py
+++ b/addons/web_editor/__manifest__.py
@@ -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.
{
'name': 'Web Editor',
diff --git a/addons/web_editor/controllers/__init__.py b/addons/web_editor/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/web_editor/controllers/__init__.py
+++ b/addons/web_editor/controllers/__init__.py
@@ -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 main
diff --git a/addons/web_editor/controllers/main.py b/addons/web_editor/controllers/main.py
index 50a9540323..ce5e01aec7 100644
--- a/addons/web_editor/controllers/main.py
+++ b/addons/web_editor/controllers/main.py
@@ -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.
import base64
import io
import json
@@ -11,10 +11,10 @@ import werkzeug.wrappers
from PIL import Image, ImageFont, ImageDraw
from lxml import etree, html
-from odoo.http import request
-from odoo import http, tools
-from odoo.tools import pycompat
-from odoo.modules.module import get_resource_path, get_module_path
+from flectra.http import request
+from flectra import http, tools
+from flectra.tools import pycompat
+from flectra.modules.module import get_resource_path, get_module_path
logger = logging.getLogger(__name__)
diff --git a/addons/web_editor/models/__init__.py b/addons/web_editor/models/__init__.py
index b895b36ca5..d4c00b781f 100644
--- a/addons/web_editor/models/__init__.py
+++ b/addons/web_editor/models/__init__.py
@@ -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 ir_attachment
from . import ir_qweb
diff --git a/addons/web_editor/models/ir_attachment.py b/addons/web_editor/models/ir_attachment.py
index 0c5f0e53de..04fefa1824 100644
--- a/addons/web_editor/models/ir_attachment.py
+++ b/addons/web_editor/models/ir_attachment.py
@@ -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 api, models, fields
+from flectra import api, models, fields
class IrAttachment(models.Model):
diff --git a/addons/web_editor/models/ir_http.py b/addons/web_editor/models/ir_http.py
index d6e2b2d5ee..400d6f262d 100644
--- a/addons/web_editor/models/ir_http.py
+++ b/addons/web_editor/models/ir_http.py
@@ -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 models
-from odoo.http import request
+from flectra import models
+from flectra.http import request
class IrHttp(models.AbstractModel):
diff --git a/addons/web_editor/models/ir_qweb.py b/addons/web_editor/models/ir_qweb.py
index 4a41ff572b..fc93474ea5 100644
--- a/addons/web_editor/models/ir_qweb.py
+++ b/addons/web_editor/models/ir_qweb.py
@@ -1,11 +1,11 @@
# -*- 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.
"""
Web_editor-context rendering needs to add some metadata to rendered and allow to edit fields,
as well as render a few fields differently.
-Also, adds methods to convert values back to Odoo models.
+Also, adds methods to convert values back to Flectra models.
"""
import ast
@@ -25,12 +25,12 @@ from lxml import etree, html
from PIL import Image as I
from werkzeug import urls
-import odoo.modules
+import flectra.modules
-from odoo import api, models, fields
-from odoo.tools import ustr, pycompat
-from odoo.tools import html_escape as escape
-from odoo.addons.base.ir import ir_qweb
+from flectra import api, models, fields
+from flectra.tools import ustr, pycompat
+from flectra.tools import html_escape as escape
+from flectra.addons.base.ir import ir_qweb
REMOTE_CONNECTION_TIMEOUT = 2.5
@@ -332,7 +332,7 @@ class Image(models.AbstractModel):
if sep and sep != '/':
rest.replace(sep, '/')
- path = odoo.modules.get_module_resource(
+ path = flectra.modules.get_module_resource(
match.group('module'), 'static', *(rest.split('/')))
if not path:
diff --git a/addons/web_editor/models/ir_translation.py b/addons/web_editor/models/ir_translation.py
index 0dedc93cc8..8ba1be906f 100644
--- a/addons/web_editor/models/ir_translation.py
+++ b/addons/web_editor/models/ir_translation.py
@@ -1,10 +1,10 @@
# -*- 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 lxml import etree
-from odoo import models, api
-from odoo.tools.translate import encode, xml_translate, html_translate
+from flectra import models, api
+from flectra.tools.translate import encode, xml_translate, html_translate
def edit_translation_mapping(data):
diff --git a/addons/web_editor/models/ir_ui_view.py b/addons/web_editor/models/ir_ui_view.py
index 977f02f4b4..9800d07385 100644
--- a/addons/web_editor/models/ir_ui_view.py
+++ b/addons/web_editor/models/ir_ui_view.py
@@ -1,13 +1,13 @@
# -*- 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.
import copy
import logging
from lxml import etree, html
-from odoo.exceptions import AccessError
-from odoo import api, fields, models
-from odoo.tools import pycompat
+from flectra.exceptions import AccessError
+from flectra import api, fields, models
+from flectra.tools import pycompat
_logger = logging.getLogger(__name__)
diff --git a/addons/web_editor/models/test_models.py b/addons/web_editor/models/test_models.py
index c4ac2c748d..de91451cd3 100644
--- a/addons/web_editor/models/test_models.py
+++ b/addons/web_editor/models/test_models.py
@@ -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 models, fields
+from flectra import models, fields
class ConverterTest(models.Model):
diff --git a/addons/web_editor/static/lib/nearest/jquery.nearest.min.js b/addons/web_editor/static/lib/nearest/jquery.nearest.min.js
index 9bd37ca873..bcb0bc9c40 100644
--- a/addons/web_editor/static/lib/nearest/jquery.nearest.min.js
+++ b/addons/web_editor/static/lib/nearest/jquery.nearest.min.js
@@ -8,4 +8,4 @@
* Requires jQuery 1.4 or above
* Also supports Ben Alman's "each2" plugin for faster looping (if available)
*/
-;(function(e,t){function r(t,r,i){t||(t="div");var s=e(r.container),o=s.offset()||{left:0,top:0},u=[o.left+s.width(),o.top+s.height()],a={x:0,y:1,w:0,h:1},f,l;for(f in a)a.hasOwnProperty(f)&&(l=n.exec(r[f]),l&&(r[f]=u[a[f]]*l[1]/100));var c=e(t),h=[],p=!!r.furthest,d=!!r.checkHoriz,v=!!r.checkVert,m=p?0:Infinity,g=parseFloat(r.x)||0,y=parseFloat(r.y)||0,b=parseFloat(g+r.w)||g,w=parseFloat(y+r.h)||y,E=r.tolerance||0,S=!!e.fn.each2,x=Math.min,T=Math.max;!r.includeSelf&&i&&(c=c.not(i)),E<0&&(E=0),c[S?"each2":"each"](function(t,n){var r=S?n:e(this),i=r.offset(),s=i.left,o=i.top,u=r.outerWidth(),a=r.outerHeight(),f=s+u,l=o+a,c=T(s,g),N=x(f,b),C=T(o,y),k=x(l,w),L=N>=c,A=k>=C,O,M,_,D;if(d&&v||!d&&!v&&L&&A||d&&A||v&&L)O=L?0:c-N,M=A?0:C-k,_=L||A?T(O,M):Math.sqrt(O*O+M*M),D=p?_>=m-E:_<=m+E,D&&(m=p?T(m,_):x(m,_),h.push({node:this,dist:_}))});var N=h.length,C=[],k,L,A,O;if(N){p?(k=m-E,L=m):(k=m,L=m+E);for(A=0;A=k&&O.dist<=L&&C.push(O.node)}return C}var n=/^([\d.]+)%$/;e.each(["nearest","furthest","touching"],function(n,i){var s={x:0,y:0,w:0,h:0,tolerance:1,container:document,furthest:i=="furthest",includeSelf:!1,checkHoriz:i!="touching",checkVert:i!="touching"};e[i]=function(n,i,o){if(!n||n.x===t||n.y===t)return e([]);var u=e.extend({},s,n,o||{});return e(r(i,u))},e.fn[i]=function(t,n){var i;if(t&&e.isPlainObject(t))return i=e.extend({},s,t,n||{}),this.pushStack(r(this,i));var o=this.offset(),u={x:o.left,y:o.top,w:this.outerWidth(),h:this.outerHeight()};return i=e.extend({},s,u,n||{}),this.pushStack(r(t,i,this))}})})(jQuery);
\ No newline at end of file
+;(function(e,t){function r(t,r,i){t||(t="div");var s=e(r.container),o=s.offset()||{left:0,top:0},u=[o.left+s.width(),o.top+s.height()],a={x:0,y:1,w:0,h:1},f,l;for(f in a)a.hasOwnProperty(f)&&(l=n.exec(r[f]),l&&(r[f]=u[a[f]]*l[1]/100));var c=e(t),h=[],p=!!r.furthest,d=!!r.checkHoriz,v=!!r.checkVert,m=p?0:Infinity,g=parseFloat(r.x)||0,y=parseFloat(r.y)||0,b=parseFloat(g+r.w)||g,w=parseFloat(y+r.h)||y,E=r.tolerance||0,S=!!e.fn.each2,x=Math.min,T=Math.max;!r.includeSelf&&i&&(c=c.not(i)),E<0&&(E=0),c[S?"each2":"each"](function(t,n){var r=S?n:e(this),i=r.offset(),s=i.left,o=i.top,u=r.outerWidth(),a=r.outerHeight(),f=s+u,l=o+a,c=T(s,g),N=x(f,b),C=T(o,y),k=x(l,w),L=N>=c,A=k>=C,O,M,_,D;if(d&&v||!d&&!v&&L&&A||d&&A||v&&L)O=L?0:c-N,M=A?0:C-k,_=L||A?T(O,M):Math.sqrt(O*O+M*M),D=p?_>=m-E:_<=m+E,D&&(m=p?T(m,_):x(m,_),h.push({node:this,dist:_}))});var N=h.length,C=[],k,L,A,O;if(N){p?(k=m-E,L=m):(k=m,L=m+E);for(A=0;A=k&&O.dist<=L&&C.push(O.node)}return C}var n=/^([\d.]+)%$/;e.each(["nearest","furthest","touching"],function(n,i){var s={x:0,y:0,w:0,h:0,tolerance:1,container:document,furthest:i=="furthest",includeSelf:!1,checkHoriz:i!="touching",checkVert:i!="touching"};e[i]=function(n,i,o){if(!n||n.x===t||n.y===t)return e([]);var u=e.extend({},s,n,o||{});return e(r(i,u))},e.fn[i]=function(t,n){var i;if(t&&e.isPlainObject(t))return i=e.extend({},s,t,n||{}),this.pushStack(r(this,i));var o=this.offset(),u={x:o.left,y:o.top,w:this.outerWidth(),h:this.outerHeight()};return i=e.extend({},s,u,n||{}),this.pushStack(r(t,i,this))}})})(jQuery);
\ No newline at end of file
diff --git a/addons/web_editor/static/lib/summernote/src/js/EventHandler.js b/addons/web_editor/static/lib/summernote/src/js/EventHandler.js
index 9701b8728d..731d8b9f04 100644
--- a/addons/web_editor/static/lib/summernote/src/js/EventHandler.js
+++ b/addons/web_editor/static/lib/summernote/src/js/EventHandler.js
@@ -205,12 +205,12 @@ define([
// delay for range after mouseup
setTimeout(function () {
var layoutInfo = dom.makeLayoutInfo(target);
- /* ODOO: (start_modification */
+ /* FLECTRA: (start_modification */
var $editable = layoutInfo.editable();
if (!event.isDefaultPrevented()) {
modules.editor.saveRange($editable);
}
- /* ODOO: end_modification) */
+ /* FLECTRA: end_modification) */
var styleInfo = modules.editor.currentStyle(target);
self.updateStyleInfo(styleInfo, layoutInfo);
}, 0);
@@ -349,8 +349,8 @@ define([
var keyString = keys.join('+');
var eventName = keyMap[keyString];
- // ODOO: (start_modification
- // odoo change: add visible event to overwrite the browser comportment
+ // FLECTRA: (start_modification
+ // flectra change: add visible event to overwrite the browser comportment
var keycode = event.keyCode;
if (!eventName &&
!event.ctrlKey && !event.metaKey && ( // special code/command
@@ -364,7 +364,7 @@ define([
} else if (!keycode) {
self.invoke('restoreRange', $editable);
}
- // ODOO: end_modification)
+ // FLECTRA: end_modification)
if (eventName) {
// FIXME Summernote doesn't support event pipeline yet.
diff --git a/addons/web_editor/static/lib/summernote/src/js/Renderer.js b/addons/web_editor/static/lib/summernote/src/js/Renderer.js
index 2c2c8f4ac0..73e4cbd7a9 100644
--- a/addons/web_editor/static/lib/summernote/src/js/Renderer.js
+++ b/addons/web_editor/static/lib/summernote/src/js/Renderer.js
@@ -512,8 +512,8 @@ define([
return $notePopover;
};
- this.tplButtonInfo = tplButtonInfo; // ODOO: allow access for override
- this.tplPopovers = tplPopovers; // ODOO: allow access for override
+ this.tplButtonInfo = tplButtonInfo; // FLECTRA: allow access for override
+ this.tplPopovers = tplPopovers; // FLECTRA: allow access for override
var tplHandles = function (options) {
return '
' +
@@ -775,7 +775,7 @@ define([
});
};
- this.createPalette = createPalette; // ODOO: allow access for override
+ this.createPalette = createPalette; // FLECTRA: allow access for override
/**
* create summernote layout (air mode)
@@ -788,9 +788,9 @@ define([
var keyMap = options.keyMap[agent.isMac ? 'mac' : 'pc'];
var id = func.uniqueId();
- $holder.addClass('note-air-editor note-editable'); // ODOO: removing panel-body class to remove unwanted style
+ $holder.addClass('note-air-editor note-editable'); // FLECTRA: removing panel-body class to remove unwanted style
$holder.attr({
- 'data-note-id': id, // ODOO: we use [data-note-id="{id}"] instead of [id="{id}"]
+ 'data-note-id': id, // FLECTRA: we use [data-note-id="{id}"] instead of [id="{id}"]
// 'id': 'note-editor-' + id,
'contentEditable': true
});
@@ -799,12 +799,12 @@ define([
var $container = $('#web_editor-toolbars')
// create Popover
- var $popover = $(this.tplPopovers(langInfo, options)); // ODOO: user (maybe) overrided method
+ var $popover = $(this.tplPopovers(langInfo, options)); // FLECTRA: user (maybe) overrided method
$popover.addClass('note-air-layout');
$popover.attr('id', 'note-popover-' + id);
$popover.appendTo($container);
createTooltip($popover, keyMap);
- this.createPalette($popover, options); // ODOO: use (maybe) overrided method
+ this.createPalette($popover, options); // FLECTRA: use (maybe) overrided method
// create Handle
var $handle = $(tplHandles(options));
@@ -865,8 +865,8 @@ define([
$('').prependTo($editingArea);
//04. create Popover
- var $popover = $(this.tplPopovers(langInfo, options)).prependTo($editingArea); // ODOO: use (maybe) overrided method
- this.createPalette($popover, options); // ODOO: use (maybe) overrided method
+ var $popover = $(this.tplPopovers(langInfo, options)).prependTo($editingArea); // FLECTRA: use (maybe) overrided method
+ this.createPalette($popover, options); // FLECTRA: use (maybe) overrided method
createTooltip($popover, keyMap);
//05. handle(control selection, ...)
@@ -894,7 +894,7 @@ define([
}
var keyMap = options.keyMap[agent.isMac ? 'mac' : 'pc'];
- this.createPalette($toolbar, options); // ODOO: use (maybe) overrided method
+ this.createPalette($toolbar, options); // FLECTRA: use (maybe) overrided method
createTooltip($toolbar, keyMap, 'bottom');
$toolbar.prependTo($editor);
@@ -970,7 +970,7 @@ define([
this.removeLayout = function ($holder, layoutInfo, options) {
if (options.airMode) {
$holder.removeClass('note-air-editor note-editable')
- .removeAttr('contentEditable'); // ODOO: removed id 'id contentEditable'
+ .removeAttr('contentEditable'); // FLECTRA: removed id 'id contentEditable'
layoutInfo.popover().remove();
layoutInfo.handle().remove();
@@ -998,7 +998,7 @@ define([
button: tplButton,
iconButton: tplIconButton,
dialog: tplDialog,
- dropdown: tplDropdown // ODOO: suggest upstream
+ dropdown: tplDropdown // FLECTRA: suggest upstream
};
};
diff --git a/addons/web_editor/static/lib/summernote/src/js/core/dom.js b/addons/web_editor/static/lib/summernote/src/js/core/dom.js
index 2250b50ac2..24437f0b61 100644
--- a/addons/web_editor/static/lib/summernote/src/js/core/dom.js
+++ b/addons/web_editor/static/lib/summernote/src/js/core/dom.js
@@ -61,7 +61,7 @@ define([
// air mode
if ($editor.hasClass('note-air-editor')) {
- // ODOO: editor on [data-note-id] attribute
+ // FLECTRA: editor on [data-note-id] attribute
// var id = list.last($editor.attr('id').split('-'));
var id = list.last($editor.attr('data-note-id').split('-'));
makeFinder = function (sIdPrefix) {
@@ -120,7 +120,7 @@ define([
if ($target.is('.note-editor, .note-air-editor')) {
$editor = $target;
} else {
- // ODOO: editor on [data-note-id] attribute
+ // FLECTRA: editor on [data-note-id] attribute
// $editor = $('#note-editor-' + list.last($target.attr('id').split('-')));
$editor = $('[data-note-id="' + list.last($target.attr('id')) + '"]');
}
diff --git a/addons/web_editor/static/lib/summernote/src/js/core/range.js b/addons/web_editor/static/lib/summernote/src/js/core/range.js
index 5c2dbe3b32..9b79f7a99a 100644
--- a/addons/web_editor/static/lib/summernote/src/js/core/range.js
+++ b/addons/web_editor/static/lib/summernote/src/js/core/range.js
@@ -370,7 +370,7 @@ define([
* delete contents on range
* @return {WrappedRange}
*/
- if(_.isUndefined(this.deleteContents)) // ODOO: ability to override by prototype
+ if(_.isUndefined(this.deleteContents)) // FLECTRA: ability to override by prototype
this.deleteContents = function () {
if (this.isCollapsed()) {
return this;
@@ -469,7 +469,7 @@ define([
return rng;
}
- // ODOO: insert a p tag when try to insert a br with insertNode method, if the editor is inside a p, li, h1... (start_modification
+ // FLECTRA: insert a p tag when try to insert a br with insertNode method, if the editor is inside a p, li, h1... (start_modification
// if apply the editor to a P, LI... or inside a P, LI...
if (dom.isText(sc)) {
var node = sc;
@@ -480,7 +480,7 @@ define([
}
}
}
- // ODOO: end_modification)
+ // FLECTRA: end_modification)
// find inline top ancestor
var topAncestor;
@@ -515,7 +515,7 @@ define([
*/
this.insertNode = function (node) {
var rng = this.wrapBodyInlineWithPara().deleteContents();
- // ODOO: override to not split world for inserting inline
+ // FLECTRA: override to not split world for inserting inline
// original: var info = dom.splitPoint(rng.getStartPoint(), dom.isInline(node));
var info = dom.splitPoint(rng.getStartPoint(), !dom.isBodyContainer(dom.ancestor(rng.sc, function(node) { return dom.isBodyContainer(node) || dom.isPara(node) })));
@@ -642,7 +642,7 @@ define([
* @alternateClassName range
*/
return {
- WrappedRange: WrappedRange, // ODOO: give access to WrappedRange
+ WrappedRange: WrappedRange, // FLECTRA: give access to WrappedRange
/**
* @method
*
diff --git a/addons/web_editor/static/lib/summernote/src/js/editing/History.js b/addons/web_editor/static/lib/summernote/src/js/editing/History.js
index 2cc946488c..2e8a300965 100644
--- a/addons/web_editor/static/lib/summernote/src/js/editing/History.js
+++ b/addons/web_editor/static/lib/summernote/src/js/editing/History.js
@@ -1,4 +1,4 @@
-define(['summernote/core/range', 'summernote/core/dom'], function (range, dom) { // ODOO: suggest upstream
+define(['summernote/core/range', 'summernote/core/dom'], function (range, dom) { // FLECTRA: suggest upstream
/**
* @class editing.History
*
@@ -16,7 +16,7 @@ define(['summernote/core/range', 'summernote/core/dom'], function (range, dom) {
return {
contents: $editable.html(),
bookmark: (rng && dom.ancestor(rng.sc, dom.isEditable) ? rng.bookmark(editable) : emptyBookmark)
- // ODOO: suggest upstream added " && dom.ancestor(rng.sc, dom.isEditable) "
+ // FLECTRA: suggest upstream added " && dom.ancestor(rng.sc, dom.isEditable) "
};
};
@@ -44,7 +44,7 @@ define(['summernote/core/range', 'summernote/core/dom'], function (range, dom) {
}
};
- /* ODOO: to suggest upstream */
+ /* FLECTRA: to suggest upstream */
this.hasUndo = function () {
return 0 < stackOffset;
};
@@ -59,17 +59,17 @@ define(['summernote/core/range', 'summernote/core/dom'], function (range, dom) {
}
};
- /* ODOO: to suggest upstream */
+ /* FLECTRA: to suggest upstream */
this.hasRedo = function () {
return stack.length - 1 > stackOffset;
};
- var last; // ODOO: to suggest upstream (since we may have several editor)
+ var last; // FLECTRA: to suggest upstream (since we may have several editor)
/**
* recorded undo
*/
this.recordUndo = function () {
- // ODOO: method totally rewritten
+ // FLECTRA: method totally rewritten
// test event for firefox: remove stack of history because event doesn't exists
var key = typeof event !== 'undefined' ? event : false;
if (key && !event.metaKey && !event.ctrlKey && !event.altKey && event.type === "keydown") {
@@ -97,12 +97,12 @@ define(['summernote/core/range', 'summernote/core/dom'], function (range, dom) {
stack.push(makeSnapshot());
};
- /* ODOO: to suggest upstream */
+ /* FLECTRA: to suggest upstream */
this.splitNext = function () {
last = false;
};
- /* ODOO: to suggest upstream */
+ /* FLECTRA: to suggest upstream */
this.reset = function () {
last = false;
stack = [];
diff --git a/addons/web_editor/static/lib/summernote/src/js/module/Editor.js b/addons/web_editor/static/lib/summernote/src/js/module/Editor.js
index b7ba30bfcd..ffa2294116 100644
--- a/addons/web_editor/static/lib/summernote/src/js/module/Editor.js
+++ b/addons/web_editor/static/lib/summernote/src/js/module/Editor.js
@@ -28,10 +28,10 @@ define([
var typing = new Typing();
var bullet = new Bullet();
- this.style = style; // ODOO: allow access for override
- this.table = table; // ODOO: allow access for override
- this.typing = typing; // ODOO: allow access for override
- this.bullet = bullet; // ODOO: allow access for override
+ this.style = style; // FLECTRA: allow access for override
+ this.table = table; // FLECTRA: allow access for override
+ this.typing = typing; // FLECTRA: allow access for override
+ this.bullet = bullet; // FLECTRA: allow access for override
/**
* @method createRange
@@ -55,13 +55,13 @@ define([
* @param {Boolean} [thenCollapse=false]
*/
this.saveRange = function ($editable, thenCollapse) {
- // ODOO: scroll to top when click on input in editable m (start_modification
+ // FLECTRA: scroll to top when click on input in editable m (start_modification
// this.focus($editable);
var r = range.create();
if (!r || ($editable[0] !== r.sc && !$.contains($editable[0], r.sc))) {
$editable.focus();
}
- // ODOO: end_modication)
+ // FLECTRA: end_modication)
$editable.data('range', range.create());
if (thenCollapse) {
range.create().collapse().select();
@@ -628,7 +628,7 @@ define([
}
var anchors = [];
- // ODOO: adding this branch to modify existing anchor
+ // FLECTRA: adding this branch to modify existing anchor
var ancestor_anchor = dom.ancestor(rng.sc, dom.isAnchor);
if(ancestor_anchor) {
anchors.push($(ancestor_anchor).html(linkText).get(0));
@@ -646,8 +646,8 @@ define([
$.each(anchors, function (idx, anchor) {
$(anchor).attr('href', linkUrl);
- $(anchor).attr('class', linkInfo.className || null); // ODOO: addition
- $(anchor).css(linkInfo.style || {}); // ODOO: addition
+ $(anchor).attr('class', linkInfo.className || null); // FLECTRA: addition
+ $(anchor).css(linkInfo.style || {}); // FLECTRA: addition
if (isNewWindow) {
$(anchor).attr('target', '_blank');
} else {
diff --git a/addons/web_editor/static/lib/summernote/src/js/module/Fullscreen.js b/addons/web_editor/static/lib/summernote/src/js/module/Fullscreen.js
index fd837483b3..f8a3b2b228 100644
--- a/addons/web_editor/static/lib/summernote/src/js/module/Fullscreen.js
+++ b/addons/web_editor/static/lib/summernote/src/js/module/Fullscreen.js
@@ -1,4 +1,4 @@
-define([], function () { // ODOO: remove error from Odoo define
+define([], function () { // FLECTRA: remove error from Flectra define
var Fullscreen = function (handler) {
var $window = $(window);
var $scrollbar = $('html, body');
diff --git a/addons/web_editor/static/lib/summernote/src/js/module/HelpDialog.js b/addons/web_editor/static/lib/summernote/src/js/module/HelpDialog.js
index e4ff7b775e..bd2c58e27d 100644
--- a/addons/web_editor/static/lib/summernote/src/js/module/HelpDialog.js
+++ b/addons/web_editor/static/lib/summernote/src/js/module/HelpDialog.js
@@ -1,4 +1,4 @@
-define([], function () { // ODOO: remove error from Odoo define
+define([], function () { // FLECTRA: remove error from Flectra define
var HelpDialog = function (handler) {
/**
* show help dialog
diff --git a/addons/web_editor/static/lib/summernote/src/js/module/Popover.js b/addons/web_editor/static/lib/summernote/src/js/module/Popover.js
index f669569f6b..89862e629e 100644
--- a/addons/web_editor/static/lib/summernote/src/js/module/Popover.js
+++ b/addons/web_editor/static/lib/summernote/src/js/module/Popover.js
@@ -12,7 +12,7 @@ define([
var Popover = function () {
var button = new Button();
- this.button = button; // ODOO: allow access for override
+ this.button = button; // FLECTRA: allow access for override
/**
* returns position from placeholder
diff --git a/addons/web_editor/static/lib/summernote/src/js/module/Toolbar.js b/addons/web_editor/static/lib/summernote/src/js/module/Toolbar.js
index 5e5e5721b6..fa8c29706c 100644
--- a/addons/web_editor/static/lib/summernote/src/js/module/Toolbar.js
+++ b/addons/web_editor/static/lib/summernote/src/js/module/Toolbar.js
@@ -11,7 +11,7 @@ define([
var Toolbar = function () {
var button = new Button();
- this.button = button; // ODOO: allow access for override
+ this.button = button; // FLECTRA: allow access for override
this.update = function ($toolbar, styleInfo) {
button.update($toolbar, styleInfo);
diff --git a/addons/web_editor/static/lib/summernote/src/js/summernote.js b/addons/web_editor/static/lib/summernote/src/js/summernote.js
index 329ba7fa12..7537cce4f6 100644
--- a/addons/web_editor/static/lib/summernote/src/js/summernote.js
+++ b/addons/web_editor/static/lib/summernote/src/js/summernote.js
@@ -6,7 +6,7 @@ define([
'summernote/defaults',
'summernote/EventHandler',
'summernote/Renderer',
- 'summernote/core/key' // ODOO: change for override
+ 'summernote/core/key' // FLECTRA: change for override
], function (agent, list, dom, range,
defaults, EventHandler, Renderer, key) {
@@ -47,7 +47,7 @@ define([
list : list,
dom: dom,
range: range,
- key: key // ODOO: change for override
+ key: key // FLECTRA: change for override
},
/**
* @property {Object}
diff --git a/addons/web_editor/static/lib/summernote/src/less/summernote.less b/addons/web_editor/static/lib/summernote/src/less/summernote.less
index 512216845b..60c495a306 100644
--- a/addons/web_editor/static/lib/summernote/src/less/summernote.less
+++ b/addons/web_editor/static/lib/summernote/src/less/summernote.less
@@ -8,7 +8,7 @@
.note-editor {
border: 1px solid @border-color;
position: relative;
- /* overflow: hidden; ODOO: removed for embedded editor */
+ /* overflow: hidden; FLECTRA: removed for embedded editor */
/* dropzone */
@dropzone-color: lightskyblue;
diff --git a/addons/web_editor/static/src/js/backend/fields.js b/addons/web_editor/static/src/js/backend/fields.js
index cbdb6cbb88..cb2e05519f 100644
--- a/addons/web_editor/static/src/js/backend/fields.js
+++ b/addons/web_editor/static/src/js/backend/fields.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.backend', function (require) {
+flectra.define('web_editor.backend', function (require) {
'use strict';
var AbstractField = require('web.AbstractField');
@@ -19,7 +19,7 @@ var _t = core._t;
/**
* FieldTextHtmlSimple Widget
* Intended to display HTML content. This widget uses the summernote editor
- * improved by odoo.
+ * improved by flectra.
*
*/
var FieldTextHtmlSimple = basic_fields.DebouncedField.extend(TranslatableFieldMixin, {
@@ -104,7 +104,7 @@ var FieldTextHtmlSimple = basic_fields.DebouncedField.extend(TranslatableFieldMi
prettifyHtml: false,
styleWithSpan: false,
inlinemedia: ['p'],
- lang: "odoo",
+ lang: "flectra",
onChange: this._doDebouncedAction.bind(this),
};
if (config.debug) {
@@ -224,16 +224,16 @@ var FieldTextHtml = AbstractField.extend({
this.editorLoadedDeferred = $.Deferred();
this.contentLoadedDeferred = $.Deferred();
this.callback = _.uniqueId('FieldTextHtml_');
- window.odoo[this.callback+"_editor"] = function (EditorBar) {
+ window.flectra[this.callback+"_editor"] = function (EditorBar) {
setTimeout(function () {
self.on_editor_loaded(EditorBar);
},0);
};
- window.odoo[this.callback+"_content"] = function () {
+ window.flectra[this.callback+"_content"] = function () {
self.on_content_loaded();
};
- window.odoo[this.callback+"_updown"] = null;
- window.odoo[this.callback+"_downup"] = function () {
+ window.flectra[this.callback+"_updown"] = null;
+ window.flectra[this.callback+"_downup"] = function () {
self.resize();
};
@@ -317,7 +317,7 @@ var FieldTextHtml = AbstractField.extend({
this.$body = $();
this.$content = $();
this.editor = false;
- window.odoo[this.callback+"_updown"] = null;
+ window.flectra[this.callback+"_updown"] = null;
this.$iframe.attr("src", this.get_url());
},
on_content_loaded: function () {
@@ -333,7 +333,7 @@ var FieldTextHtml = AbstractField.extend({
on_editor_loaded: function (EditorBar) {
var self = this;
this.editor = EditorBar;
- if (this.value && window.odoo[self.callback+"_updown"] && !(this.$content.html()||"").length) {
+ if (this.value && window.flectra[self.callback+"_updown"] && !(this.$content.html()||"").length) {
this.render();
}
this.editorLoadedDeferred.resolve();
@@ -365,9 +365,9 @@ var FieldTextHtml = AbstractField.extend({
return;
}
if (this.mode === "edit") {
- if (window.odoo[this.callback+"_updown"]) {
+ if (window.flectra[this.callback+"_updown"]) {
// FIXME
- // window.odoo[this.callback+"_updown"](value, this.view.get_fields_values(), this.name);
+ // window.flectra[this.callback+"_updown"](value, this.view.get_fields_values(), this.name);
this.resize();
}
} else {
@@ -382,10 +382,10 @@ var FieldTextHtml = AbstractField.extend({
},
destroy: function () {
$(window).off('resize', this.resize);
- delete window.odoo[this.callback+"_editor"];
- delete window.odoo[this.callback+"_content"];
- delete window.odoo[this.callback+"_updown"];
- delete window.odoo[this.callback+"_downup"];
+ delete window.flectra[this.callback+"_editor"];
+ delete window.flectra[this.callback+"_content"];
+ delete window.flectra[this.callback+"_updown"];
+ delete window.flectra[this.callback+"_downup"];
},
//--------------------------------------------------------------------------
diff --git a/addons/web_editor/static/src/js/base.js b/addons/web_editor/static/src/js/base.js
index 012068776e..636f404fa6 100644
--- a/addons/web_editor/static/src/js/base.js
+++ b/addons/web_editor/static/src/js/base.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.base', function (require) {
+flectra.define('web_editor.base', function (require) {
'use strict';
var ajax = require('web.ajax');
@@ -29,7 +29,7 @@ return {
//==============================================================================
-odoo.define('web_editor.context', function (require) {
+flectra.define('web_editor.context', function (require) {
'use strict';
function getContext(context) {
@@ -55,7 +55,7 @@ return {
//==============================================================================
-odoo.define('web_editor.ready', function (require) {
+flectra.define('web_editor.ready', function (require) {
'use strict';
var base = require('web_editor.base');
diff --git a/addons/web_editor/static/src/js/content/body_manager.js b/addons/web_editor/static/src/js/content/body_manager.js
index 1ba2d21977..48dc495622 100644
--- a/addons/web_editor/static/src/js/content/body_manager.js
+++ b/addons/web_editor/static/src/js/content/body_manager.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.BodyManager', function (require) {
+flectra.define('web_editor.BodyManager', function (require) {
'use strict';
var mixins = require('web.mixins');
diff --git a/addons/web_editor/static/src/js/editor/editor.js b/addons/web_editor/static/src/js/editor/editor.js
index 353104c2c9..e7c1e2d1f8 100644
--- a/addons/web_editor/static/src/js/editor/editor.js
+++ b/addons/web_editor/static/src/js/editor/editor.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.editor', function (require) {
+flectra.define('web_editor.editor', function (require) {
'use strict';
var Dialog = require('web.Dialog');
@@ -188,7 +188,7 @@ var EditorMenuBar = Widget.extend({
* Called when an element askes to record an history undo -> records it.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onHistoryUndoRecordRequest: function (ev) {
this.rte.historyRecordUndo(ev.data.$target, ev.data.event);
@@ -206,7 +206,7 @@ var EditorMenuBar = Widget.extend({
* changes.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onDiscardRequest: function (ev) {
this.cancel(ev.data.reload).then(ev.data.onSuccess, ev.data.onFailure);
@@ -215,7 +215,7 @@ var EditorMenuBar = Widget.extend({
* Called when a save request is received -> saves the page content.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onSaveRequest: function (ev) {
ev.stopPropagation();
diff --git a/addons/web_editor/static/src/js/editor/rte.js b/addons/web_editor/static/src/js/editor/rte.js
index 6da2ea72ea..4632a1956b 100644
--- a/addons/web_editor/static/src/js/editor/rte.js
+++ b/addons/web_editor/static/src/js/editor/rte.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.rte', function (require) {
+flectra.define('web_editor.rte', function (require) {
'use strict';
var concurrency = require('web.concurrency');
@@ -496,7 +496,7 @@ var RTEWidget = Widget.extend({
],
'styleWithSpan': false,
'inlinemedia' : ['p'],
- 'lang': 'odoo',
+ 'lang': 'flectra',
'onChange': function (html, $editable) {
$editable.trigger('content_changed');
}
diff --git a/addons/web_editor/static/src/js/editor/rte.summernote.js b/addons/web_editor/static/src/js/editor/rte.summernote.js
index fb1ce3e12b..87bb8ee619 100644
--- a/addons/web_editor/static/src/js/editor/rte.summernote.js
+++ b/addons/web_editor/static/src/js/editor/rte.summernote.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.rte.summernote', function (require) {
+flectra.define('web_editor.rte.summernote', function (require) {
'use strict';
var ajax = require('web.ajax');
@@ -880,8 +880,8 @@ eventHandler.detach = function (oLayoutInfo, options) {
$(document).off("keyup", reRangeSelectKey);
};
-// Translation for odoo
-$.summernote.lang.odoo = {
+// Translation for flectra
+$.summernote.lang.flectra = {
font: {
bold: _t('Bold'),
italic: _t('Italic'),
diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js
index 5f721fd480..77ca272689 100644
--- a/addons/web_editor/static/src/js/editor/snippets.editor.js
+++ b/addons/web_editor/static/src/js/editor/snippets.editor.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.snippet.editor', function (require) {
+flectra.define('web_editor.snippet.editor', function (require) {
'use strict';
var core = require('web.core');
@@ -445,7 +445,7 @@ var SnippetEditor = Widget.extend({
* specific action/react to a specific event.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onOptionUpdate: function (ev) {
// If multiple option names are given, we suppose it should not be
@@ -1128,7 +1128,7 @@ var SnippetsMenu = Widget.extend({
* @returns {string}
*/
_getSnippetURL: function () {
- return odoo.snippetsURL || '/web_editor/snippets';
+ return flectra.snippetsURL || '/web_editor/snippets';
},
/**
* Make given snippets be draggable/droppable thanks to their thumbnail.
@@ -1284,7 +1284,7 @@ var SnippetsMenu = Widget.extend({
* Called when a child editor asks for insertion zones to be enabled.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onActivateInsertionZones: function (ev) {
this._activateInsertionZones(ev.data.$selectorSiblings, ev.data.$selectorChildren);
@@ -1294,7 +1294,7 @@ var SnippetsMenu = Widget.extend({
* snippet of a DOM element.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onCallForEachChildSnippet: function (ev) {
this._callForEachChildSnippet(ev.data.$snippet, ev.data.callback);
@@ -1326,7 +1326,7 @@ var SnippetsMenu = Widget.extend({
* so we might not want to do this as it would slow the editor.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onDragAndDropStop: function (ev) {
this._activateSnippet(ev.data.$snippet);
@@ -1336,7 +1336,7 @@ var SnippetsMenu = Widget.extend({
* parent instead.
*
* @private
- * @param {OdooEvent} ev
+ * @param {FlectraEvent} ev
*/
_onGoToParent: function (ev) {
ev.stopPropagation();
diff --git a/addons/web_editor/static/src/js/editor/snippets.options.js b/addons/web_editor/static/src/js/editor/snippets.options.js
index 38dcacf9e7..9bd3aca27f 100644
--- a/addons/web_editor/static/src/js/editor/snippets.options.js
+++ b/addons/web_editor/static/src/js/editor/snippets.options.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.snippets.options', function (require) {
+flectra.define('web_editor.snippets.options', function (require) {
'use strict';
var core = require('web.core');
diff --git a/addons/web_editor/static/src/js/editor/summernote.js b/addons/web_editor/static/src/js/editor/summernote.js
index d6f9805599..2ac77c9247 100644
--- a/addons/web_editor/static/src/js/editor/summernote.js
+++ b/addons/web_editor/static/src/js/editor/summernote.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.summernote', function (require) {
+flectra.define('web_editor.summernote', function (require) {
'use strict';
var core = require('web.core');
@@ -1838,7 +1838,7 @@ $.summernote.pluginEvents.formatBlock = function (event, editor, layoutInfo, sTa
return;
}
- // fix by odoo because if you select a style in a li with no p tag all the ul is wrapped by the style tag
+ // fix by flectra because if you select a style in a li with no p tag all the ul is wrapped by the style tag
var nodes = dom.listBetween(r.sc, r.ec);
for (var i=0; iHarum trium sententiarum nulli prorsus assentior.\n'+
'
diff --git a/addons/web_editor/static/tests/web_editor_tests.js b/addons/web_editor/static/tests/web_editor_tests.js
index 3f46edde64..57da0207af 100644
--- a/addons/web_editor/static/tests/web_editor_tests.js
+++ b/addons/web_editor/static/tests/web_editor_tests.js
@@ -1,4 +1,4 @@
-odoo.define('web_editor.web_editor_tests', function (require) {
+flectra.define('web_editor.web_editor_tests', function (require) {
"use strict";
var FormView = require('web.FormView');
@@ -211,7 +211,7 @@ QUnit.test('html_frame does not crash when saving in readonly', function (assert
if (_.str.startsWith(route, '/test')) {
// manually call the callback to simulate that the iframe has
// been loaded (note: just the content, not the editor)
- window.odoo[$.deparam(route).callback + '_content'].call();
+ window.flectra[$.deparam(route).callback + '_content'].call();
return $.when();
}
return this._super.apply(this, arguments);
@@ -248,7 +248,7 @@ QUnit.test('html_frame does not crash when saving in edit mode (editor not loade
if (_.str.startsWith(route, '/test')) {
// manually call the callback to simulate that the iframe has
// been partially loaded (just the content, not the editor)
- window.odoo[$.deparam(route).callback + '_content']();
+ window.flectra[$.deparam(route).callback + '_content']();
return $.when();
}
return this._super.apply(this, arguments);
@@ -295,8 +295,8 @@ QUnit.test('html_frame saving in edit mode (editor and content fully loaded)', f
// been fully loaded (content + editor)
var callback = $.deparam(route).callback;
return loadDeferred.then(function () {
- var contentCallback = window.odoo[callback + '_content'];
- var editorCallback = window.odoo[callback + '_editor'];
+ var contentCallback = window.flectra[callback + '_content'];
+ var editorCallback = window.flectra[callback + '_editor'];
if (editorCallback && contentCallback) {
contentCallback();
editorCallback(editorBar);
diff --git a/addons/web_editor/tests/__init__.py b/addons/web_editor/tests/__init__.py
index b531e18c91..dd80104560 100644
--- a/addons/web_editor/tests/__init__.py
+++ b/addons/web_editor/tests/__init__.py
@@ -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 test_ui
from . import test_converter
diff --git a/addons/web_editor/tests/test_converter.py b/addons/web_editor/tests/test_converter.py
index 761de27515..2f8b6cc7e6 100644
--- a/addons/web_editor/tests/test_converter.py
+++ b/addons/web_editor/tests/test_converter.py
@@ -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.
import textwrap
import unittest
@@ -7,8 +7,8 @@ import unittest
from lxml import etree, html
from lxml.builder import E
-from odoo.tests import common
-from odoo.addons.web_editor.models.ir_qweb import html_to_text
+from flectra.tests import common
+from flectra.addons.web_editor.models.ir_qweb import html_to_text
class TestHTMLToText(unittest.TestCase):
diff --git a/addons/web_editor/tests/test_ui.py b/addons/web_editor/tests/test_ui.py
index 3a05da5acc..f39ccd432b 100644
--- a/addons/web_editor/tests/test_ui.py
+++ b/addons/web_editor/tests/test_ui.py
@@ -1,17 +1,17 @@
# -*- 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.
-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):
post_install = True
at_install = False
def test_01_admin_rte(self):
- self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('rte')", "odoo.__DEBUG__.services['web_tour.tour'].tours.rte.ready", login='admin')
+ self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('rte')", "flectra.__DEBUG__.services['web_tour.tour'].tours.rte.ready", login='admin')
def test_02_admin_rte_inline(self):
- self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('rte_inline')", "odoo.__DEBUG__.services['web_tour.tour'].tours.rte_inline.ready", login='admin')
+ self.phantom_js("/web", "flectra.__DEBUG__.services['web_tour.tour'].run('rte_inline')", "flectra.__DEBUG__.services['web_tour.tour'].tours.rte_inline.ready", login='admin')
diff --git a/addons/web_editor/views/editor.xml b/addons/web_editor/views/editor.xml
index 4bfe84887d..8467a0be49 100644
--- a/addons/web_editor/views/editor.xml
+++ b/addons/web_editor/views/editor.xml
@@ -1,13 +1,13 @@
-
+
+
@@ -76,7 +76,7 @@
-
+
@@ -175,4 +175,4 @@
Community & Enterprise users: apply a redirection from your Domain Manager platform
@@ -441,9 +441,9 @@
-
Be announced on the Odoo Twitter account
- We like to hear from people using Odoo to build their website. Tweet us
- @odoo a reference to your new website. We will retweet it (we have 30,000 followers) and feature it in our different communications.
+
Be announced on the Flectra Twitter account
+ We like to hear from people using Flectra to build their website. Tweet us
+ @flectra a reference to your new website. We will retweet it (we have 30,000 followers) and feature it in our different communications.
@@ -466,7 +466,7 @@
Use relevant keywords
- Adding relevant and popular keywords (e.g. business name, location) tends to improve your ranking in search engines and consequently increases your traffic. Do it:
+ Adding relevant and popular keywords (e.g. business name, location) tends to improve your ranking in search engines and consequently increases your traffic. Do it:
through the content of your pages;
in their SEO metadata, including tags, title and description.
@@ -480,7 +480,7 @@
If you are an artist or a photographer, you can potentially bring in a lot
of visitors by referencing your images so they are displayed in image
search engines, like Google Images.
- To do that, add keywords in picture's description.
+ To do that, add keywords in picture's description.
diff --git a/addons/website/static/tests/website_tests.js b/addons/website/static/tests/website_tests.js
index 868e3cc4e8..865dfc4293 100644
--- a/addons/website/static/tests/website_tests.js
+++ b/addons/website/static/tests/website_tests.js
@@ -1,4 +1,4 @@
-odoo.define('website.tests', function (require) {
+flectra.define('website.tests', function (require) {
"use strict";
var FormView = require('web.FormView');
diff --git a/addons/website/tests/__init__.py b/addons/website/tests/__init__.py
index 121eff4ff4..f4befaea1c 100644
--- a/addons/website/tests/__init__.py
+++ b/addons/website/tests/__init__.py
@@ -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 test_converter
from . import test_crawl
diff --git a/addons/website/tests/test_converter.py b/addons/website/tests/test_converter.py
index ce74f1009d..37a6c26723 100644
--- a/addons/website/tests/test_converter.py
+++ b/addons/website/tests/test_converter.py
@@ -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.
import unittest
-from odoo.addons.http_routing.models.ir_http import slugify, unslug
+from flectra.addons.http_routing.models.ir_http import slugify, unslug
class TestUnslug(unittest.TestCase):
diff --git a/addons/website/tests/test_crawl.py b/addons/website/tests/test_crawl.py
index f5d4bc4ec1..103c2ed70e 100644
--- a/addons/website/tests/test_crawl.py
+++ b/addons/website/tests/test_crawl.py
@@ -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.
import logging
import time
@@ -7,16 +7,16 @@ import time
import lxml.html
from werkzeug import urls
-import odoo
+import flectra
import re
-from odoo.tools import pycompat
+from flectra.tools import pycompat
_logger = logging.getLogger(__name__)
-class Crawler(odoo.tests.HttpCase):
- """ Test suite crawling an Odoo CMS instance and checking that all
+class Crawler(flectra.tests.HttpCase):
+ """ Test suite crawling an Flectra CMS instance and checking that all
internal links lead to a 200 response.
If a username and a password are provided, authenticates the user before
diff --git a/addons/website/tests/test_ui.py b/addons/website/tests/test_ui.py
index 5194919035..1c4eea5f9f 100644
--- a/addons/website/tests/test_ui.py
+++ b/addons/website/tests/test_ui.py
@@ -1,19 +1,19 @@
# -*- 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.
-import odoo
-import odoo.tests
+import flectra
+import flectra.tests
-class TestUiTranslate(odoo.tests.HttpCase):
+class TestUiTranslate(flectra.tests.HttpCase):
def test_admin_tour_rte_translator(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('rte_translator')", "odoo.__DEBUG__.services['web_tour.tour'].tours.rte_translator.ready", login='admin', timeout=120)
+ self.phantom_js("/", "flectra.__DEBUG__.services['web_tour.tour'].run('rte_translator')", "flectra.__DEBUG__.services['web_tour.tour'].tours.rte_translator.ready", login='admin', timeout=120)
-class TestUi(odoo.tests.HttpCase):
+class TestUi(flectra.tests.HttpCase):
post_install = True
at_install = False
def test_01_public_homepage(self):
- self.phantom_js("/", "console.log('ok')", "'website.content.snippets.animation' in odoo.__DEBUG__.services")
+ self.phantom_js("/", "console.log('ok')", "'website.content.snippets.animation' in flectra.__DEBUG__.services")
def test_02_admin_tour_banner(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('banner')", "odoo.__DEBUG__.services['web_tour.tour'].tours.banner.ready", login='admin')
+ self.phantom_js("/", "flectra.__DEBUG__.services['web_tour.tour'].run('banner')", "flectra.__DEBUG__.services['web_tour.tour'].tours.banner.ready", login='admin')
diff --git a/addons/website/tests/test_views.py b/addons/website/tests/test_views.py
index 7293eae4c5..437d7010b0 100644
--- a/addons/website/tests/test_views.py
+++ b/addons/website/tests/test_views.py
@@ -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.
try:
from itertools import zip_longest
@@ -10,7 +10,7 @@ import unittest
from lxml import etree as ET, html
from lxml.html import builder as h
-from odoo.tests import common
+from flectra.tests import common
def attrs(**kwargs):
diff --git a/addons/website/views/ir_actions_views.xml b/addons/website/views/ir_actions_views.xml
index 9f06b0448f..ba6cecb4d0 100644
--- a/addons/website/views/ir_actions_views.xml
+++ b/addons/website/views/ir_actions_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -45,4 +45,4 @@
-
+
diff --git a/addons/website/views/res_company_views.xml b/addons/website/views/res_company_views.xml
index 4b3d95770c..caa407c784 100644
--- a/addons/website/views/res_company_views.xml
+++ b/addons/website/views/res_company_views.xml
@@ -1,5 +1,5 @@
-
+res.company.form.inherit.website
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/website/views/res_config_settings_views.xml b/addons/website/views/res_config_settings_views.xml
index 7e164bb137..8b23edbe19 100644
--- a/addons/website/views/res_config_settings_views.xml
+++ b/addons/website/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -69,7 +69,7 @@
Adapt these three columns to fit you design need.
@@ -213,7 +213,7 @@
-
+
Feature Two
To add a fourth column, reduce the size of these
@@ -223,7 +223,7 @@
-
+
Feature Three
Delete the above image or replace it with a picture
@@ -262,7 +262,7 @@
-
+
@@ -111,4 +111,4 @@
-
+
diff --git a/addons/website_livechat/controllers/main.py b/addons/website_livechat/controllers/main.py
index 753e4eef1a..70e1107e90 100644
--- a/addons/website_livechat/controllers/main.py
+++ b/addons/website_livechat/controllers/main.py
@@ -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):
diff --git a/addons/website_livechat/data/website_livechat_data.xml b/addons/website_livechat/data/website_livechat_data.xml
index 850898308f..09f5bf4452 100644
--- a/addons/website_livechat/data/website_livechat_data.xml
+++ b/addons/website_livechat/data/website_livechat_data.xml
@@ -1,9 +1,9 @@
-
+
- YourWebsiteWithOdoo.com
+ YourWebsiteWithFlectra.comHello, how may I help you?
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/website_livechat/models/im_livechat.py b/addons/website_livechat/models/im_livechat.py
index 6dc57e0845..a3d72abc5a 100644
--- a/addons/website_livechat/models/im_livechat.py
+++ b/addons/website_livechat/models/im_livechat.py
@@ -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):
diff --git a/addons/website_livechat/models/res_config_settings.py b/addons/website_livechat/models/res_config_settings.py
index 6b0c96cd2e..fa7c579083 100644
--- a/addons/website_livechat/models/res_config_settings.py
+++ b/addons/website_livechat/models/res_config_settings.py
@@ -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):
diff --git a/addons/website_livechat/models/website.py b/addons/website_livechat/models/website.py
index e207482416..6fed9770cf 100644
--- a/addons/website_livechat/models/website.py
+++ b/addons/website_livechat/models/website.py
@@ -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):
diff --git a/addons/website_livechat/security/website_livechat.xml b/addons/website_livechat/security/website_livechat.xml
index 9525b4d9e1..ba3f41ea40 100644
--- a/addons/website_livechat/security/website_livechat.xml
+++ b/addons/website_livechat/security/website_livechat.xml
@@ -1,5 +1,5 @@
-
+
@@ -14,4 +14,4 @@
-
+
diff --git a/addons/website_livechat/views/res_config_settings_views.xml b/addons/website_livechat/views/res_config_settings_views.xml
index 1921a8d4d8..355ff471e5 100644
--- a/addons/website_livechat/views/res_config_settings_views.xml
+++ b/addons/website_livechat/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.website.livechat
@@ -25,4 +25,4 @@
-
+
diff --git a/addons/website_livechat/views/website_livechat.xml b/addons/website_livechat/views/website_livechat.xml
index 3a0caa340b..bd2f5d4ec3 100644
--- a/addons/website_livechat/views/website_livechat.xml
+++ b/addons/website_livechat/views/website_livechat.xml
@@ -1,10 +1,10 @@
-
+
@@ -176,4 +176,4 @@
-
+
diff --git a/addons/website_livechat/views/website_livechat_view.xml b/addons/website_livechat/views/website_livechat_view.xml
index 20c8fd38ec..bddda17499 100644
--- a/addons/website_livechat/views/website_livechat_view.xml
+++ b/addons/website_livechat/views/website_livechat_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -17,4 +17,4 @@
-
+
diff --git a/addons/website_mail/__init__.py b/addons/website_mail/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/website_mail/__init__.py
+++ b/addons/website_mail/__init__.py
@@ -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
diff --git a/addons/website_mail/__manifest__.py b/addons/website_mail/__manifest__.py
index 45571be05b..b837522197 100644
--- a/addons/website_mail/__manifest__.py
+++ b/addons/website_mail/__manifest__.py
@@ -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.
{
'name': 'Website Mail',
diff --git a/addons/website_mail/controllers/__init__.py b/addons/website_mail/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/website_mail/controllers/__init__.py
+++ b/addons/website_mail/controllers/__init__.py
@@ -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 main
diff --git a/addons/website_mail/controllers/main.py b/addons/website_mail/controllers/main.py
index 62533f08a9..ce756541e9 100644
--- a/addons/website_mail/controllers/main.py
+++ b/addons/website_mail/controllers/main.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import http
-from odoo.http import request
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import http
+from flectra.http import request
class WebsiteMail(http.Controller):
diff --git a/addons/website_mail/data/mail_channel_data.xml b/addons/website_mail/data/mail_channel_data.xml
index 16081671ef..fa317eaf0e 100644
--- a/addons/website_mail/data/mail_channel_data.xml
+++ b/addons/website_mail/data/mail_channel_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -12,7 +12,7 @@
website module install then send emailYour business is reachable from anywhere, anytime !
- help@odoo.com
+ help@flectra.com${user.email|safe}${user.lang}
@@ -94,21 +94,21 @@
We would be delighted to assist you along the way. Contact us through our
- support form if you have any question.
- You can also discover how to get the best out of Odoo with our
-
+ support form if you have any question.
+ You can also discover how to get the best out of Flectra with our
+ User Documentation or with our
-
+ API Documentation
]]>
@@ -123,5 +123,5 @@
eval="[ref('mail_template_data_module_install_website_mail'), ref('base.module_website_mail')]"/>
-
+
diff --git a/addons/website_mail/models/__init__.py b/addons/website_mail/models/__init__.py
index 75ea63bd6d..dd74a2f11a 100644
--- a/addons/website_mail/models/__init__.py
+++ b/addons/website_mail/models/__init__.py
@@ -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 mail_message
from . import update
diff --git a/addons/website_mail/models/mail_message.py b/addons/website_mail/models/mail_message.py
index 34609160f1..0a7df70872 100644
--- a/addons/website_mail/models/mail_message.py
+++ b/addons/website_mail/models/mail_message.py
@@ -1,10 +1,10 @@
# -*- 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, fields, models, _
-from odoo.osv import expression
-from odoo.tools import html2plaintext
-from odoo.exceptions import AccessError
+from flectra import api, fields, models, _
+from flectra.osv import expression
+from flectra.tools import html2plaintext
+from flectra.exceptions import AccessError
class MailMessage(models.Model):
diff --git a/addons/website_mail/models/update.py b/addons/website_mail/models/update.py
index 5367cb7df9..80489552c1 100644
--- a/addons/website_mail/models/update.py
+++ b/addons/website_mail/models/update.py
@@ -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 api, models
+from flectra import api, models
class PublisherWarrantyContract(models.AbstractModel):
diff --git a/addons/website_mail/security/website_mail_security.xml b/addons/website_mail/security/website_mail_security.xml
index d814fff16e..532793c885 100644
--- a/addons/website_mail/security/website_mail_security.xml
+++ b/addons/website_mail/security/website_mail_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -10,4 +10,4 @@
-
+
diff --git a/addons/website_mail/static/src/js/follow.js b/addons/website_mail/static/src/js/follow.js
index 0f9c3a193d..fb75042377 100644
--- a/addons/website_mail/static/src/js/follow.js
+++ b/addons/website_mail/static/src/js/follow.js
@@ -1,4 +1,4 @@
-odoo.define('website_mail.follow', function (require) {
+flectra.define('website_mail.follow', function (require) {
'use strict';
var sAnimation = require('website.content.snippets.animation');
diff --git a/addons/website_mail/static/src/js/website_mail.js b/addons/website_mail/static/src/js/website_mail.js
index 711df6ebba..6e4c85bdeb 100644
--- a/addons/website_mail/static/src/js/website_mail.js
+++ b/addons/website_mail/static/src/js/website_mail.js
@@ -1,4 +1,4 @@
-odoo.define('website_mail.thread', function(require) {
+flectra.define('website_mail.thread', function(require) {
'use strict';
var ajax = require('web.ajax');
diff --git a/addons/website_mail/views/website_mail_templates.xml b/addons/website_mail/views/website_mail_templates.xml
index 50efe171a5..b38efca2a7 100644
--- a/addons/website_mail/views/website_mail_templates.xml
+++ b/addons/website_mail/views/website_mail_templates.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/website_mail_channel/__init__.py b/addons/website_mail_channel/__init__.py
index bb0aae7ee6..c86cad776a 100644
--- a/addons/website_mail_channel/__init__.py
+++ b/addons/website_mail_channel/__init__.py
@@ -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 controllers
from . import models
diff --git a/addons/website_mail_channel/__manifest__.py b/addons/website_mail_channel/__manifest__.py
index ab541dac6b..50e87fb389 100644
--- a/addons/website_mail_channel/__manifest__.py
+++ b/addons/website_mail_channel/__manifest__.py
@@ -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.
{
'name': 'Mailing List Archive',
'category': 'Website',
diff --git a/addons/website_mail_channel/controllers/__init__.py b/addons/website_mail_channel/controllers/__init__.py
index 7fc0cd7cb9..f7ae6e92b5 100644
--- a/addons/website_mail_channel/controllers/__init__.py
+++ b/addons/website_mail_channel/controllers/__init__.py
@@ -1,3 +1,3 @@
# -*- 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 main
diff --git a/addons/website_mail_channel/controllers/main.py b/addons/website_mail_channel/controllers/main.py
index de3b6adeb8..7ec43db3d7 100644
--- a/addons/website_mail_channel/controllers/main.py
+++ b/addons/website_mail_channel/controllers/main.py
@@ -1,14 +1,14 @@
# -*- 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.
import werkzeug
from datetime import datetime
from dateutil import relativedelta
-from odoo import http, fields, tools, _
-from odoo.http import request
-from odoo.addons.http_routing.models.ir_http import slug
+from flectra import http, fields, tools, _
+from flectra.http import request
+from flectra.addons.http_routing.models.ir_http import slug
class MailGroup(http.Controller):
diff --git a/addons/website_mail_channel/data/mail_template_data.xml b/addons/website_mail_channel/data/mail_template_data.xml
index 31c602f99a..6878e5dbea 100644
--- a/addons/website_mail_channel/data/mail_template_data.xml
+++ b/addons/website_mail_channel/data/mail_template_data.xml
@@ -1,5 +1,5 @@
-
+Subscribe to mailing list
@@ -26,4 +26,4 @@
If this was a mistake or you did not requested this action, please ignore this message.
-
+
diff --git a/addons/website_mail_channel/models/__init__.py b/addons/website_mail_channel/models/__init__.py
index 5280d256a0..bf3d71be48 100644
--- a/addons/website_mail_channel/models/__init__.py
+++ b/addons/website_mail_channel/models/__init__.py
@@ -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 mail_channel
from . import mail_mail
diff --git a/addons/website_mail_channel/models/mail_channel.py b/addons/website_mail_channel/models/mail_channel.py
index f0b0f3665e..60588a203c 100644
--- a/addons/website_mail_channel/models/mail_channel.py
+++ b/addons/website_mail_channel/models/mail_channel.py
@@ -1,13 +1,13 @@
# -*- 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.
import hmac
from werkzeug import urls
-from odoo import api, models
-from odoo.tools.safe_eval import safe_eval
-from odoo.addons.http_routing.models.ir_http import slug
+from flectra import api, models
+from flectra.tools.safe_eval import safe_eval
+from flectra.addons.http_routing.models.ir_http import slug
class MailGroup(models.Model):
diff --git a/addons/website_mail_channel/models/mail_mail.py b/addons/website_mail_channel/models/mail_mail.py
index fd7d0f1fb3..37bfc89689 100644
--- a/addons/website_mail_channel/models/mail_mail.py
+++ b/addons/website_mail_channel/models/mail_mail.py
@@ -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 api, models, tools, _
-from odoo.addons.http_routing.models.ir_http import slug
+from flectra import api, models, tools, _
+from flectra.addons.http_routing.models.ir_http import slug
class MailMail(models.Model):
diff --git a/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js b/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js
index efd5fa80aa..ecd2e2eb5a 100644
--- a/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js
+++ b/addons/website_mail_channel/static/src/js/website_mail_channel.editor.js
@@ -1,4 +1,4 @@
-odoo.define('website_mail_channel.editor', function (require) {
+flectra.define('website_mail_channel.editor', function (require) {
'use strict';
var core = require('web.core');
diff --git a/addons/website_mail_channel/static/src/js/website_mail_channel.js b/addons/website_mail_channel/static/src/js/website_mail_channel.js
index efafbe89bf..ebd586123b 100644
--- a/addons/website_mail_channel/static/src/js/website_mail_channel.js
+++ b/addons/website_mail_channel/static/src/js/website_mail_channel.js
@@ -1,4 +1,4 @@
-odoo.define('website_mail_channel', function (require) {
+flectra.define('website_mail_channel', function (require) {
"use strict";
var ajax = require('web.ajax');
diff --git a/addons/website_mail_channel/static/src/js/website_mail_channel.snippet.js b/addons/website_mail_channel/static/src/js/website_mail_channel.snippet.js
index 9daba4bf66..d61d1975f2 100644
--- a/addons/website_mail_channel/static/src/js/website_mail_channel.snippet.js
+++ b/addons/website_mail_channel/static/src/js/website_mail_channel.snippet.js
@@ -1,4 +1,4 @@
-odoo.define('website_mail_channel.snippet', function (require) {
+flectra.define('website_mail_channel.snippet', function (require) {
'use strict';
var sAnimation = require('website.content.snippets.animation');
diff --git a/addons/website_mail_channel/tests/test_unsubscribe.py b/addons/website_mail_channel/tests/test_unsubscribe.py
index 743232890a..9e0eefd4ec 100644
--- a/addons/website_mail_channel/tests/test_unsubscribe.py
+++ b/addons/website_mail_channel/tests/test_unsubscribe.py
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
import requests
-from odoo.api import Environment
-from odoo.tests import common
-from odoo.tools.misc import mute_logger, ustr
+from flectra.api import Environment
+from flectra.tests import common
+from flectra.tools.misc import mute_logger, ustr
class TestConfirmUnsubscribe(common.HttpCase):
@@ -29,7 +29,7 @@ class TestConfirmUnsubscribe(common.HttpCase):
self._unsubscribe_check("The address %s is already unsubscribed" % self.partner.email)
- @mute_logger('odoo.addons.website.models.ir_ui_view')
+ @mute_logger('flectra.addons.website.models.ir_ui_view')
def test_not_subscribed_no_template(self):
""" Test warning works on db without template (code update w/o module update) """
self.env2.ref('website_mail_channel.not_subscribed').unlink()
diff --git a/addons/website_mail_channel/views/snippets.xml b/addons/website_mail_channel/views/snippets.xml
index 30974eb87c..f8749f4aa0 100644
--- a/addons/website_mail_channel/views/snippets.xml
+++ b/addons/website_mail_channel/views/snippets.xml
@@ -1,5 +1,5 @@
-
+
@@ -50,4 +50,4 @@
-
+
diff --git a/addons/website_mail_channel/views/website_mail_channel_templates.xml b/addons/website_mail_channel/views/website_mail_channel_templates.xml
index e225d107b3..512b442f4d 100644
--- a/addons/website_mail_channel/views/website_mail_channel_templates.xml
+++ b/addons/website_mail_channel/views/website_mail_channel_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -353,4 +353,4 @@
-
+
diff --git a/addons/website_mass_mailing/__init__.py b/addons/website_mass_mailing/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/website_mass_mailing/__init__.py
+++ b/addons/website_mass_mailing/__init__.py
@@ -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
diff --git a/addons/website_mass_mailing/__manifest__.py b/addons/website_mass_mailing/__manifest__.py
index ac3d34c0e1..df57601cef 100644
--- a/addons/website_mass_mailing/__manifest__.py
+++ b/addons/website_mass_mailing/__manifest__.py
@@ -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.
{
'name': 'Website Mass Mailing Campaigns',
diff --git a/addons/website_mass_mailing/controllers/__init__.py b/addons/website_mass_mailing/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/website_mass_mailing/controllers/__init__.py
+++ b/addons/website_mass_mailing/controllers/__init__.py
@@ -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 main
diff --git a/addons/website_mass_mailing/controllers/main.py b/addons/website_mass_mailing/controllers/main.py
index d1aa21f5cd..80ae430465 100644
--- a/addons/website_mass_mailing/controllers/main.py
+++ b/addons/website_mass_mailing/controllers/main.py
@@ -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.http import route, request
-from odoo.addons.mass_mailing.controllers.main import MassMailController
+from flectra.http import route, request
+from flectra.addons.mass_mailing.controllers.main import MassMailController
class MassMailController(MassMailController):
diff --git a/addons/website_mass_mailing/models/__init__.py b/addons/website_mass_mailing/models/__init__.py
index c9e39e466c..2a9d93b62b 100644
--- a/addons/website_mass_mailing/models/__init__.py
+++ b/addons/website_mass_mailing/models/__init__.py
@@ -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 res_config_settings
from . import mass_mailing_list
diff --git a/addons/website_mass_mailing/models/mass_mailing_list.py b/addons/website_mass_mailing/models/mass_mailing_list.py
index 3e49bcba59..83b09ad8e8 100644
--- a/addons/website_mass_mailing/models/mass_mailing_list.py
+++ b/addons/website_mass_mailing/models/mass_mailing_list.py
@@ -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 MassMailingList(models.Model):
@@ -9,7 +9,7 @@ class MassMailingList(models.Model):
def _default_popup_content(self):
return """
-
Odoo Presents
+
Flectra Presents
7
diff --git a/addons/website_mass_mailing/models/res_config_settings.py b/addons/website_mass_mailing/models/res_config_settings.py
index b39a9eb10b..1554df9fee 100644
--- a/addons/website_mass_mailing/models/res_config_settings.py
+++ b/addons/website_mass_mailing/models/res_config_settings.py
@@ -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):
diff --git a/addons/website_mass_mailing/security/mass_mailing_security.xml b/addons/website_mass_mailing/security/mass_mailing_security.xml
index 1f1438fcab..ce8e8211a4 100644
--- a/addons/website_mass_mailing/security/mass_mailing_security.xml
+++ b/addons/website_mass_mailing/security/mass_mailing_security.xml
@@ -1,7 +1,7 @@
-
+Use subscription pop up on the website
-
+
diff --git a/addons/website_mass_mailing/static/src/js/website_mass_mailing.editor.js b/addons/website_mass_mailing/static/src/js/website_mass_mailing.editor.js
index b011e4f1f2..432f731d37 100644
--- a/addons/website_mass_mailing/static/src/js/website_mass_mailing.editor.js
+++ b/addons/website_mass_mailing/static/src/js/website_mass_mailing.editor.js
@@ -1,4 +1,4 @@
-odoo.define('website_mass_mailing.editor', function (require) {
+flectra.define('website_mass_mailing.editor', function (require) {
'use strict';
var ajax = require('web.ajax');
diff --git a/addons/website_mass_mailing/static/src/js/website_mass_mailing.js b/addons/website_mass_mailing/static/src/js/website_mass_mailing.js
index eceafbf7fa..3fa13a1f49 100644
--- a/addons/website_mass_mailing/static/src/js/website_mass_mailing.js
+++ b/addons/website_mass_mailing/static/src/js/website_mass_mailing.js
@@ -1,4 +1,4 @@
-odoo.define('mass_mailing.website_integration', function (require) {
+flectra.define('mass_mailing.website_integration', function (require) {
"use strict";
var utils = require('web.utils');
@@ -134,7 +134,7 @@ sAnimation.registry.newsletter_popup = sAnimation.Class.extend({
//==============================================================================
-odoo.define('mass_mailing.unsubscribe', function (require) {
+flectra.define('mass_mailing.unsubscribe', function (require) {
'use strict';
var ajax = require('web.ajax');
diff --git a/addons/website_mass_mailing/views/mass_mailing_view.xml b/addons/website_mass_mailing/views/mass_mailing_view.xml
index 1a091db6d7..f189f193b8 100644
--- a/addons/website_mass_mailing/views/mass_mailing_view.xml
+++ b/addons/website_mass_mailing/views/mass_mailing_view.xml
@@ -1,5 +1,5 @@
-
+mail.mass_mailing.list.formmail.mass_mailing.list
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/website_mass_mailing/views/res_config_settings_views.xml b/addons/website_mass_mailing/views/res_config_settings_views.xml
index f9366ed616..457e99b300 100644
--- a/addons/website_mass_mailing/views/res_config_settings_views.xml
+++ b/addons/website_mass_mailing/views/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form.inherit.website.mass.mailing
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/website_mass_mailing/views/snippets_templates.xml b/addons/website_mass_mailing/views/snippets_templates.xml
index 34ec54e4b1..d022c3d8fa 100644
--- a/addons/website_mass_mailing/views/snippets_templates.xml
+++ b/addons/website_mass_mailing/views/snippets_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -133,4 +133,4 @@
-
+
diff --git a/addons/website_mass_mailing/views/unsubscribe_templates.xml b/addons/website_mass_mailing/views/unsubscribe_templates.xml
index ae0a10a967..f2c50ca177 100644
--- a/addons/website_mass_mailing/views/unsubscribe_templates.xml
+++ b/addons/website_mass_mailing/views/unsubscribe_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -70,4 +70,4 @@
-
+
diff --git a/addons/website_mass_mailing/views/website_mass_mailing_templates.xml b/addons/website_mass_mailing/views/website_mass_mailing_templates.xml
index 52dae5c306..385e6d8219 100644
--- a/addons/website_mass_mailing/views/website_mass_mailing_templates.xml
+++ b/addons/website_mass_mailing/views/website_mass_mailing_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -16,4 +16,4 @@
-
+
diff --git a/addons/website_membership/__init__.py b/addons/website_membership/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/website_membership/__init__.py
+++ b/addons/website_membership/__init__.py
@@ -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
diff --git a/addons/website_membership/__manifest__.py b/addons/website_membership/__manifest__.py
index 9fc58ed983..c8b2222f46 100644
--- a/addons/website_membership/__manifest__.py
+++ b/addons/website_membership/__manifest__.py
@@ -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.
{
'name': 'Associations: Members',
diff --git a/addons/website_membership/controllers/__init__.py b/addons/website_membership/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/website_membership/controllers/__init__.py
+++ b/addons/website_membership/controllers/__init__.py
@@ -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 main
diff --git a/addons/website_membership/controllers/main.py b/addons/website_membership/controllers/main.py
index 42dcf59922..5d5d36c48f 100644
--- a/addons/website_membership/controllers/main.py
+++ b/addons/website_membership/controllers/main.py
@@ -1,14 +1,14 @@
# -*- 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.
import werkzeug.urls
-from odoo import fields
+from flectra import fields
-from odoo import http
-from odoo.http import request
-from odoo.addons.http_routing.models.ir_http import unslug
-from odoo.tools.translate import _
+from flectra import http
+from flectra.http import request
+from flectra.addons.http_routing.models.ir_http import unslug
+from flectra.tools.translate import _
class WebsiteMembership(http.Controller):
diff --git a/addons/website_membership/data/membership_demo.xml b/addons/website_membership/data/membership_demo.xml
index 6c742c7a91..d5f4fcad3e 100644
--- a/addons/website_membership/data/membership_demo.xml
+++ b/addons/website_membership/data/membership_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/website_membership/models/__init__.py b/addons/website_membership/models/__init__.py
index cda9230929..5d8c26cfcb 100644
--- a/addons/website_membership/models/__init__.py
+++ b/addons/website_membership/models/__init__.py
@@ -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 membership
diff --git a/addons/website_membership/models/membership.py b/addons/website_membership/models/membership.py
index 8e93d5f067..d420686730 100644
--- a/addons/website_membership/models/membership.py
+++ b/addons/website_membership/models/membership.py
@@ -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 models
+from flectra import models
class MembershipLine(models.Model):
diff --git a/addons/website_membership/security/website_membership.xml b/addons/website_membership/security/website_membership.xml
index bdfeb1c42d..25c80ec379 100644
--- a/addons/website_membership/security/website_membership.xml
+++ b/addons/website_membership/security/website_membership.xml
@@ -1,5 +1,5 @@
-
+Product membership: Public
@@ -20,4 +20,4 @@
-
+
diff --git a/addons/website_membership/views/website_membership_templates.xml b/addons/website_membership/views/website_membership_templates.xml
index dec7a9fb9b..ee69dcfe96 100644
--- a/addons/website_membership/views/website_membership_templates.xml
+++ b/addons/website_membership/views/website_membership_templates.xml
@@ -1,5 +1,5 @@
-
+
@@ -141,4 +141,4 @@
-
+
diff --git a/addons/website_partner/__init__.py b/addons/website_partner/__init__.py
index 8c67f893b3..81ea421d41 100644
--- a/addons/website_partner/__init__.py
+++ b/addons/website_partner/__init__.py
@@ -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 models
from . import controllers
diff --git a/addons/website_partner/__manifest__.py b/addons/website_partner/__manifest__.py
index ba1085829f..5381eb72ac 100644
--- a/addons/website_partner/__manifest__.py
+++ b/addons/website_partner/__manifest__.py
@@ -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.
{
'name': 'Website Partner',
diff --git a/addons/website_partner/controllers/main.py b/addons/website_partner/controllers/main.py
index c8cac98d96..c16186f1cb 100644
--- a/addons/website_partner/controllers/main.py
+++ b/addons/website_partner/controllers/main.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
-from odoo import http
-from odoo.addons.http_routing.models.ir_http import unslug
-from odoo.http import request
+from flectra import http
+from flectra.addons.http_routing.models.ir_http import unslug
+from flectra.http import request
class WebsitePartnerPage(http.Controller):
diff --git a/addons/website_partner/data/website_partner_data.xml b/addons/website_partner/data/website_partner_data.xml
index c60a21e72a..40665e5fa3 100644
--- a/addons/website_partner/data/website_partner_data.xml
+++ b/addons/website_partner/data/website_partner_data.xml
@@ -1,6 +1,6 @@
-
+True
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/addons/website_partner/data/website_partner_demo.xml b/addons/website_partner/data/website_partner_demo.xml
index fce6a8ff4b..ae529dfd07 100644
--- a/addons/website_partner/data/website_partner_demo.xml
+++ b/addons/website_partner/data/website_partner_demo.xml
@@ -1,5 +1,5 @@
-
+True
@@ -56,20 +56,20 @@ Throughout this time we have served a large number of clients belonging to a div
With our assistance we covered the various stages that make up a project, with a methodology that places the user at the center of the process and privileged agent.
-This path puts us uniquely equipped to lead projects implementation, training and customization of Odoo.]]>
+This path puts us uniquely equipped to lead projects implementation, training and customization of Flectra.]]>
Agrolait is a specialized service provider for 10 years in the implementation of open source ERP , BI and e-commerce solutions. Audaxis has 100 employees based in France , Belgium, Luxembourg and Switzerland. Building on 20 years of...
-Building on 20 years of experience in ERP solutions , our consultants combine technological expertise , application and business to bring you informed throughout your Odoo project board.
+Building on 20 years of experience in ERP solutions , our consultants combine technological expertise , application and business to bring you informed throughout your Flectra project board.
Our project methodology , designed for SMEs / SMIs , is a quality assurance guarantee : architecture , installation, integration , customization, training , project management , support, maintenance , and migration , our commitment to you is total.
-Premium Partner PTC Agrolait is certified by Odoo to provide functional and technical training in France and Tunisia.
+Premium Partner PTC Agrolait is certified by Flectra to provide functional and technical training in France and Tunisia.
-We operate in several sectors : distribution, retail , industry, services , associations, with strong expertise in the supply chain management (SCM) and the specific accounting for the Belgian and French markets . With its cluster of web expertise , Agrolait makes you benefit from the best advice in Odoo integration with portals .]]>
+We operate in several sectors : distribution, retail , industry, services , associations, with strong expertise in the supply chain management (SCM) and the specific accounting for the Belgian and French markets . With its cluster of web expertise , Agrolait makes you benefit from the best advice in Flectra integration with portals .]]>
@@ -80,7 +80,7 @@ In view of the technological advances that have fundamentally changed the expect
With over 20 years experience in information systems, the founders of OpenCorp were given a mission to shake up the market based on a catalog of effective, stable and affordable solutions to help its customers to gain competitive advantage.
-It is in this context qu'OpenCorp is today one of the first resellers of Odoo 7.0 SaaS. Our philosophy "back to the standard" can significantly reduce the costs associated with project implementation.
+It is in this context qu'OpenCorp is today one of the first resellers of Flectra 7.0 SaaS. Our philosophy "back to the standard" can significantly reduce the costs associated with project implementation.
Experts in business analysis, our consultants will also accompany you in analyzing your needs by documenting your processes, identifying opportunities for improvement and preparing the mandates of your projects.
@@ -88,8 +88,8 @@ With OpenCorp, you are guaranteed a controlled implementation of an operational
- China Export is committed to deliver a complete integrated business solution to fulfill your business requirements and meet your ever changing needs. China Export partners with Odoo to build a feature rich, extensible...
-
+ China Export is committed to deliver a complete integrated business solution to fulfill your business requirements and meet your ever changing needs. China Export partners with Flectra to build a feature rich, extensible...
+
@@ -104,20 +104,20 @@ With OpenCorp, you are guaranteed a controlled implementation of an operational
a. Setting-up: support for getting the relevant business license and meeting the associated administrative PRC requirements.
b. Management: definition and implementation of procedures, proposal on the company organization.
c. Finance: bookkeeping, tax declaration, financial reporting and key indicators.
-d. Decisional Information System: set-up of server, network, implementation of a customized data management system (Odoo, Excel).
+d. Decisional Information System: set-up of server, network, implementation of a customized data management system (Flectra, Excel).
e. Human resources: recruitment, payroll management.]]>
- Axelor is a service company specializing in the integration of Open Source ERP. She is co-editor including the web version of Odoo and concentrates all its activities to Odoo integration and implementation of supply...
-
-The company has its own R&D performing many innovations to the continuous improvement of Odoo, such as the new web version, the plug-in MS Office and connectors to other applications. Its main advantages are its integration methodology and rigor to the management of major projects for the audit and design phase up to production and customer support.]]>
+ Axelor is a service company specializing in the integration of Open Source ERP. She is co-editor including the web version of Flectra and concentrates all its activities to Flectra integration and implementation of supply...
+
+The company has its own R&D performing many innovations to the continuous improvement of Flectra, such as the new web version, the plug-in MS Office and connectors to other applications. Its main advantages are its integration methodology and rigor to the management of major projects for the audit and design phase up to production and customer support.]]>
- Founded in 2001, Camptocamp is Odoo Gold Partner since 2006 in Switzerland, France and Austria and has about 50 employees all Professional Open Source...
-
-Camptocamp specializes in the implementation of Odoo in companies of 10 to several hundred employees in the following areas:
+ Founded in 2001, Camptocamp is Flectra Gold Partner since 2006 in Switzerland, France and Austria and has about 50 employees all Professional Open Source...
+
+Camptocamp specializes in the implementation of Flectra in companies of 10 to several hundred employees in the following areas:
trading (buy / sell / stock), especially in the field of e-commerce;
service companies;
nongovernmental organizations (NGOs) of international humanitarian rank.
@@ -131,11 +131,11 @@ Camptocamp has developed a strong expertise in the following areas:
automation with showers and barcode: scenarios to scan receipts, shipments, internal movements, inventories, manufacturing... ;
specific issues multi-inventory tracking and offline synchronization;
e-commerce :
-
Magento Odoo connector (bidirectional) to synchronize orders, customers, products, prices, payment methods and delivery, shipping... ;
-
PrestaShop Odoo connector;
-
development and implementation of business applications 100% specific leveraging the power of the Odoo framework (OpenObject).
+
Magento Flectra connector (bidirectional) to synchronize orders, customers, products, prices, payment methods and delivery, shipping... ;
+
PrestaShop Flectra connector;
+
development and implementation of business applications 100% specific leveraging the power of the Flectra framework (OpenObject).
-In addition, thanks to its heavy involvement in the ecosystem Odoo for several years, has been promoted by Camptocamp Editor Odoo SA status Odoo best contributor in 2012 and 2013.
+In addition, thanks to its heavy involvement in the ecosystem Flectra for several years, has been promoted by Camptocamp Editor Flectra SA status Flectra best contributor in 2012 and 2013.
]]>
@@ -150,8 +150,8 @@ Above all, you need a reliable and professional advisors / companions who will l
- We offer implementation, customization and training for Odoo. Since tinyerp 4, we also develop custom modules. In addition to individual solutions are preconfigured systems for: - ...
-
+ We offer implementation, customization and training for Flectra. Since tinyerp 4, we also develop custom modules. In addition to individual solutions are preconfigured systems for: - ...
+
- Food production (eg fruit and vegetables)
- Service provider with project management
- Machinery and equipment manufacturers]]>
@@ -172,44 +172,44 @@ Phase 3: In the third phase recommends prioritizing specific interests of the co
- Bank Wealthy and sons has developed expertise in all areas of Odoo, working with clients to create accounting, invoicing, VAT, and reporting customisations to fulfill their business needs. Bank Wealthy and sons work closely with the Odoo community to send changes upstream to further enhance Odoo. Providing a full range...
-
+ Bank Wealthy and sons has developed expertise in all areas of Flectra, working with clients to create accounting, invoicing, VAT, and reporting customisations to fulfill their business needs. Bank Wealthy and sons work closely with the Flectra community to send changes upstream to further enhance Flectra. Providing a full range...
+
-Providing a full range of free software services for the private and public sectors since 1998, Bank Wealthy and sons is now one of the largest independent open source consultancies, with Open Source Support Centres in the UK, Germany, the US and Canada. With a worldwide team of over 40 free software developers, including many active Odoo contributors, Bank Wealthy and sons is Your One-Stop Shop for Open Source Supportâ„¢.]]>
+Providing a full range of free software services for the private and public sectors since 1998, Bank Wealthy and sons is now one of the largest independent open source consultancies, with Open Source Support Centres in the UK, Germany, the US and Canada. With a worldwide team of over 40 free software developers, including many active Flectra contributors, Bank Wealthy and sons is Your One-Stop Shop for Open Source Supportâ„¢.]]>Global Solutions helps organisations of all shapes and sizes gain a competitive advantage through Free and Open Source software. Our experienced team can provide strategic advice, implementation, integration with exis...
-
Founded in 2006, our clients range from SMEs to globally recognised brands and public sector organisations.]]>
- Millennium Industries is a London based Odoo partner. Their specialist areas include accounting, CRM, manufacturing, stock, logistics, and supply chain management. The company has completed over 15 projects with intric...
-
+ Millennium Industries is a London based Flectra partner. Their specialist areas include accounting, CRM, manufacturing, stock, logistics, and supply chain management. The company has completed over 15 projects with intric...
+
-Millennium Industries have developed several accounting modules for Odoo and are the leading experts in the UK for this area. Additionally, a forefront success story of theirs is the nominal level data migrations from Sage Line 50 to Odoo that allows unprecedented efficiency in system switchover.
+Millennium Industries have developed several accounting modules for Flectra and are the leading experts in the UK for this area. Additionally, a forefront success story of theirs is the nominal level data migrations from Sage Line 50 to Flectra that allows unprecedented efficiency in system switchover.
Last but not least, Millennium Industries is the only UK partner with their own Europe-based fully staffed development centre, aimed to deliver to the exact client specification projects of any complexity.
Please contact Millennium Industries direct to discuss your business requirement and the company would be delighted to help.]]>
- The Jackson Group is an active and leading partner of Odoo in the US. As Odoo's longest active US partner, we help our clients leverage new methods, cost-effective tools and fresh technologies to simplify infrastructure, lower cost, and improve operations. Our goal is to help our clients become...
-
+ The Jackson Group is an active and leading partner of Flectra in the US. As Flectra's longest active US partner, we help our clients leverage new methods, cost-effective tools and fresh technologies to simplify infrastructure, lower cost, and improve operations. Our goal is to help our clients become...
+
Our goal is to help our clients become high-performing, competitive and profitable businesses.
We leverage robust model that combines:
-Implementations of feature rich, extensible, and cost-effective Open Source software (Odoo)
+Implementations of feature rich, extensible, and cost-effective Open Source software (Flectra)
Experienced consulting services
Domestic US, near-shore and offshore based resources
A highly-responsive support model
-
A strategy that drives US Localization and adds new capabilities to Odoo
+
A strategy that drives US Localization and adds new capabilities to Flectra
-The Jackson Group’s Odoo consulting services include:
+The Jackson Group’s Flectra consulting services include:
Roadmap Development
Program/Project Management
@@ -231,11 +231,11 @@ At Think Big Systems we bring operational experience combined with technological
Best Designers is an IT services organization, established by 3 industry experts headquartered at Mumbai, India. The organization serve customers with Open Source Enterprise Software applications. We are specialized in...
- ERP Implementation, CRM Implementation, E-Commerce to ERP Integrations, Document Management Systems and Open Source Training. Our key products include Odoo, Alfresco and Magento. Our core objective is to deliver quality in Odoo Implementation Services incorporating supreme value to enterprises globally, at an affordable price. Our experience in managing projects right from selecting tools and platforms to implement solutions has shown results in Reducing IT Budgets for SME making Technology Affordable.
+ ERP Implementation, CRM Implementation, E-Commerce to ERP Integrations, Document Management Systems and Open Source Training. Our key products include Flectra, Alfresco and Magento. Our core objective is to deliver quality in Flectra Implementation Services incorporating supreme value to enterprises globally, at an affordable price. Our experience in managing projects right from selecting tools and platforms to implement solutions has shown results in Reducing IT Budgets for SME making Technology Affordable.
-Our ERP expertise is since 2005 and we mainly focus on Odoo Implementation across the globe, being an Off-shore Development Partner from India, we are also associated with other Odoo Partners across the globe to implement Odoo Business Applications. In order to provide world class ERP, E–Commerce and Enterprise Solutions, we have designed innovative Implementation Methodologies and concepts, which help us provide reliable business solutions that meet present as well as future demands.
+Our ERP expertise is since 2005 and we mainly focus on Flectra Implementation across the globe, being an Off-shore Development Partner from India, we are also associated with other Flectra Partners across the globe to implement Flectra Business Applications. In order to provide world class ERP, E–Commerce and Enterprise Solutions, we have designed innovative Implementation Methodologies and concepts, which help us provide reliable business solutions that meet present as well as future demands.
Best Designers has now emerged serving the Small and Medium Business – SMB’s with lots of Free and Open Source Software's, Our team is proficient to deliver quick and quality solutions. With a blend of experts with proven track record, our enterprise solution Business Consultants, ERP Consultants, Network Engineers, Software Developers, Web Architects, Software Testers and Search Engine Optimizers makes it possible to offer our clients affordable solutions that are both innovative and highly influential.
]]>
-
-
+
diff --git a/addons/website_payment/__init__.py b/addons/website_payment/__init__.py
index dc5e6b693d..013872cc0d 100644
--- a/addons/website_payment/__init__.py
+++ b/addons/website_payment/__init__.py
@@ -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 models
diff --git a/addons/website_payment/models/website.py b/addons/website_payment/models/website.py
index ff2159f384..dadf2305d0 100644
--- a/addons/website_payment/models/website.py
+++ b/addons/website_payment/models/website.py
@@ -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 api, models
+from flectra import api, models
class Website(models.Model):
diff --git a/addons/website_payment/views/website_payment_templates.xml b/addons/website_payment/views/website_payment_templates.xml
index f81ab5e6e5..23c8af96f0 100644
--- a/addons/website_payment/views/website_payment_templates.xml
+++ b/addons/website_payment/views/website_payment_templates.xml
@@ -1,5 +1,5 @@
-
+
Payment Icons
@@ -12,4 +12,4 @@
-
+
diff --git a/addons/website_payment/views/website_payment_view.xml b/addons/website_payment/views/website_payment_view.xml
index fda8ad6386..b151c35ff9 100644
--- a/addons/website_payment/views/website_payment_view.xml
+++ b/addons/website_payment/views/website_payment_view.xml
@@ -1,5 +1,5 @@
-
+website.form
@@ -19,4 +19,4 @@
-
+
diff --git a/addons/website_quote/__init__.py b/addons/website_quote/__init__.py
index 7d34c7c054..b855462005 100644
--- a/addons/website_quote/__init__.py
+++ b/addons/website_quote/__init__.py
@@ -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
diff --git a/addons/website_quote/__manifest__.py b/addons/website_quote/__manifest__.py
index e6a0a1c274..992dc286e2 100644
--- a/addons/website_quote/__manifest__.py
+++ b/addons/website_quote/__manifest__.py
@@ -1,10 +1,10 @@
# -*- 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.
{
'name': 'Online Proposals',
'category': 'Website',
'summary': 'Sales',
- 'website': 'https://www.odoo.com/page/quote-builder',
+ 'website': 'https://flectrahq.com/page/quote-builder',
'version': '1.0',
'description': "",
'depends': ['website', 'sale_management', 'mail', 'payment', 'website_mail'],
diff --git a/addons/website_quote/controllers/__init__.py b/addons/website_quote/controllers/__init__.py
index 5d4b25db9c..d011bb1cfe 100644
--- a/addons/website_quote/controllers/__init__.py
+++ b/addons/website_quote/controllers/__init__.py
@@ -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 main
diff --git a/addons/website_quote/controllers/main.py b/addons/website_quote/controllers/main.py
index e29d6be9cb..54399de4c4 100644
--- a/addons/website_quote/controllers/main.py
+++ b/addons/website_quote/controllers/main.py
@@ -1,12 +1,12 @@
# -*- 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.
import werkzeug
-from odoo import exceptions, fields, http, _
-from odoo.http import request
-from odoo.addons.portal.controllers.portal import CustomerPortal, get_records_pager
-from odoo.addons.portal.controllers.mail import _message_post_helper
+from flectra import exceptions, fields, http, _
+from flectra.http import request
+from flectra.addons.portal.controllers.portal import CustomerPortal, get_records_pager
+from flectra.addons.portal.controllers.mail import _message_post_helper
class CustomerPortal(CustomerPortal):
diff --git a/addons/website_quote/data/website_quote_data.xml b/addons/website_quote/data/website_quote_data.xml
index b75d364cf9..1c3a032e61 100644
--- a/addons/website_quote/data/website_quote_data.xml
+++ b/addons/website_quote/data/website_quote_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -77,7 +77,7 @@
Our Offer
- You can set a description per product. Odoo will
+ You can set a description per product. Flectra will
automatically create a quotation using the descriptions
of all products in the proposal. The table of content
on the left is generated automatically using the styles you
@@ -140,7 +140,7 @@
@@ -149,4 +149,4 @@
-
+
diff --git a/addons/website_quote/data/website_quote_demo.xml b/addons/website_quote/data/website_quote_demo.xml
index 6f738821e9..614ef3988d 100644
--- a/addons/website_quote/data/website_quote_demo.xml
+++ b/addons/website_quote/data/website_quote_demo.xml
@@ -1,5 +1,5 @@
-
+Functional Training
@@ -8,7 +8,7 @@
service
- Learn directly from our team and network of Odoo experts. Choose from the available training sessions for a better functional understanding of Odoo
+ Learn directly from our team and network of Flectra experts. Choose from the available training sessions for a better functional understanding of Flectra
@@ -24,7 +24,7 @@
service
- Learn directly from our team and network of Odoo experts. Choose from the available training sessions for a better technical understanding of Odoo
+ Learn directly from our team and network of Flectra experts. Choose from the available training sessions for a better technical understanding of Flectra
@@ -40,7 +40,7 @@
service
- Learn directly from our team and network of Odoo experts. Choose from the available training sessions for a better functional understanding of Odoo
+ Learn directly from our team and network of Flectra experts. Choose from the available training sessions for a better functional understanding of Flectra
@@ -58,7 +58,7 @@
- The Odoo eco system is designed to offer the best customer experience to Odoo users, from the product to implementation services. In order to guarantee that, the Odoo Partner Program ensures that official partners have the resources and knowledge required to offer Odoo implementation services.
+ The Flectra eco system is designed to offer the best customer experience to Flectra users, from the product to implementation services. In order to guarantee that, the Flectra Partner Program ensures that official partners have the resources and knowledge required to offer Flectra implementation services.
@@ -69,19 +69,19 @@
-
Is fully trained on Odoo
+
Is fully trained on Flectra
-
Has access to Odoo Enterprise source code on Github and latest bug fixes
+
Has access to Flectra Enterprise source code on Github and latest bug fixes
-
Has a direct relationship with Odoo SA to escalate issues
+
Has a direct relationship with Flectra SA to escalate issues
-
Publishes references directly on Odoo.com
+
Publishes references directly on Flectra.com
@@ -97,16 +97,16 @@
Partners Commitment
-
An Odoo official partner commits to:
+
An Flectra official partner commits to:
-
Train their staff by following Odoo training sessions
-
Become a Certified Odoo Partner
-
Have dedicated resources assigned to Odoo projects
-
Be available for periodic review meeting with Odoo SA account managers
-
Be the first level of support for his Odoo customers and use Odoo SA for the second level of support (mostly for bug fixes)
-
Promote Odoo Enterprise to its customers
+
Train their staff by following Flectra training sessions
+
Become a Certified Flectra Partner
+
Have dedicated resources assigned to Flectra projects
+
Be available for periodic review meeting with Flectra SA account managers
+
Be the first level of support for his Flectra customers and use Flectra SA for the second level of support (mostly for bug fixes)
+
Promote Flectra Enterprise to its customers
@@ -115,18 +115,18 @@
Benefits for a partner
-
Odoo official partners will benefit from:
+
Flectra official partners will benefit from:
-
The Odoo Enterprise GitHub repositories for all his developers
-
The ability to report bugs to be fixed by Odoo on behalf of his customer (Enterprise contracts only)
-
Access to an Account Manager at Odoo SA to discuss strategic, sales and service issues
-
Visibility and recognition, by being listed as an official partner on Odoo.com Partners page
-
Up to 20% commission on Odoo Enterprise sales, depending on the partnership level
+
The Flectra Enterprise GitHub repositories for all his developers
+
The ability to report bugs to be fixed by Flectra on behalf of his customer (Enterprise contracts only)
+
Access to an Account Manager at Flectra SA to discuss strategic, sales and service issues
+
Visibility and recognition, by being listed as an official partner on Flectra.com Partners page
+
Up to 20% commission on Flectra Enterprise sales, depending on the partnership level
Yearly upgrade training sessions when a new version is released
Access to the Partners Portal
-
Odoo sales training session
+
Flectra sales training session
@@ -231,7 +231,7 @@
Day 2
-
Odoo Web Client
+
Flectra Web Client
Introduction to JQuery
@@ -300,7 +300,7 @@
Participants preferably have a functional knowledge of our software (see Functional Training).
@@ -317,4 +317,4 @@
9000.0010
-
+
diff --git a/addons/website_quote/models/__init__.py b/addons/website_quote/models/__init__.py
index 43d640bca5..4eafbde17c 100644
--- a/addons/website_quote/models/__init__.py
+++ b/addons/website_quote/models/__init__.py
@@ -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 sale_order
from .import sale_quote
diff --git a/addons/website_quote/models/ir_model_fields.py b/addons/website_quote/models/ir_model_fields.py
index 55643edfe0..b246d20061 100644
--- a/addons/website_quote/models/ir_model_fields.py
+++ b/addons/website_quote/models/ir_model_fields.py
@@ -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 api, models
+from flectra import api, models
# !! Attention, this is a hack of a hack, do not try this at home !!
# This is done because website_quote defines the website_description
@@ -17,7 +17,7 @@ from odoo import api, models
# This is hotfixed by overriding the unlink method so as to not delete
# the website_description field if website_quote is uninstalled, it's
# an ugly hack but it works and big changes can't be done to the ORM
-# in stable versions, Odoo v12+ will properly fix this
+# in stable versions, Flectra v12+ will properly fix this
class IrModelFields(models.Model):
diff --git a/addons/website_quote/models/product_template.py b/addons/website_quote/models/product_template.py
index 4c6c16e98a..5df406caa7 100644
--- a/addons/website_quote/models/product_template.py
+++ b/addons/website_quote/models/product_template.py
@@ -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 fields, models
-from odoo.tools.translate import html_translate
+from flectra import fields, models
+from flectra.tools.translate import html_translate
class ProductTemplate(models.Model):
diff --git a/addons/website_quote/models/res_config_settings.py b/addons/website_quote/models/res_config_settings.py
index 356606164a..b3b5556e8d 100644
--- a/addons/website_quote/models/res_config_settings.py
+++ b/addons/website_quote/models/res_config_settings.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class ResConfigSettings(models.TransientModel):
diff --git a/addons/website_quote/models/sale_order.py b/addons/website_quote/models/sale_order.py
index 3e96864c45..4c11b0ebc1 100644
--- a/addons/website_quote/models/sale_order.py
+++ b/addons/website_quote/models/sale_order.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import datetime, timedelta
-from odoo import api, fields, models, _
-from odoo.tools.translate import html_translate
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models, _
+from flectra.tools.translate import html_translate
+from flectra.addons import decimal_precision as dp
from werkzeug.urls import url_encode
diff --git a/addons/website_quote/models/sale_quote.py b/addons/website_quote/models/sale_quote.py
index 08c2f19b77..54f10da17d 100644
--- a/addons/website_quote/models/sale_quote.py
+++ b/addons/website_quote/models/sale_quote.py
@@ -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, fields, models
-from odoo.tools.translate import html_translate
-from odoo.addons import decimal_precision as dp
+from flectra import api, fields, models
+from flectra.tools.translate import html_translate
+from flectra.addons import decimal_precision as dp
class SaleQuoteTemplate(models.Model):
diff --git a/addons/website_quote/report/sale_order_reports.xml b/addons/website_quote/report/sale_order_reports.xml
index ce6877469f..c3ed710bd5 100644
--- a/addons/website_quote/report/sale_order_reports.xml
+++ b/addons/website_quote/report/sale_order_reports.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/addons/website_quote/report/sale_order_templates.xml b/addons/website_quote/report/sale_order_templates.xml
index 308df119a1..38e2328b2f 100644
--- a/addons/website_quote/report/sale_order_templates.xml
+++ b/addons/website_quote/report/sale_order_templates.xml
@@ -1,5 +1,5 @@
-
+
Reassurance arguments
- Anticipate your customers questions & worries on practical details like shipping rates & policies, return & replacement policies, payment acquirers & security and your product's availability (In Stock, Not Available, etc.).
+ Anticipate your customers questions & worries on practical details like shipping rates & policies, return & replacement policies, payment acquirers & security and your product's availability (In Stock, Not Available, etc.).
- Everything is editable in your Odoo website. Feel free to edit any page title, field or button label. Simply hit *Edit* in upper-right corner to start editing the page.
+ Everything is editable in your Flectra website. Feel free to edit any page title, field or button label. Simply hit *Edit* in upper-right corner to start editing the page.
@@ -308,7 +308,7 @@
Cons: customers have to check out to find out the delivery price.
-
If you deal with a major shipper (UPS, FedEx, DHL, etc.), activate the related connector in Odoo to compute accurate costs and print labels.
+
If you deal with a major shipper (UPS, FedEx, DHL, etc.), activate the related connector in Flectra to compute accurate costs and print labels.
@@ -327,7 +327,7 @@
To collect payments, you can either request your customers to process it manually (wire transfer, etc.) or redirect them to payment acquirers.
Using payment acquirers costs you money, so take some time to compare them.
-
You can setup 3 types of payment acquirers in Odoo:
+
You can setup 3 types of payment acquirers in Flectra:
Various fields may use Python code or Python expressions. The following variables can be used:
-
env: Odoo Environment on which the action is triggered
-
model: Odoo Model of the record on which the action is triggered; is a void recordset
+
env: Flectra Environment on which the action is triggered
+
model: Flectra Model of the record on which the action is triggered; is a void recordset
record: record on which the action is triggered; may be be void
records: recordset of all records on which the action is triggered in multi mode; may be void
time, datetime, dateutil, timezone: useful Python libraries
@@ -440,7 +440,7 @@ env['res.partner'].create({'name': partner_name})
ir.actions.todoform
- The configuration wizards are used to help you configure a new instance of Odoo. They are launched during the installation of new modules, but you can choose to restart some wizards manually from this menu.
+ The configuration wizards are used to help you configure a new instance of Flectra. They are launched during the installation of new modules, but you can choose to restart some wizards manually from this menu.
@@ -455,4 +455,4 @@ if config.get('type') not in ('ir.actions.act_window_close',):
-
+
diff --git a/odoo/addons/base/ir/ir_actions_report.py b/flectra/addons/base/ir/ir_actions_report.py
similarity index 97%
rename from odoo/addons/base/ir/ir_actions_report.py
rename to flectra/addons/base/ir/ir_actions_report.py
index f4e3648b57..92662a1778 100644
--- a/odoo/addons/base/ir/ir_actions_report.py
+++ b/flectra/addons/base/ir/ir_actions_report.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.exceptions import UserError, AccessError
-from odoo.tools.safe_eval import safe_eval
-from odoo.tools.misc import find_in_path
-from odoo.tools import config
-from odoo.sql_db import TestCursor
-from odoo.http import request
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.exceptions import UserError, AccessError
+from flectra.tools.safe_eval import safe_eval
+from flectra.tools.misc import find_in_path
+from flectra.tools import config
+from flectra.sql_db import TestCursor
+from flectra.http import request
import time
import base64
@@ -30,7 +30,7 @@ _logger = logging.getLogger(__name__)
# A lock occurs when the user wants to print a report having multiple barcode while the server is
# started in threaded-mode. The reason is that reportlab has to build a cache of the T1 fonts
# before rendering a barcode (done in a C extension) and this part is not thread safe. We attempt
-# here to init the T1 fonts cache at the start-up of Odoo so that rendering of barcode in multiple
+# here to init the T1 fonts cache at the start-up of Flectra so that rendering of barcode in multiple
# thread does not lock the server.
try:
createBarcodeDrawing('Code128', value='foo', format='png', width=100, height=100, humanReadable=1).asString('png')
@@ -42,7 +42,7 @@ def _get_wkhtmltopdf_bin():
return find_in_path('wkhtmltopdf')
-# Check the presence of Wkhtmltopdf and return its version at Odoo start-up
+# Check the presence of Wkhtmltopdf and return its version at Flectra start-up
wkhtmltopdf_state = 'install'
try:
process = subprocess.Popen(
@@ -63,7 +63,7 @@ else:
wkhtmltopdf_state = 'ok'
if config['workers'] == 1:
- _logger.info('You need to start Odoo with at least two workers to print a pdf version of the reports.')
+ _logger.info('You need to start Flectra with at least two workers to print a pdf version of the reports.')
wkhtmltopdf_state = 'workers'
else:
_logger.info('Wkhtmltopdf seems to be broken.')
diff --git a/odoo/addons/base/ir/ir_attachment.py b/flectra/addons/base/ir/ir_attachment.py
similarity index 98%
rename from odoo/addons/base/ir/ir_attachment.py
rename to flectra/addons/base/ir/ir_attachment.py
index 19409a3b78..f81753eb34 100644
--- a/odoo/addons/base/ir/ir_attachment.py
+++ b/flectra/addons/base/ir/ir_attachment.py
@@ -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.
import base64
import hashlib
import itertools
@@ -9,10 +9,10 @@ import os
import re
from collections import defaultdict
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.exceptions import AccessError
-from odoo.tools import config, human_size, ustr, html_escape
-from odoo.tools.mimetypes import guess_mimetype
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.exceptions import AccessError
+from flectra.tools import config, human_size, ustr, html_escape
+from flectra.tools.mimetypes import guess_mimetype
_logger = logging.getLogger(__name__)
diff --git a/odoo/addons/base/ir/ir_attachment_view.xml b/flectra/addons/base/ir/ir_attachment_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_attachment_view.xml
rename to flectra/addons/base/ir/ir_attachment_view.xml
index 936042d6fd..8af0b80913 100644
--- a/odoo/addons/base/ir/ir_attachment_view.xml
+++ b/flectra/addons/base/ir/ir_attachment_view.xml
@@ -1,5 +1,5 @@
-
+ir.attachment
@@ -103,4 +103,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_autovacuum.py b/flectra/addons/base/ir/ir_autovacuum.py
similarity index 89%
rename from odoo/addons/base/ir/ir_autovacuum.py
rename to flectra/addons/base/ir/ir_autovacuum.py
index 804f7bc827..fda485637d 100644
--- a/odoo/addons/base/ir/ir_autovacuum.py
+++ b/flectra/addons/base/ir/ir_autovacuum.py
@@ -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.
import logging
-from odoo import api, models
+from flectra import api, models
_logger = logging.getLogger(__name__)
diff --git a/odoo/addons/base/ir/ir_autovacuum.xml b/flectra/addons/base/ir/ir_autovacuum.xml
similarity index 95%
rename from odoo/addons/base/ir/ir_autovacuum.xml
rename to flectra/addons/base/ir/ir_autovacuum.xml
index 52e07855b6..6d9a4164a6 100644
--- a/odoo/addons/base/ir/ir_autovacuum.xml
+++ b/flectra/addons/base/ir/ir_autovacuum.xml
@@ -1,5 +1,5 @@
-
+Base: Auto-vacuum internal data
@@ -9,4 +9,4 @@
days-1
-
+
diff --git a/odoo/addons/base/ir/ir_config_parameter.py b/flectra/addons/base/ir/ir_config_parameter.py
similarity index 92%
rename from odoo/addons/base/ir/ir_config_parameter.py
rename to flectra/addons/base/ir/ir_config_parameter.py
index bb9d3e9fbc..121d2410bb 100644
--- a/odoo/addons/base/ir/ir_config_parameter.py
+++ b/flectra/addons/base/ir/ir_config_parameter.py
@@ -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.
"""
Store database-specific configuration parameters
"""
@@ -7,8 +7,8 @@ Store database-specific configuration parameters
import uuid
import logging
-from odoo import api, fields, models
-from odoo.tools import config, ormcache, mute_logger, pycompat
+from flectra import api, fields, models
+from flectra.tools import config, ormcache, mute_logger, pycompat
_logger = logging.getLogger(__name__)
@@ -36,7 +36,7 @@ class IrConfigParameter(models.Model):
]
@api.model_cr
- @mute_logger('odoo.addons.base.ir.ir_config_parameter')
+ @mute_logger('flectra.addons.base.ir.ir_config_parameter')
def init(self, force=False):
"""
Initializes the parameters listed in _default_parameters.
diff --git a/odoo/addons/base/ir/ir_config_parameter_view.xml b/flectra/addons/base/ir/ir_config_parameter_view.xml
similarity index 98%
rename from odoo/addons/base/ir/ir_config_parameter_view.xml
rename to flectra/addons/base/ir/ir_config_parameter_view.xml
index 6480f989a5..b3bd878893 100644
--- a/odoo/addons/base/ir/ir_config_parameter_view.xml
+++ b/flectra/addons/base/ir/ir_config_parameter_view.xml
@@ -1,5 +1,5 @@
-
+ir.config_parameter
@@ -33,4 +33,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_cron.py b/flectra/addons/base/ir/ir_cron.py
similarity index 95%
rename from odoo/addons/base/ir/ir_cron.py
rename to flectra/addons/base/ir/ir_cron.py
index 58dc0f06fb..b200cdc8af 100644
--- a/odoo/addons/base/ir/ir_cron.py
+++ b/flectra/addons/base/ir/ir_cron.py
@@ -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.
import logging
import threading
import time
@@ -8,13 +8,13 @@ import pytz
from datetime import datetime, timedelta
from dateutil.relativedelta import relativedelta
-import odoo
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+import flectra
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
_logger = logging.getLogger(__name__)
-BASE_VERSION = odoo.modules.load_information_from_description_file('base')['version']
+BASE_VERSION = flectra.modules.load_information_from_description_file('base')['version']
MAX_FAIL_TIME = timedelta(hours=5) # chosen with a fair roll of the dice
@@ -41,7 +41,7 @@ class ir_cron(models.Model):
# TODO: perhaps in the future we could consider a flag on ir.cron jobs
# that would cause database wake-up even if the database has not been
# loaded yet or was already unloaded (e.g. 'force_db_wakeup' or something)
- # See also odoo.cron
+ # See also flectra.cron
_name = "ir.cron"
_order = 'cron_name'
@@ -94,7 +94,7 @@ class ir_cron(models.Model):
self = self.env()[self._name]
log_depth = (None if _logger.isEnabledFor(logging.DEBUG) else 1)
- odoo.netsvc.log(_logger, logging.DEBUG, 'cron.object.execute', (self._cr.dbname, self._uid, '*', cron_name, server_action_id), depth=log_depth)
+ flectra.netsvc.log(_logger, logging.DEBUG, 'cron.object.execute', (self._cr.dbname, self._uid, '*', cron_name, server_action_id), depth=log_depth)
start_time = False
if _logger.isEnabledFor(logging.DEBUG):
start_time = time.time()
@@ -161,7 +161,7 @@ class ir_cron(models.Model):
:raise BadVersion: if the version is different from the worker's
:raise BadModuleState: if modules are to install/upgrade/remove
"""
- db = odoo.sql_db.db_connect(db_name)
+ db = flectra.sql_db.db_connect(db_name)
threading.current_thread().dbname = db_name
try:
with db.cursor() as cr:
@@ -191,7 +191,7 @@ class ir_cron(models.Model):
parse = fields.Datetime.from_string
oldest = min([parse(job['nextcall']) for job in jobs])
if datetime.now() - oldest > MAX_FAIL_TIME:
- odoo.modules.reset_modules_state(db_name)
+ flectra.modules.reset_modules_state(db_name)
else:
raise BadModuleState()
@@ -218,7 +218,7 @@ class ir_cron(models.Model):
_logger.info('Starting job `%s`.', job['cron_name'])
job_cr = db.cursor()
try:
- registry = odoo.registry(db_name)
+ registry = flectra.registry(db_name)
registry[cls._name]._process_job(job_cr, job, lock_cr)
except Exception:
_logger.exception('Unexpected exception while processing cron job %r', job)
diff --git a/odoo/addons/base/ir/ir_cron_view.xml b/flectra/addons/base/ir/ir_cron_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_cron_view.xml
rename to flectra/addons/base/ir/ir_cron_view.xml
index 982ad7c288..485370f894 100644
--- a/odoo/addons/base/ir/ir_cron_view.xml
+++ b/flectra/addons/base/ir/ir_cron_view.xml
@@ -1,5 +1,5 @@
-
+ir.cron.view.form
@@ -86,4 +86,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_default.py b/flectra/addons/base/ir/ir_default.py
similarity index 97%
rename from odoo/addons/base/ir/ir_default.py
rename to flectra/addons/base/ir/ir_default.py
index e5f3f387c6..0a2900cb1c 100644
--- a/odoo/addons/base/ir/ir_default.py
+++ b/flectra/addons/base/ir/ir_default.py
@@ -1,10 +1,10 @@
# -*- 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.
import json
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import ValidationError
class IrDefault(models.Model):
diff --git a/odoo/addons/base/ir/ir_default_view.xml b/flectra/addons/base/ir/ir_default_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_default_view.xml
rename to flectra/addons/base/ir/ir_default_view.xml
index ad347d4a35..1aeb7de287 100644
--- a/odoo/addons/base/ir/ir_default_view.xml
+++ b/flectra/addons/base/ir/ir_default_view.xml
@@ -1,5 +1,5 @@
-
+ir.default form view
@@ -59,4 +59,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_exports.py b/flectra/addons/base/ir/ir_exports.py
similarity index 81%
rename from odoo/addons/base/ir/ir_exports.py
rename to flectra/addons/base/ir/ir_exports.py
index 9b89d2e6f9..ecdd4f6a3c 100644
--- a/odoo/addons/base/ir/ir_exports.py
+++ b/flectra/addons/base/ir/ir_exports.py
@@ -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 IrExports(models.Model):
diff --git a/odoo/addons/base/ir/ir_fields.py b/flectra/addons/base/ir/ir_fields.py
similarity index 97%
rename from odoo/addons/base/ir/ir_fields.py
rename to flectra/addons/base/ir/ir_fields.py
index d7521ed6ba..e3a0b345c5 100644
--- a/odoo/addons/base/ir/ir_fields.py
+++ b/flectra/addons/base/ir/ir_fields.py
@@ -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.
import functools
import itertools
@@ -7,8 +7,8 @@ import itertools
import psycopg2
import pytz
-from odoo import api, fields, models, _
-from odoo.tools import ustr, pycompat
+from flectra import api, fields, models, _
+from flectra.tools import ustr, pycompat
REFERENCING_FIELDS = {None, 'id', '.id'}
def only_ref_fields(record):
@@ -51,11 +51,11 @@ class IrFieldsConverter(models.AbstractModel):
@api.model
def for_model(self, model, fromtype=str):
""" Returns a converter object for the model. A converter is a
- callable taking a record-ish (a dictionary representing an odoo
+ callable taking a record-ish (a dictionary representing an flectra
record with values of typetag ``fromtype``) and returning a converted
- records matching what :meth:`odoo.osv.orm.Model.write` expects.
+ records matching what :meth:`flectra.osv.orm.Model.write` expects.
- :param model: :class:`odoo.osv.orm.Model` for the conversion base
+ :param model: :class:`flectra.osv.orm.Model` for the conversion base
:returns: a converter callable
:rtype: (record: dict, logger: (field, error) -> None) -> dict
"""
@@ -122,10 +122,10 @@ class IrFieldsConverter(models.AbstractModel):
as ``ValueError`` above.
:param field: field object to generate a value for
- :type field: :class:`odoo.fields.Field`
+ :type field: :class:`flectra.fields.Field`
:param fromtype: type to convert to something fitting for ``field``
:type fromtype: type | str
- :param context: odoo request context
+ :param context: flectra request context
:return: a function (fromtype -> field.write_type), if a converter is found
:rtype: Callable | None
"""
diff --git a/odoo/addons/base/ir/ir_filters.py b/flectra/addons/base/ir/ir_filters.py
similarity index 96%
rename from odoo/addons/base/ir/ir_filters.py
rename to flectra/addons/base/ir/ir_filters.py
index fb6a69f398..591c726177 100644
--- a/odoo/addons/base/ir/ir_filters.py
+++ b/flectra/addons/base/ir/ir_filters.py
@@ -1,10 +1,10 @@
# -*- 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.
import ast
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError
class IrFilters(models.Model):
@@ -86,7 +86,7 @@ class IrFilters(models.Model):
This method should only be called if ``vals`` is trying to set
``is_default``
- :raises odoo.exceptions.UserError: if there is an existing default and
+ :raises flectra.exceptions.UserError: if there is an existing default and
we're not updating it
"""
domain = self._get_action_domain(vals.get('action_id'))
diff --git a/odoo/addons/base/ir/ir_filters.xml b/flectra/addons/base/ir/ir_filters.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_filters.xml
rename to flectra/addons/base/ir/ir_filters.xml
index f46ec82c7f..12e81dceb4 100644
--- a/odoo/addons/base/ir/ir_filters.xml
+++ b/flectra/addons/base/ir/ir_filters.xml
@@ -1,5 +1,5 @@
-
+
@@ -103,4 +103,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_http.py b/flectra/addons/base/ir/ir_http.py
similarity index 96%
rename from odoo/addons/base/ir/ir_http.py
rename to flectra/addons/base/ir/ir_http.py
index 27d759e546..567d0f327f 100644
--- a/odoo/addons/base/ir/ir_http.py
+++ b/flectra/addons/base/ir/ir_http.py
@@ -17,13 +17,13 @@ import werkzeug.routing
import werkzeug.urls
import werkzeug.utils
-import odoo
-from odoo import api, http, models, tools, SUPERUSER_ID
-from odoo.exceptions import AccessDenied, AccessError
-from odoo.http import request, STATIC_CACHE, content_disposition
-from odoo.tools import pycompat
-from odoo.tools.mimetypes import guess_mimetype
-from odoo.modules.module import get_resource_path, get_module_path
+import flectra
+from flectra import api, http, models, tools, SUPERUSER_ID
+from flectra.exceptions import AccessDenied, AccessError
+from flectra.http import request, STATIC_CACHE, content_disposition
+from flectra.tools import pycompat
+from flectra.tools.mimetypes import guess_mimetype
+from flectra.modules.module import get_resource_path, get_module_path
_logger = logging.getLogger(__name__)
@@ -228,9 +228,9 @@ class IrHttp(models.AbstractModel):
if not hasattr(cls, '_routing_map'):
_logger.info("Generating routing map")
installed = request.registry._init_modules - {'web'}
- if tools.config['test_enable'] and odoo.modules.module.current_test:
- installed.add(odoo.modules.module.current_test)
- mods = [''] + odoo.conf.server_wide_modules + sorted(installed)
+ if tools.config['test_enable'] and flectra.modules.module.current_test:
+ installed.add(flectra.modules.module.current_test)
+ mods = [''] + flectra.conf.server_wide_modules + sorted(installed)
# Note : when routing map is generated, we put it on the class `cls`
# to make it available for all instance. Since `env` create an new instance
# of the model, each instance will regenared its own routing map and thus
diff --git a/odoo/addons/base/ir/ir_logging.py b/flectra/addons/base/ir/ir_logging.py
similarity index 84%
rename from odoo/addons/base/ir/ir_logging.py
rename to flectra/addons/base/ir/ir_logging.py
index 0397bff742..e20293d5ac 100644
--- a/odoo/addons/base/ir/ir_logging.py
+++ b/flectra/addons/base/ir/ir_logging.py
@@ -1,5 +1,5 @@
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from odoo import fields, models
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+from flectra import fields, models
class IrLogging(models.Model):
diff --git a/odoo/addons/base/ir/ir_logging_view.xml b/flectra/addons/base/ir/ir_logging_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_logging_view.xml
rename to flectra/addons/base/ir/ir_logging_view.xml
index 2cb00055df..bc809ea20f 100644
--- a/odoo/addons/base/ir/ir_logging_view.xml
+++ b/flectra/addons/base/ir/ir_logging_view.xml
@@ -1,5 +1,5 @@
-
+ir.logging
@@ -61,4 +61,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_mail_server.py b/flectra/addons/base/ir/ir_mail_server.py
similarity index 98%
rename from odoo/addons/base/ir/ir_mail_server.py
rename to flectra/addons/base/ir/ir_mail_server.py
index affbaacc5c..8d3daa3aab 100644
--- a/odoo/addons/base/ir/ir_mail_server.py
+++ b/flectra/addons/base/ir/ir_mail_server.py
@@ -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 email import encoders
from email.charset import Charset
@@ -15,12 +15,12 @@ import threading
import html2text
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import except_orm, UserError
-from odoo.tools import ustr, pycompat
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import except_orm, UserError
+from flectra.tools import ustr, pycompat
_logger = logging.getLogger(__name__)
-_test_logger = logging.getLogger('odoo.tests')
+_test_logger = logging.getLogger('flectra.tests')
class MailDeliveryException(except_orm):
@@ -221,7 +221,7 @@ class IrMailServer(models.Model):
if smtp_encryption == 'ssl':
if 'SMTP_SSL' not in smtplib.__all__:
raise UserError(
- _("Your Odoo Server does not support SMTP-over-SSL. "
+ _("Your Flectra Server does not support SMTP-over-SSL. "
"You could use STARTTLS instead. "
"If SSL is needed, an upgrade to Python 2.6 on the server-side "
"should do the trick."))
@@ -367,13 +367,13 @@ class IrMailServer(models.Model):
joining the parameters "mail.bounce.alias" and
"mail.catchall.domain".
- If "mail.bounce.alias" is not set it defaults to "postmaster-odoo".
+ If "mail.bounce.alias" is not set it defaults to "postmaster-flectra".
If "mail.catchall.domain" is not set, return None.
'''
get_param = self.env['ir.config_parameter'].sudo().get_param
- postmaster = get_param('mail.bounce.alias', default='postmaster-odoo')
+ postmaster = get_param('mail.bounce.alias', default='postmaster-flectra')
domain = get_param('mail.catchall.domain')
if postmaster and domain:
return '%s@%s' % (postmaster, domain)
diff --git a/odoo/addons/base/ir/ir_mail_server_view.xml b/flectra/addons/base/ir/ir_mail_server_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_mail_server_view.xml
rename to flectra/addons/base/ir/ir_mail_server_view.xml
index 0a638b4aca..1999618fec 100644
--- a/odoo/addons/base/ir/ir_mail_server_view.xml
+++ b/flectra/addons/base/ir/ir_mail_server_view.xml
@@ -1,5 +1,5 @@
-
+ir.mail_server
@@ -57,4 +57,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_model.py b/flectra/addons/base/ir/ir_model.py
similarity index 99%
rename from odoo/addons/base/ir/ir_model.py
rename to flectra/addons/base/ir/ir_model.py
index f2b711514f..cd12c6fb99 100644
--- a/odoo/addons/base/ir/ir_model.py
+++ b/flectra/addons/base/ir/ir_model.py
@@ -1,17 +1,17 @@
# -*- 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.
import datetime
import dateutil
import logging
import time
from collections import defaultdict
-from odoo import api, fields, models, SUPERUSER_ID, tools, _
-from odoo.exceptions import AccessError, UserError, ValidationError
-from odoo.modules.registry import Registry
-from odoo.osv import expression
-from odoo.tools import pycompat
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, SUPERUSER_ID, tools, _
+from flectra.exceptions import AccessError, UserError, ValidationError
+from flectra.modules.registry import Registry
+from flectra.osv import expression
+from flectra.tools import pycompat
+from flectra.tools.safe_eval import safe_eval
_logger = logging.getLogger(__name__)
@@ -184,7 +184,7 @@ class IrModel(models.Model):
res = super(IrModel, self).unlink()
# Reload registry for normal unlink only. For module uninstall, the
- # reload is done independently in odoo.modules.loading.
+ # reload is done independently in flectra.modules.loading.
if not self._context.get(MODULE_UNINSTALL_FLAG):
# setup models; this automatically removes model from registry
self.pool.setup_models(self._cr)
@@ -879,7 +879,7 @@ class IrModelFields(models.Model):
class IrModelConstraint(models.Model):
"""
- This model tracks PostgreSQL foreign keys and constraints used by Odoo
+ This model tracks PostgreSQL foreign keys and constraints used by Flectra
models.
"""
_name = 'ir.model.constraint'
@@ -1000,7 +1000,7 @@ class IrModelConstraint(models.Model):
class IrModelRelation(models.Model):
"""
- This model tracks PostgreSQL tables used to implement Odoo many2many
+ This model tracks PostgreSQL tables used to implement Flectra many2many
relations.
"""
_name = 'ir.model.relation'
@@ -1228,7 +1228,7 @@ class IrModelData(models.Model):
* allows easy data integration with third-party systems,
making import/export/sync of data possible, as records
can be uniquely identified across multiple systems
- * allows tracking the origin of data installed by Odoo
+ * allows tracking the origin of data installed by Flectra
modules themselves, thus making it possible to later
update them seamlessly.
"""
diff --git a/odoo/addons/base/ir/ir_model_report.xml b/flectra/addons/base/ir/ir_model_report.xml
similarity index 93%
rename from odoo/addons/base/ir/ir_model_report.xml
rename to flectra/addons/base/ir/ir_model_report.xml
index 4baa1daf98..3c9eff54c2 100644
--- a/odoo/addons/base/ir/ir_model_report.xml
+++ b/flectra/addons/base/ir/ir_model_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/odoo/addons/base/ir/ir_model_view.xml b/flectra/addons/base/ir/ir_model_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_model_view.xml
rename to flectra/addons/base/ir/ir_model_view.xml
index 5e04ac92ed..c3c4ef6641 100644
--- a/odoo/addons/base/ir/ir_model_view.xml
+++ b/flectra/addons/base/ir/ir_model_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -571,4 +571,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_qweb.xml b/flectra/addons/base/ir/ir_qweb.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_qweb.xml
rename to flectra/addons/base/ir/ir_qweb.xml
index 63057f1a25..8dd5a0ff66 100644
--- a/odoo/addons/base/ir/ir_qweb.xml
+++ b/flectra/addons/base/ir/ir_qweb.xml
@@ -1,4 +1,4 @@
-
+
@@ -43,4 +43,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_qweb/__init__.py b/flectra/addons/base/ir/ir_qweb/__init__.py
similarity index 75%
rename from odoo/addons/base/ir/ir_qweb/__init__.py
rename to flectra/addons/base/ir/ir_qweb/__init__.py
index b0add281fd..d5530d7ccc 100644
--- a/odoo/addons/base/ir/ir_qweb/__init__.py
+++ b/flectra/addons/base/ir/ir_qweb/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from odoo.tools import safe_eval, html_escape as escape
+from flectra.tools import safe_eval, html_escape as escape
from . import fields
from . import assetsbundle
diff --git a/odoo/addons/base/ir/ir_qweb/assetsbundle.py b/flectra/addons/base/ir/ir_qweb/assetsbundle.py
similarity index 98%
rename from odoo/addons/base/ir/ir_qweb/assetsbundle.py
rename to flectra/addons/base/ir/ir_qweb/assetsbundle.py
index 9c3b694a06..f30bdb61d1 100644
--- a/odoo/addons/base/ir/ir_qweb/assetsbundle.py
+++ b/flectra/addons/base/ir/ir_qweb/assetsbundle.py
@@ -9,11 +9,11 @@ import textwrap
import uuid
from datetime import datetime
from subprocess import Popen, PIPE
-from odoo import fields, tools
-from odoo.http import request
-from odoo.modules.module import get_resource_path
+from flectra import fields, tools
+from flectra.http import request
+from flectra.modules.module import get_resource_path
import psycopg2
-from odoo.tools import func, misc
+from flectra.tools import func, misc
import logging
_logger = logging.getLogger(__name__)
@@ -281,9 +281,9 @@ class AssetsBundle(object):
document.addEventListener("DOMContentLoaded", function () {
var alertTimeout = setTimeout(alert.bind(window, message), 0);
- if (typeof odoo === "undefined") return;
+ if (typeof flectra === "undefined") return;
- odoo.define("AssetsBundle.ErrorMessage", function (require) {
+ flectra.define("AssetsBundle.ErrorMessage", function (require) {
"use strict";
var base = require("web_editor.base");
diff --git a/odoo/addons/base/ir/ir_qweb/fields.py b/flectra/addons/base/ir/ir_qweb/fields.py
similarity index 99%
rename from odoo/addons/base/ir/ir_qweb/fields.py
rename to flectra/addons/base/ir/ir_qweb/fields.py
index b71966e6d6..b99e8afb24 100644
--- a/odoo/addons/base/ir/ir_qweb/fields.py
+++ b/flectra/addons/base/ir/ir_qweb/fields.py
@@ -3,10 +3,10 @@ import base64
import re
from collections import OrderedDict
from io import BytesIO
-from odoo import api, fields, models, _
+from flectra import api, fields, models, _
from PIL import Image
import babel
-from odoo.tools import html_escape as escape, posix_to_ldml, safe_eval, float_utils, format_date, pycompat
+from flectra.tools import html_escape as escape, posix_to_ldml, safe_eval, float_utils, format_date, pycompat
import logging
_logger = logging.getLogger(__name__)
diff --git a/odoo/addons/base/ir/ir_qweb/ir_qweb.py b/flectra/addons/base/ir/ir_qweb/ir_qweb.py
similarity index 97%
rename from odoo/addons/base/ir/ir_qweb/ir_qweb.py
rename to flectra/addons/base/ir/ir_qweb/ir_qweb.py
index 8bb333ea3f..7a979415a1 100644
--- a/odoo/addons/base/ir/ir_qweb/ir_qweb.py
+++ b/flectra/addons/base/ir/ir_qweb/ir_qweb.py
@@ -10,12 +10,12 @@ from lxml import html
from lxml import etree
from werkzeug import urls
-from odoo.tools import pycompat
+from flectra.tools import pycompat
-from odoo import api, models, tools
-from odoo.tools.safe_eval import assert_valid_codeobj, _BUILTINS, _SAFE_OPCODES
-from odoo.http import request
-from odoo.modules.module import get_resource_path
+from flectra import api, models, tools
+from flectra.tools.safe_eval import assert_valid_codeobj, _BUILTINS, _SAFE_OPCODES
+from flectra.http import request
+from flectra.modules.module import get_resource_path
from .qweb import QWeb, Contextifier
from .assetsbundle import AssetsBundle
@@ -210,7 +210,7 @@ class IrQWeb(models.AbstractModel, QWeb):
# match the module dependency graph.
def get_modules_order():
if request:
- from odoo.addons.web.controllers.main import module_boot
+ from flectra.addons.web.controllers.main import module_boot
return json.dumps(module_boot())
return '[]'
template = env['ir.qweb'].render(xmlid, {"get_modules_order": get_modules_order})
diff --git a/odoo/addons/base/ir/ir_qweb/qweb.py b/flectra/addons/base/ir/ir_qweb/qweb.py
similarity index 99%
rename from odoo/addons/base/ir/ir_qweb/qweb.py
rename to flectra/addons/base/ir/ir_qweb/qweb.py
index a773daf600..30ee862649 100644
--- a/odoo/addons/base/ir/ir_qweb/qweb.py
+++ b/flectra/addons/base/ir/ir_qweb/qweb.py
@@ -15,7 +15,7 @@ from lxml import etree, html
import werkzeug
from werkzeug.utils import escape as _escape
-from odoo.tools import pycompat, freehash
+from flectra.tools import pycompat, freehash
try:
import builtins
@@ -527,8 +527,8 @@ class QWeb(object):
"""
return ast.parse(dedent("""
from collections import OrderedDict
- from odoo.tools.pycompat import to_text, string_types
- from odoo.addons.base.ir.ir_qweb.qweb import escape, foreach_iterator
+ from flectra.tools.pycompat import to_text, string_types
+ from flectra.addons.base.ir.ir_qweb.qweb import escape, foreach_iterator
"""))
def _create_def(self, options, body, prefix='fn', lineno=None):
@@ -1223,7 +1223,7 @@ class QWeb(object):
# end backward
def _compile_directive_field(self, el, options):
- """ Compile something like ``+1 555 555 8069`` """
+ """ Compile something like ``+1 555 555 7073`` """
node_name = el.tag
assert node_name not in ("table", "tbody", "thead", "tfoot", "tr", "td",
"li", "ul", "ol", "dl", "dt", "dd"),\
diff --git a/odoo/addons/base/ir/ir_rule.py b/flectra/addons/base/ir/ir_rule.py
similarity index 95%
rename from odoo/addons/base/ir/ir_rule.py
rename to flectra/addons/base/ir/ir_rule.py
index 13068389cc..356ac06dc5 100644
--- a/odoo/addons/base/ir/ir_rule.py
+++ b/flectra/addons/base/ir/ir_rule.py
@@ -1,12 +1,12 @@
# -*- 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.
import time
from collections import defaultdict
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.exceptions import ValidationError
-from odoo.osv import expression
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.exceptions import ValidationError
+from flectra.osv import expression
+from flectra.tools.safe_eval import safe_eval
class IrRule(models.Model):
diff --git a/odoo/addons/base/ir/ir_rule_view.xml b/flectra/addons/base/ir/ir_rule_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_rule_view.xml
rename to flectra/addons/base/ir/ir_rule_view.xml
index ca5e20aafa..b9d8ae57ee 100644
--- a/odoo/addons/base/ir/ir_rule_view.xml
+++ b/flectra/addons/base/ir/ir_rule_view.xml
@@ -1,5 +1,5 @@
-
+ir.rule
@@ -94,4 +94,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_sequence.py b/flectra/addons/base/ir/ir_sequence.py
similarity index 98%
rename from odoo/addons/base/ir/ir_sequence.py
rename to flectra/addons/base/ir/ir_sequence.py
index 71fc44c2c7..1eaa02a867 100644
--- a/odoo/addons/base/ir/ir_sequence.py
+++ b/flectra/addons/base/ir/ir_sequence.py
@@ -1,11 +1,11 @@
# -*- 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 datetime import datetime, timedelta
import logging
import pytz
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
_logger = logging.getLogger(__name__)
@@ -132,7 +132,7 @@ class IrSequence(models.Model):
number_increment = fields.Integer(string='Step', required=True, default=1,
help="The next number of the sequence will be incremented by this number")
padding = fields.Integer(string='Sequence Size', required=True, default=0,
- help="Odoo will automatically adds some '0' on the left of the "
+ help="Flectra will automatically adds some '0' on the left of the "
"'Next Number' to get the required padding size.")
company_id = fields.Many2one('res.company', string='Company',
default=lambda s: s.env['res.company']._company_default_get('ir.sequence'))
diff --git a/odoo/addons/base/ir/ir_sequence_view.xml b/flectra/addons/base/ir/ir_sequence_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_sequence_view.xml
rename to flectra/addons/base/ir/ir_sequence_view.xml
index 9bfaf30850..dab636981c 100644
--- a/odoo/addons/base/ir/ir_sequence_view.xml
+++ b/flectra/addons/base/ir/ir_sequence_view.xml
@@ -1,5 +1,5 @@
-
+ir.sequence
@@ -104,4 +104,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_translation.py b/flectra/addons/base/ir/ir_translation.py
similarity index 99%
rename from odoo/addons/base/ir/ir_translation.py
rename to flectra/addons/base/ir/ir_translation.py
index b38f3fae8e..d64acfc026 100644
--- a/odoo/addons/base/ir/ir_translation.py
+++ b/flectra/addons/base/ir/ir_translation.py
@@ -1,14 +1,14 @@
# -*- 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.
import logging
from collections import defaultdict
from difflib import get_close_matches
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.exceptions import AccessError, UserError, ValidationError
-from odoo.modules import get_module_path, get_module_resource
-from odoo.tools import pycompat
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.exceptions import AccessError, UserError, ValidationError
+from flectra.modules import get_module_path, get_module_resource
+from flectra.tools import pycompat
_logger = logging.getLogger(__name__)
diff --git a/odoo/addons/base/ir/ir_translation_view.xml b/flectra/addons/base/ir/ir_translation_view.xml
similarity index 99%
rename from odoo/addons/base/ir/ir_translation_view.xml
rename to flectra/addons/base/ir/ir_translation_view.xml
index 0cfd592d40..a15ac9c022 100644
--- a/odoo/addons/base/ir/ir_translation_view.xml
+++ b/flectra/addons/base/ir/ir_translation_view.xml
@@ -1,5 +1,5 @@
-
+ir.translation
@@ -87,4 +87,4 @@
-
+
diff --git a/odoo/addons/base/ir/ir_ui_menu.py b/flectra/addons/base/ir/ir_ui_menu.py
similarity index 96%
rename from odoo/addons/base/ir/ir_ui_menu.py
rename to flectra/addons/base/ir/ir_ui_menu.py
index a807489f6f..c496d0d257 100644
--- a/odoo/addons/base/ir/ir_ui_menu.py
+++ b/flectra/addons/base/ir/ir_ui_menu.py
@@ -1,15 +1,15 @@
# -*- 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.
import base64
import operator
import re
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import ValidationError
-from odoo.http import request
-from odoo.modules import get_module_resource
-from odoo.tools.safe_eval import safe_eval
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import ValidationError
+from flectra.http import request
+from flectra.modules import get_module_resource
+from flectra.tools.safe_eval import safe_eval
MENU_ITEM_SEPARATOR = "/"
NUMBER_PARENS = re.compile(r"\(([0-9]+)\)")
@@ -34,7 +34,7 @@ class IrUiMenu(models.Model):
groups_id = fields.Many2many('res.groups', 'ir_ui_menu_group_rel',
'menu_id', 'gid', string='Groups',
help="If you have groups, the visibility of this menu will be based on these groups. "\
- "If this field is empty, Odoo will compute visibility based on the related object's read access.")
+ "If this field is empty, Flectra will compute visibility based on the related object's read access.")
complete_name = fields.Char(compute='_compute_complete_name', string='Full Path')
web_icon = fields.Char(string='Web Icon File')
action = fields.Reference(selection=[('ir.actions.report', 'ir.actions.report'),
diff --git a/odoo/addons/base/ir/ir_ui_menu_view.xml b/flectra/addons/base/ir/ir_ui_menu_view.xml
similarity index 91%
rename from odoo/addons/base/ir/ir_ui_menu_view.xml
rename to flectra/addons/base/ir/ir_ui_menu_view.xml
index 8a42b511e6..8fbb4b821a 100644
--- a/odoo/addons/base/ir/ir_ui_menu_view.xml
+++ b/flectra/addons/base/ir/ir_ui_menu_view.xml
@@ -1,5 +1,5 @@
-
+ir.ui.menu
@@ -66,8 +66,8 @@
{'ir.ui.menu.full_list':True}
- Manage and customize the items available and displayed in your Odoo system menu. You can delete an item by clicking on the box at the beginning of each line and then delete it through the button that appeared. Items can be assigned to specific groups in order to make them accessible to some users within the system.
+ Manage and customize the items available and displayed in your Flectra system menu. You can delete an item by clicking on the box at the beginning of each line and then delete it through the button that appeared. Items can be assigned to specific groups in order to make them accessible to some users within the system.
-
+
diff --git a/odoo/addons/base/ir/ir_ui_view.py b/flectra/addons/base/ir/ir_ui_view.py
similarity index 98%
rename from odoo/addons/base/ir/ir_ui_view.py
rename to flectra/addons/base/ir/ir_ui_view.py
index 301cc01066..b3e9f9c9a8 100644
--- a/odoo/addons/base/ir/ir_ui_view.py
+++ b/flectra/addons/base/ir/ir_ui_view.py
@@ -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.
import ast
import collections
import copy
@@ -21,17 +21,17 @@ from lxml import etree
from lxml.etree import LxmlError
from lxml.builder import E
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.exceptions import ValidationError
-from odoo.http import request
-from odoo.modules.module import get_resource_from_path, get_resource_path
-from odoo.osv import orm
-from odoo.tools import config, graph, ConstantMapping, SKIPPED_ELEMENT_TYPES, pycompat
-from odoo.tools.convert import _fix_multiple_roots
-from odoo.tools.parse_version import parse_version
-from odoo.tools.safe_eval import safe_eval
-from odoo.tools.view_validation import valid_view
-from odoo.tools.translate import xml_translate, TRANSLATED_ATTRS
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.exceptions import ValidationError
+from flectra.http import request
+from flectra.modules.module import get_resource_from_path, get_resource_path
+from flectra.osv import orm
+from flectra.tools import config, graph, ConstantMapping, SKIPPED_ELEMENT_TYPES, pycompat
+from flectra.tools.convert import _fix_multiple_roots
+from flectra.tools.parse_version import parse_version
+from flectra.tools.safe_eval import safe_eval
+from flectra.tools.view_validation import valid_view
+from flectra.tools.translate import xml_translate, TRANSLATED_ATTRS
_logger = logging.getLogger(__name__)
diff --git a/odoo/addons/base/ir/ir_ui_view_view.xml b/flectra/addons/base/ir/ir_ui_view_view.xml
similarity index 98%
rename from odoo/addons/base/ir/ir_ui_view_view.xml
rename to flectra/addons/base/ir/ir_ui_view_view.xml
index f538ae74b0..11177d24f6 100644
--- a/odoo/addons/base/ir/ir_ui_view_view.xml
+++ b/flectra/addons/base/ir/ir_ui_view_view.xml
@@ -1,5 +1,5 @@
-
+ir.ui.view
@@ -90,7 +90,7 @@
ir.ui.view{'search_default_active': 1}
- Views allows you to personalize each view of Odoo. You can add new fields, move fields, rename them or delete the ones that you do not need.
+ Views allows you to personalize each view of Flectra. You can add new fields, move fields, rename them or delete the ones that you do not need.
@@ -136,4 +136,4 @@
-
+
diff --git a/odoo/addons/base/ir/report_ir_model.xml b/flectra/addons/base/ir/report_ir_model.xml
similarity index 99%
rename from odoo/addons/base/ir/report_ir_model.xml
rename to flectra/addons/base/ir/report_ir_model.xml
index 1d64d24652..73c16c7899 100644
--- a/odoo/addons/base/ir/report_ir_model.xml
+++ b/flectra/addons/base/ir/report_ir_model.xml
@@ -1,5 +1,5 @@
-
+
@@ -92,4 +92,4 @@
-
+
diff --git a/odoo/addons/base/module/__init__.py b/flectra/addons/base/module/__init__.py
similarity index 51%
rename from odoo/addons/base/module/__init__.py
rename to flectra/addons/base/module/__init__.py
index e455df1518..abe25f5530 100644
--- a/odoo/addons/base/module/__init__.py
+++ b/flectra/addons/base/module/__init__.py
@@ -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 module
from . import wizard
diff --git a/odoo/addons/base/module/module.py b/flectra/addons/base/module/module.py
similarity index 97%
rename from odoo/addons/base/module/module.py
rename to flectra/addons/base/module/module.py
index 073eedfb53..87f93d9e16 100644
--- a/odoo/addons/base/module/module.py
+++ b/flectra/addons/base/module/module.py
@@ -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.
import base64
from collections import defaultdict
from decorator import decorator
@@ -14,7 +14,7 @@ import zipfile
import requests
-from odoo.tools import pycompat
+from flectra.tools import pycompat
from docutils import nodes
from docutils.core import publish_string
@@ -22,12 +22,12 @@ from docutils.transforms import Transform, writer_aux
from docutils.writers.html4css1 import Writer
import lxml.html
-import odoo
-from odoo import api, fields, models, modules, tools, _
-from odoo.exceptions import AccessDenied, UserError
-from odoo.tools.parse_version import parse_version
-from odoo.tools.misc import topological_sort
-from odoo.http import request
+import flectra
+from flectra import api, fields, models, modules, tools, _
+from flectra.exceptions import AccessDenied, UserError
+from flectra.tools.parse_version import parse_version
+from flectra.tools.misc import topological_sort
+from flectra.http import request
_logger = logging.getLogger(__name__)
@@ -282,8 +282,8 @@ class Module(models.Model):
('AGPL-3', 'Affero GPL-3'),
('LGPL-3', 'LGPL Version 3'),
('Other OSI approved licence', 'Other OSI Approved Licence'),
- ('OEEL-1', 'Odoo Enterprise Edition License v1.0'),
- ('OPL-1', 'Odoo Proprietary License v1.0'),
+ ('OEEL-1', 'Flectra Enterprise Edition License v1.0'),
+ ('OPL-1', 'Flectra Proprietary License v1.0'),
('Other proprietary', 'Other Proprietary')
], string='License', default='LGPL-3', readonly=True)
menus_by_module = fields.Text(string='Menus', compute='_get_views', store=True)
@@ -735,7 +735,7 @@ class Module(models.Model):
apps_server = urls.url_parse(self.get_apps_server())
- OPENERP = odoo.release.product_name.lower()
+ OPENERP = flectra.release.product_name.lower()
tmp = tempfile.mkdtemp()
_logger.debug('Install from url: %r', urls)
try:
@@ -777,16 +777,16 @@ class Module(models.Model):
# extract path is not the same
base_path = os.path.dirname(modules.get_module_path('base'))
- # copy all modules in the SERVER/odoo/addons directory to the new "odoo" module (except base itself)
+ # copy all modules in the SERVER/flectra/addons directory to the new "flectra" module (except base itself)
for d in os.listdir(base_path):
if d != 'base' and os.path.isdir(os.path.join(base_path, d)):
- destdir = os.path.join(tmp, OPENERP, 'addons', d) # XXX 'odoo' subdirectory ?
+ destdir = os.path.join(tmp, OPENERP, 'addons', d) # XXX 'flectra' subdirectory ?
shutil.copytree(os.path.join(base_path, d), destdir)
# then replace the server by the new "base" module
server_dir = tools.config['root_path'] # XXX or dirname()
bck = backup(server_dir)
- _logger.info('Copy downloaded module `odoo` to `%s`', server_dir)
+ _logger.info('Copy downloaded module `flectra` to `%s`', server_dir)
shutil.move(os.path.join(tmp, OPENERP), server_dir)
#if bck:
# shutil.rmtree(bck)
@@ -803,7 +803,7 @@ class Module(models.Model):
if installed or to_install:
# in this case, force server restart to reload python code...
self._cr.commit()
- odoo.service.server.restart()
+ flectra.service.server.restart()
return {
'type': 'ir.actions.client',
'tag': 'home',
@@ -816,7 +816,7 @@ class Module(models.Model):
@api.model
def get_apps_server(self):
- return tools.config.get('apps_server', 'https://apps.odoo.com/apps')
+ return tools.config.get('apps_server', 'https://apps.flectra.com/apps')
def _update_dependencies(self, depends=None):
existing = set(dep.name for dep in self.dependencies_id)
diff --git a/odoo/addons/base/module/module_data.xml b/flectra/addons/base/module/module_data.xml
similarity index 99%
rename from odoo/addons/base/module/module_data.xml
rename to flectra/addons/base/module/module_data.xml
index 9eb3c21828..b4f125bd7b 100644
--- a/odoo/addons/base/module/module_data.xml
+++ b/flectra/addons/base/module/module_data.xml
@@ -1,5 +1,5 @@
-
+Technical Settings
@@ -213,4 +213,4 @@
-
+
diff --git a/odoo/addons/base/module/module_report.xml b/flectra/addons/base/module/module_report.xml
similarity index 94%
rename from odoo/addons/base/module/module_report.xml
rename to flectra/addons/base/module/module_report.xml
index bf1acbcd7d..b2edf23f8a 100644
--- a/odoo/addons/base/module/module_report.xml
+++ b/flectra/addons/base/module/module_report.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/odoo/addons/base/module/module_view.xml b/flectra/addons/base/module/module_view.xml
similarity index 99%
rename from odoo/addons/base/module/module_view.xml
rename to flectra/addons/base/module/module_view.xml
index 577aeacd87..c00c0a083f 100644
--- a/odoo/addons/base/module/module_view.xml
+++ b/flectra/addons/base/module/module_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -205,4 +205,4 @@
-
+
diff --git a/flectra/addons/base/module/report/__init__.py b/flectra/addons/base/module/report/__init__.py
new file mode 100644
index 0000000000..768e6ee63a
--- /dev/null
+++ b/flectra/addons/base/module/report/__init__.py
@@ -0,0 +1,4 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
+
+from . import ir_module_reference_print
diff --git a/odoo/addons/base/module/report/ir_module_reference_print.py b/flectra/addons/base/module/report/ir_module_reference_print.py
similarity index 92%
rename from odoo/addons/base/module/report/ir_module_reference_print.py
rename to flectra/addons/base/module/report/ir_module_reference_print.py
index 0363264415..8d3d12f016 100644
--- a/odoo/addons/base/module/report/ir_module_reference_print.py
+++ b/flectra/addons/base/module/report/ir_module_reference_print.py
@@ -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 api, models
+from flectra import api, models
class IrModelReferenceReport(models.AbstractModel):
diff --git a/odoo/addons/base/module/report/report_ir_module_reference.xml b/flectra/addons/base/module/report/report_ir_module_reference.xml
similarity index 99%
rename from odoo/addons/base/module/report/report_ir_module_reference.xml
rename to flectra/addons/base/module/report/report_ir_module_reference.xml
index 2fab9748cc..02e9946c3f 100644
--- a/odoo/addons/base/module/report/report_ir_module_reference.xml
+++ b/flectra/addons/base/module/report/report_ir_module_reference.xml
@@ -1,5 +1,5 @@
-
+
@@ -65,4 +65,4 @@
-
+
diff --git a/odoo/addons/base/module/wizard/__init__.py b/flectra/addons/base/module/wizard/__init__.py
similarity index 76%
rename from odoo/addons/base/module/wizard/__init__.py
rename to flectra/addons/base/module/wizard/__init__.py
index ece1521da8..fafb8a9797 100644
--- a/odoo/addons/base/module/wizard/__init__.py
+++ b/flectra/addons/base/module/wizard/__init__.py
@@ -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 base_module_update
from . import base_language_install
diff --git a/odoo/addons/base/module/wizard/base_export_language.py b/flectra/addons/base/module/wizard/base_export_language.py
similarity index 94%
rename from odoo/addons/base/module/wizard/base_export_language.py
rename to flectra/addons/base/module/wizard/base_export_language.py
index 50c57bb870..03ccd4832e 100644
--- a/odoo/addons/base/module/wizard/base_export_language.py
+++ b/flectra/addons/base/module/wizard/base_export_language.py
@@ -1,11 +1,11 @@
# -*- 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.
import base64
import contextlib
import io
-from odoo import api, fields, models, tools, _
+from flectra import api, fields, models, tools, _
NEW_LANG_KEY = '__new__'
diff --git a/odoo/addons/base/module/wizard/base_export_language_view.xml b/flectra/addons/base/module/wizard/base_export_language_view.xml
similarity index 93%
rename from odoo/addons/base/module/wizard/base_export_language_view.xml
rename to flectra/addons/base/module/wizard/base_export_language_view.xml
index e5b591604f..a64e29596e 100644
--- a/odoo/addons/base/module/wizard/base_export_language_view.xml
+++ b/flectra/addons/base/module/wizard/base_export_language_view.xml
@@ -1,5 +1,5 @@
-
+Export Translations
@@ -25,11 +25,11 @@
PO(T) format: you should edit it with a PO editor such as
POEdit, or your preferred text editor
TGZ format: this is a compressed archive containing a PO file, directly suitable
- for uploading to Odoo's translation platform,
+ for uploading to Flectra's translation platform,
Launchpad
-
For more details about translating Odoo in your language, please refer to the
+
For more details about translating Flectra in your language, please refer to the
documentation.
+
diff --git a/odoo/addons/base/module/wizard/base_import_language.py b/flectra/addons/base/module/wizard/base_import_language.py
similarity index 90%
rename from odoo/addons/base/module/wizard/base_import_language.py
rename to flectra/addons/base/module/wizard/base_import_language.py
index aea906b8dc..aa444781ab 100644
--- a/odoo/addons/base/module/wizard/base_import_language.py
+++ b/flectra/addons/base/module/wizard/base_import_language.py
@@ -1,13 +1,13 @@
# -*- 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.
import base64
import logging
import os
from tempfile import TemporaryFile
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError
_logger = logging.getLogger(__name__)
diff --git a/odoo/addons/base/module/wizard/base_import_language_view.xml b/flectra/addons/base/module/wizard/base_import_language_view.xml
similarity index 98%
rename from odoo/addons/base/module/wizard/base_import_language_view.xml
rename to flectra/addons/base/module/wizard/base_import_language_view.xml
index 7fb452f485..7f24202fcc 100644
--- a/odoo/addons/base/module/wizard/base_import_language_view.xml
+++ b/flectra/addons/base/module/wizard/base_import_language_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -37,4 +37,4 @@
parent="menu_translation_export"/>
-
+
diff --git a/odoo/addons/base/module/wizard/base_language_install.py b/flectra/addons/base/module/wizard/base_language_install.py
similarity index 93%
rename from odoo/addons/base/module/wizard/base_language_install.py
rename to flectra/addons/base/module/wizard/base_language_install.py
index 438803ee38..fe69ebeae2 100644
--- a/odoo/addons/base/module/wizard/base_language_install.py
+++ b/flectra/addons/base/module/wizard/base_language_install.py
@@ -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 api, fields, models, _
+from flectra import api, fields, models, _
class BaseLanguageInstall(models.TransientModel):
diff --git a/odoo/addons/base/module/wizard/base_language_install_view.xml b/flectra/addons/base/module/wizard/base_language_install_view.xml
similarity index 98%
rename from odoo/addons/base/module/wizard/base_language_install_view.xml
rename to flectra/addons/base/module/wizard/base_language_install_view.xml
index 2171276b3b..bd87b05cd1 100644
--- a/odoo/addons/base/module/wizard/base_language_install_view.xml
+++ b/flectra/addons/base/module/wizard/base_language_install_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -42,5 +42,5 @@ You must change the preferences of the user to view the changes."/>
id="menu_view_base_language_install"
parent="menu_translation" sequence="2"/>
-
+
diff --git a/odoo/addons/base/module/wizard/base_module_immediate_install.xml b/flectra/addons/base/module/wizard/base_module_immediate_install.xml
similarity index 96%
rename from odoo/addons/base/module/wizard/base_module_immediate_install.xml
rename to flectra/addons/base/module/wizard/base_module_immediate_install.xml
index 09f7ed5366..dd1eb3c7d8 100644
--- a/odoo/addons/base/module/wizard/base_module_immediate_install.xml
+++ b/flectra/addons/base/module/wizard/base_module_immediate_install.xml
@@ -1,5 +1,5 @@
-
+Base: Module Immediate Install
@@ -10,4 +10,4 @@
records.button_immediate_install()
-
+
diff --git a/odoo/addons/base/module/wizard/base_module_uninstall.py b/flectra/addons/base/module/wizard/base_module_uninstall.py
similarity index 94%
rename from odoo/addons/base/module/wizard/base_module_uninstall.py
rename to flectra/addons/base/module/wizard/base_module_uninstall.py
index 1168e57341..79985a5981 100644
--- a/odoo/addons/base/module/wizard/base_module_uninstall.py
+++ b/flectra/addons/base/module/wizard/base_module_uninstall.py
@@ -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 api, fields, models
+from flectra import api, fields, models
class BaseModuleUninstall(models.TransientModel):
diff --git a/odoo/addons/base/module/wizard/base_module_uninstall_view.xml b/flectra/addons/base/module/wizard/base_module_uninstall_view.xml
similarity index 99%
rename from odoo/addons/base/module/wizard/base_module_uninstall_view.xml
rename to flectra/addons/base/module/wizard/base_module_uninstall_view.xml
index 43da6a2bcd..072cafce92 100644
--- a/odoo/addons/base/module/wizard/base_module_uninstall_view.xml
+++ b/flectra/addons/base/module/wizard/base_module_uninstall_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -49,4 +49,4 @@
-
+
diff --git a/odoo/addons/base/module/wizard/base_module_update.py b/flectra/addons/base/module/wizard/base_module_update.py
similarity index 96%
rename from odoo/addons/base/module/wizard/base_module_update.py
rename to flectra/addons/base/module/wizard/base_module_update.py
index 47de6ed7bf..0f4b549de6 100644
--- a/odoo/addons/base/module/wizard/base_module_update.py
+++ b/flectra/addons/base/module/wizard/base_module_update.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from odoo import api, fields, models
+from flectra import api, fields, models
class BaseModuleUpdate(models.TransientModel):
diff --git a/odoo/addons/base/module/wizard/base_module_update_view.xml b/flectra/addons/base/module/wizard/base_module_update_view.xml
similarity index 99%
rename from odoo/addons/base/module/wizard/base_module_update_view.xml
rename to flectra/addons/base/module/wizard/base_module_update_view.xml
index c50d1a261a..69465276de 100644
--- a/odoo/addons/base/module/wizard/base_module_update_view.xml
+++ b/flectra/addons/base/module/wizard/base_module_update_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -49,4 +49,4 @@
icon="fa-exchange"/>
-
+
diff --git a/odoo/addons/base/module/wizard/base_module_upgrade.py b/flectra/addons/base/module/wizard/base_module_upgrade.py
similarity index 92%
rename from odoo/addons/base/module/wizard/base_module_upgrade.py
rename to flectra/addons/base/module/wizard/base_module_upgrade.py
index bd0875d1cb..ef66d9560b 100644
--- a/odoo/addons/base/module/wizard/base_module_upgrade.py
+++ b/flectra/addons/base/module/wizard/base_module_upgrade.py
@@ -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.
-import odoo
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
+import flectra
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
class BaseModuleUpgrade(models.TransientModel):
@@ -73,7 +73,7 @@ class BaseModuleUpgrade(models.TransientModel):
# terminate transaction before re-creating cursor below
self._cr.commit()
api.Environment.reset()
- odoo.modules.registry.Registry.new(self._cr.dbname, update_module=True)
+ flectra.modules.registry.Registry.new(self._cr.dbname, update_module=True)
return {'type': 'ir.actions.act_window_close'}
diff --git a/odoo/addons/base/module/wizard/base_module_upgrade_view.xml b/flectra/addons/base/module/wizard/base_module_upgrade_view.xml
similarity index 99%
rename from odoo/addons/base/module/wizard/base_module_upgrade_view.xml
rename to flectra/addons/base/module/wizard/base_module_upgrade_view.xml
index 63c85fbe7a..f572e4ee57 100644
--- a/odoo/addons/base/module/wizard/base_module_upgrade_view.xml
+++ b/flectra/addons/base/module/wizard/base_module_upgrade_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -64,4 +64,4 @@
-
+
diff --git a/odoo/addons/base/module/wizard/base_update_translations.py b/flectra/addons/base/module/wizard/base_update_translations.py
similarity index 85%
rename from odoo/addons/base/module/wizard/base_update_translations.py
rename to flectra/addons/base/module/wizard/base_update_translations.py
index f9c9c0c855..d73ed8fd27 100644
--- a/odoo/addons/base/module/wizard/base_update_translations.py
+++ b/flectra/addons/base/module/wizard/base_update_translations.py
@@ -1,11 +1,11 @@
# -*- 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.
import contextlib
import io
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import UserError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import UserError
class BaseUpdateTranslations(models.TransientModel):
diff --git a/odoo/addons/base/module/wizard/base_update_translations_view.xml b/flectra/addons/base/module/wizard/base_update_translations_view.xml
similarity index 98%
rename from odoo/addons/base/module/wizard/base_update_translations_view.xml
rename to flectra/addons/base/module/wizard/base_update_translations_view.xml
index 42baf0b04a..c8ddfe7bde 100644
--- a/odoo/addons/base/module/wizard/base_update_translations_view.xml
+++ b/flectra/addons/base/module/wizard/base_update_translations_view.xml
@@ -1,5 +1,5 @@
-
+Generate Missing Terms
@@ -27,4 +27,4 @@
-
+
diff --git a/odoo/addons/base/report/corporate_defaults.xml b/flectra/addons/base/report/corporate_defaults.xml
similarity index 100%
rename from odoo/addons/base/report/corporate_defaults.xml
rename to flectra/addons/base/report/corporate_defaults.xml
diff --git a/odoo/addons/base/report/corporate_defaults.xsl b/flectra/addons/base/report/corporate_defaults.xsl
similarity index 100%
rename from odoo/addons/base/report/corporate_defaults.xsl
rename to flectra/addons/base/report/corporate_defaults.xsl
diff --git a/odoo/addons/base/report/corporate_odt_header.xml b/flectra/addons/base/report/corporate_odt_header.xml
similarity index 100%
rename from odoo/addons/base/report/corporate_odt_header.xml
rename to flectra/addons/base/report/corporate_odt_header.xml
diff --git a/odoo/addons/base/report/corporate_sxw_header.xml b/flectra/addons/base/report/corporate_sxw_header.xml
similarity index 100%
rename from odoo/addons/base/report/corporate_sxw_header.xml
rename to flectra/addons/base/report/corporate_sxw_header.xml
diff --git a/odoo/addons/base/report/custom_default_printscreen.xsl b/flectra/addons/base/report/custom_default_printscreen.xsl
similarity index 100%
rename from odoo/addons/base/report/custom_default_printscreen.xsl
rename to flectra/addons/base/report/custom_default_printscreen.xsl
diff --git a/odoo/addons/base/report/custom_new.xsl b/flectra/addons/base/report/custom_new.xsl
similarity index 100%
rename from odoo/addons/base/report/custom_new.xsl
rename to flectra/addons/base/report/custom_new.xsl
diff --git a/odoo/addons/base/report/custom_report.xml b/flectra/addons/base/report/custom_report.xml
similarity index 72%
rename from odoo/addons/base/report/custom_report.xml
rename to flectra/addons/base/report/custom_report.xml
index 5adc2ab291..af5217c31d 100644
--- a/odoo/addons/base/report/custom_report.xml
+++ b/flectra/addons/base/report/custom_report.xml
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/odoo/addons/base/report/custom_rml_printscreen.xsl b/flectra/addons/base/report/custom_rml_printscreen.xsl
similarity index 100%
rename from odoo/addons/base/report/custom_rml_printscreen.xsl
rename to flectra/addons/base/report/custom_rml_printscreen.xsl
diff --git a/odoo/addons/base/report/custom_view.xml b/flectra/addons/base/report/custom_view.xml
similarity index 74%
rename from odoo/addons/base/report/custom_view.xml
rename to flectra/addons/base/report/custom_view.xml
index 6f6c033aa8..6ebcdb5e5a 100644
--- a/odoo/addons/base/report/custom_view.xml
+++ b/flectra/addons/base/report/custom_view.xml
@@ -1,5 +1,5 @@
-
+
-
+
diff --git a/odoo/addons/base/report/mako_footer.html b/flectra/addons/base/report/mako_footer.html
similarity index 100%
rename from odoo/addons/base/report/mako_footer.html
rename to flectra/addons/base/report/mako_footer.html
diff --git a/odoo/addons/base/report/mako_header.html b/flectra/addons/base/report/mako_header.html
similarity index 100%
rename from odoo/addons/base/report/mako_header.html
rename to flectra/addons/base/report/mako_header.html
diff --git a/odoo/addons/base/report/mako_template.css b/flectra/addons/base/report/mako_template.css
similarity index 100%
rename from odoo/addons/base/report/mako_template.css
rename to flectra/addons/base/report/mako_template.css
diff --git a/odoo/addons/base/res/__init__.py b/flectra/addons/base/res/__init__.py
similarity index 78%
rename from odoo/addons/base/res/__init__.py
rename to flectra/addons/base/res/__init__.py
index 1fdc67e249..81dce3b530 100644
--- a/odoo/addons/base/res/__init__.py
+++ b/flectra/addons/base/res/__init__.py
@@ -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 report_paperformat
from . import res_country
diff --git a/odoo/addons/base/res/ir_property.py b/flectra/addons/base/res/ir_property.py
similarity index 98%
rename from odoo/addons/base/res/ir_property.py
rename to flectra/addons/base/res/ir_property.py
index 99b63a9588..4dcdc53e70 100644
--- a/odoo/addons/base/res/ir_property.py
+++ b/flectra/addons/base/res/ir_property.py
@@ -1,11 +1,11 @@
# -*- 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 operator import itemgetter
-from odoo import api, fields, models, _
-from odoo.exceptions import UserError
-from odoo.tools import pycompat
+from flectra import api, fields, models, _
+from flectra.exceptions import UserError
+from flectra.tools import pycompat
TYPE2FIELD = {
'char': 'value_text',
diff --git a/odoo/addons/base/res/ir_property_view.xml b/flectra/addons/base/res/ir_property_view.xml
similarity index 99%
rename from odoo/addons/base/res/ir_property_view.xml
rename to flectra/addons/base/res/ir_property_view.xml
index 5b12a53ea3..e19a444c1f 100644
--- a/odoo/addons/base/res/ir_property_view.xml
+++ b/flectra/addons/base/res/ir_property_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -64,4 +64,4 @@
-
+
diff --git a/odoo/addons/base/res/report_paperformat.py b/flectra/addons/base/res/report_paperformat.py
similarity index 94%
rename from odoo/addons/base/res/report_paperformat.py
rename to flectra/addons/base/res/report_paperformat.py
index 08235f3060..05f0883d48 100644
--- a/odoo/addons/base/res/report_paperformat.py
+++ b/flectra/addons/base/res/report_paperformat.py
@@ -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 api, fields, models, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, _
+from flectra.exceptions import ValidationError
class report_paperformat(models.Model):
_name = "report.paperformat"
diff --git a/odoo/addons/base/res/report_paperformat_views.xml b/flectra/addons/base/res/report_paperformat_views.xml
similarity index 99%
rename from odoo/addons/base/res/report_paperformat_views.xml
rename to flectra/addons/base/res/report_paperformat_views.xml
index 1f48320d08..857808aafc 100644
--- a/odoo/addons/base/res/report_paperformat_views.xml
+++ b/flectra/addons/base/res/report_paperformat_views.xml
@@ -1,5 +1,5 @@
-
+
@@ -70,4 +70,4 @@
groups="base.group_no_one"
/>
-
+
diff --git a/odoo/addons/base/res/res.country.state.csv b/flectra/addons/base/res/res.country.state.csv
similarity index 100%
rename from odoo/addons/base/res/res.country.state.csv
rename to flectra/addons/base/res/res.country.state.csv
diff --git a/odoo/addons/base/res/res.lang.csv b/flectra/addons/base/res/res.lang.csv
similarity index 100%
rename from odoo/addons/base/res/res.lang.csv
rename to flectra/addons/base/res/res.lang.csv
diff --git a/odoo/addons/base/res/res_bank.py b/flectra/addons/base/res/res_bank.py
similarity index 97%
rename from odoo/addons/base/res/res_bank.py
rename to flectra/addons/base/res/res_bank.py
index 5a397fcc83..5a65491e0d 100644
--- a/odoo/addons/base/res/res_bank.py
+++ b/flectra/addons/base/res/res_bank.py
@@ -4,9 +4,9 @@ import re
import collections
-from odoo import api, fields, models
-from odoo.osv import expression
-from odoo.tools import pycompat
+from flectra import api, fields, models
+from flectra.osv import expression
+from flectra.tools import pycompat
def sanitize_account_number(acc_number):
diff --git a/odoo/addons/base/res/res_bank_demo.xml b/flectra/addons/base/res/res_bank_demo.xml
similarity index 96%
rename from odoo/addons/base/res/res_bank_demo.xml
rename to flectra/addons/base/res/res_bank_demo.xml
index bd563fc68a..366bcde3e8 100644
--- a/odoo/addons/base/res/res_bank_demo.xml
+++ b/flectra/addons/base/res/res_bank_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -18,4 +18,4 @@
-
+
diff --git a/odoo/addons/base/res/res_bank_view.xml b/flectra/addons/base/res/res_bank_view.xml
similarity index 99%
rename from odoo/addons/base/res/res_bank_view.xml
rename to flectra/addons/base/res/res_bank_view.xml
index 8453b2f5e8..1e129ec4b8 100644
--- a/odoo/addons/base/res/res_bank_view.xml
+++ b/flectra/addons/base/res/res_bank_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -109,5 +109,5 @@
-
+
diff --git a/odoo/addons/base/res/res_company.py b/flectra/addons/base/res/res_company.py
similarity index 98%
rename from odoo/addons/base/res/res_company.py
rename to flectra/addons/base/res/res_company.py
index 88e1adfc66..851f13e3de 100644
--- a/odoo/addons/base/res/res_company.py
+++ b/flectra/addons/base/res/res_company.py
@@ -1,11 +1,11 @@
# -*- 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.
import base64
import os
import re
-from odoo import api, fields, models, tools, _
-from odoo.exceptions import ValidationError
+from flectra import api, fields, models, tools, _
+from flectra.exceptions import ValidationError
class Company(models.Model):
diff --git a/odoo/addons/base/res/res_company_logo.png b/flectra/addons/base/res/res_company_logo.png
similarity index 100%
rename from odoo/addons/base/res/res_company_logo.png
rename to flectra/addons/base/res/res_company_logo.png
diff --git a/odoo/addons/base/res/res_company_view.xml b/flectra/addons/base/res/res_company_view.xml
similarity index 98%
rename from odoo/addons/base/res/res_company_view.xml
rename to flectra/addons/base/res/res_company_view.xml
index 895f84526a..766e5ee42f 100644
--- a/odoo/addons/base/res/res_company_view.xml
+++ b/flectra/addons/base/res/res_company_view.xml
@@ -1,5 +1,5 @@
-
+res.company.form
@@ -31,7 +31,7 @@
-
+
@@ -110,7 +110,7 @@
res.companyformtree,kanban,form
- Create and manage the companies that will be managed by Odoo from here. Shops or subsidiaries can be created and maintained from here.
+ Create and manage the companies that will be managed by Flectra from here. Shops or subsidiaries can be created and maintained from here.
@@ -178,4 +178,4 @@
-
+
diff --git a/odoo/addons/base/res/res_config.py b/flectra/addons/base/res/res_config.py
similarity index 98%
rename from odoo/addons/base/res/res_config.py
rename to flectra/addons/base/res/res_config.py
index d1efaa5c91..2b5edeab5a 100644
--- a/odoo/addons/base/res/res_config.py
+++ b/flectra/addons/base/res/res_config.py
@@ -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.
import json
import logging
import re
@@ -7,9 +7,9 @@ import re
from operator import attrgetter, add
from lxml import etree
-from odoo import api, models, registry, SUPERUSER_ID, _
-from odoo.exceptions import AccessError, RedirectWarning, UserError
-from odoo.tools import ustr
+from flectra import api, models, registry, SUPERUSER_ID, _
+from flectra.exceptions import AccessError, RedirectWarning, UserError
+from flectra.tools import ustr
_logger = logging.getLogger(__name__)
@@ -633,7 +633,7 @@ class ResConfigSettings(models.TransientModel, ResConfigModuleInstallationMixin)
Example of use:
---------------
- from odoo.addons.base.res.res_config import get_warning_config
+ from flectra.addons.base.res.res_config import get_warning_config
raise get_warning_config(cr, _("Error: this action is prohibited. You should check the field %(field:sale.config.settings.fetchmail_lead)s in %(menu:sales_team.menu_sale_config)s."), context=context)
This will return an exception containing the following message:
diff --git a/odoo/addons/base/res/res_config.xml b/flectra/addons/base/res/res_config.xml
similarity index 98%
rename from odoo/addons/base/res/res_config.xml
rename to flectra/addons/base/res/res_config.xml
index d4c3d760c0..d4aa04e3e3 100644
--- a/odoo/addons/base/res/res_config.xml
+++ b/flectra/addons/base/res/res_config.xml
@@ -1,5 +1,5 @@
-
+
@@ -31,4 +31,4 @@
-
+
diff --git a/odoo/addons/base/res/res_config_settings_views.xml b/flectra/addons/base/res/res_config_settings_views.xml
similarity index 98%
rename from odoo/addons/base/res/res_config_settings_views.xml
rename to flectra/addons/base/res/res_config_settings_views.xml
index 0f130d3ce1..3725fac781 100644
--- a/odoo/addons/base/res/res_config_settings_views.xml
+++ b/flectra/addons/base/res/res_config_settings_views.xml
@@ -1,5 +1,5 @@
-
+res.config.settings.view.form
@@ -36,4 +36,4 @@
inline
-
+
diff --git a/odoo/addons/base/res/res_country.py b/flectra/addons/base/res/res_country.py
similarity index 97%
rename from odoo/addons/base/res/res_country.py
rename to flectra/addons/base/res/res_country.py
index a3984155b4..a83fe9dd46 100644
--- a/odoo/addons/base/res/res_country.py
+++ b/flectra/addons/base/res/res_country.py
@@ -1,11 +1,11 @@
# -*- 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.
import re
import logging
-from odoo import api, fields, models
+from flectra import api, fields, models
from psycopg2 import IntegrityError
-from odoo.tools.translate import _
+from flectra.tools.translate import _
_logger = logging.getLogger(__name__)
diff --git a/odoo/addons/base/res/res_country_data.xml b/flectra/addons/base/res/res_country_data.xml
similarity index 99%
rename from odoo/addons/base/res/res_country_data.xml
rename to flectra/addons/base/res/res_country_data.xml
index 031af455c5..03057b57ae 100644
--- a/odoo/addons/base/res/res_country_data.xml
+++ b/flectra/addons/base/res/res_country_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -1801,4 +1801,4 @@
ref('py'),ref('pe'),ref('sr'),ref('uy'),ref('ve')])]"/>
-
+
diff --git a/odoo/addons/base/res/res_country_view.xml b/flectra/addons/base/res/res_country_view.xml
similarity index 99%
rename from odoo/addons/base/res/res_country_view.xml
rename to flectra/addons/base/res/res_country_view.xml
index aede3731c9..d766e27e5c 100644
--- a/odoo/addons/base/res/res_country_view.xml
+++ b/flectra/addons/base/res/res_country_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -1528,4 +1528,4 @@
-
+
diff --git a/odoo/addons/base/res/res_currency_demo.xml b/flectra/addons/base/res/res_currency_demo.xml
similarity index 99%
rename from odoo/addons/base/res/res_currency_demo.xml
rename to flectra/addons/base/res/res_currency_demo.xml
index 8ca63297a3..4e19bfc890 100644
--- a/odoo/addons/base/res/res_currency_demo.xml
+++ b/flectra/addons/base/res/res_currency_demo.xml
@@ -1,5 +1,5 @@
-
+
@@ -1022,4 +1022,4 @@
-
+
diff --git a/odoo/addons/base/res/res_currency_view.xml b/flectra/addons/base/res/res_currency_view.xml
similarity index 99%
rename from odoo/addons/base/res/res_currency_view.xml
rename to flectra/addons/base/res/res_currency_view.xml
index 37e6ff3192..8ded5b32dc 100644
--- a/odoo/addons/base/res/res_currency_view.xml
+++ b/flectra/addons/base/res/res_currency_view.xml
@@ -1,5 +1,5 @@
-
+res.currency.rate.search
@@ -199,4 +199,4 @@
-
+
diff --git a/odoo/addons/base/res/res_lang.py b/flectra/addons/base/res/res_lang.py
similarity index 97%
rename from odoo/addons/base/res/res_lang.py
rename to flectra/addons/base/res/res_lang.py
index 38737df2cb..0dde173d1e 100644
--- a/odoo/addons/base/res/res_lang.py
+++ b/flectra/addons/base/res/res_lang.py
@@ -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.
import json
import locale
@@ -7,9 +7,9 @@ import logging
import re
from operator import itemgetter
-from odoo import api, fields, models, tools, _
-from odoo.tools.safe_eval import safe_eval
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, tools, _
+from flectra.tools.safe_eval import safe_eval
+from flectra.exceptions import UserError, ValidationError
_logger = logging.getLogger(__name__)
@@ -151,7 +151,7 @@ class Lang(models.Model):
def install_lang(self):
"""
- This method is called from odoo/addons/base/base_data.xml to load
+ This method is called from flectra/addons/base/base_data.xml to load
some language and set it as the default for every partners. The
language is set via tools.config by the RPC 'create' method on the
'db' object. This is a fragile solution and something else should be
diff --git a/odoo/addons/base/res/res_lang_view.xml b/flectra/addons/base/res/res_lang_view.xml
similarity index 99%
rename from odoo/addons/base/res/res_lang_view.xml
rename to flectra/addons/base/res/res_lang_view.xml
index 6e8eed8d4a..e6d02bcdf2 100644
--- a/odoo/addons/base/res/res_lang_view.xml
+++ b/flectra/addons/base/res/res_lang_view.xml
@@ -1,5 +1,5 @@
-
+res.lang.tree
@@ -104,4 +104,4 @@
-
+
diff --git a/odoo/addons/base/res/res_partner.py b/flectra/addons/base/res/res_partner.py
similarity index 99%
rename from odoo/addons/base/res/res_partner.py
rename to flectra/addons/base/res/res_partner.py
index 16c308e7fb..32ac338d22 100644
--- a/odoo/addons/base/res/res_partner.py
+++ b/flectra/addons/base/res/res_partner.py
@@ -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.
import base64
import datetime
@@ -13,10 +13,10 @@ import requests
from lxml import etree
from werkzeug import urls
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.modules import get_module_resource
-from odoo.osv.expression import get_unaccent_wrapper
-from odoo.exceptions import UserError, ValidationError
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.modules import get_module_resource
+from flectra.osv.expression import get_unaccent_wrapper
+from flectra.exceptions import UserError, ValidationError
# Global variables used for the warning fields declared on the res.partner
# in the following modules : sale, purchase, account, stock
diff --git a/odoo/addons/base/res/res_partner_data.xml b/flectra/addons/base/res/res_partner_data.xml
similarity index 99%
rename from odoo/addons/base/res/res_partner_data.xml
rename to flectra/addons/base/res/res_partner_data.xml
index 41270c92e5..1aaedbee92 100644
--- a/odoo/addons/base/res/res_partner_data.xml
+++ b/flectra/addons/base/res/res_partner_data.xml
@@ -1,5 +1,5 @@
-
+
@@ -114,7 +114,7 @@
-
+
@@ -254,7 +254,7 @@
-
+
@@ -502,7 +502,7 @@
Click to add a contact in your address book.
- Odoo helps you easily track all activities related to
+ Flectra helps you easily track all activities related to
a customer: discussions, history of business opportunities,
documents, etc.
@@ -540,7 +540,7 @@
Click to add a contact in your address book.
- Odoo helps you easily track all activities related to
+ Flectra helps you easily track all activities related to
a customer: discussions, history of business opportunities,
documents, etc.
@@ -578,7 +578,7 @@
Click to add a contact in your address book.
- Odoo helps you easily track all activities related to
+ Flectra helps you easily track all activities related to
a supplier: discussions, history of purchases,
documents, etc.
@@ -705,4 +705,4 @@
-
+
diff --git a/odoo/addons/base/res/res_request.py b/flectra/addons/base/res/res_request.py
similarity index 75%
rename from odoo/addons/base/res/res_request.py
rename to flectra/addons/base/res/res_request.py
index a101f0945c..bed1662306 100644
--- a/odoo/addons/base/res/res_request.py
+++ b/flectra/addons/base/res/res_request.py
@@ -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 api, fields, models
+from flectra import api, fields, models
@api.model
diff --git a/odoo/addons/base/res/res_request_view.xml b/flectra/addons/base/res/res_request_view.xml
similarity index 99%
rename from odoo/addons/base/res/res_request_view.xml
rename to flectra/addons/base/res/res_request_view.xml
index f347844e07..18626e4cfb 100644
--- a/odoo/addons/base/res/res_request_view.xml
+++ b/flectra/addons/base/res/res_request_view.xml
@@ -1,5 +1,5 @@
-
+res.request.link.form
@@ -46,4 +46,4 @@
-
+
diff --git a/odoo/addons/base/res/res_security.xml b/flectra/addons/base/res/res_security.xml
similarity index 99%
rename from odoo/addons/base/res/res_security.xml
rename to flectra/addons/base/res/res_security.xml
index a442f3cbbf..29a2ae28ad 100644
--- a/odoo/addons/base/res/res_security.xml
+++ b/flectra/addons/base/res/res_security.xml
@@ -1,5 +1,5 @@
-
+
@@ -41,4 +41,4 @@
-
+
diff --git a/odoo/addons/base/res/res_users.py b/flectra/addons/base/res/res_users.py
similarity index 98%
rename from odoo/addons/base/res/res_users.py
rename to flectra/addons/base/res/res_users.py
index 53a3438b21..e488b72d78 100644
--- a/odoo/addons/base/res/res_users.py
+++ b/flectra/addons/base/res/res_users.py
@@ -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.
import pytz
import datetime
import itertools
@@ -10,11 +10,11 @@ from itertools import chain, repeat
from lxml import etree
from lxml.builder import E
-from odoo import api, fields, models, tools, SUPERUSER_ID, _
-from odoo.exceptions import AccessDenied, AccessError, UserError, ValidationError
-from odoo.osv import expression
-from odoo.service.db import check_super
-from odoo.tools import partition, pycompat
+from flectra import api, fields, models, tools, SUPERUSER_ID, _
+from flectra.exceptions import AccessDenied, AccessError, UserError, ValidationError
+from flectra.osv import expression
+from flectra.service.db import check_super
+from flectra.tools import partition, pycompat
_logger = logging.getLogger(__name__)
@@ -381,7 +381,7 @@ class Users(models.Model):
@api.multi
def unlink(self):
if SUPERUSER_ID in self.ids:
- raise UserError(_('You can not remove the admin user as it is used internally for resources created by Odoo (updates, module installation, ...)'))
+ raise UserError(_('You can not remove the admin user as it is used internally for resources created by Flectra (updates, module installation, ...)'))
db = self._cr.dbname
for id in self.ids:
self.__uid_cache[db].pop(id, None)
@@ -517,8 +517,8 @@ class Users(models.Model):
password is not used to authenticate requests.
:return: True
- :raise: odoo.exceptions.AccessDenied when old password is wrong
- :raise: odoo.exceptions.UserError when new password is not set or empty
+ :raise: flectra.exceptions.AccessDenied when old password is wrong
+ :raise: flectra.exceptions.UserError when new password is not set or empty
"""
self.check(self._cr.dbname, self._uid, old_passwd)
if new_passwd:
diff --git a/odoo/addons/base/res/res_users_view.xml b/flectra/addons/base/res/res_users_view.xml
similarity index 99%
rename from odoo/addons/base/res/res_users_view.xml
rename to flectra/addons/base/res/res_users_view.xml
index 172f03e6ec..1ab2ca63e9 100644
--- a/odoo/addons/base/res/res_users_view.xml
+++ b/flectra/addons/base/res/res_users_view.xml
@@ -1,5 +1,5 @@
-
+
@@ -366,4 +366,4 @@
-
+
diff --git a/odoo/addons/base/rng/calendar_view.rng b/flectra/addons/base/rng/calendar_view.rng
similarity index 100%
rename from odoo/addons/base/rng/calendar_view.rng
rename to flectra/addons/base/rng/calendar_view.rng
diff --git a/odoo/addons/base/rng/common.rng b/flectra/addons/base/rng/common.rng
similarity index 100%
rename from odoo/addons/base/rng/common.rng
rename to flectra/addons/base/rng/common.rng
diff --git a/odoo/addons/base/rng/diagram_view.rng b/flectra/addons/base/rng/diagram_view.rng
similarity index 100%
rename from odoo/addons/base/rng/diagram_view.rng
rename to flectra/addons/base/rng/diagram_view.rng
diff --git a/odoo/addons/base/rng/gantt_view.rng b/flectra/addons/base/rng/gantt_view.rng
similarity index 100%
rename from odoo/addons/base/rng/gantt_view.rng
rename to flectra/addons/base/rng/gantt_view.rng
diff --git a/odoo/addons/base/rng/graph_view.rng b/flectra/addons/base/rng/graph_view.rng
similarity index 100%
rename from odoo/addons/base/rng/graph_view.rng
rename to flectra/addons/base/rng/graph_view.rng
diff --git a/odoo/addons/base/rng/pivot_view.rng b/flectra/addons/base/rng/pivot_view.rng
similarity index 100%
rename from odoo/addons/base/rng/pivot_view.rng
rename to flectra/addons/base/rng/pivot_view.rng
diff --git a/odoo/addons/base/rng/search_view.rng b/flectra/addons/base/rng/search_view.rng
similarity index 100%
rename from odoo/addons/base/rng/search_view.rng
rename to flectra/addons/base/rng/search_view.rng
diff --git a/odoo/addons/base/rng/tree_view.rng b/flectra/addons/base/rng/tree_view.rng
similarity index 100%
rename from odoo/addons/base/rng/tree_view.rng
rename to flectra/addons/base/rng/tree_view.rng
diff --git a/odoo/addons/base/security/base_security.xml b/flectra/addons/base/security/base_security.xml
similarity index 97%
rename from odoo/addons/base/security/base_security.xml
rename to flectra/addons/base/security/base_security.xml
index 3330118f35..61ed927dc9 100644
--- a/odoo/addons/base/security/base_security.xml
+++ b/flectra/addons/base/security/base_security.xml
@@ -1,5 +1,5 @@
-
+