diff --git a/addons/account/tests/test_account_incoming_supplier_invoice.py b/addons/account/tests/test_account_incoming_supplier_invoice.py index 25f2de6ce3..a182d31131 100644 --- a/addons/account/tests/test_account_incoming_supplier_invoice.py +++ b/addons/account/tests/test_account_incoming_supplier_invoice.py @@ -12,12 +12,12 @@ class TestAccountIncomingSupplierInvoice(AccountTestInvoicingCommon): def setUpClass(cls, chart_template_ref=None): super().setUpClass(chart_template_ref=chart_template_ref) - cls.env['ir.config_parameter'].sudo().set_param('mail.catchall.domain', 'test-company.flectra.com') + cls.env['ir.config_parameter'].sudo().set_param('mail.catchall.domain', 'test-company.flectrahq.com') cls.internal_user = cls.env['res.users'].create({ 'name': 'Internal User', - 'login': 'internal.user@test.flectra.com', - 'email': 'internal.user@test.flectra.com', + 'login': 'internal.user@test.flectrahq.com', + 'email': 'internal.user@test.flectrahq.com', }) cls.supplier_partner = cls.env['res.partner'].create({ diff --git a/addons/adyen_platforms/data/adyen_platforms_data.xml b/addons/adyen_platforms/data/adyen_platforms_data.xml index d60cbdce4f..9b25c4c73c 100644 --- a/addons/adyen_platforms/data/adyen_platforms_data.xml +++ b/addons/adyen_platforms/data/adyen_platforms_data.xml @@ -3,7 +3,7 @@ adyen_platforms.proxy_url - https://payment-adyen.flectra.com/payment_proxy_adyen/ + https://payment-adyen.flectrahq.com/payment_proxy_adyen/ diff --git a/addons/adyen_platforms/models/adyen_account.py b/addons/adyen_platforms/models/adyen_account.py index 117c93899d..7f134ee8bf 100644 --- a/addons/adyen_platforms/models/adyen_account.py +++ b/addons/adyen_platforms/models/adyen_account.py @@ -159,10 +159,10 @@ class AdyenAccount(models.Model): adyen_account_id = super(AdyenAccount, self).create(values) self.env.company.adyen_account_id = adyen_account_id.id - # Create account on flectra.com, proxy and Adyen + # Create account on flectrahq.com, proxy and Adyen response = adyen_account_id._adyen_rpc('create_account_holder', adyen_account_id._format_data()) - # Save adyen_uuid and proxy_token, that have been generated by flectra.com and the proxy + # Save adyen_uuid and proxy_token, that have been generated by flectrahq.com and the proxy adyen_account_id.with_context(update_from_adyen=True).write({ 'adyen_uuid': response['adyen_uuid'], 'proxy_token': response['proxy_token'], @@ -192,8 +192,8 @@ class AdyenAccount(models.Model): def action_create_redirect(self): ''' Accessing the FormView to create an Adyen account needs to be done through this action. - The action will redirect the user to accounts.flectra.com to link an Flectra user_id to the Adyen - account. After logging in on flectra.com the user will be redirected to his DB with a token in + The action will redirect the user to accounts.flectrahq.com to link an Flectra user_id to the Adyen + account. After logging in on flectrahq.com the user will be redirected to his DB with a token in the URL. This token is then needed to create the Adyen account. ''' if self.env.company.adyen_account_id: diff --git a/addons/auth_oauth/data/auth_oauth_data.xml b/addons/auth_oauth/data/auth_oauth_data.xml index 199d25dff7..19493fa307 100644 --- a/addons/auth_oauth/data/auth_oauth_data.xml +++ b/addons/auth_oauth/data/auth_oauth_data.xml @@ -3,9 +3,9 @@ Flectrahq.com Accounts - https://accounts.flectra.com/oauth2/auth + https://accounts.flectrahq.com/oauth2/auth userinfo - https://accounts.flectra.com/oauth2/tokeninfo + https://accounts.flectrahq.com/oauth2/tokeninfo fa fa-fw o_custom_icon Log in with Flectrahq.com diff --git a/addons/crm/tests/test_crm_lead.py b/addons/crm/tests/test_crm_lead.py index 7ce8da64c2..fa5ce07557 100644 --- a/addons/crm/tests/test_crm_lead.py +++ b/addons/crm/tests/test_crm_lead.py @@ -72,7 +72,7 @@ class TestCRMLead(TestCrmCommon): 'street': 'My street', 'street2': 'My street', 'city': 'My city', - 'zip': 'test@flectra.com', + 'zip': 'test@flectrahq.com', 'state_id': self.env['res.country.state'].create({ 'name': 'My state', 'country_id': self.country_ref.id, diff --git a/addons/crm_iap_lead/data/crm_iap_lead_data.xml b/addons/crm_iap_lead/data/crm_iap_lead_data.xml index 59b757308e..bc5aa708fb 100644 --- a/addons/crm_iap_lead/data/crm_iap_lead_data.xml +++ b/addons/crm_iap_lead/data/crm_iap_lead_data.xml @@ -3,8 +3,8 @@ IAP Lead Generation Notification - iap@flectra.com - iap@flectra.com + iap@flectrahq.com + iap@flectrahq.com IAP Lead Generation Notification diff --git a/addons/crm_iap_lead/models/crm_iap_lead_mining_request.py b/addons/crm_iap_lead/models/crm_iap_lead_mining_request.py index 52c2b7ef39..0be37991f8 100644 --- a/addons/crm_iap_lead/models/crm_iap_lead_mining_request.py +++ b/addons/crm_iap_lead/models/crm_iap_lead_mining_request.py @@ -8,7 +8,7 @@ from flectra.addons.iap.tools import iap_tools _logger = logging.getLogger(__name__) -DEFAULT_ENDPOINT = 'https://iap-services.flectra.com' +DEFAULT_ENDPOINT = 'https://iap-services.flectrahq.com' MAX_LEAD = 200 diff --git a/addons/crm_iap_lead_enrich/models/iap_enrich_api.py b/addons/crm_iap_lead_enrich/models/iap_enrich_api.py index 6858009dbb..f24d52d460 100644 --- a/addons/crm_iap_lead_enrich/models/iap_enrich_api.py +++ b/addons/crm_iap_lead_enrich/models/iap_enrich_api.py @@ -8,7 +8,7 @@ from flectra.addons.iap.tools import iap_tools class IapEnrichAPI(models.AbstractModel): _name = 'iap.enrich.api' _description = 'IAP Lead Enrichment API' - _DEFAULT_ENDPOINT = 'https://iap-services.flectra.com' + _DEFAULT_ENDPOINT = 'https://iap-services.flectrahq.com' @api.model def _contact_iap(self, local_endpoint, params): @@ -29,7 +29,7 @@ class IapEnrichAPI(models.AbstractModel): * InsufficientCreditError: { "credit": 4.0, "service_name": "reveal", - "base_url": "https://iap.flectra.com/iap/1/credit", + "base_url": "https://iap.flectrahq.com/iap/1/credit", "message": "You don't have enough credits on your account to use this service." } """ diff --git a/addons/crm_iap_lead_website/models/crm_reveal_rule.py b/addons/crm_iap_lead_website/models/crm_reveal_rule.py index 8b5ee5f453..5c243b3ef8 100644 --- a/addons/crm_iap_lead_website/models/crm_reveal_rule.py +++ b/addons/crm_iap_lead_website/models/crm_reveal_rule.py @@ -15,7 +15,7 @@ from flectra.exceptions import ValidationError _logger = logging.getLogger(__name__) -DEFAULT_ENDPOINT = 'https://iap-services.flectra.com' +DEFAULT_ENDPOINT = 'https://iap-services.flectrahq.com' DEFAULT_REVEAL_BATCH_LIMIT = 25 DEFAULT_REVEAL_MONTH_VALID = 6 diff --git a/addons/hr/data/hr_demo.xml b/addons/hr/data/hr_demo.xml index 03a320d45d..c75b880598 100644 --- a/addons/hr/data/hr_demo.xml +++ b/addons/hr/data/hr_demo.xml @@ -244,7 +244,7 @@ If you have development competencies, we can propose you specific traineeships Building 1, Second Floor +3281813700 - gilles@flectra.com + gilles@flectrahq.com @@ -353,7 +353,7 @@ If you have development competencies, we can propose you specific traineeshipsMarketing and Community Manager Building 1, Second Floor (206)-267-3735 - jod@flectra.com + jod@flectrahq.com diff --git a/addons/hw_drivers/connection_manager.py b/addons/hw_drivers/connection_manager.py index ddc338e9c2..fda2c6d3d5 100644 --- a/addons/hw_drivers/connection_manager.py +++ b/addons/hw_drivers/connection_manager.py @@ -42,7 +42,7 @@ class ConnectionManager(Thread): try: urllib3.disable_warnings() - req = requests.post('https://iot-proxy.flectra.com/flectra-enterprise/iot/connect-box', json=data, verify=False) + req = requests.post('https://iot-proxy.flectrahq.com/flectra-enterprise/iot/connect-box', json=data, verify=False) result = req.json().get('result', {}) if all(key in result for key in ['pairing_code', 'pairing_uuid']): self.pairing_code = result['pairing_code'] @@ -50,7 +50,7 @@ class ConnectionManager(Thread): elif all(key in result for key in ['url', 'token', 'db_uuid', 'enterprise_code']): self._connect_to_server(result['url'], result['token'], result['db_uuid'], result['enterprise_code']) except Exception as e: - _logger.error('Could not reach iot-proxy.flectra.com') + _logger.error('Could not reach iot-proxy.flectrahq.com') _logger.error('A error encountered : %s ' % e) def _connect_to_server(self, url, token, db_uuid, enterprise_code): diff --git a/addons/hw_drivers/tools/helpers.py b/addons/hw_drivers/tools/helpers.py index 889d4fefcb..dda8f3bb47 100644 --- a/addons/hw_drivers/tools/helpers.py +++ b/addons/hw_drivers/tools/helpers.py @@ -110,7 +110,7 @@ def check_image(): """ Check if the current image of IoT Box is up to date """ - url = 'https://nightly.flectra.com/master/iotbox/SHA1SUMS.txt' + url = 'https://nightly.flectrahq.com/master/iotbox/SHA1SUMS.txt' urllib3.disable_warnings() http = urllib3.PoolManager(cert_reqs='CERT_NONE') response = http.request('GET', url) diff --git a/addons/hw_posbox_homepage/views/upgrade_page.html b/addons/hw_posbox_homepage/views/upgrade_page.html index 62586d2466..8089d5af51 100644 --- a/addons/hw_posbox_homepage/views/upgrade_page.html +++ b/addons/hw_posbox_homepage/views/upgrade_page.html @@ -71,7 +71,7 @@

This tool will help you perform an upgrade of the IoTBox's software over the internet. However the preferred method to upgrade the IoTBox is to flash the sd-card with - the latest image. The upgrade + the latest image. The upgrade procedure is explained into to the IoTBox manual

diff --git a/addons/iap/models/iap_account.py b/addons/iap/models/iap_account.py index cfac580ef7..8656b0ac97 100644 --- a/addons/iap/models/iap_account.py +++ b/addons/iap/models/iap_account.py @@ -10,7 +10,7 @@ from flectra.addons.iap.tools import iap_tools _logger = logging.getLogger(__name__) -DEFAULT_ENDPOINT = 'https://iap.flectra.com' +DEFAULT_ENDPOINT = 'https://iap.flectrahq.com' class IapAccount(models.Model): diff --git a/addons/iap/tools/iap_tools.py b/addons/iap/tools/iap_tools.py index 0479141c0e..06735dc8d6 100644 --- a/addons/iap/tools/iap_tools.py +++ b/addons/iap/tools/iap_tools.py @@ -12,7 +12,7 @@ from flectra.tools import pycompat _logger = logging.getLogger(__name__) -DEFAULT_ENDPOINT = 'https://iap.flectra.com' +DEFAULT_ENDPOINT = 'https://iap.flectrahq.com' #---------------------------------------------------------- # Helpers for both clients and proxy diff --git a/addons/mail/models/mail_alias.py b/addons/mail/models/mail_alias.py index 4efa633e2a..acf917ff0c 100644 --- a/addons/mail/models/mail_alias.py +++ b/addons/mail/models/mail_alias.py @@ -34,7 +34,7 @@ class Alias(models.Model): def _default_alias_domain(self): return self.env["ir.config_parameter"].sudo().get_param("mail.catchall.domain") - alias_name = fields.Char('Alias Name', copy=False, help="The name of the email alias, e.g. 'jobs' if you want to catch emails for ") + alias_name = fields.Char('Alias Name', copy=False, help="The name of the email alias, e.g. 'jobs' if you want to catch emails for ") alias_model_id = fields.Many2one('ir.model', 'Aliased Model', required=True, ondelete="cascade", help="The model (Flectra Document Kind) to which this alias " "corresponds. Any incoming email that does not reply to an " @@ -124,7 +124,7 @@ class Alias(models.Model): def name_get(self): """Return the mail alias display alias_name, including the implicit mail catchall domain if exists from config otherwise "New Alias". - e.g. `jobs@mail.flectra.com` or `jobs` or 'New Alias' + e.g. `jobs@mail.flectrahq.com` or `jobs` or 'New Alias' """ res = [] for record in self: diff --git a/addons/mail/static/src/components/composer/composer_tests.js b/addons/mail/static/src/components/composer/composer_tests.js index 7848218653..81865323a4 100644 --- a/addons/mail/static/src/components/composer/composer_tests.js +++ b/addons/mail/static/src/components/composer/composer_tests.js @@ -927,12 +927,12 @@ QUnit.test('display partner mention suggestions on typing "@"', async function ( this.data['res.partner'].records.push({ id: 11, - email: "testpartner@flectra.com", + email: "testpartner@flectrahq.com", name: "TestPartner", }); this.data['res.partner'].records.push({ id: 12, - email: "testpartner2@flectra.com", + email: "testpartner2@flectrahq.com", name: "TestPartner2", }); this.data['res.users'].records.push({ @@ -972,7 +972,7 @@ QUnit.test('mention a partner', async function (assert) { assert.expect(4); this.data['res.partner'].records.push({ - email: "testpartner@flectra.com", + email: "testpartner@flectrahq.com", name: "TestPartner", }); await this.start(); @@ -1026,7 +1026,7 @@ QUnit.test('mention a partner after some text', async function (assert) { assert.expect(5); this.data['res.partner'].records.push({ - email: "testpartner@flectra.com", + email: "testpartner@flectrahq.com", name: "TestPartner", }); await this.start(); @@ -1089,7 +1089,7 @@ QUnit.test('add an emoji after a partner mention', async function (assert) { assert.expect(5); this.data['res.partner'].records.push({ - email: "testpartner@flectra.com", + email: "testpartner@flectrahq.com", name: "TestPartner", }); await this.start(); diff --git a/addons/mail/static/src/components/composer_suggestion/composer_suggestion_partner_tests.js b/addons/mail/static/src/components/composer_suggestion/composer_suggestion_partner_tests.js index fcc56122e8..e20a3d27fd 100644 --- a/addons/mail/static/src/components/composer_suggestion/composer_suggestion_partner_tests.js +++ b/addons/mail/static/src/components/composer_suggestion/composer_suggestion_partner_tests.js @@ -76,7 +76,7 @@ QUnit.test('partner mention suggestion correct data', async function (assert) { model: 'mail.channel', }); const partner = this.env.models['mail.partner'].create({ - email: "demo_user@flectra.com", + email: "demo_user@flectrahq.com", id: 7, im_status: 'online', name: "Demo User", @@ -115,7 +115,7 @@ QUnit.test('partner mention suggestion correct data', async function (assert) { ); assert.strictEqual( document.querySelector(`.o_ComposerSuggestion_part2`).textContent, - "(demo_user@flectra.com)", + "(demo_user@flectrahq.com)", "Partner's email should be displayed" ); }); diff --git a/addons/mail/static/src/components/discuss/tests/discuss_inbox_tests.js b/addons/mail/static/src/components/discuss/tests/discuss_inbox_tests.js index 8de84bb836..528acb41bf 100644 --- a/addons/mail/static/src/components/discuss/tests/discuss_inbox_tests.js +++ b/addons/mail/static/src/components/discuss/tests/discuss_inbox_tests.js @@ -38,7 +38,7 @@ QUnit.test('reply: discard on pressing escape', async function (assert) { // partner expected to be found by mention this.data['res.partner'].records.push({ - email: "testpartnert@flectra.com", + email: "testpartnert@flectrahq.com", id: 11, name: "TestPartner", }); diff --git a/addons/mail/static/src/components/thread_view/thread_view_tests.js b/addons/mail/static/src/components/thread_view/thread_view_tests.js index 24475ef918..e7ae9b4a42 100644 --- a/addons/mail/static/src/components/thread_view/thread_view_tests.js +++ b/addons/mail/static/src/components/thread_view/thread_view_tests.js @@ -1132,7 +1132,7 @@ QUnit.test('Post a message containing an email address followed by a mention on this.data['mail.channel'].records.push({ id: 11 }); this.data['res.partner'].records.push({ id: 25, - email: "testpartner@flectra.com", + email: "testpartner@flectrahq.com", name: "TestPartner", }); await this.start(); @@ -1146,7 +1146,7 @@ QUnit.test('Post a message containing an email address followed by a mention on }); await this.createThreadViewComponent(threadViewer.threadView, { hasComposer: true }); document.querySelector('.o_ComposerTextInput_textarea').focus(); - await afterNextRender(() => document.execCommand('insertText', false, "email@flectra.com\n")); + await afterNextRender(() => document.execCommand('insertText', false, "email@flectrahq.com\n")); await afterNextRender(() => { ["@", "T", "e"].forEach((char)=>{ document.execCommand('insertText', false, char); diff --git a/addons/mail/views/res_config_settings_views.xml b/addons/mail/views/res_config_settings_views.xml index f10827f917..0b061e60c2 100644 --- a/addons/mail/views/res_config_settings_views.xml +++ b/addons/mail/views/res_config_settings_views.xml @@ -25,7 +25,7 @@
+ title="Using your own email server is required to send/receive emails in Community and Enterprise versions. Online users already benefit from a ready-to-use email server (@mycompany.flectrahq.com).">
@@ -38,7 +38,7 @@
diff --git a/addons/mass_mailing/data/mass_mailing_demo.xml b/addons/mass_mailing/data/mass_mailing_demo.xml index 438ce35a09..d1c2ef56eb 100644 --- a/addons/mass_mailing/data/mass_mailing_demo.xml +++ b/addons/mass_mailing/data/mass_mailing_demo.xml @@ -164,7 +164,7 @@ - 1111000@flectra.com + 1111000@flectrahq.com res.partner billy.fox45@example.com @@ -174,7 +174,7 @@ - 1111001@flectra.com + 1111001@flectrahq.com res.partner kim.snyder96@example.com @@ -184,7 +184,7 @@ - 1111002@flectra.com + 1111002@flectrahq.com res.partner edith.sanchez68@example.com @@ -193,7 +193,7 @@ - 1111003@flectra.com + 1111003@flectrahq.com res.partner theodore.gardner36@example.com @@ -202,7 +202,7 @@ - 1111004@flectra.com + 1111004@flectrahq.com res.partner sandra.neal80@example.com @@ -210,7 +210,7 @@ - 1111005@flectra.com + 1111005@flectrahq.com res.partner julie.richards84@example.com @@ -219,7 +219,7 @@ - 1111006@flectra.com + 1111006@flectrahq.com res.partner travis.mendoza24@example.com @@ -228,7 +228,7 @@ - 1111007@flectra.com + 1111007@flectrahq.com res.partner travis.mendoza24@example.com diff --git a/addons/mass_mailing/models/mailing_list.py b/addons/mass_mailing/models/mailing_list.py index 28a1ab2c36..0e652bcbcc 100644 --- a/addons/mass_mailing/models/mailing_list.py +++ b/addons/mass_mailing/models/mailing_list.py @@ -76,16 +76,16 @@ class MassMailingList(models.Model): 'src_lists' after the merge except the destination mailing list 'self'. """ # Explation of the SQL query with an example. There are the following lists - # A (id=4): yti@flectra.com; yti@example.com - # B (id=5): yti@flectra.com; yti@openerp.com + # A (id=4): yti@flectrahq.com; yti@example.com + # B (id=5): yti@flectrahq.com; yti@openerp.com # C (id=6): nothing # To merge the mailing lists A and B into C, we build the view st that looks # like this with our example: # # contact_id | email | row_number | list_id | # ------------+---------------------------+------------------------ - # 4 | yti@flectra.com | 1 | 4 | - # 6 | yti@flectra.com | 2 | 5 | + # 4 | yti@flectrahq.com | 1 | 4 | + # 6 | yti@flectrahq.com | 2 | 5 | # 5 | yti@example.com | 1 | 4 | # 7 | yti@openerp.com | 1 | 5 | # diff --git a/addons/mass_mailing/tests/test_mailing_internals.py b/addons/mass_mailing/tests/test_mailing_internals.py index dcbab99044..5daedc9d34 100644 --- a/addons/mass_mailing/tests/test_mailing_internals.py +++ b/addons/mass_mailing/tests/test_mailing_internals.py @@ -213,14 +213,14 @@ class TestMassMailFeatures(MassMailCommon): 'subject': 'TestShortener', 'body_html': """
Hi, -% set url = "www.flectra.com" +% set url = "www.flectrahq.com" % set httpurl = "https://www.flectra.eu" Website0: https://www.flectra.tz/my/${object.name} Website1: https://www.flectra.be Website2: https://${url} Website3: ${httpurl} External1: Youpie -Email: test@flectra.com
""", +Email: test@flectrahq.com""", 'mailing_model_id': self.env['ir.model']._get('mailing.list').id, 'reply_to_mode': 'email', 'reply_to': self.email_reply_to, @@ -247,7 +247,7 @@ Email: test@flectra.com""" ('url2', 'https://flectrahq.com', True), ('url3', 'https://www.flectra.eu', True), ('url4', 'https://www.example.com/foo/bar?baz=qux', True), - ('url5', 'mailto:test@flectra.com', False)]: + ('url5', 'mailto:test@flectrahq.com', False)]: # TDE FIXME: why going to mail message id ? mail.body_html seems to fail, check link_params = {'utm_medium': 'Email', 'utm_source': mailing.name} if link_info[0] == 'url4': diff --git a/addons/pad/data/pad_demo.xml b/addons/pad/data/pad_demo.xml index 8b69667dd7..340ba5fa31 100644 --- a/addons/pad/data/pad_demo.xml +++ b/addons/pad/data/pad_demo.xml @@ -2,7 +2,7 @@ - https://pad.flectra.com + https://pad.flectrahq.com diff --git a/addons/partner_autocomplete/models/res_partner.py b/addons/partner_autocomplete/models/res_partner.py index 47f69548f6..ad5514ed24 100644 --- a/addons/partner_autocomplete/models/res_partner.py +++ b/addons/partner_autocomplete/models/res_partner.py @@ -10,7 +10,7 @@ from requests.exceptions import ConnectionError, HTTPError _logger = logging.getLogger(__name__) -DEFAULT_ENDPOINT = 'https://partner-autocomplete.flectra.com' +DEFAULT_ENDPOINT = 'https://partner-autocomplete.flectrahq.com' class ResPartner(models.Model): _name = 'res.partner' diff --git a/addons/partner_autocomplete/static/tests/partner_autocomplete_tests.js b/addons/partner_autocomplete/static/tests/partner_autocomplete_tests.js index 5a5e57d202..1f8de74eb3 100644 --- a/addons/partner_autocomplete/static/tests/partner_autocomplete_tests.js +++ b/addons/partner_autocomplete/static/tests/partner_autocomplete_tests.js @@ -38,9 +38,9 @@ flectra.define('partner_autocomplete.tests', function (require) { var suggestions = [{ name: "Flectra", - website: "flectra.com", - domain: "flectra.com", - logo: "flectra.com/logo.png", + website: "flectrahq.com", + domain: "flectrahq.com", + logo: "flectrahq.com/logo.png", vat: "BE0477472701" }]; @@ -54,7 +54,7 @@ flectra.define('partner_autocomplete.tests', function (require) { _.each(fieldsToPatch, function (fieldToPatch) { testUtils.mock.patch(fieldToPatch, { _getBase64Image: function (url) { - return Promise.resolve(url === "flectra.com/logo.png" ? "flectrabase64" : ""); + return Promise.resolve(url === "flectrahq.com/logo.png" ? "flectrabase64" : ""); }, _isOnline: function () { return true; @@ -101,7 +101,7 @@ flectra.define('partner_autocomplete.tests', function (require) { country_id: 20, state_id: false, partner_gid: 1, - website: "flectra.com", + website: "flectrahq.com", comment: "Comment on Flectra", street: "40 Chaussée de Namur", city: "Ramillies", @@ -208,7 +208,7 @@ flectra.define('partner_autocomplete.tests', function (require) { '', mockRPC: function (route) { if (route === "/web/static/src/img/placeholder.png" - || route === "flectra.com/logo.png" + || route === "flectrahq.com/logo.png" || route === "data:image/png;base64,flectrabase64") { // land here as it is not valid base64 content return Promise.resolve(); } @@ -233,7 +233,7 @@ flectra.define('partner_autocomplete.tests', function (require) { await testUtils.dom.click($dropdown.find("a").first()); $input = form.$(".o_field_partner_autocomplete > input"); assert.strictEqual($input.val(), "Flectra", "Input value should have been updated to \"Flectra\""); - assert.strictEqual(form.$("input.o_field_widget").val(), "flectra.com", "website value should have been updated to \"flectra.com\""); + assert.strictEqual(form.$("input.o_field_widget").val(), "flectrahq.com", "website value should have been updated to \"flectrahq.com\""); _compareResultFields(assert, form, fields, createData); @@ -281,7 +281,7 @@ flectra.define('partner_autocomplete.tests', function (require) { '', mockRPC: function (route) { if (route === "/web/static/src/img/placeholder.png" - || route === "flectra.com/logo.png" + || route === "flectrahq.com/logo.png" || route === "data:image/png;base64,flectrabase64") { // land here as it is not valid base64 content return Promise.resolve(); } diff --git a/addons/payment_buckaroo/tests/test_buckaroo.py b/addons/payment_buckaroo/tests/test_buckaroo.py index e6da17402c..4ea5c88c67 100644 --- a/addons/payment_buckaroo/tests/test_buckaroo.py +++ b/addons/payment_buckaroo/tests/test_buckaroo.py @@ -118,7 +118,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@flectra.com', + 'BRQ_SERVICE_PAYPAL_PAYEREMAIL': u'fhe@flectrahq.com', 'BRQ_SERVICE_PAYPAL_PAYERFIRSTNAME': u'Jan', 'BRQ_SERVICE_PAYPAL_PAYERLASTNAME': u'Tester', 'BRQ_SERVICE_PAYPAL_PAYERMIDDLENAME': u'de', diff --git a/addons/payment_paypal/tests/test_paypal.py b/addons/payment_paypal/tests/test_paypal.py index b890e093e0..6f28f7cd3e 100644 --- a/addons/payment_paypal/tests/test_paypal.py +++ b/addons/payment_paypal/tests/test_paypal.py @@ -43,7 +43,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@flectra.com', 'fees_active': False}) + self.paypal.write({'paypal_email_account': 'tde+paypal-facilitator@flectrahq.com', 'fees_active': False}) self.assertEqual(self.paypal.state, 'test', 'test without test environment') # ---------------------------------------- @@ -57,7 +57,7 @@ class PaypalForm(PaypalCommon): form_values = { 'cmd': '_xclick', - 'business': 'tde+paypal-facilitator@flectra.com', + 'business': 'tde+paypal-facilitator@flectrahq.com', 'item_name': '%s: test_ref0' % (self.paypal.company_id.name), 'item_number': 'test_ref0', 'first_name': 'Norbert', @@ -165,7 +165,7 @@ class PaypalForm(PaypalCommon): 'address_status': u'unconfirmed', 'mc_currency': u'EUR', 'shipping': u'0.00', - 'payer_email': u'tde+buyer@flectra.com', + 'payer_email': u'tde+buyer@flectrahq.com', 'payment_type': u'instant', 'mc_gross': u'1.95', 'ipn_track_id': u'866df2ccd444b', diff --git a/addons/project/tests/test_project_flow.py b/addons/project/tests/test_project_flow.py index 46cc1927f5..bd1f76be51 100644 --- a/addons/project/tests/test_project_flow.py +++ b/addons/project/tests/test_project_flow.py @@ -13,7 +13,7 @@ X-Original-To: {to} Delivered-To: {to} To: {to} cc: {cc} -Received: by mail1.flectra.com (Postfix, from userid 10002) +Received: by mail1.flectrahq.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 diff --git a/addons/purchase/tests/test_access_rights.py b/addons/purchase/tests/test_access_rights.py index b739832f1b..f065d7d4c9 100644 --- a/addons/purchase/tests/test_access_rights.py +++ b/addons/purchase/tests/test_access_rights.py @@ -22,7 +22,7 @@ class TestPurchaseInvoice(AccountTestInvoicingCommon): ).create({ 'name': 'Purchase user', 'login': 'purchaseUser', - 'email': 'pu@flectra.com', + 'email': 'pu@flectrahq.com', 'groups_id': [(6, 0, [group_purchase_user.id, group_employee.id, group_partner_manager.id])], }) @@ -73,7 +73,7 @@ class TestPurchaseInvoice(AccountTestInvoicingCommon): purchase_user_2 = self.purchase_user.copy({ 'name': 'Purchase user 2', 'login': 'purchaseUser2', - 'email': 'pu2@flectra.com', + 'email': 'pu2@flectrahq.com', }) purchase_order_form = Form(self.env['purchase.order'].with_user(purchase_user_2)) @@ -110,7 +110,7 @@ class TestPurchaseInvoice(AccountTestInvoicingCommon): purchase_user_2 = self.purchase_user.copy({ 'name': 'Purchase user 2', 'login': 'purchaseUser2', - 'email': 'pu2@flectra.com', + 'email': 'pu2@flectrahq.com', }) purchase_order_form = Form(self.env['purchase.order'].with_user(purchase_user_2)) diff --git a/addons/sms/models/sms_api.py b/addons/sms/models/sms_api.py index a853596d1e..589ebdc743 100644 --- a/addons/sms/models/sms_api.py +++ b/addons/sms/models/sms_api.py @@ -4,7 +4,7 @@ from flectra import api, models from flectra.addons.iap.tools import iap_tools -DEFAULT_ENDPOINT = 'https://iap-sms.flectra.com' +DEFAULT_ENDPOINT = 'https://iap-sms.flectrahq.com' class SmsApi(models.AbstractModel): diff --git a/addons/sms/static/src/js/fields_sms_widget.js b/addons/sms/static/src/js/fields_sms_widget.js index 9bcdb51985..b35bc74d21 100644 --- a/addons/sms/static/src/js/fields_sms_widget.js +++ b/addons/sms/static/src/js/fields_sms_widget.js @@ -112,7 +112,7 @@ var SmsWidget = FieldTextEmojis.extend({ */ _renderIAPButton: function () { return $('', { - 'href': 'https://iap-services.flectra.com/iap/sms/pricing', + 'href': 'https://iap-services.flectrahq.com/iap/sms/pricing', 'target': '_blank', 'title': _t('SMS Pricing'), 'aria-label': _t('SMS Pricing'), diff --git a/addons/snailmail/models/snailmail_letter.py b/addons/snailmail/models/snailmail_letter.py index 313bc33d73..9ff48ca597 100644 --- a/addons/snailmail/models/snailmail_letter.py +++ b/addons/snailmail/models/snailmail_letter.py @@ -7,7 +7,7 @@ from flectra import fields, models, api, _ from flectra.addons.iap.tools import iap_tools from flectra.tools.safe_eval import safe_eval -DEFAULT_ENDPOINT = 'https://iap-snailmail.flectra.com' +DEFAULT_ENDPOINT = 'https://iap-snailmail.flectrahq.com' PRINT_ENDPOINT = '/iap/snailmail/1/print' DEFAULT_TIMEOUT = 30 @@ -270,7 +270,7 @@ class SnailmailLetter(models.Model): return _('You don\'t have enough credits to perform this operation.
Please go to your
iap account.', link) if error == 'TRIAL_ERROR': link = self.env['iap.account'].get_credits_url(service_name='snailmail', trial=True) - return _('You don\'t have an IAP account registered for this service.
Please go to iap.flectra.com to claim your free credits.', link) + return _('You don\'t have an IAP account registered for this service.
Please go to iap.flectrahq.com to claim your free credits.', link) if error == 'NO_PRICE_AVAILABLE': return _('The country of the partner is not covered by Snailmail.') if error == 'MISSING_REQUIRED_FIELDS': diff --git a/addons/test_mail/data/test_mail_data.py b/addons/test_mail/data/test_mail_data.py index 06ad59ef15..d51f70a7cf 100644 --- a/addons/test_mail/data/test_mail_data.py +++ b/addons/test_mail/data/test_mail_data.py @@ -190,7 +190,7 @@ Received: by mail.example.com (Postfix, from userid 10002) id E8166BFACB; Fri, 23 Aug 2013 13:18:02 +0200 (CEST) From: "Bruce Wayne" Subject: test -Message-ID: +Message-ID: Date: Mon, 26 Aug 2019 16:55:09 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; @@ -329,13 +329,13 @@ AAAAACwAAAAAAgACAAAEA3DJFQA7 MAIL_EML_ATTACHMENT = """Subject: Re: test attac From: {email_from} To: {to} -References: -Message-ID: +References: +Message-ID: Date: Wed, 14 Mar 2018 14:26:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 -In-Reply-To: +In-Reply-To: Content-Type: multipart/mixed; boundary="------------A6B5FD5F68F4D73ECD739009" Content-Language: en-US @@ -384,33 +384,33 @@ ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc 7wXuo/gpYe6E2cPuS2opei8AzjEhYTNzlYXTPvaoxCCTTjfGTaPv22TeRDehuIXngSEl Nmmw== ARC-Authentication-Results: i=1; mx.google.com; - dkim=pass header.i=@flectra.com header.s=mail header.b=MCzhjB9b; - spf=pass (google.com: domain of soup@flectra.com designates 149.202.180.44 as permitted sender) smtp.mailfrom=soup@flectra.com; - dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flectra.com -Return-Path: -Received: from mail2.flectra.com (mail2.flectra.com. [149.202.180.44]) + dkim=pass header.i=@flectrahq.com header.s=mail header.b=MCzhjB9b; + spf=pass (google.com: domain of soup@flectrahq.com designates 149.202.180.44 as permitted sender) smtp.mailfrom=soup@flectrahq.com; + dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flectrahq.com +Return-Path: +Received: from mail2.flectrahq.com (mail2.flectrahq.com. [149.202.180.44]) by mx.google.com with ESMTPS id y4si4279200wmy.148.2018.03.05.01.19.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Mar 2018 01:19:23 -0800 (PST) -Received-SPF: pass (google.com: domain of soup@flectra.com designates 149.202.180.44 as permitted sender) client-ip=149.202.180.44; +Received-SPF: pass (google.com: domain of soup@flectrahq.com designates 149.202.180.44 as permitted sender) client-ip=149.202.180.44; Authentication-Results: mx.google.com; - dkim=pass header.i=@flectra.com header.s=mail header.b=MCzhjB9b; - spf=pass (google.com: domain of soup@flectra.com designates 149.202.180.44 as permitted sender) smtp.mailfrom=soup@flectra.com; - dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flectra.com + dkim=pass header.i=@flectrahq.com header.s=mail header.b=MCzhjB9b; + spf=pass (google.com: domain of soup@flectrahq.com designates 149.202.180.44 as permitted sender) smtp.mailfrom=soup@flectrahq.com; + dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flectrahq.com Received: from [10.10.31.24] (unknown [91.183.114.50]) (Authenticated sender: soup) - by mail2.flectra.com (Postfix) with ESMTPSA id 7B571A4085 - for ; Mon, 5 Mar 2018 10:19:21 +0100 (CET) -DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flectra.com; s=mail; + by mail2.flectrahq.com (Postfix) with ESMTPSA id 7B571A4085 + for ; Mon, 5 Mar 2018 10:19:21 +0100 (CET) +DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flectrahq.com; s=mail; t=1520241562; bh=L2r7Sp/vjogIdM1k8H9zDGDjnhKolsTTLLjndnFC4Jc=; h=To:From:Subject:Date:From; b=MCzhjB9bnsrJ3uKjq+GjujFxmtrq3fc7Vv7Vg2C72EPKnkxgqy6yPjWKtXbBlaiT3 YjKI24aiSQlOeOPQiqFgiDzeqqemNDp+CRuhoYz1Vbz+ESRaHtkWRLb7ZjvohS2k7e RTq7tUxY2nUL2YrNHV7DFYtJVBwiTuyLP6eAiJdE= -To: what@flectra.com -From: Soup +To: what@flectrahq.com +From: Soup Subject: =?UTF-8?Q?Soupe_du_jour_:_Pois_cass=c3=a9s?= -Message-ID: +Message-ID: Date: Mon, 5 Mar 2018 10:19:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 @@ -421,7 +421,7 @@ Content-Language: en-US X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_IMAGE_ONLY_08,HTML_MESSAGE,T_REMOTE_IMAGE autolearn=no autolearn_force=no version=3.4.0 -X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail2.flectra.com +X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail2.flectrahq.com This is a multi-part message in MIME format. --------------1F2D18B1129FC2F0B9EECF50 diff --git a/addons/test_mail/tests/test_mail_message.py b/addons/test_mail/tests/test_mail_message.py index 51980c8e96..8521954657 100644 --- a/addons/test_mail/tests/test_mail_message.py +++ b/addons/test_mail/tests/test_mail_message.py @@ -326,7 +326,7 @@ class TestMessageAccess(TestMailCommon): test_record = self.env['mail.test.simple'].with_context(self._test_context).create({'name': 'Test', 'email_from': 'ignasse@example.com'}) partner_1 = self.env['res.partner'].create({ 'name': 'Jitendra Prajapati (jpr-flectra)', - 'email': 'jpr@flectra.com', + 'email': 'jpr@flectrahq.com', }) test_record.message_subscribe((partner_1 | self.user_admin.partner_id).ids) diff --git a/addons/test_mail_full/tests/test_flectrabot.py b/addons/test_mail_full/tests/test_flectrabot.py index 2b16072cea..6895087775 100644 --- a/addons/test_mail_full/tests/test_flectrabot.py +++ b/addons/test_mail_full/tests/test_flectrabot.py @@ -24,7 +24,7 @@ class TestFlectrabot(TestMailCommon, TestRecipients): 'partner_ids': [], 'subtype_xmlid': 'mail.mt_comment' } - cls.flectrabot_ping_body = '@FlectraBot' % (cls.flectrabot.id, cls.flectrabot.id) + cls.flectrabot_ping_body = '@FlectraBot' % (cls.flectrabot.id, cls.flectrabot.id) cls.test_record_employe = cls.test_record.with_user(cls.user_employee) @mute_logger('flectra.addons.mail.models.mail_mail') diff --git a/addons/test_mail_full/tests/test_sms_sms.py b/addons/test_mail_full/tests/test_sms_sms.py index bc1fac76d8..eb7ec5d018 100644 --- a/addons/test_mail_full/tests/test_sms_sms.py +++ b/addons/test_mail_full/tests/test_sms_sms.py @@ -20,7 +20,7 @@ class LinkTrackerMock(common.BaseCase): def _get_title_from_url(u): return "Test_TITLE" - self.env['ir.config_parameter'].sudo().set_param('web.base.url', 'https://test.flectra.com') + self.env['ir.config_parameter'].sudo().set_param('web.base.url', 'https://test.flectrahq.com') link_tracker_title_patch = patch('flectra.addons.link_tracker.models.link_tracker.LinkTracker._get_title_from_url', wraps=_get_title_from_url) link_tracker_title_patch.start() @@ -70,7 +70,7 @@ class TestSMSPost(TestMailFullCommon, LinkTrackerMock): link = self.env['link.tracker'].search([('url', '=', link)]) self.assertIn(link.short_url, new_body) - link = 'https://test.flectra.com/my/super_page?test[0]=42&toto=áâà#title3' + link = 'https://test.flectrahq.com/my/super_page?test[0]=42&toto=áâà#title3' self.env['link.tracker'].search([('url', '=', link)]).unlink() new_body = self.env['mail.render.mixin']._shorten_links_text('Welcome to %s !' % link, self.tracker_values) self.assertNotIn(link, new_body) @@ -84,14 +84,14 @@ class TestSMSPost(TestMailFullCommon, LinkTrackerMock): self.assertIn(link.short_url, new_body) def test_body_link_shorten_wshort(self): - link = 'https://test.flectra.com/r/RAOUL' + link = 'https://test.flectrahq.com/r/RAOUL' self.env['link.tracker'].search([('url', '=', link)]).unlink() new_body = self.env['mail.render.mixin']._shorten_links_text('Welcome to %s !' % link, self.tracker_values) self.assertIn(link, new_body) self.assertFalse(self.env['link.tracker'].search([('url', '=', link)])) def test_body_link_shorten_wunsubscribe(self): - link = 'https://test.flectra.com/sms/3/' + link = 'https://test.flectrahq.com/sms/3/' self.env['link.tracker'].search([('url', '=', link)]).unlink() new_body = self.env['mail.render.mixin']._shorten_links_text('Welcome to %s !' % link, self.tracker_values) self.assertIn(link, new_body) @@ -105,28 +105,28 @@ class TestSMSPost(TestMailFullCommon, LinkTrackerMock): }) sms_0 = self.env['sms.sms'].create({ - 'body': 'Welcome to https://test.flectra.com', + 'body': 'Welcome to https://test.flectrahq.com', 'number': '12', 'mailing_id': mailing.id, }) sms_1 = self.env['sms.sms'].create({ - 'body': 'Welcome to https://test.flectra.com/r/RAOUL', + 'body': 'Welcome to https://test.flectrahq.com/r/RAOUL', 'number': '12', }) sms_2 = self.env['sms.sms'].create({ - 'body': 'Welcome to https://test.flectra.com/r/RAOUL', + 'body': 'Welcome to https://test.flectrahq.com/r/RAOUL', 'number': '12', 'mailing_id': mailing.id, }) sms_3 = self.env['sms.sms'].create({ - 'body': 'Welcome to https://test.flectra.com/leodagan/r/RAOUL', + 'body': 'Welcome to https://test.flectrahq.com/leodagan/r/RAOUL', 'number': '12', 'mailing_id': mailing.id, }) res = (sms_0 | sms_1 | sms_2 | sms_3)._update_body_short_links() - self.assertEqual(res[sms_0.id], 'Welcome to https://test.flectra.com') - self.assertEqual(res[sms_1.id], 'Welcome to https://test.flectra.com/r/RAOUL') - self.assertEqual(res[sms_2.id], 'Welcome to https://test.flectra.com/r/RAOUL/s/%s' % sms_2.id) - self.assertEqual(res[sms_3.id], 'Welcome to https://test.flectra.com/leodagan/r/RAOUL') + self.assertEqual(res[sms_0.id], 'Welcome to https://test.flectrahq.com') + self.assertEqual(res[sms_1.id], 'Welcome to https://test.flectrahq.com/r/RAOUL') + self.assertEqual(res[sms_2.id], 'Welcome to https://test.flectrahq.com/r/RAOUL/s/%s' % sms_2.id) + self.assertEqual(res[sms_3.id], 'Welcome to https://test.flectrahq.com/leodagan/r/RAOUL') def test_sms_send_batch_size(self): self.count = 0 diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index fd435d8085..c0f77aa9d8 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1316,7 +1316,7 @@ class Session(http.Controller): 'state': json.dumps({'d': request.db, 'u': ICP.get_param('web.base.url')}), 'scope': 'userinfo', } - return 'https://accounts.flectra.com/oauth2/auth?' + url_encode(params) + return 'https://accounts.flectrahq.com/oauth2/auth?' + url_encode(params) @http.route('/web/session/destroy', type='json', auth="user") def destroy(self): diff --git a/addons/web/doc/_templates/sidebarintro.html b/addons/web/doc/_templates/sidebarintro.html index 59f5d629a7..2d8b993d1d 100644 --- a/addons/web/doc/_templates/sidebarintro.html +++ b/addons/web/doc/_templates/sidebarintro.html @@ -1,12 +1,12 @@ -

