[REN] rename namespace

This commit is contained in:
Flectra 2018-01-16 02:34:37 -08:00
parent 769eafb483
commit b79252ec3e
4392 changed files with 10147 additions and 10144 deletions

View File

@ -1,12 +1,12 @@
# -*- coding: utf-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 controllers from . import controllers
from . import models from . import models
from . import wizard from . import wizard
from . import report from . import report
from odoo import api, SUPERUSER_ID from flectra import api, SUPERUSER_ID
SYSCOHADA_LIST = ['BJ', 'BF', 'CM', 'CF', 'KM', 'CG', 'CI', 'GA', 'GN', 'GW', 'GQ', 'ML', 'NE', 'CD', 'SN', 'TD', 'TG'] SYSCOHADA_LIST = ['BJ', 'BF', 'CM', 'CF', 'KM', 'CG', 'CI', 'GA', 'GN', 'GW', 'GQ', 'ML', 'NE', 'CD', 'SN', 'TD', 'TG']

View File

@ -1,7 +1,8 @@
# -*- coding: utf-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.
{ {
'name' : 'Invoicing', 'name' : 'Invoicing',
"author":"Odoo S.A",
'version' : '1.1', 'version' : '1.1',
'summary': 'Send Invoices and Track Payments', 'summary': 'Send Invoices and Track Payments',
'sequence': 30, 'sequence': 30,
@ -9,7 +10,7 @@
Core mechanisms for the accounting modules. To display the menuitems, install the module account_invoicing. Core mechanisms for the accounting modules. To display the menuitems, install the module account_invoicing.
""", """,
'category': 'Accounting', 'category': 'Accounting',
'website': 'https://www.odoo.com/page/billing', 'website': 'https://flectrahq.com/page/billing',
'images' : ['images/accounts.jpeg','images/bank_statement.jpeg','images/cash_register.jpeg','images/chart_of_accounts.jpeg','images/customer_invoice.jpeg','images/journal_entries.jpeg'], 'images' : ['images/accounts.jpeg','images/bank_statement.jpeg','images/cash_register.jpeg','images/chart_of_accounts.jpeg','images/customer_invoice.jpeg','images/journal_entries.jpeg'],
'depends' : ['base_setup', 'product', 'analytic', 'web_planner', 'portal'], 'depends' : ['base_setup', 'product', 'analytic', 'web_planner', 'portal'],
'data': [ 'data': [

View File

@ -1,5 +1,5 @@
# -*- coding: utf-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 mail from . import mail
from . import portal from . import portal

View File

@ -1,12 +1,12 @@
# -*- coding: utf-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 werkzeug import werkzeug
from odoo.addons.mail.controllers.main import MailController from flectra.addons.mail.controllers.main import MailController
from odoo.exceptions import AccessError from flectra.exceptions import AccessError
from odoo.http import request from flectra.http import request
from odoo.tools.misc import consteq from flectra.tools.misc import consteq
class MailController(MailController): class MailController(MailController):

View File

@ -1,11 +1,11 @@
# -*- coding: utf-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 flectra import http, _
from odoo.addons.portal.controllers.portal import CustomerPortal, pager as portal_pager from flectra.addons.portal.controllers.portal import CustomerPortal, pager as portal_pager
from odoo.exceptions import AccessError from flectra.exceptions import AccessError
from odoo.http import request from flectra.http import request
from odoo.tools import consteq from flectra.tools import consteq
class PortalAccount(CustomerPortal): class PortalAccount(CustomerPortal):

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data noupdate="1"> <data noupdate="1">
<!-- TAGS FOR CASH FLOW STATEMENT --> <!-- TAGS FOR CASH FLOW STATEMENT -->
@ -161,4 +161,4 @@
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data noupdate="1"> <data noupdate="1">
<!-- account.account.type --> <!-- account.account.type -->
<record model="account.account.type" id="data_account_type_receivable"> <record model="account.account.type" id="data_account_type_receivable">
@ -81,5 +81,5 @@
<field name="type">other</field> <field name="type">other</field>
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<odoo> <flectra>
<!-- Mail template are declared in a NOUPDATE block <!-- Mail template are declared in a NOUPDATE block
so users can freely customize/delete them --> so users can freely customize/delete them -->
@ -128,7 +128,7 @@ from ${object.company_id.name}.
</tr> </tr>
<tr> <tr>
<td align="center"> <td align="center">
Powered by <a target="_blank" href="https://www.odoo.com">Odoo</a>. Powered by <a target="_blank" href="https://www.flectra.com">Flectra</a>.
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -137,4 +137,4 @@ from ${object.company_id.name}.
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data noupdate="1"> <data noupdate="1">
<!--Email template --> <!--Email template -->
@ -42,4 +42,4 @@ ${user.signature | safe}
}" }"
/> />
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<!-- TAGS FOR RETRIEVING THE DEMO ACCOUNTS --> <!-- TAGS FOR RETRIEVING THE DEMO ACCOUNTS -->
@ -53,4 +53,4 @@
<field name="property_supplier_payment_term_id" ref="account_payment_term"/> <field name="property_supplier_payment_term_id" ref="account_payment_term"/>
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -3,11 +3,11 @@
import time import time
import math import math
from odoo.osv import expression from flectra.osv import expression
from odoo.tools.float_utils import float_round as round from flectra.tools.float_utils import float_round as round
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
from odoo.exceptions import UserError, ValidationError from flectra.exceptions import UserError, ValidationError
from odoo import api, fields, models, _ from flectra import api, fields, models, _
class AccountAccountType(models.Model): 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', 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(), 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"\ "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', 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(), 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"\ help="Manual:Pay bill by cash or any other method outside of Flectra.\n"\
"Check:Pay bill by check and print it from Odoo.\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.") "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_inbound = fields.Boolean(compute='_methods_compute', store=True)
at_least_one_outbound = fields.Boolean(compute='_methods_compute', store=True) at_least_one_outbound = fields.Boolean(compute='_methods_compute', store=True)

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import api, fields, models, _ from flectra import api, fields, models, _
from math import copysign from math import copysign

View File

@ -1,11 +1,11 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import api, fields, models, _ from flectra import api, fields, models, _
from odoo.osv import expression from flectra.osv import expression
from odoo.tools import float_is_zero, pycompat from flectra.tools import float_is_zero, pycompat
from odoo.tools import float_compare, float_round, float_repr from flectra.tools import float_compare, float_round, float_repr
from odoo.tools.misc import formatLang from flectra.tools.misc import formatLang
from odoo.exceptions import UserError, ValidationError from flectra.exceptions import UserError, ValidationError
import time import time
import math import math
@ -378,7 +378,7 @@ class AccountBankStatementLine(models.Model):
@api.constrains('amount') @api.constrains('amount')
def _check_amount(self): def _check_amount(self):
# Allow to enter bank statement line with an amount of 0, # 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): 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.')) raise ValidationError(_('A Cash transaction can\'t have a 0 amount.'))

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import models, fields, api, _ from flectra import models, fields, api, _
from odoo.tools import float_round from flectra.tools import float_round
class AccountCashRounding(models.Model): class AccountCashRounding(models.Model):

View File

@ -9,13 +9,13 @@ from lxml import etree
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta
from werkzeug.urls import url_encode from werkzeug.urls import url_encode
from odoo import api, exceptions, fields, models, _ from flectra import api, exceptions, fields, models, _
from odoo.tools import float_is_zero, float_compare, pycompat from flectra.tools import float_is_zero, float_compare, pycompat
from odoo.tools.misc import formatLang 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 import logging
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)

View File

@ -3,10 +3,10 @@ from datetime import datetime, timedelta
from babel.dates import format_datetime, format_date from babel.dates import format_datetime, format_date
from odoo import models, api, _, fields from flectra import models, api, _, fields
from odoo.release import version from flectra.release import version
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DF from flectra.tools import DEFAULT_SERVER_DATE_FORMAT as DF
from odoo.tools.misc import formatLang from flectra.tools.misc import formatLang
class account_journal(models.Model): class account_journal(models.Model):
_inherit = "account.journal" _inherit = "account.journal"

View File

@ -2,13 +2,13 @@
import time import time
from collections import OrderedDict from collections import OrderedDict
from odoo import api, fields, models, _ from flectra import api, fields, models, _
from odoo.osv import expression from flectra.osv import expression
from odoo.exceptions import RedirectWarning, UserError, ValidationError from flectra.exceptions import RedirectWarning, UserError, ValidationError
from odoo.tools.misc import formatLang from flectra.tools.misc import formatLang
from odoo.tools import float_is_zero, float_compare from flectra.tools import float_is_zero, float_compare
from odoo.tools.safe_eval import safe_eval from flectra.tools.safe_eval import safe_eval
from odoo.addons import decimal_precision as dp from flectra.addons import decimal_precision as dp
from lxml import etree from lxml import etree
#---------------------------------------------------------- #----------------------------------------------------------
@ -1239,7 +1239,7 @@ class AccountMoveLine(models.Model):
# Create tax lines # Create tax lines
tax_lines_vals = [] tax_lines_vals = []
if context.get('apply_taxes') and vals.get('tax_ids'): 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')] 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 # Since create() receives ids instead of recordset, let's just use the old-api bridge
taxes = self.env['account.tax'].browse(tax_ids) taxes = self.env['account.tax'].browse(tax_ids)

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import models, fields, api, _ from flectra import models, fields, api, _
from odoo.exceptions import UserError, ValidationError from flectra.exceptions import UserError, ValidationError
MAP_INVOICE_TYPE_PARTNER_TYPE = { MAP_INVOICE_TYPE_PARTNER_TYPE = {
'out_invoice': 'customer', '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_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", 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"\ "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"\ "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 Odoo, you are suggested to reconcile the transaction with the batch deposit.To enable batch deposit,module account_batch_deposit must be installed.\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 ") "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', 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) help="Technical field used to adapt the interface to the payment type selected.", readonly=True)

View File

@ -1,9 +1,9 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo.exceptions import AccessError from flectra.exceptions import AccessError
from odoo import api, fields, models, _ from flectra import api, fields, models, _
from odoo import SUPERUSER_ID from flectra import SUPERUSER_ID
from odoo.exceptions import UserError from flectra.exceptions import UserError
import logging import logging

View File

@ -3,10 +3,10 @@
from datetime import timedelta, datetime from datetime import timedelta, datetime
import calendar import calendar
from odoo import fields, models, api, _ from flectra import fields, models, api, _
from odoo.exceptions import ValidationError from flectra.exceptions import ValidationError
from odoo.exceptions import UserError from flectra.exceptions import UserError
from odoo.tools.float_utils import float_round, float_is_zero from flectra.tools.float_utils import float_round, float_is_zero
class ResCompany(models.Model): class ResCompany(models.Model):

View File

@ -4,10 +4,10 @@ from ast import literal_eval
from operator import itemgetter from operator import itemgetter
import time import time
from odoo import api, fields, models, _ from flectra import api, fields, models, _
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT from flectra.tools import DEFAULT_SERVER_DATETIME_FORMAT
from odoo.exceptions import ValidationError from flectra.exceptions import ValidationError
from odoo.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP from flectra.addons.base.res.res_partner import WARNING_MESSAGE, WARNING_HELP
class AccountFiscalPosition(models.Model): class AccountFiscalPosition(models.Model):
_name = 'account.fiscal.position' _name = 'account.fiscal.position'

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import api, fields, models, _ from flectra import api, fields, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
class ProductCategory(models.Model): class ProductCategory(models.Model):

View File

@ -1,7 +1,7 @@
# -*- coding: utf-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 flectra import api, fields, models, _
class ResConfigSettings(models.TransientModel): class ResConfigSettings(models.TransientModel):

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import api, models from flectra import api, models
class PlannerAccount(models.Model): class PlannerAccount(models.Model):

View File

@ -1,5 +1,5 @@
# -*- coding: utf-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 account_financial_report from . import account_financial_report
from . import account_invoice_report from . import account_invoice_report

View File

@ -1,9 +1,9 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import time import time
from odoo import api, models, _ from flectra import api, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
from odoo.tools import float_is_zero from flectra.tools import float_is_zero
from datetime import datetime from datetime import datetime
from dateutil.relativedelta import relativedelta from dateutil.relativedelta import relativedelta

View File

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import time import time
from odoo import api, models, _ from flectra import api, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
class ReportTrialBalance(models.AbstractModel): class ReportTrialBalance(models.AbstractModel):

View File

@ -1,7 +1,7 @@
# -*- coding: utf-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 flectra import api, models, fields
# --------------------------------------------------------- # ---------------------------------------------------------
# Account Financial Report # Account Financial Report

View File

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import time import time
from odoo import api, models, _ from flectra import api, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
class ReportGeneralLedger(models.AbstractModel): class ReportGeneralLedger(models.AbstractModel):

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import tools from flectra import tools
from odoo import models, fields, api from flectra import models, fields, api
class AccountInvoiceReport(models.Model): class AccountInvoiceReport(models.Model):

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<record id="view_account_invoice_report_pivot" model="ir.ui.view"> <record id="view_account_invoice_report_pivot" model="ir.ui.view">
<field name="name">account.invoice.report.pivot</field> <field name="name">account.invoice.report.pivot</field>
@ -132,4 +132,4 @@
view_mode="graph"/> view_mode="graph"/>
</data> </data>
</odoo> </flectra>

View File

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import time import time
from odoo import api, models, _ from flectra import api, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
class ReportJournal(models.AbstractModel): class ReportJournal(models.AbstractModel):

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import time import time
from odoo import api, fields, models from flectra import api, fields, models
class ReportOverdue(models.AbstractModel): class ReportOverdue(models.AbstractModel):

View File

@ -2,9 +2,9 @@
from datetime import datetime from datetime import datetime
import time import time
from odoo import api, models, _ from flectra import api, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT from flectra.tools import DEFAULT_SERVER_DATE_FORMAT
class ReportPartnerLedger(models.AbstractModel): class ReportPartnerLedger(models.AbstractModel):

View File

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import time import time
from odoo import api, models, _ from flectra import api, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
class ReportFinancial(models.AbstractModel): class ReportFinancial(models.AbstractModel):

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_payment_receipt"> <template id="report_payment_receipt">
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-foreach="docs" t-as="o"> <t t-foreach="docs" t-as="o">
@ -57,4 +57,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo import api, models, _ from flectra import api, models, _
from odoo.exceptions import UserError from flectra.exceptions import UserError
class ReportTax(models.AbstractModel): class ReportTax(models.AbstractModel):

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data noupdate="0"> <data noupdate="0">
<record id="group_account_invoice" model="res.groups"> <record id="group_account_invoice" model="res.groups">
@ -150,4 +150,4 @@
<field name="groups" eval="[(4, ref('base.group_portal'))]"/> <field name="groups" eval="[(4, ref('base.group_portal'))]"/>
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,4 +1,4 @@
odoo.define('account.dashboard_setup_bar', function (require) { flectra.define('account.dashboard_setup_bar', function (require) {
"use strict"; "use strict";
var core = require('web.core'); var core = require('web.core');
@ -166,7 +166,7 @@ var AccountSetupBarController = KanbanController.extend({
/** /**
* @private * @private
* @param {OdooEvent} e * @param {FlectraEvent} e
*/ */
_onDashboardOpenAction: function (e) { _onDashboardOpenAction: function (e) {
var action_name = e.data.action_name; var action_name = e.data.action_name;
@ -179,19 +179,19 @@ var AccountSetupBarController = KanbanController.extend({
/** /**
* Manages the clicks on the setup bar buttons. * Manages the clicks on the setup bar buttons.
**/ **/
_triggerCompanyButtonAction: function (odooEvent) { _triggerCompanyButtonAction: function (flectraEvent) {
var self = this var self = this
if (odooEvent.data.rpc_method !== undefined) { if (flectraEvent.data.rpc_method !== undefined) {
self._rpc({ self._rpc({
model: 'res.company', model: 'res.company',
method: odooEvent.data.rpc_method, method: flectraEvent.data.rpc_method,
args: [], args: [],
}) })
.then( .then(
function(rslt_action) { function(rslt_action) {
if (rslt_action !== undefined) { if (rslt_action !== undefined) {
self.do_action(rslt_action, { self.do_action(rslt_action, {
action_context: odooEvent.data.context, action_context: flectraEvent.data.context,
on_close: function () { on_close: function () {
self.trigger_up('reload'); //Reloads the dashboard to refresh the status of the setup bar. self.trigger_up('reload'); //Reloads the dashboard to refresh the status of the setup bar.
}, },

View File

@ -1,4 +1,4 @@
odoo.define('account.payment', function (require) { flectra.define('account.payment', function (require) {
"use strict"; "use strict";
var AbstractField = require('web.AbstractField'); var AbstractField = require('web.AbstractField');

View File

@ -1,4 +1,4 @@
odoo.define('account.ReconciliationClientAction', function (require) { flectra.define('account.ReconciliationClientAction', function (require) {
"use strict"; "use strict";
var ReconciliationModel = require('account.ReconciliationModel'); 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 * to 'create' or 'match', the other lines switch to 'inactive' mode
* *
* @private * @private
* @param {OdooEvent} event * @param {FlectraEvent} event
*/ */
_onAction: function (event) { _onAction: function (event) {
var self = this; var self = this;
@ -234,7 +234,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
* call 'changeName' model method * call 'changeName' model method
* *
* @private * @private
* @param {OdooEvent} event * @param {FlectraEvent} event
*/ */
_onChangeName: function (event) { _onChangeName: function (event) {
var self = this; var self = this;
@ -253,7 +253,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
* call 'closeStatement' model method * call 'closeStatement' model method
* *
* @private * @private
* @param {OdooEvent} event * @param {FlectraEvent} event
*/ */
_onCloseStatement: function (event) { _onCloseStatement: function (event) {
var self = this; var self = this;
@ -272,7 +272,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
/** /**
* Load more statement and render them * Load more statement and render them
* *
* @param {OdooEvent} event * @param {FlectraEvent} event
*/ */
_onLoadMore: function (event) { _onLoadMore: function (event) {
return this._loadMore(this.model.defaultDisplayQty); return this._loadMore(this.model.defaultDisplayQty);
@ -283,7 +283,7 @@ var StatementAction = Widget.extend(ControlPanelMixin, {
* values and notifications then open the first available line * values and notifications then open the first available line
* *
* @private * @private
* @param {OdooEvent} event * @param {FlectraEvent} event
*/ */
_onValidate: function (event) { _onValidate: function (event) {
var self = this; var self = this;
@ -340,7 +340,7 @@ var ManualAction = StatementAction.extend({
* first available line * first available line
* *
* @private * @private
* @param {OdooEvent} event * @param {FlectraEvent} event
*/ */
_onValidate: function (event) { _onValidate: function (event) {
var self = this; var self = this;

View File

@ -1,4 +1,4 @@
odoo.define('account.ReconciliationModel', function (require) { flectra.define('account.ReconciliationModel', function (require) {
"use strict"; "use strict";
var BasicModel = require('web.BasicModel'); var BasicModel = require('web.BasicModel');

View File

@ -1,4 +1,4 @@
odoo.define('account.ReconciliationRenderer', function (require) { flectra.define('account.ReconciliationRenderer', function (require) {
"use strict"; "use strict";
var Widget = require('web.Widget'); var Widget = require('web.Widget');
@ -575,7 +575,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, {
}, },
/** /**
* @private * @private
* @param {OdooEvent} event * @param {FlectraEvent} event
*/ */
_onFieldChanged: function (event) { _onFieldChanged: function (event) {
event.stopPropagation(); event.stopPropagation();

View File

@ -1,4 +1,4 @@
odoo.define('account.tour_bank_statement_reconciliation', function(require) { flectra.define('account.tour_bank_statement_reconciliation', function(require) {
'use strict'; 'use strict';
var core = require('web.core'); var core = require('web.core');

View File

@ -1,12 +1,12 @@
.o_kanban_view.o_kanban_dashboard.o_account_kanban { .o_kanban_view.o_kanban_dashboard.o_account_kanban {
&:not(.o_kanban_nocontent) .o_account_dashboard_header{ &: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_account_dashboard_header {
.o-flex(1, 0, 100%); .o-flex(1, 0, 100%);
background-color: @odoo-view-background-color; background-color: @flectra-view-background-color;
h4 { h4 {
font-size: @font-size-base; font-size: @font-size-base;

View File

@ -6,17 +6,17 @@
} }
.o_kanban_card_settings { .o_kanban_card_settings {
padding-top: @odoo-horizontal-padding/2; padding-top: @flectra-horizontal-padding/2;
padding-bottom: @odoo-horizontal-padding/2; padding-bottom: @flectra-horizontal-padding/2;
border-top: 1px solid; border-top: 1px solid;
border-color: @odoo-brand-lightsecondary; border-color: @flectra-brand-lightsecondary;
} }
.o_dashboard_star { .o_dashboard_star {
font-size: 12px; font-size: 12px;
&.fa-star-o { &.fa-star-o {
color: @odoo-main-color-muted; color: @flectra-main-color-muted;
&:hover { &:hover {
color: gold; color: gold;
} }
@ -27,7 +27,7 @@
} }
.o_dashboard_graph { .o_dashboard_graph {
margin-bottom: -@odoo-horizontal-padding/2; margin-bottom: -@flectra-horizontal-padding/2;
} }
} }
@ -54,7 +54,7 @@
} }
g.tick.major { g.tick.major {
// Don't know why, but leads to strange bold text // Don't know why, but leads to strange bold text
// stroke: @odoo-brand-primary; // stroke: @flectra-brand-primary;
line { line {
display: none; display: none;
@ -68,13 +68,13 @@
g.nv-linesWrap { g.nv-linesWrap {
g.nv-group.nv-series-0 { g.nv-group.nv-series-0 {
fill-opacity: 0.3 !important; fill-opacity: 0.3 !important;
fill: @odoo-brand-primary !important; fill: @flectra-brand-primary !important;
stroke: @odoo-brand-primary !important; stroke: @flectra-brand-primary !important;
.nv-point { .nv-point {
visibility: hidden; visibility: hidden;
r: 3; r: 3;
stroke: @odoo-brand-primary !important; stroke: @flectra-brand-primary !important;
fill: white; fill: white;
stroke-width: 2; stroke-width: 2;
} }
@ -95,11 +95,11 @@
g.nv-group.nv-series-0 { g.nv-group.nv-series-0 {
g.past { g.past {
opacity: 0.5; opacity: 0.5;
fill: @odoo-brand-primary !important; fill: @flectra-brand-primary !important;
} }
g.future { g.future {
opacity: 0.5; opacity: 0.5;
fill: @odoo-brand-optional !important; fill: @flectra-brand-optional !important;
} }
} }
} }

View File

@ -42,7 +42,7 @@
.o_view_nocontent { .o_view_nocontent {
max-width: none; max-width: none;
padding: 0 10%; padding: 0 10%;
color: @odoo-main-color-muted; color: @flectra-main-color-muted;
font-size: 125%; font-size: 125%;
} }

View File

@ -21,7 +21,7 @@
</div> </div>
<div aria-valuemin="0" t-att-aria-valuenow="widget._initialState.valuenow" class="progress-bar" role="progressbar" style="width: 0%;" t-att-aria-valuemax="widget._initialState.valuemax"></div> <div aria-valuemin="0" t-att-aria-valuenow="widget._initialState.valuenow" class="progress-bar" role="progressbar" style="width: 0%;" t-att-aria-valuemax="widget._initialState.valuemax"></div>
</div> </div>
<button class="btn btn-default o_automatic_reconciliation pull-right" title="Let odoo try to reconcile entries for the user">Automatic reconciliation</button> <button class="btn btn-default o_automatic_reconciliation pull-right" title="Let flectra try to reconcile entries for the user">Automatic reconciliation</button>
<div class="notification_area"/> <div class="notification_area"/>
</div> </div>
<div class="o_reconciliation_lines"/> <div class="o_reconciliation_lines"/>

View File

@ -1,4 +1,4 @@
odoo.define('account.setup_bar_tests', function (require) { flectra.define('account.setup_bar_tests', function (require) {
"use strict"; "use strict";
var testUtils = require('web.test_utils'); var testUtils = require('web.test_utils');

View File

@ -1,4 +1,4 @@
odoo.define('account.reconciliation_field_tests', function (require) { flectra.define('account.reconciliation_field_tests', function (require) {
"use strict"; "use strict";
var FormView = require('web.FormView'); var FormView = require('web.FormView');

View File

@ -1,4 +1,4 @@
odoo.define('account.reconciliation_tests.data', function () { flectra.define('account.reconciliation_tests.data', function () {
"use strict"; "use strict";
var Datas = {}; var Datas = {};
@ -502,7 +502,7 @@ Datas.getParams = function () {
return Datas; return Datas;
}); });
odoo.define('account.reconciliation_tests', function (require) { flectra.define('account.reconciliation_tests', function (require) {
"use strict"; "use strict";
var ReconciliationClientAction = require('account.ReconciliationClientAction'); var ReconciliationClientAction = require('account.ReconciliationClientAction');
@ -663,7 +663,7 @@ QUnit.module('account', {
QUnit.test('Reconciliation validate without proposition', function (assert) { QUnit.test('Reconciliation validate without proposition', function (assert) {
assert.expect(1); 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); var clientAction = new ReconciliationClientAction.StatementAction(null, this.params.options);
testUtils.addMockEnvironment(clientAction, { testUtils.addMockEnvironment(clientAction, {
data: this.params.data, data: this.params.data,
@ -703,7 +703,7 @@ QUnit.module('account', {
QUnit.test('Reconciliation validate with proposition', function (assert) { QUnit.test('Reconciliation validate with proposition', function (assert) {
assert.expect(1); 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); var clientAction = new ReconciliationClientAction.StatementAction(null, this.params.options);
testUtils.addMockEnvironment(clientAction, { testUtils.addMockEnvironment(clientAction, {
data: this.params.data, data: this.params.data,

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data noupdate="0"> <data noupdate="0">
<!-- This should be loaded for non python tests in other modules that require accounting test data but that don't depend on any localization --> <!-- This should be loaded for non python tests in other modules that require accounting test data but that don't depend on any localization -->
@ -307,4 +307,4 @@
<field name="company_id" ref="base.main_company"/> <field name="company_id" ref="base.main_company"/>
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -14,7 +14,7 @@
- -
!python {model: account.invoice, id: False}: | !python {model: account.invoice, id: False}: |
import os import os
from odoo import tools from flectra import tools
data, format = ref('account.report_invoice').render(ref('account.account_invoice_customer0')) data, format = ref('account.report_invoice').render(ref('account.account_invoice_customer0'))
if tools.config['test_report_directory']: if tools.config['test_report_directory']:
open(os.path.join(tools.config['test_report_directory'], 'account-invoice.'+format), 'wb+').write(data) 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}: | !python {model: res.partner, id: False}: |
import os 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')]) 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']: if tools.config['test_report_directory']:
open(os.path.join(tools.config['test_report_directory'], 'account-report_overdue.'+format), 'wb+').write(data) 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}: | !python {model: account.account, id: False}: |
ctx={} ctx={}
data_dict = {'chart_account_id':ref('account.chart0')} 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') 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 Print the Account Balance Sheet in Normal mode
@ -41,7 +41,7 @@
!python {model: account.account, id: False}: | !python {model: account.account, id: False}: |
ctx={} ctx={}
data_dict = {'chart_account_id':ref('account.chart0'), 'account_report_id': ref('account_financial_report_balancesheet0')} 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') 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 Print the Account Balance Report in Normal mode through the wizard - From Account Chart
@ -49,7 +49,7 @@
!python {model: account.account, id: False}: | !python {model: account.account, id: False}: |
ctx={} ctx={}
data_dict = {'chart_account_id':ref('account.chart0')} 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') 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) Print the General Ledger Report (in Landscape Mode)
@ -57,7 +57,7 @@
!python {model: account.account, id: False}: | !python {model: account.account, id: False}: |
ctx={} ctx={}
data_dict = {'chart_account_id':ref('account.chart0')} 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') 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 Print the Profit-Loss Report in Normal Mode
@ -65,5 +65,5 @@
!python {model: account.account, id: False}: | !python {model: account.account, id: False}: |
ctx={} ctx={}
data_dict = {'chart_account_id':ref('account.chart0'), 'target_move': 'all', 'account_report_id': ref('account_financial_report_balancesheet0')} 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') test_reports.try_report_action(self.env.cr, self.env.uid, 'action_account_report',wiz_data=data_dict, context=ctx, our_module='account')

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo.tests.common import HttpCase from flectra.tests.common import HttpCase
from odoo.exceptions import ValidationError from flectra.exceptions import ValidationError
class AccountingTestCase(HttpCase): class AccountingTestCase(HttpCase):
""" This class extends the base TransactionCase, in order to test the """ This class extends the base TransactionCase, in order to test the

View File

@ -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): class AccountTestUsers(AccountingTestCase):

View File

@ -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 import datetime

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo.addons.account.tests.account_test_classes import AccountingTestCase from flectra.addons.account.tests.account_test_classes import AccountingTestCase
from odoo.exceptions import ValidationError from flectra.exceptions import ValidationError
import time import time

View File

@ -1,7 +1,7 @@
from odoo.addons.account.tests.account_test_classes import AccountingTestCase from flectra.addons.account.tests.account_test_classes import AccountingTestCase
from odoo.osv.orm import except_orm from flectra.osv.orm import except_orm
from datetime import datetime, timedelta from datetime import datetime, timedelta
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT from flectra.tools import DEFAULT_SERVER_DATE_FORMAT
class TestPeriodState(AccountingTestCase): class TestPeriodState(AccountingTestCase):
""" """

View File

@ -1,5 +1,5 @@
from odoo.addons.account.tests.account_test_classes import AccountingTestCase from flectra.addons.account.tests.account_test_classes import AccountingTestCase
from odoo.exceptions import Warning from flectra.exceptions import Warning
class TestAccountSupplierInvoice(AccountingTestCase): class TestAccountSupplierInvoice(AccountingTestCase):

View File

@ -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): class TestAccountValidateAccount(AccountingTestCase):

View File

@ -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): class TestBankStatementReconciliation(AccountingTestCase):

View File

@ -1,8 +1,8 @@
from odoo.tests import HttpCase from flectra.tests import HttpCase
class TestUi(HttpCase): class TestUi(HttpCase):
post_install = True post_install = True
at_install = False at_install = False
def test_01_admin_bank_statement_reconciliation(self): 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")

View File

@ -1,4 +1,4 @@
from odoo.tests import common from flectra.tests import common
class TestFiscalPosition(common.TransactionCase): class TestFiscalPosition(common.TransactionCase):
"""Tests for fiscal positions in auto apply (account.fiscal.position). """Tests for fiscal positions in auto apply (account.fiscal.position).

View File

@ -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): class TestManualReconciliation(AccountingTestCase):

View File

@ -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 time
class TestPayment(AccountingTestCase): class TestPayment(AccountingTestCase):

View File

@ -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 time
class TestProductIdChange(AccountingTestCase): class TestProductIdChange(AccountingTestCase):

View File

@ -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 time
import unittest import unittest

View File

@ -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): class TestSearch(AccountTestUsers):

View File

@ -1,7 +1,7 @@
# -*- coding: utf-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.tests.account_test_classes import AccountingTestCase from flectra.addons.account.tests.account_test_classes import AccountingTestCase
class TestSetupBar(AccountingTestCase): class TestSetupBar(AccountingTestCase):

View File

@ -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 import time

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from odoo.tests.common import HttpCase from flectra.tests.common import HttpCase
class AccountingTestTemplConsistency(HttpCase): class AccountingTestTemplConsistency(HttpCase):

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="assets_backend" name="account assets" inherit_id="web.assets_backend"> <template id="assets_backend" name="account assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<link rel="stylesheet" href="/account/static/src/css/account_bank_and_cash.css"/> <link rel="stylesheet" href="/account/static/src/css/account_bank_and_cash.css"/>
@ -25,4 +25,4 @@
<script type="text/javascript" src="/account/static/tests/account_dashboard_setup_bar_tests.js"></script> <script type="text/javascript" src="/account/static/tests/account_dashboard_setup_bar_tests.js"></script>
</xpath> </xpath>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<record id="view_account_analytic_line_form_inherit_account" model="ir.ui.view"> <record id="view_account_analytic_line_form_inherit_account" model="ir.ui.view">
<field name="name">account.analytic.line.form.inherit.account</field> <field name="name">account.analytic.line.form.inherit.account</field>
@ -102,4 +102,4 @@
groups="analytic.group_analytic_accounting"/> groups="analytic.group_analytic_accounting"/>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<!-- Action --> <!-- Action -->
<record id="rounding_list_action" model="ir.actions.act_window"> <record id="rounding_list_action" model="ir.actions.act_window">
@ -61,4 +61,4 @@
<menuitem id="menu_action_rounding_form_view" action="rounding_list_action" <menuitem id="menu_action_rounding_form_view" action="rounding_list_action"
groups="account.group_cash_rounding" parent="account_management_menu" sequence="4"/> groups="account.group_cash_rounding" parent="account_management_menu" sequence="4"/>
</data> </data>
</odoo> </flectra>

View File

@ -1,4 +1,4 @@
<odoo> <flectra>
<record id="account_journal_dashboard_kanban_view_js" model="ir.ui.view"> <record id="account_journal_dashboard_kanban_view_js" model="ir.ui.view">
<field name="name">account.journal.dashboard.kanban.js</field> <field name="name">account.journal.dashboard.kanban.js</field>
<field name="model">account.journal</field> <field name="model">account.journal</field>
@ -9,4 +9,4 @@
</xpath> </xpath>
</field> </field>
</record> </record>
</odoo> </flectra>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data noupdate="1"> <data noupdate="1">
<!-- <!--
Financial Reports Financial Reports
@ -65,4 +65,4 @@
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<!-- Invoices --> <!-- Invoices -->
@ -665,7 +665,7 @@
<p class="oe_view_nocontent_create"> <p class="oe_view_nocontent_create">
Click to create a customer invoice. Click to create a customer invoice.
</p><p> </p><p>
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 collection of customer payments. Your customer receives the
invoice by email and he can pay online and/or import it invoice by email and he can pay online and/or import it
in his own system. in his own system.
@ -811,4 +811,4 @@
src_model="account.journal"/> src_model="account.journal"/>
</data> </data>
</odoo> </flectra>

View File

@ -1,4 +1,4 @@
<odoo> <flectra>
<record id="account_journal_dashboard_kanban_view" model="ir.ui.view"> <record id="account_journal_dashboard_kanban_view" model="ir.ui.view">
<field name="name">account.journal.dashboard.kanban</field> <field name="name">account.journal.dashboard.kanban</field>
<field name="model">account.journal</field> <field name="model">account.journal</field>
@ -246,7 +246,7 @@
<div class="col-xs-6 o_kanban_primary_right"> <div class="col-xs-6 o_kanban_primary_right">
<div class="row"> <div class="row">
<div class="col-xs-6"> <div class="col-xs-6">
<span title="Balance in Odoo">Balance in GL</span> <span title="Balance in Flectra">Balance in GL</span>
</div> </div>
<div class="col-xs-6 text-right"> <div class="col-xs-6 text-right">
<span><t t-esc="dashboard.account_balance"/></span> <span><t t-esc="dashboard.account_balance"/></span>
@ -332,4 +332,4 @@
</record> </record>
<menuitem id="menu_board_journal_1" name="Dashboard" action="open_account_journal_dashboard_kanban" parent="menu_finance" sequence="1" groups="account.group_account_user"/> <menuitem id="menu_board_journal_1" name="Dashboard" action="open_account_journal_dashboard_kanban" parent="menu_finance" sequence="1" groups="account.group_account_user"/>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<!-- Top menu item --> <!-- Top menu item -->
@ -46,5 +46,5 @@
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<record id="view_account_payment_tree" model="ir.ui.view"> <record id="view_account_payment_tree" model="ir.ui.view">
@ -342,4 +342,4 @@ records.post()
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,4 +1,4 @@
<odoo> <flectra>
<template id="portal_my_home_menu_invoice" name="Portal layout : invoice menu entries" inherit_id="portal.portal_layout" priority="30"> <template id="portal_my_home_menu_invoice" name="Portal layout : invoice menu entries" inherit_id="portal.portal_layout" priority="30">
<xpath expr="//ol[hasclass('o_portal_submenu')]" position="inside"> <xpath expr="//ol[hasclass('o_portal_submenu')]" position="inside">
<li t-if="page_name == 'invoice'" class="active"> <li t-if="page_name == 'invoice'" class="active">
@ -270,4 +270,4 @@
</div> </div>
</div> </div>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<!-- QWeb Reports --> <!-- QWeb Reports -->
<report <report
@ -109,4 +109,4 @@
/> />
</data> </data>
</odoo> </flectra>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<odoo> <flectra>
<data> <data>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<!-- This file must be loaded _after_ account_demo.xml ! --> <!-- This file must be loaded _after_ account_demo.xml ! -->
<record id="test_invoice_1" model="account.invoice"> <record id="test_invoice_1" model="account.invoice">
@ -59,4 +59,4 @@
<test expr="state">paid</test> <test expr="state">paid</test>
</assert> </assert>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
@ -719,7 +719,7 @@
occurring over a given period of time on a bank account. You occurring over a given period of time on a bank account. You
should receive this periodicaly from your bank. should receive this periodicaly from your bank.
</p><p> </p><p>
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. the related sale or puchase invoices.
</p> </p>
</field> </field>
@ -802,7 +802,7 @@
<p> <p>
A bank statement line is a financial transaction on a bank account. A bank statement line is a financial transaction on a bank account.
</p><p> </p><p>
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). the related sale or puchase invoice(s).
</p> </p>
</field> </field>
@ -1526,7 +1526,7 @@
A journal entry consists of several journal items, each of A journal entry consists of several journal items, each of
which is either a debit or a credit transaction. which is either a debit or a credit transaction.
</p><p> </p><p>
Odoo automatically creates one journal entry per accounting Flectra automatically creates one journal entry per accounting
document: invoice, refund, vendor payment, bank statements, document: invoice, refund, vendor payment, bank statements,
etc. So, you should record journal entries manually only/mainly etc. So, you should record journal entries manually only/mainly
for miscellaneous operations. for miscellaneous operations.
@ -2246,4 +2246,4 @@
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<record id="view_account_position_form" model="ir.ui.view"> <record id="view_account_position_form" model="ir.ui.view">
@ -212,4 +212,4 @@
</field> </field>
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<record id="product_template_form_view" model="ir.ui.view"> <record id="product_template_form_view" model="ir.ui.view">
<field name="name">product.template.form.inherit</field> <field name="name">product.template.form.inherit</field>
@ -46,4 +46,4 @@
</field> </field>
</record> </record>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_agedpartnerbalance"> <template id="report_agedpartnerbalance">
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-call="web.internal_layout"> <t t-call="web.internal_layout">
@ -92,4 +92,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_financial"> <template id="report_financial">
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-foreach="docs" t-as="o"> <t t-foreach="docs" t-as="o">
@ -107,4 +107,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_generalledger"> <template id="report_generalledger">
<t t-call="web.html_container"> <t t-call="web.html_container">
@ -104,4 +104,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<template id="report_invoice_document"> <template id="report_invoice_document">
<t t-call="web.external_layout"> <t t-call="web.external_layout">
@ -193,4 +193,4 @@
</t> </t>
</template> </template>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_journal"> <template id="report_journal">
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="12"/> <t t-set="data_report_margin_top" t-value="12"/>
@ -100,4 +100,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="account.report_overdue_document"> <template id="account.report_overdue_document">
<t t-call="web.external_layout"> <t t-call="web.external_layout">
<div class="page"> <div class="page">
@ -85,4 +85,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_partnerledger"> <template id="report_partnerledger">
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="12"/> <t t-set="data_report_margin_top" t-value="12"/>
@ -90,4 +90,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_tax"> <template id="report_tax">
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-call="web.internal_layout"> <t t-call="web.internal_layout">
@ -36,4 +36,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="report_trialbalance"> <template id="report_trialbalance">
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-call="web.internal_layout"> <t t-call="web.internal_layout">
@ -65,4 +65,4 @@
</t> </t>
</t> </t>
</template> </template>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<data> <data>
<record id="open_account_charts_modules" model="ir.actions.act_window"> <record id="open_account_charts_modules" model="ir.actions.act_window">
<field name="name">Chart Templates</field> <field name="name">Chart Templates</field>
@ -482,4 +482,4 @@
<menuitem id="menu_account_config" name="Settings" parent="menu_finance_configuration" <menuitem id="menu_account_config" name="Settings" parent="menu_finance_configuration"
sequence="0" action="action_account_config" groups="base.group_system"/> sequence="0" action="action_account_config" groups="base.group_system"/>
</data> </data>
</odoo> </flectra>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<record id="tax_adjustments_form" model="ir.actions.act_window"> <record id="tax_adjustments_form" model="ir.actions.act_window">
<field name="name">Tax Adjustments</field> <field name="name">Tax Adjustments</field>
<field name="res_model">tax.adjustments.wizard</field> <field name="res_model">tax.adjustments.wizard</field>
@ -8,4 +8,4 @@
<field name="target">new</field> <field name="target">new</field>
</record> </record>
<menuitem action="tax_adjustments_form" id="menu_action_tax_adjustment" parent="account.menu_finance_entries_actions" sequence="30"/> <menuitem action="tax_adjustments_form" id="menu_action_tax_adjustment" parent="account.menu_finance_entries_actions" sequence="30"/>
</odoo> </flectra>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <flectra>
<template id="account_planner"> <template id="account_planner">
<t t-call="web_planner.pages"> <t t-call="web_planner.pages">
@ -9,7 +9,7 @@
<t t-set="hide_mark_as_done" t-value="True"/> <t t-set="hide_mark_as_done" t-value="True"/>
<div class="o_planner_intro"> <div class="o_planner_intro">
<p> <p>
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: Once you're done, you'll benefit from:
</p> </p>
<ul> <ul>
@ -28,11 +28,11 @@
<li>Your Trial Balance (list of accounts and their balances).</li> <li>Your Trial Balance (list of accounts and their balances).</li>
<li>Your outstanding invoices, payments, and undeposited funds.</li> <li>Your outstanding invoices, payments, and undeposited funds.</li>
</ul> </ul>
<p>Enjoy your Odoo experience,</p> <p>Enjoy your Flectra experience,</p>
<div class="mt32"> <div class="mt32">
<img class="signature mb8" src="/web_planner/static/src/img/fabien_signature.png"/> <img class="signature mb8" src="/web_planner/static/src/img/fabien_signature.png"/>
<address> <address>
For the Odoo Team,<br/> For the Flectra Team,<br/>
Fabien Pinckaers, Founder Fabien Pinckaers, Founder
</address> </address>
</div> </div>
@ -116,7 +116,7 @@
<br/> <br/>
<div class="alert alert-info info_icon" role="alert"> <div class="alert alert-info info_icon" role="alert">
<span class="fa fa-lightbulb-o fa-lg"/> <span class="fa fa-lightbulb-o fa-lg"/>
<p> Odoo can manage multiple companies, but we suggest to setup everything for your first company before configuring the other ones.</p> <p> Flectra can manage multiple companies, but we suggest to setup everything for your first company before configuring the other ones.</p>
</div> </div>
</t> </t>
<t t-call="web_planner.page"> <t t-call="web_planner.page">
@ -142,7 +142,7 @@
<t t-set="page_title">Chart of Accounts</t> <t t-set="page_title">Chart of Accounts</t>
<t t-if="not is_coa_installed"> <t t-if="not is_coa_installed">
<p>Before continuing, you must install the Chart of Account related to your country (or the generic one if your country is not listed).</p> <p>Before continuing, you must install the Chart of Account related to your country (or the generic one if your country is not listed).</p>
<a class="btn btn-sm odoo_purple" t-att-href="prepare_backend_url('account.open_account_charts_modules', 'kanban')">Install Chart of Account</a> <a class="btn btn-sm flectra_purple" t-att-href="prepare_backend_url('account.open_account_charts_modules', 'kanban')">Install Chart of Account</a>
</t> </t>
<t t-if="is_coa_installed"> <t t-if="is_coa_installed">
<p> <p>
@ -160,7 +160,7 @@
<t t-call="web_planner.page"> <t t-call="web_planner.page">
<t t-set="page_title">Taxes</t> <t t-set="page_title">Taxes</t>
<p class="text-muted"> <p class="text-muted">
Odoo has already preconfigured a few taxes according to your country.<br/>Simply review them and check if you need more. Flectra has already preconfigured a few taxes according to your country.<br/>Simply review them and check if you need more.
</p> </p>
<p> <p>
<strong>Check the Taxes configuration:</strong> <strong>Check the Taxes configuration:</strong>
@ -170,7 +170,7 @@
</ul> </ul>
</p> </p>
<p> <p>
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.
<ul> <ul>
<li><a t-att-href="prepare_backend_url('account.action_account_fiscal_position_form')">Review Fiscal Positions</a></li> <li><a t-att-href="prepare_backend_url('account.action_account_fiscal_position_form')">Review Fiscal Positions</a></li>
</ul> </ul>
@ -245,7 +245,7 @@
<div class="panel-body"> <div class="panel-body">
<p> <p>
We can handle the whole import process 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 manager a CSV file containing all your
data. data.
</p><p> </p><p>
@ -263,7 +263,7 @@
<t t-call="web_planner.page"> <t t-call="web_planner.page">
<t t-set="page_title">Your Products</t> <t t-set="page_title">Your Products</t>
<p> <p>
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. whether or not it is goods, consumables, or services.
Choose how you want to create your products: Choose how you want to create your products:
</p> </p>
@ -297,7 +297,7 @@
<div class="panel-body"> <div class="panel-body">
<p> <p>
We can handle the whole import process 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 manager a CSV file containing all your
products. products.
</p><p> </p><p>
@ -321,7 +321,7 @@
<p> <p>
<ul> <ul>
<li>In your old accounting software, print a trial balance</li> <li>In your old accounting software, print a trial balance</li>
<li>In Odoo, <a t-att-href="prepare_backend_url('account.action_move_journal_line')">create a journal entry</a> to set the balance of all of your accounts.</li> <li>In Flectra, <a t-att-href="prepare_backend_url('account.action_move_journal_line')">create a journal entry</a> to set the balance of all of your accounts.</li>
</ul> </ul>
</p> </p>
<div class="alert alert-info info_icon" role="alert"> <div class="alert alert-info info_icon" role="alert">
@ -330,7 +330,7 @@
It's common practice to change your accounting software It's common practice to change your accounting software
at the end of a fiscal year. This allows you to have less 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, 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. now, and then move all other accounting transactions at a later time.
</p> </p>
</div> </div>
@ -340,19 +340,19 @@
<t t-set="page_title">Outstanding Transactions</t> <t t-set="page_title">Outstanding Transactions</t>
<p class="text-muted"> <p class="text-muted">
If you want to be able to send your customers their statements 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 in the payable and receivable accounts. These would be invoices
that have not been paid or payments that have not been reconciled. that have not been paid or payments that have not been reconciled.
</p><p> </p><p>
Registering outstanding invoices and payments can be a huge undertaking, 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:
</p> </p>
<ul> <ul>
<li>Sending customer statements (outstanding invoices) manually during the transition period</li> <li>Sending customer statements (outstanding invoices) manually during the transition period</li>
<li>Registering payments related to outstanding invoices separately in a different account (e.g. Account Receivables 2014)</li> <li>Registering payments related to outstanding invoices separately in a different account (e.g. Account Receivables 2014)</li>
</ul> </ul>
<p> <p>
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:
</p> </p>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
@ -394,14 +394,14 @@
<t t-call="web_planner.page"> <t t-call="web_planner.page">
<t t-set="page_title">Extra Features</t> <t t-set="page_title">Extra Features</t>
<p class="text-muted"> <p class="text-muted">
Odoo Accounting has many free extra-features: Flectra Accounting has many free extra-features:
</p> </p>
<div class="row o_planner_row_apps"> <div class="row o_planner_row_apps">
<div class="text-center col-md-4"> <div class="text-center col-md-4">
<span class="fa fa-building-o fa-4x"></span> <span class="fa fa-building-o fa-4x"></span>
<h3><strong>Assets Management</strong></h3> <h3><strong>Assets Management</strong></h3>
<p>Manage your various fixed assets, such as buildings, machinery, materials, cars, etc..., and calculate their associated depreciation over time.</p> <p>Manage your various fixed assets, such as buildings, machinery, materials, cars, etc..., and calculate their associated depreciation over time.</p>
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'account_asset')" class="btn odoo_purple"> <a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'account_asset')" class="btn flectra_purple">
<span class="fa fa-arrow-circle-o-down"/> Install Now <span class="fa fa-arrow-circle-o-down"/> Install Now
</a> </a>
</div> </div>
@ -410,7 +410,7 @@
<h3><strong>Revenue Recognition</strong></h3> <h3><strong>Revenue Recognition</strong></h3>
<p>Use in conjunction with contracts to calculate your monthly revenue for multi-month contracts.</p> <p>Use in conjunction with contracts to calculate your monthly revenue for multi-month contracts.</p>
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'account_deferred_revenue')" <a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'account_deferred_revenue')"
class="btn odoo_purple"> class="btn flectra_purple">
<span class="fa fa-arrow-circle-o-down"/> Install Now <span class="fa fa-arrow-circle-o-down"/> Install Now
</a> </a>
</div> </div>
@ -419,7 +419,7 @@
<h3><strong>Deposit Tickets</strong></h3> <h3><strong>Deposit Tickets</strong></h3>
<p>Simplify your cash, checks, or credit cards deposits with an integrated batch payment function.</p> <p>Simplify your cash, checks, or credit cards deposits with an integrated batch payment function.</p>
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'account_batch_deposit')" <a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'account_batch_deposit')"
class="btn odoo_purple"> class="btn flectra_purple">
<span class="fa fa-arrow-circle-o-down"/> Install Now <span class="fa fa-arrow-circle-o-down"/> Install Now
</a> </a>
</div> </div>
@ -430,7 +430,7 @@
<h3><strong>Expenses</strong></h3> <h3><strong>Expenses</strong></h3>
<p>Manage your employee expenses, from encoding, to payments and reporting.</p> <p>Manage your employee expenses, from encoding, to payments and reporting.</p>
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'hr_expense')" <a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'hr_expense')"
class="btn odoo_purple"> class="btn flectra_purple">
<span class="fa fa-arrow-circle-o-down"/> Install Now <span class="fa fa-arrow-circle-o-down"/> Install Now
</a> </a>
</div> </div>
@ -439,7 +439,7 @@
<h3><strong>Purchases</strong></h3> <h3><strong>Purchases</strong></h3>
<p>Validate purchase orders and control vendor bills by departments.</p> <p>Validate purchase orders and control vendor bills by departments.</p>
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'purchase')" <a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'purchase')"
class="btn odoo_purple"> class="btn flectra_purple">
<span class="fa fa-arrow-circle-o-down"/> Install Now <span class="fa fa-arrow-circle-o-down"/> Install Now
</a> </a>
</div> </div>
@ -448,7 +448,7 @@
<h3><strong>Contracts &amp; Subscriptions</strong></h3> <h3><strong>Contracts &amp; Subscriptions</strong></h3>
<p>Manage time &amp; material contracts or fixed-price recurring subscriptions.</p> <p>Manage time &amp; material contracts or fixed-price recurring subscriptions.</p>
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'sale_subscription')" <a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'sale_subscription')"
class="btn odoo_purple"> class="btn flectra_purple">
<span class="fa fa-arrow-circle-o-down"/> Install Now <span class="fa fa-arrow-circle-o-down"/> Install Now
</a> </a>
</div> </div>
@ -464,7 +464,7 @@
When inviting users, you will need to define which access rights they are allowed to have. 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. This is done by assigning a role to each user.
</p> </p>
<p><strong>There are three different levels of access rights in Odoo:</strong></p> <p><strong>There are three different levels of access rights in Flectra:</strong></p>
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<div class="panel panel-success"> <div class="panel panel-success">
@ -517,7 +517,7 @@
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<strong>Next action:</strong><br/> <strong>Next action:</strong><br/>
<a t-att-href="prepare_backend_url('base.action_res_users')" class="btn odoo_purple"> <a t-att-href="prepare_backend_url('base.action_res_users')" class="btn flectra_purple">
<span class="fa"/> Invite Your Users <span class="fa"/> Invite Your Users
</a> </a>
</div> </div>
@ -526,7 +526,7 @@
<t t-call="web_planner.page"> <t t-call="web_planner.page">
<t t-set="page_title">Customer Flow</t> <t t-set="page_title">Customer Flow</t>
<p><strong>Test the following three scenarios in order to assist you in familiarizing yourself with Odoo:</strong></p> <p><strong>Test the following three scenarios in order to assist you in familiarizing yourself with Flectra:</strong></p>
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<div class="panel panel-success"> <div class="panel panel-success">
@ -566,7 +566,7 @@
<p><strong>Record Bank Statement</strong></p> <p><strong>Record Bank Statement</strong></p>
<p> <p>
<strong>Reconcile with existing transaction</strong><br/> <strong>Reconcile with existing transaction</strong><br/>
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.
</p> </p>
</div> </div>
</div> </div>
@ -596,7 +596,7 @@
<t t-call="web_planner.page"> <t t-call="web_planner.page">
<t t-set="page_title">Vendor Flow</t> <t t-set="page_title">Vendor Flow</t>
<p><strong>Test the following three scenarios in order to assist you in familiarizing yourself with Odoo:</strong></p> <p><strong>Test the following three scenarios in order to assist you in familiarizing yourself with Flectra:</strong></p>
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-4">
<div class="panel panel-success"> <div class="panel panel-success">
@ -606,7 +606,7 @@
</span> </span>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<p><strong>Create the bill in Odoo</strong><br/> with a proper due date, and create the vendor if it doesnt' exist yet.</p> <p><strong>Create the bill in Flectra</strong><br/> with a proper due date, and create the vendor if it doesnt' exist yet.</p>
<p><strong>Cash transactions</strong><br/> (for which there is no invoice or bill), should be entered directly into your Cash Registers bank account.</p> <p><strong>Cash transactions</strong><br/> (for which there is no invoice or bill), should be entered directly into your Cash Registers bank account.</p>
<p><strong>Validate the bill</strong><br/> after encoding the products and taxes.</p> <p><strong>Validate the bill</strong><br/> after encoding the products and taxes.</p>
</div> </div>
@ -643,7 +643,7 @@
</span> </span>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<p>Odoo should do most of the reconciliation work automatically, so you'll only need to review a few of them when a <strong>'Reconcile Items'</strong> button appears on your Vendor Bills dash.</p> <p>Flectra should do most of the reconciliation work automatically, so you'll only need to review a few of them when a <strong>'Reconcile Items'</strong> button appears on your Vendor Bills dash.</p>
</div> </div>
</div> </div>
</div> </div>
@ -658,9 +658,9 @@
<div class="text-center"> <div class="text-center">
<h1>Congratulations, you're done!</h1> <h1>Congratulations, you're done!</h1>
<h3>We hope this tool helped you implement our accounting application.</h3> <h3>We hope this tool helped you implement our accounting application.</h3>
<h4>Don't hesitate to <a href="mailto:info@odoo.com?subject=Accounting%20Planner" target="_blank">send us an email</a> to describe<br/> your experience or to suggest improvements !</h4> <h4>Don't hesitate to <a href="mailto:info@flectrahq.com?subject=Accounting%20Planner" target="_blank">send us an email</a> to describe<br/> your experience or to suggest improvements !</h4>
<p><strong>-The Odoo Team</strong></p> <p><strong>-The Flectra Team</strong></p>
<img src="/web_planner/static/src/img/odoo_logo.png"/> <img src="/web_planner/static/src/img/flectra_logo.png"/>
</div> </div>
</t> </t>
</t> </t>
@ -678,4 +678,4 @@
</field> </field>
</record> </record>
</odoo> </flectra>

Some files were not shown because too many files have changed in this diff Show More