Files
tryton/modules/account/__init__.py
T

125 lines
3.8 KiB
Python
Raw Normal View History

2014-12-02 12:54:29 +01:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
2008-03-12 18:10:46 +01:00
2012-09-24 22:17:29 +02:00
from trytond.pool import Pool
2021-12-11 17:58:41 +01:00
from . import (
account, company, configuration, fiscalyear, journal, move, move_template,
party, period, tax)
2021-10-11 23:21:55 +02:00
from .move import MoveLineMixin
__all__ = ['register', 'MoveLineMixin']
2012-09-24 22:17:29 +02:00
def register():
Pool.register(
fiscalyear.FiscalYear,
fiscalyear.BalanceNonDeferralStart,
company.Company,
account.TypeTemplate,
account.Type,
account.AccountTemplate,
account.AccountTemplateTaxTemplate,
account.Account,
2020-09-05 22:21:38 +02:00
account.AccountParty,
account.AccountDeferral,
account.AccountTax,
2022-07-18 00:04:04 +02:00
account.AccountContext,
account.GeneralLedgerAccount,
account.GeneralLedgerAccountContext,
2020-09-05 22:21:38 +02:00
account.GeneralLedgerAccountParty,
account.GeneralLedgerLine,
account.GeneralLedgerLineContext,
account.BalanceSheetContext,
account.BalanceSheetComparisionContext,
account.IncomeStatementContext,
account.CreateChartStart,
account.CreateChartAccount,
account.CreateChartProperties,
account.UpdateChartStart,
account.UpdateChartSucceed,
account.AgedBalanceContext,
account.AgedBalance,
2019-08-18 19:06:19 +02:00
configuration.Configuration,
configuration.ConfigurationDefaultAccount,
configuration.DefaultTaxRule,
2021-03-11 23:00:09 +01:00
configuration.Sequence,
configuration.Journal,
period.Period,
journal.Journal,
journal.JournalSequence,
journal.JournalCashContext,
journal.JournalPeriod,
move.Move,
move.Reconciliation,
2019-08-18 19:06:19 +02:00
configuration.ConfigurationTaxRounding,
move.Line,
move.LineReceivablePayableContext,
move.WriteOff,
move.OpenJournalAsk,
move.ReconcileLinesWriteOff,
2022-04-11 21:09:28 +02:00
move.ReconcileStart,
move.ReconcileShow,
move.CancelMovesDefault,
move.GroupLinesStart,
2022-01-26 00:32:20 +01:00
move.RescheduleLinesStart,
move.RescheduleLinesPreview,
move.RescheduleLinesTerm,
move.DelegateLinesStart,
2018-03-25 23:33:46 +02:00
tax.TaxGroup,
tax.TaxCodeTemplate,
tax.TaxCode,
tax.TaxCodeLineTemplate,
tax.TaxCodeLine,
2022-07-18 00:04:04 +02:00
tax.TaxCodeContext,
2018-03-25 23:33:46 +02:00
tax.TaxTemplate,
tax.Tax,
tax.TaxLine,
tax.TaxRuleTemplate,
tax.TaxRule,
tax.TaxRuleLineTemplate,
tax.TaxRuleLine,
tax.TestTaxView,
tax.TestTaxViewResult,
move_template.MoveTemplate,
move_template.MoveTemplateKeyword,
move_template.MoveLineTemplate,
move_template.TaxLineTemplate,
move_template.CreateMoveTemplate,
move_template.CreateMoveKeywords,
2018-03-24 00:04:07 +01:00
party.Party,
party.PartyAccount,
fiscalyear.CreatePeriodsStart,
fiscalyear.RenewFiscalYearStart,
2012-09-24 22:17:29 +02:00
module='account', type_='model')
Pool.register(
account.OpenType,
fiscalyear.BalanceNonDeferral,
account.CreateChart,
account.UpdateChart,
2020-09-05 22:21:38 +02:00
account.OpenGeneralLedgerAccountParty,
move.OpenJournal,
move.OpenAccount,
move.ReconcileLines,
move.UnreconcileLines,
move.Reconcile,
move.CancelMoves,
move.GroupLines,
2022-01-26 00:32:20 +01:00
move.RescheduleLines,
move.DelegateLines,
move_template.CreateMove,
2018-03-25 23:33:46 +02:00
tax.OpenTaxCode,
tax.TestTax,
2018-03-24 00:04:07 +01:00
party.PartyReplace,
party.PartyErase,
fiscalyear.CreatePeriods,
fiscalyear.RenewFiscalYear,
2012-09-24 22:17:29 +02:00
module='account', type_='wizard')
Pool.register(
account.AccountTypeStatement,
account.GeneralLedger,
account.TrialBalance,
account.AgedBalanceReport,
move.GeneralJournal,
2012-09-24 22:17:29 +02:00
module='account', type_='report')