Other Docs

Useful Links

diff --git a/addons/web/static/src/js/chrome/user_menu.js b/addons/web/static/src/js/chrome/user_menu.js index 9c1a6e6cbe..baaab8b067 100644 --- a/addons/web/static/src/js/chrome/user_menu.js +++ b/addons/web/static/src/js/chrome/user_menu.js @@ -70,7 +70,7 @@ var UserMenu = Widget.extend({ }) .guardedCatch(function (result, ev){ ev.preventDefault(); - framework.redirect('https://accounts.flectra.com/account'); + framework.redirect('https://accounts.flectrahq.com/account'); }); }, }); diff --git a/addons/web_editor/controllers/main.py b/addons/web_editor/controllers/main.py index 4400d5f569..1c5641c8ce 100644 --- a/addons/web_editor/controllers/main.py +++ b/addons/web_editor/controllers/main.py @@ -20,7 +20,7 @@ from flectra.tools.misc import file_open from ..models.ir_attachment import SUPPORTED_IMAGE_MIMETYPES logger = logging.getLogger(__name__) -DEFAULT_LIBRARY_ENDPOINT = 'https://media-api.flectra.com' +DEFAULT_LIBRARY_ENDPOINT = 'https://media-api.flectrahq.com' class Web_Editor(http.Controller): #------------------------------------------------------ diff --git a/addons/web_flectra/views/home.xml b/addons/web_flectra/views/home.xml index a1b68d23d7..941eab4a27 100644 --- a/addons/web_flectra/views/home.xml +++ b/addons/web_flectra/views/home.xml @@ -27,7 +27,7 @@
  • - My flectra.com account + My flectrahq.com account
  • Log out diff --git a/addons/website/models/ir_http.py b/addons/website/models/ir_http.py index be5a87d5c7..05731d2064 100644 --- a/addons/website/models/ir_http.py +++ b/addons/website/models/ir_http.py @@ -160,7 +160,7 @@ class Http(models.AbstractModel): @classmethod def _dispatch(cls): """ - In case of rerouting for translate (e.g. when visiting flectra.com/fr_BE/), + In case of rerouting for translate (e.g. when visiting flectrahq.com/fr_BE/), _dispatch calls reroute() that returns _dispatch with altered request properties. The second _dispatch will continue until end of process. When second _dispatch is finished, the first _dispatch call receive the new altered request and continue. diff --git a/addons/website/views/res_config_settings_views.xml b/addons/website/views/res_config_settings_views.xml index 496d947d47..1445e99c38 100644 --- a/addons/website/views/res_config_settings_views.xml +++ b/addons/website/views/res_config_settings_views.xml @@ -103,7 +103,7 @@ Display this website when users visit this domain
    - +
    diff --git a/addons/website_event/data/event_demo.xml b/addons/website_event/data/event_demo.xml index d0b66c49dc..074b6586c5 100644 --- a/addons/website_event/data/event_demo.xml +++ b/addons/website_event/data/event_demo.xml @@ -82,7 +82,7 @@
  • Point of Sale (POS), Introduction to report customization.
  • -

    For any additional information, please contact us at events@flectra.com

    +

    For any additional information, please contact us at events@flectrahq.com

    SPEAKER diff --git a/addons/website_event_track/data/event_sponsor_demo.xml b/addons/website_event_track/data/event_sponsor_demo.xml index 46cd919eab..690820b9f5 100644 --- a/addons/website_event_track/data/event_sponsor_demo.xml +++ b/addons/website_event_track/data/event_sponsor_demo.xml @@ -4,13 +4,13 @@ - http://flectra.com + http://flectrahq.com - http://flectra.com + http://flectrahq.com @@ -21,7 +21,7 @@ - http://flectra.com + http://flectrahq.com diff --git a/addons/website_forum/data/forum_demo.xml b/addons/website_forum/data/forum_demo.xml index a29cd9159f..a4f868c9ec 100644 --- a/addons/website_forum/data/forum_demo.xml +++ b/addons/website_forum/data/forum_demo.xml @@ -62,7 +62,7 @@ In simple words does Flectra became CMS+ERP platform?

    ]]>
    Re: CMS replacement for ERP and eCommerce Flectra v8 provides a web module and an e-commerce module: www.flectra.com/page/website-builder +

    Flectra v8 provides a web module and an e-commerce module: www.flectrahq.com/page/website-builder The CMS editor in Flectra web is nice but I prefer Drupal for customization and there is a Drupal module for Flectra. I think WP is better than Flectra web too.

    ]]>
    diff --git a/addons/website_sale/static/tests/tours/website_sale_complete_flow.js b/addons/website_sale/static/tests/tours/website_sale_complete_flow.js index f876c2793d..cd0870c547 100644 --- a/addons/website_sale/static/tests/tours/website_sale_complete_flow.js +++ b/addons/website_sale/static/tests/tours/website_sale_complete_flow.js @@ -52,7 +52,7 @@ flectra.define('website_sale_tour.tour', function (require) { run: function () { $('input[name="name"]').val('abc'); $('input[name="phone"]').val('99999999'); - $('input[name="email"]').val('abc@flectra.com'); + $('input[name="email"]').val('abc@flectrahq.com'); $('input[name="street"]').val('SO1 Billing Street, 33'); $('input[name="city"]').val('SO1BillingCity'); $('input[name="zip"]').val('10000'); @@ -248,7 +248,7 @@ flectra.define('website_sale_tour.tour', function (require) { content: "Submit login", trigger: '.oe_login_form', run: function () { - $('.oe_login_form input[name="login"]').val("abc@flectra.com"); + $('.oe_login_form input[name="login"]').val("abc@flectrahq.com"); $('.oe_login_form input[name="password"]').val("1admin@admin"); $('.oe_login_form').submit(); }, @@ -345,7 +345,7 @@ flectra.define('website_sale_tour.tour', function (require) { content: "Submit login", trigger: '.oe_login_form', run: function () { - $('.oe_login_form input[name="login"]').val("abc@flectra.com"); + $('.oe_login_form input[name="login"]').val("abc@flectrahq.com"); $('.oe_login_form input[name="password"]').val("1admin@admin"); $('.oe_login_form input[name="redirect"]').val("/shop?search=Storage Box Test"); $('.oe_login_form').submit(); diff --git a/addons/website_twitter/models/res_config_settings.py b/addons/website_twitter/models/res_config_settings.py index 4729ba20c8..4b3085d697 100644 --- a/addons/website_twitter/models/res_config_settings.py +++ b/addons/website_twitter/models/res_config_settings.py @@ -79,6 +79,6 @@ class ResConfigSettings(models.TransientModel): res = super(ResConfigSettings, self).get_values() Params = self.env['ir.config_parameter'].sudo() res.update({ - 'twitter_server_uri': '%s/' % Params.get_param('web.base.url', default='http://yourcompany.flectra.com'), + 'twitter_server_uri': '%s/' % Params.get_param('web.base.url', default='http://yourcompany.flectrahq.com'), }) return res diff --git a/doc/_extensions/odoo_ext/layout.html b/doc/_extensions/odoo_ext/layout.html index d6b9ec9219..2978d3a451 100644 --- a/doc/_extensions/odoo_ext/layout.html +++ b/doc/_extensions/odoo_ext/layout.html @@ -66,7 +66,7 @@
  • Blogs
  • Forums
  • Slides
  • -
  • SEA
  • +
  • SEA
  • @@ -272,7 +272,7 @@
  • Github
  • Download
  • -
  • Runbot
  • +
  • Runbot
  • Translations
  • Mailing Lists
  • @@ -285,12 +285,12 @@
  • Flectra Cloud Platform
  • Support
  • -
  • Upgrade
  • +
  • Upgrade
  • Find a partner
  • Become a partner
  • -
  • Training Center
  • +
  • Training Center
  • Education
  • Security
  • diff --git a/doc/_extensions/odoo_ext/static/style.less b/doc/_extensions/odoo_ext/static/style.less index 462ae532d5..18ba5e70c9 100644 --- a/doc/_extensions/odoo_ext/static/style.less +++ b/doc/_extensions/odoo_ext/static/style.less @@ -19,7 +19,7 @@ // Documentation header's customizations // -------------------------------------- -// Header style is based on flectra.com and can be find in the header.less file. +// Header style is based on flectrahq.com and can be find in the header.less file. // The following rules are specific for the documentation website. .o_main_header { diff --git a/doc/_extensions/odoo_ext/sub-menu_list.html b/doc/_extensions/odoo_ext/sub-menu_list.html index ef91acaf59..96e330ae2e 100644 --- a/doc/_extensions/odoo_ext/sub-menu_list.html +++ b/doc/_extensions/odoo_ext/sub-menu_list.html @@ -1,4 +1,4 @@ -{# note: if flectra.com/page/docs sub-menu's structure change, these links have to change as well #} +{# note: if flectrahq.com/page/docs sub-menu's structure change, these links have to change as well #}
  • User
  • Developer
  • diff --git a/doc/_static/extract_api_implementation.py b/doc/_static/extract_api_implementation.py index 0708542658..f18dca6bca 100644 --- a/doc/_static/extract_api_implementation.py +++ b/doc/_static/extract_api_implementation.py @@ -5,7 +5,7 @@ import json import requests account_token = "integration_token" # Use your token -domain_name = "https://iap-extract.flectra.com" +domain_name = "https://iap-extract.flectrahq.com" path_to_pdf = "/path/to/invoice_file" API_VERSION = 120 # Do not change diff --git a/doc/howtos/themes.rst b/doc/howtos/themes.rst index 8f0963e4c9..4ca04a78f9 100644 --- a/doc/howtos/themes.rst +++ b/doc/howtos/themes.rst @@ -259,7 +259,7 @@ These values will be used to identify your new theme in Flectra’s backend. The ``data`` property will contain the xml files list. Right now it’s empty, but we will add any new files created. -``category`` defines your module category (always “Theme”) and, after a slash, the subcategory. You can use one subcategory from the Flectra Apps categories list. (https://www.flectra.com/apps/themes) +``category`` defines your module category (always “Theme”) and, after a slash, the subcategory. You can use one subcategory from the Flectra Apps categories list. (https://www.flectrahq.com/apps/themes) ``depends`` specifies the modules needed by our theme to work properly. For our tutorial theme, we only need website and website_theme_install to install/update. If you need blogging or eCommerce features as well, you have to add those modules too. diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst index 3aa262724f..1e865d0737 100644 --- a/doc/reference/actions.rst +++ b/doc/reference/actions.rst @@ -201,7 +201,7 @@ via two fields: { "type": "ir.actions.act_url", - "url": "https://flectra.com", + "url": "https://flectrahq.com", "target": "self", } diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst index cbe6d36a46..59d4cd34c9 100644 --- a/doc/reference/cmdline.rst +++ b/doc/reference/cmdline.rst @@ -103,11 +103,11 @@ Database - ``%h`` is replaced by the whole hostname the request is made on. - ``%d`` is replaced by the subdomain the request is made on, with the - exception of ``www`` (so domain ``flectra.com`` and ``www.flectra.com`` both + exception of ``www`` (so domain ``flectrahq.com`` and ``www.flectrahq.com`` both match the database ``flectra``). These operations are case sensitive. Add option ``(?i)`` to match all - databases (so domain ``flectra.com`` using ``(?i)%d`` matches the database + databases (so domain ``flectrahq.com`` using ``(?i)%d`` matches the database ``Flectra``). Since version 11, it's also possible to restrict access to a given database diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst index 1835ac3962..df7f8dd267 100644 --- a/doc/reference/guidelines.rst +++ b/doc/reference/guidelines.rst @@ -19,7 +19,7 @@ These guidelines should be applied to every new module and to all new developmen strictly supersedes any other style guidelines. In other words please never modify existing files in order to apply these guidelines. It avoids disrupting the revision history of code lines. Diff should be kept minimal. For more - details, see our `pull request guide `_. + details, see our `pull request guide `_. .. warning:: diff --git a/doc/reference/mixins.rst b/doc/reference/mixins.rst index f15e77008d..360db2e028 100644 --- a/doc/reference/mixins.rst +++ b/doc/reference/mixins.rst @@ -585,7 +585,7 @@ on the alias, the following are of particular interest: ``alias_name`` - :class:`~flectra.fields.Char` name of the email alias, e.g. 'jobs' if you want to catch emails for - + ``alias_user_id`` - :class:`~flectra.fields.Many2one` (``res.users``) owner of records created upon receiving emails on this alias; if this field is not set the system will attempt to find the right owner @@ -807,7 +807,7 @@ These models have a single field ``name`` (i.e. they are simply there to distinguish campaigns but don't have any specific behaviour). Once a customer visits your website with these parameters set in the url -(i.e. https://www.flectra.com/?campaign_id=mixin_talk&source_id=www.flectra.com&medium_id=website), +(i.e. https://www.flectrahq.com/?campaign_id=mixin_talk&source_id=www.flectrahq.com&medium_id=website), three cookies are set in the visitor's website for these parameters. Once a object that inherits the utm.mixin is created from the website (i.e. lead form, job application, etc.), the utm.mixin code kicks in and fetches the values diff --git a/doc/setup/deploy.rst b/doc/setup/deploy.rst index 1284af041e..f88896a208 100644 --- a/doc/setup/deploy.rst +++ b/doc/setup/deploy.rst @@ -460,7 +460,7 @@ security-related topics: - Keep installations updated by regularly installing the latest builds, either via GitHub or by downloading the latest version from - https://flectrahq.com/download or http://nightly.flectra.com + https://flectrahq.com/download or http://nightly.flectrahq.com - Configure your server in multi-process mode with proper limits matching your typical usage (memory/CPU/timeouts). See also :ref:`builtin_server`. diff --git a/doc/setup/email_gateway.rst b/doc/setup/email_gateway.rst index 99b2e3dd77..f9217524df 100644 --- a/doc/setup/email_gateway.rst +++ b/doc/setup/email_gateway.rst @@ -46,4 +46,4 @@ For Exim .. tip:: If you don't have access/manage your email server, use `inbound messages - `_. + `_. diff --git a/doc/setup/install.rst b/doc/setup/install.rst index 3c2e19da60..2aa3997fad 100644 --- a/doc/setup/install.rst +++ b/doc/setup/install.rst @@ -135,8 +135,8 @@ used to install *Flectra Community Edition* by executing the following commands .. code-block:: console - # wget -O - https://nightly.flectra.com/flectra.key | apt-key add - - # echo "deb http://nightly.flectra.com/14.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/flectra.list + # wget -O - https://nightly.flectrahq.com/flectra.key | apt-key add - + # echo "deb http://nightly.flectrahq.com/14.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/flectra.list # apt-get update && apt-get install flectra You can then use the usual `apt-get upgrade` command to keep your installation up-to-date. @@ -211,7 +211,7 @@ commands: .. code-block:: console - $ sudo dnf config-manager --add-repo=https://nightly.flectra.com/14.0/nightly/rpm/flectra.repo + $ sudo dnf config-manager --add-repo=https://nightly.flectrahq.com/14.0/nightly/rpm/flectra.repo $ sudo dnf install -y flectra $ sudo systemctl enable flectra $ sudo systemctl start flectra @@ -755,7 +755,7 @@ The full documentation on how to use Flectra with Docker can be found on the official Flectra `docker image `_ page. .. _Debian Buster: https://www.debian.org/releases/buster/ -.. _demo: https://demo.flectra.com +.. _demo: https://demo.flectrahq.com .. _docker: https://www.docker.com .. _download: https://flectrahq.com/download .. _Ubuntu 18.04: http://releases.ubuntu.com/18.04/ @@ -779,6 +779,6 @@ official Flectra `docker image `_ pa .. _community-repository: https://github.com/flectra/flectra .. _enterprise-repository: https://github.com/flectra/enterprise .. _git: https://git-scm.com/ -.. _Editions: https://www.flectra.com/pricing#pricing_table_features -.. _nightly: https://nightly.flectra.com/ -.. _extra: https://nightly.flectra.com/extra/ +.. _Editions: https://www.flectrahq.com/pricing#pricing_table_features +.. _nightly: https://nightly.flectrahq.com/ +.. _extra: https://nightly.flectrahq.com/extra/ diff --git a/doc/setup/update.rst b/doc/setup/update.rst index bc0c0098f9..89442ec3ac 100644 --- a/doc/setup/update.rst +++ b/doc/setup/update.rst @@ -29,7 +29,7 @@ Upgrading (an Flectra database) Refers to a complex data processing operation where the structure and contents of your database is permanently altered to make it compatible with a new release of Flectra. This operation is irreversible and typically accomplished via Flectra's - `database upgrade service `_, when you decide to + `database upgrade service `_, when you decide to switch to a newer release of Flectra. Historically, this process has also been known as a "migration" because it involves moving data around inside the database, even though the database may end up at the same physical location @@ -37,7 +37,7 @@ Upgrading (an Flectra database) This page describes the typical steps needed to *update* an Flectra installation to the latest version. If you'd like more information about upgrading a database, please visit the -`Flectra Upgrade page `_ instead. +`Flectra Upgrade page `_ instead. In a nutshell @@ -65,7 +65,7 @@ Step 1: Download an updated Flectra version ======================================== The central download page is https://flectrahq.com/download. If you see a "Buy" link for the -Flectra Enterprise download, make sure you are logged into Flectra.com with the same login that is +Flectra Enterprise download, make sure you are logged into flectrahq.com with the same login that is linked to your Flectra Enterprise subscription. Alternatively, you can use the unique download link that was included with your Flectra Enterprise @@ -107,7 +107,7 @@ Source Install (Tarball) ------------------------ If you have originally installed Flectra with the "tarball" version (source code archive), you have to replace the installation directory with a newer version. First download the latest tarball -from Flectra.com. They are updated daily and include the latest security fixes (see step #1) +from flectrahq.com. They are updated daily and include the latest security fixes (see step #1) After downloading the package, extract it to a temporary location on your server. You will get a folder labelled with the version of the source code, for example "flectra-13.0+e.20190719", diff --git a/doc/webservices/extract_api.rst b/doc/webservices/extract_api.rst index ff3852d963..87da392554 100644 --- a/doc/webservices/extract_api.rst +++ b/doc/webservices/extract_api.rst @@ -11,14 +11,14 @@ Flectra provides a service allowing you to automate the processing of your invoi Character Recognition (OCR) engine and then uses AI-based algorithms to extract the fields of interest such as the total, the due date, or the invoice lines. More functional information can be found on the `demo page `_. -This service is a paid service. Each invoice processing will cost you one credit. Three different sized packs can be bought on `iap.flectra.com `_. +This service is a paid service. Each invoice processing will cost you one credit. Three different sized packs can be bought on `iap.flectrahq.com `_. You can either use this service directly in the Flectra Accounting App or through the API. The Extract API which is detailed in the next section allows you to integrate our service directly into your own projects. Invoices ======== -The extract API use the JSON-RPC2_ protocol. The diffent routes are located at the following address: **https://iap-extract.flectra.com**. +The extract API use the JSON-RPC2_ protocol. The diffent routes are located at the following address: **https://iap-extract.flectrahq.com**. Expected successful flow ------------------------ diff --git a/doc/webservices/flectra.rst b/doc/webservices/flectra.rst index 176a097812..36255622dd 100644 --- a/doc/webservices/flectra.rst +++ b/doc/webservices/flectra.rst @@ -35,7 +35,7 @@ Connection .. code-block:: python3 import xmlrpc.client - info = xmlrpc.client.ServerProxy('https://demo.flectra.com/start').start() + info = xmlrpc.client.ServerProxy('https://demo.flectrahq.com/start').start() url, db, username, password = \ info['host'], info['database'], info['user'], info['password'] common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url)) @@ -45,7 +45,7 @@ Connection .. code-block:: ruby require "xmlrpc/client" - info = XMLRPC::Client.new2('https://demo.flectra.com/start').call('start') + info = XMLRPC::Client.new2('https://demo.flectrahq.com/start').call('start') url, db, username, password = \ info['host'], info['database'], info['user'], info['password'] common = XMLRPC::Client.new2("#{url}/xmlrpc/2/common") @@ -55,7 +55,7 @@ Connection .. code-block:: php require_once('ripcord.php'); - $info = ripcord::client('https://demo.flectra.com/start')->start(); + $info = ripcord::client('https://demo.flectrahq.com/start')->start(); list($url, $db, $username, $password) = array($info['host'], $info['database'], $info['user'], $info['password']); $common = ripcord::client("$url/xmlrpc/2/common"); @@ -66,7 +66,7 @@ Connection final XmlRpcClient client = new XmlRpcClient(); final XmlRpcClientConfigImpl start_config = new XmlRpcClientConfigImpl(); - start_config.setServerURL(new URL("https://demo.flectra.com/start")); + start_config.setServerURL(new URL("https://demo.flectrahq.com/start")); final Map info = (Map)client.execute( start_config, "start", emptyList()); @@ -96,7 +96,7 @@ parameters .. warning:: - For Flectra Online instances (.flectra.com), users are created without a + For Flectra Online instances (.flectrahq.com), users are created without a *local* password (as a person you are logged in via the Flectra Online authentication system, not by the instance itself). To use XML-RPC on Flectra Online instances, you will need to set a password on the user account you @@ -110,7 +110,7 @@ parameters :guilabel:`Change Password`. The *server url* is the instance's domain (e.g. - *https://mycompany.flectra.com*), the *database name* is the name of the + *https://mycompany.flectrahq.com*), the *database name* is the name of the instance (e.g. *mycompany*). The *username* is the configured user's login as shown by the *Change Password* screen. @@ -193,7 +193,7 @@ a new key and update all the places where you used the old one. demo '''' -To make exploration simpler, you can also ask https://demo.flectra.com for a test +To make exploration simpler, you can also ask https://demo.flectrahq.com for a test database: .. rst-class:: setup doc-aside @@ -203,14 +203,14 @@ database: .. code-block:: python3 import xmlrpc.client - info = xmlrpc.client.ServerProxy('https://demo.flectra.com/start').start() + info = xmlrpc.client.ServerProxy('https://demo.flectrahq.com/start').start() url, db, username, password = \ info['host'], info['database'], info['user'], info['password'] .. code-block:: ruby require "xmlrpc/client" - info = XMLRPC::Client.new2('https://demo.flectra.com/start').call('start') + info = XMLRPC::Client.new2('https://demo.flectrahq.com/start').call('start') url, db, username, password = \ info['host'], info['database'], info['user'], info['password'] @@ -219,7 +219,7 @@ database: .. code-block:: php require_once('ripcord.php'); - $info = ripcord::client('https://demo.flectra.com/start')->start(); + $info = ripcord::client('https://demo.flectrahq.com/start')->start(); list($url, $db, $username, $password) = array($info['host'], $info['database'], $info['user'], $info['password']); @@ -243,7 +243,7 @@ database: final XmlRpcClient client = new XmlRpcClient(); final XmlRpcClientConfigImpl start_config = new XmlRpcClientConfigImpl(); - start_config.setServerURL(new URL("https://demo.flectra.com/start")); + start_config.setServerURL(new URL("https://demo.flectrahq.com/start")); final Map info = (Map)client.execute( start_config, "start", emptyList()); diff --git a/doc/webservices/iap.rst b/doc/webservices/iap.rst index c3649b22c3..1c3b70f211 100644 --- a/doc/webservices/iap.rst +++ b/doc/webservices/iap.rst @@ -98,7 +98,7 @@ Overview may vary following the countries). The value of the credits is fixed with the help of prepaid credit packs - that the clients can buy on https://iap.flectra.com (see :ref:`Packs `). + that the clients can buy on https://iap.flectrahq.com (see :ref:`Packs `). .. note:: In the following explanations we will ignore the External Service, they are just a detail of the service you provide. @@ -160,10 +160,10 @@ Register the service on Flectra The first step is to register your service on the IAP endpoint (production and/or test) before you can actually query user accounts. To create a service, -go to your *Portal Account* on the IAP endpoint (https://iap.flectra.com for -production, https://iap-sandbox.flectra.com for testing, the endpoints are +go to your *Portal Account* on the IAP endpoint (https://iap.flectrahq.com for +production, https://iap-sandbox.flectrahq.com for testing, the endpoints are *independent* and *not synchronized*). Alternatively, you can go to your portal -on Flectra (https://iap.flectra.com/my/home) and select *In-App Services*. +on Flectra (https://iap.flectrahq.com/my/home) and select *In-App Services*. .. note:: @@ -342,7 +342,7 @@ perform the service within: .. patch:: -.. todo:: for the actual IAP will the "portal" page be on flectra.com or iap.flectra.com? +.. todo:: for the actual IAP will the "portal" page be on flectrahq.com or iap.flectrahq.com? .. todo:: "My Account" > "Your InApp Services"? @@ -362,9 +362,9 @@ The :class:`~flectra.addons.iap.tools.iap_tools.iap_charge` helper will: .. danger:: By default, :class:`~flectra.addons.iap.tools.iap_tools.iap_charge` contacts the *production* - IAP endpoint, https://iap.flectra.com. While developing and testing your + IAP endpoint, https://iap.flectrahq.com. While developing and testing your service you may want to point it towards the *development* IAP endpoint - https://iap-sandbox.flectra.com. + https://iap-sandbox.flectrahq.com. To do so, set the ``iap.endpoint`` config parameter in your service Flectra: in debug/developer mode, :menuselection:`Setting --> Technical --> @@ -402,7 +402,7 @@ JSON-RPC2_ Transaction API * Exceptions are returned as JSON-RPC2_ errors, the formal exception name is available on ``data.name`` for programmatic manipulation. -.. seealso:: `iap.flectra.com documentation`_ for additional information. +.. seealso:: `iap.flectrahq.com documentation`_ for additional information. Authorize --------- @@ -416,7 +416,7 @@ Authorize unavailable to further authorize calls. Returns a :class:`TransactionToken` identifying the pending transaction - which can be used to capture (confirm) or cancel said transaction (`iap.flectra.com documentation`_). + which can be used to capture (confirm) or cancel said transaction (`iap.flectrahq.com documentation`_). :param ServiceKey key: :param UserToken account_token: @@ -520,7 +520,7 @@ care how they are implemented. .. class:: ServiceName - String identifying your service on https://iap.flectra.com (production) as well + String identifying your service on https://iap.flectrahq.com (production) as well as the account related to your service in the client's database. .. class:: ServiceKey @@ -766,5 +766,5 @@ Capture .. _JSON-RPC2: https://www.jsonrpc.org/specification -.. _Flectra App: https://www.flectra.com/apps -.. _iap.flectra.com documentation: https://iap.flectra.com/iap/1/documentation +.. _Flectra App: https://www.flectrahq.com/apps +.. _iap.flectrahq.com documentation: https://iap.flectrahq.com/iap/1/documentation diff --git a/doc/webservices/localization.rst b/doc/webservices/localization.rst index 22d9022437..62ed2b8e53 100644 --- a/doc/webservices/localization.rst +++ b/doc/webservices/localization.rst @@ -291,7 +291,7 @@ Adding a new fiscal position to my Chart of Accounts #################################################### .. note:: - If you need more information about what is a fiscal position and how it works in Flectra, please refer to `How to adapt taxes to my customer status or localization `_. + If you need more information about what is a fiscal position and how it works in Flectra, please refer to `How to adapt taxes to my customer status or localization `_. To create a new fiscal position, simply use the ``account.fiscal.position.template`` model: @@ -362,7 +362,7 @@ How to create a new bank operation model? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. note:: - How a bank operation model works exactly in Flectra? See `Configure model of entries `_. + How a bank operation model works exactly in Flectra? See `Configure model of entries `_. Since ``V10``, a new feature is available in the bank statement reconciliation widget: the bank operation model. This allows the user to pre-fill some accounting entries with a single click. @@ -420,4 +420,4 @@ one to bring all the stuff for your localization module and one more, ``account_ 'depends': ['l10n_xx', 'account_reports'], -Once it's done, you can start the creation of your report statements. The documentation is available in the following `slides `_. +Once it's done, you can start the creation of your report statements. The documentation is available in the following `slides `_. diff --git a/doc/webservices/upgrade.rst b/doc/webservices/upgrade.rst index f212be6289..631e0ac993 100644 --- a/doc/webservices/upgrade.rst +++ b/doc/webservices/upgrade.rst @@ -17,7 +17,7 @@ This document describes the API used to upgrade an Flectra database to a higher version. It allows a database to be upgraded without ressorting to the html form at -https://upgrade.flectra.com +https://upgrade.flectrahq.com Although the database will follow the same process described on that form. @@ -49,7 +49,7 @@ This action creates a database request with the following information: The ``create`` method --------------------- -.. py:function:: https://upgrade.flectra.com/database/v1/create +.. py:function:: https://upgrade.flectrahq.com/database/v1/create Creates a database upgrade request @@ -146,7 +146,7 @@ Here are 2 examples of database upgrade request creation using: import requests - CREATE_URL = "https://upgrade.flectra.com/database/v1/create" + CREATE_URL = "https://upgrade.flectrahq.com/database/v1/create" CONTRACT = "M123456-abcdef" AIM = "test" TARGET = "12.0" @@ -171,7 +171,7 @@ Here are 2 examples of database upgrade request creation using: TARGET=12.0 EMAIL=john.doe@example.com FILENAME=db_name.dump - CREATE_URL="https://upgrade.flectra.com/database/v1/create" + CREATE_URL="https://upgrade.flectrahq.com/database/v1/create" URL_PARAMS="contract=${CONTRACT}&aim=${AIM}&target=${TARGET}&email=${EMAIL}&filename=${FILENAME}" curl -sS "${CREATE_URL}?${URL_PARAMS}" > create_result.json @@ -198,7 +198,7 @@ The ``upload`` method It's the most simple and most straightforward way of uploading your database dump. It uses the HTTPS protocol. -.. py:function:: https://upgrade.flectra.com/database/v1/upload +.. py:function:: https://upgrade.flectrahq.com/database/v1/upload Uploads a database dump @@ -221,7 +221,7 @@ should be empty if everything went fine. import requests - UPLOAD_URL = "https://upgrade.flectra.com/database/v1/upload" + UPLOAD_URL = "https://upgrade.flectrahq.com/database/v1/upload" DUMPFILE = "/tmp/dump.sql" fields = dict([ @@ -235,7 +235,7 @@ should be empty if everything went fine. .. code-block:: bash - UPLOAD_URL="https://upgrade.flectra.com/database/v1/upload" + UPLOAD_URL="https://upgrade.flectrahq.com/database/v1/upload" DUMPFILE="openchs.70.cdump" KEY="Aw7pItGVKFuZ_FOR3U8VFQ==" REQUEST_ID="10534" @@ -254,7 +254,7 @@ It uses the SFTP protocol and supports resuming. It will create a temporary SFTP server where you can connect to and allow you to upload your database dump using an SFTP client. -.. py:function:: https://upgrade.flectra.com/database/v1/request_sftp_access +.. py:function:: https://upgrade.flectrahq.com/database/v1/request_sftp_access Creates an SFTP server @@ -283,7 +283,7 @@ The ``request_sftp_access`` method returns a JSON dictionary containing the foll import requests - UPLOAD_URL = "https://upgrade.flectra.com/database/v1/request_sftp_access" + UPLOAD_URL = "https://upgrade.flectrahq.com/database/v1/request_sftp_access" SSH_KEY = "$HOME/.ssh/id_rsa.pub" SSH_KEY_CONTENT = open(SSH_KEY,'r').read() @@ -298,7 +298,7 @@ The ``request_sftp_access`` method returns a JSON dictionary containing the foll .. code-block:: bash - REQUEST_SFTP_ACCESS_URL="https://upgrade.flectra.com/database/v1/request_sftp_access" + REQUEST_SFTP_ACCESS_URL="https://upgrade.flectrahq.com/database/v1/request_sftp_access" SSH_KEYS=/path/to/your/authorized_keys KEY="Aw7pItGVKFuZ_FOR3U8VFQ==" REQUEST_ID="10534" @@ -347,8 +347,8 @@ your database dump. Here is a sample session using the 'sftp' client: :: - $ sftp -P 2200 user_10534@upgrade.flectra.com - Connected to upgrade.flectra.com. + $ sftp -P 2200 user_10534@upgrade.flectrahq.com + Connected to upgrade.flectrahq.com. sftp> put /path/to/openchs.70.cdump openchs.70.cdump Uploading /path/to/openchs.70.cdump to /openchs.70.cdump sftp> ls -l openchs.70.cdump @@ -367,7 +367,7 @@ database upgrade using a script, you can use a batch file or pipe your commands :: - echo "put /path/to/openchs.70.cdump openchs.70.cdump" | sftp -b - -P 2200 user_10534@upgrade.flectra.com + echo "put /path/to/openchs.70.cdump openchs.70.cdump" | sftp -b - -P 2200 user_10534@upgrade.flectrahq.com The ``-b`` parameter takes a filename. If the filename is ``-``, it reads the commands from standard input. @@ -382,7 +382,7 @@ This action ask the Upgrade Platform to process your database dump. The ``process`` method ---------------------- -.. py:function:: https://upgrade.flectra.com/database/v1/process +.. py:function:: https://upgrade.flectrahq.com/database/v1/process Process a database dump @@ -405,7 +405,7 @@ should be empty if everything went fine. import requests - PROCESS_URL = "https://upgrade.flectra.com/database/v1/process" + PROCESS_URL = "https://upgrade.flectrahq.com/database/v1/process" fields = dict([ ('request', '10534'), @@ -417,7 +417,7 @@ should be empty if everything went fine. .. code-block:: bash - PROCESS_URL="https://upgrade.flectra.com/database/v1/process" + PROCESS_URL="https://upgrade.flectrahq.com/database/v1/process" KEY="Aw7pItGVKFuZ_FOR3U8VFQ==" REQUEST_ID="10534" URL_PARAMS="key=${KEY}&request=${REQUEST_ID}" @@ -435,7 +435,7 @@ If you don't want Flectra to test and validate the migration, you can bypass the The ``skip_test`` method ------------------------ -.. py:function:: https://upgrade.flectra.com/database/v1/skip_test +.. py:function:: https://upgrade.flectrahq.com/database/v1/skip_test Skip the tests, deliver the upgraded dump, and set the state to 'delivered' @@ -458,7 +458,7 @@ should be empty if everything went fine. import requests - PROCESS_URL = "https://upgrade.flectra.com/database/v1/skip_test" + PROCESS_URL = "https://upgrade.flectrahq.com/database/v1/skip_test" fields = dict([ ('request', '10534'), @@ -470,7 +470,7 @@ should be empty if everything went fine. .. code-block:: bash - PROCESS_URL="https://upgrade.flectra.com/database/v1/skip_test" + PROCESS_URL="https://upgrade.flectrahq.com/database/v1/skip_test" KEY="Aw7pItGVKFuZ_FOR3U8VFQ==" REQUEST_ID="10534" URL_PARAMS="key=${KEY}&request=${REQUEST_ID}" @@ -486,7 +486,7 @@ This action ask the status of your database upgrade request. The ``status`` method --------------------- -.. py:function:: https://upgrade.flectra.com/database/v1/status +.. py:function:: https://upgrade.flectrahq.com/database/v1/status Ask the status of a database upgrade request @@ -509,7 +509,7 @@ database upgrade request. import requests - PROCESS_URL = "https://upgrade.flectra.com/database/v1/status" + PROCESS_URL = "https://upgrade.flectrahq.com/database/v1/status" fields = dict([ ('request', '10534'), @@ -521,7 +521,7 @@ database upgrade request. .. code-block:: bash - STATUS_URL="https://upgrade.flectra.com/database/v1/status" + STATUS_URL="https://upgrade.flectrahq.com/database/v1/status" KEY="Aw7pItGVKFuZ_FOR3U8VFQ==" REQUEST_ID="10534" URL_PARAMS="key=${KEY}&request=${REQUEST_ID}" @@ -608,13 +608,13 @@ The ``request`` key contains various useful information about your request: "state": "draft", "issue_stage": "new", "issue": 648398, - "status_url": "https://upgrade.flectra.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/status", - "notes_url": "https://upgrade.flectra.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/upgraded/notes", - "original_sql_url": "https://upgrade.flectra.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/original/sql", - "original_dump_url": "https://upgrade.flectra.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/original/archive", - "upgraded_sql_url": "https://upgrade.flectra.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/upgraded/sql", - "upgraded_dump_url": "https://upgrade.flectra.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/upgraded/archive", - "modules_url": "https://upgrade.flectra.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/modules/archive", + "status_url": "https://upgrade.flectrahq.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/status", + "notes_url": "https://upgrade.flectrahq.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/upgraded/notes", + "original_sql_url": "https://upgrade.flectrahq.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/original/sql", + "original_dump_url": "https://upgrade.flectrahq.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/original/archive", + "upgraded_sql_url": "https://upgrade.flectrahq.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/upgraded/sql", + "upgraded_dump_url": "https://upgrade.flectrahq.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/upgraded/archive", + "modules_url": "https://upgrade.flectrahq.com/database/eu1/10534/Aw7pItGVKFuZ_FOR3U8VFQ==/modules/archive", "filesize": "912.99 Kb", "database_uuid": null, "created_at": "2018-09-09 07:13:49", @@ -652,8 +652,8 @@ your database dump. Here is a sample session using the 'sftp' client: :: - $ sftp -P 2200 user_10534@upgrade.flectra.com - Connected to upgrade.flectra.com. + $ sftp -P 2200 user_10534@upgrade.flectrahq.com + Connected to upgrade.flectrahq.com. sftp> get upgraded_openchs.70.cdump /path/to/upgraded_openchs.70.cdump Downloading /upgraded_openchs.70.cdump to /path/to/upgraded_openchs.70.cdump diff --git a/flectra/addons/base/models/ir_mail_server.py b/flectra/addons/base/models/ir_mail_server.py index c7b598b43b..3d159132bb 100644 --- a/flectra/addons/base/models/ir_mail_server.py +++ b/flectra/addons/base/models/ir_mail_server.py @@ -108,7 +108,7 @@ class IrMailServer(models.Model): try: smtp = self.connect(mail_server_id=server.id) # simulate sending an email from current user's address - without sending it! - email_from, email_to = self.env.user.email, 'noreply@flectra.com' + email_from, email_to = self.env.user.email, 'noreply@flectrahq.com' if not email_from: raise UserError(_('Please configure an email on the current user to simulate ' 'sending an email message via this outgoing server')) diff --git a/flectra/addons/base/tests/test_base.py b/flectra/addons/base/tests/test_base.py index b38f236b78..6d19f5794e 100644 --- a/flectra/addons/base/tests/test_base.py +++ b/flectra/addons/base/tests/test_base.py @@ -504,7 +504,7 @@ class TestBase(TransactionCase): def test_70_archive_internal_partners(self): test_partner = self.env['res.partner'].create({'name':'test partner'}) test_user = self.env['res.users'].create({ - 'login': 'test@flectra.com', + 'login': 'test@flectrahq.com', 'partner_id': test_partner.id, }) # Cannot archive the partner diff --git a/flectra/addons/base/tests/test_qweb.py b/flectra/addons/base/tests/test_qweb.py index bb6283ac48..3fc7d2fb46 100644 --- a/flectra/addons/base/tests/test_qweb.py +++ b/flectra/addons/base/tests/test_qweb.py @@ -503,7 +503,7 @@ class TestQWebNS(TransactionCase): 'type': 'qweb', 'arch': u""" - +