Use tryton.cfg to register in the Pool
This commit is contained in:
@@ -1,17 +1,4 @@
|
||||
{% if not cookiecutter.prefix -%}
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
{% endif -%}
|
||||
from trytond.pool import Pool
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
module='{{ cookiecutter.module_name }}', type_='model')
|
||||
Pool.register(
|
||||
module='{{ cookiecutter.module_name }}', type_='wizard')
|
||||
Pool.register(
|
||||
module='{{ cookiecutter.module_name }}', type_='report')
|
||||
|
||||
@@ -3,3 +3,10 @@ version={{ cookiecutter.version }}
|
||||
depends:
|
||||
ir
|
||||
xml:
|
||||
|
||||
[register]
|
||||
model:
|
||||
|
||||
wizard:
|
||||
|
||||
report:
|
||||
|
||||
+6
-119
@@ -1,124 +1,11 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import (
|
||||
account, company, configuration, fiscalyear, journal, move, move_template,
|
||||
party, period, tax)
|
||||
from .move import MoveLineMixin
|
||||
|
||||
__all__ = ['register', 'MoveLineMixin']
|
||||
__all__ = ['MoveLineMixin']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
fiscalyear.FiscalYear,
|
||||
fiscalyear.BalanceNonDeferralStart,
|
||||
company.Company,
|
||||
account.TypeTemplate,
|
||||
account.Type,
|
||||
account.AccountTemplate,
|
||||
account.AccountTemplateTaxTemplate,
|
||||
account.Account,
|
||||
account.AccountParty,
|
||||
account.AccountDeferral,
|
||||
account.AccountTax,
|
||||
account.AccountContext,
|
||||
account.GeneralLedgerAccount,
|
||||
account.GeneralLedgerAccountContext,
|
||||
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,
|
||||
configuration.Configuration,
|
||||
configuration.ConfigurationDefaultAccount,
|
||||
configuration.DefaultTaxRule,
|
||||
configuration.Sequence,
|
||||
configuration.Journal,
|
||||
period.Period,
|
||||
journal.Journal,
|
||||
journal.JournalCashContext,
|
||||
journal.JournalPeriod,
|
||||
move.Move,
|
||||
move.MoveContext,
|
||||
move.Reconciliation,
|
||||
configuration.ConfigurationTaxRounding,
|
||||
move.Line,
|
||||
move.LineReceivablePayableContext,
|
||||
move.WriteOff,
|
||||
move.OpenJournalAsk,
|
||||
move.ReconcileLinesWriteOff,
|
||||
move.ReconcileStart,
|
||||
move.ReconcileShow,
|
||||
move.CancelMovesDefault,
|
||||
move.GroupLinesStart,
|
||||
move.RescheduleLinesStart,
|
||||
move.RescheduleLinesPreview,
|
||||
move.RescheduleLinesTerm,
|
||||
move.DelegateLinesStart,
|
||||
tax.TaxGroup,
|
||||
tax.TaxCodeTemplate,
|
||||
tax.TaxCode,
|
||||
tax.TaxCodeLineTemplate,
|
||||
tax.TaxCodeLine,
|
||||
tax.TaxCodeContext,
|
||||
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,
|
||||
party.Party,
|
||||
party.PartyAccount,
|
||||
fiscalyear.CreatePeriodsStart,
|
||||
fiscalyear.RenewFiscalYearStart,
|
||||
module='account', type_='model')
|
||||
Pool.register(
|
||||
account.OpenType,
|
||||
fiscalyear.BalanceNonDeferral,
|
||||
account.CreateChart,
|
||||
account.UpdateChart,
|
||||
account.OpenGeneralLedgerAccountParty,
|
||||
move.OpenJournal,
|
||||
move.OpenAccount,
|
||||
move.ReconcileLines,
|
||||
move.UnreconcileLines,
|
||||
move.Reconcile,
|
||||
move.CancelMoves,
|
||||
move.GroupLines,
|
||||
move.RescheduleLines,
|
||||
move.DelegateLines,
|
||||
move_template.CreateMove,
|
||||
tax.OpenTaxCode,
|
||||
tax.TestTax,
|
||||
party.PartyReplace,
|
||||
party.PartyErase,
|
||||
fiscalyear.CreatePeriods,
|
||||
fiscalyear.RenewFiscalYear,
|
||||
module='account', type_='wizard')
|
||||
Pool.register(
|
||||
account.AccountTypeStatement,
|
||||
account.GeneralLedger,
|
||||
account.TrialBalance,
|
||||
account.AgedBalanceReport,
|
||||
move.GeneralJournal,
|
||||
module='account', type_='report')
|
||||
def __getattr__(name):
|
||||
if name == 'MoveLineMixin':
|
||||
from .move import MoveLineMixin
|
||||
return MoveLineMixin
|
||||
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
||||
|
||||
@@ -22,3 +22,112 @@ xml:
|
||||
account_chart_es.xml
|
||||
account_chart_fr.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
fiscalyear.FiscalYear
|
||||
fiscalyear.BalanceNonDeferralStart
|
||||
company.Company
|
||||
account.TypeTemplate
|
||||
account.Type
|
||||
account.AccountTemplate
|
||||
account.AccountTemplateTaxTemplate
|
||||
account.Account
|
||||
account.AccountParty
|
||||
account.AccountDeferral
|
||||
account.AccountTax
|
||||
account.AccountContext
|
||||
account.GeneralLedgerAccount
|
||||
account.GeneralLedgerAccountContext
|
||||
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
|
||||
configuration.Configuration
|
||||
configuration.ConfigurationDefaultAccount
|
||||
configuration.DefaultTaxRule
|
||||
configuration.Sequence
|
||||
configuration.Journal
|
||||
period.Period
|
||||
journal.Journal
|
||||
journal.JournalCashContext
|
||||
journal.JournalPeriod
|
||||
move.Move
|
||||
move.MoveContext
|
||||
move.Reconciliation
|
||||
configuration.ConfigurationTaxRounding
|
||||
move.Line
|
||||
move.LineReceivablePayableContext
|
||||
move.WriteOff
|
||||
move.OpenJournalAsk
|
||||
move.ReconcileLinesWriteOff
|
||||
move.ReconcileStart
|
||||
move.ReconcileShow
|
||||
move.CancelMovesDefault
|
||||
move.GroupLinesStart
|
||||
move.RescheduleLinesStart
|
||||
move.RescheduleLinesPreview
|
||||
move.RescheduleLinesTerm
|
||||
move.DelegateLinesStart
|
||||
tax.TaxGroup
|
||||
tax.TaxCodeTemplate
|
||||
tax.TaxCode
|
||||
tax.TaxCodeLineTemplate
|
||||
tax.TaxCodeLine
|
||||
tax.TaxCodeContext
|
||||
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
|
||||
party.Party
|
||||
party.PartyAccount
|
||||
fiscalyear.CreatePeriodsStart
|
||||
fiscalyear.RenewFiscalYearStart
|
||||
wizard:
|
||||
account.OpenType
|
||||
fiscalyear.BalanceNonDeferral
|
||||
account.CreateChart
|
||||
account.UpdateChart
|
||||
account.OpenGeneralLedgerAccountParty
|
||||
move.OpenJournal
|
||||
move.OpenAccount
|
||||
move.ReconcileLines
|
||||
move.UnreconcileLines
|
||||
move.Reconcile
|
||||
move.CancelMoves
|
||||
move.GroupLines
|
||||
move.RescheduleLines
|
||||
move.DelegateLines
|
||||
move_template.CreateMove
|
||||
tax.OpenTaxCode
|
||||
tax.TestTax
|
||||
party.PartyReplace
|
||||
party.PartyErase
|
||||
fiscalyear.CreatePeriods
|
||||
fiscalyear.RenewFiscalYear
|
||||
report:
|
||||
account.AccountTypeStatement
|
||||
account.GeneralLedger
|
||||
account.TrialBalance
|
||||
account.AgedBalanceReport
|
||||
move.GeneralJournal
|
||||
|
||||
@@ -1,42 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of this
|
||||
# repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, asset, invoice, product, purchase
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
asset.Asset,
|
||||
asset.AssetLine,
|
||||
asset.AssetUpdateMove,
|
||||
asset.CreateMovesStart,
|
||||
asset.AssetRevision,
|
||||
asset.UpdateAssetShowDepreciation,
|
||||
asset.PrintDepreciationTableStart,
|
||||
product.Category,
|
||||
product.CategoryAccount,
|
||||
product.Template,
|
||||
product.Product,
|
||||
invoice.InvoiceLine,
|
||||
account.Configuration,
|
||||
account.ConfigurationAssetSequence,
|
||||
account.ConfigurationAssetDate,
|
||||
account.ConfigurationAssetFrequency,
|
||||
account.AccountTypeTemplate,
|
||||
account.AccountType,
|
||||
account.Move,
|
||||
account.Period,
|
||||
account.Journal,
|
||||
module='account_asset', type_='model')
|
||||
Pool.register(
|
||||
purchase.Line,
|
||||
module='account_asset', type_='model', depends=['purchase'])
|
||||
Pool.register(
|
||||
asset.CreateMoves,
|
||||
asset.UpdateAsset,
|
||||
asset.PrintDepreciationTable,
|
||||
module='account_asset', type_='wizard')
|
||||
Pool.register(
|
||||
asset.AssetDepreciationTable,
|
||||
module='account_asset', type_='report')
|
||||
|
||||
@@ -19,3 +19,37 @@ xml:
|
||||
account_chart_es.xml
|
||||
account_chart_fr.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
asset.Asset
|
||||
asset.AssetLine
|
||||
asset.AssetUpdateMove
|
||||
asset.CreateMovesStart
|
||||
asset.AssetRevision
|
||||
asset.UpdateAssetShowDepreciation
|
||||
asset.PrintDepreciationTableStart
|
||||
product.Category
|
||||
product.CategoryAccount
|
||||
product.Template
|
||||
product.Product
|
||||
invoice.InvoiceLine
|
||||
account.Configuration
|
||||
account.ConfigurationAssetSequence
|
||||
account.ConfigurationAssetDate
|
||||
account.ConfigurationAssetFrequency
|
||||
account.AccountTypeTemplate
|
||||
account.AccountType
|
||||
account.Move
|
||||
account.Period
|
||||
account.Journal
|
||||
wizard:
|
||||
asset.CreateMoves
|
||||
asset.UpdateAsset
|
||||
asset.PrintDepreciationTable
|
||||
report:
|
||||
asset.AssetDepreciationTable
|
||||
|
||||
[register purchase]
|
||||
model:
|
||||
purchase.Line
|
||||
|
||||
@@ -1,16 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.BEVATCustomer,
|
||||
account.BEVATCustomerContext,
|
||||
module='account_be', type_='model')
|
||||
Pool.register(
|
||||
account.CreateChart,
|
||||
module='account_be', type_='wizard')
|
||||
|
||||
@@ -14,3 +14,10 @@ xml:
|
||||
tax_be_fr.xml
|
||||
account_be_nl.xml
|
||||
tax_be_nl.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.BEVATCustomer
|
||||
account.BEVATCustomerContext
|
||||
wizard:
|
||||
account.CreateChart
|
||||
|
||||
@@ -1,28 +1,14 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
from .account import (
|
||||
BudgetLineMixin, BudgetMixin, CopyBudgetMixin, CopyBudgetStartMixin)
|
||||
|
||||
__all__ = [
|
||||
'BudgetMixin', 'BudgetLineMixin',
|
||||
'CopyBudgetMixin', 'CopyBudgetStartMixin',
|
||||
'register']
|
||||
]
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.BudgetContext,
|
||||
account.Budget,
|
||||
account.BudgetLine,
|
||||
account.BudgetLinePeriod,
|
||||
account.CopyBudgetStart,
|
||||
account.CreatePeriodsStart,
|
||||
module='account_budget', type_='model')
|
||||
Pool.register(
|
||||
account.CopyBudget,
|
||||
account.CreatePeriods,
|
||||
module='account_budget', type_='wizard')
|
||||
def __getattr__(name):
|
||||
if name in __all__:
|
||||
from . import account
|
||||
return getattr(account, name)
|
||||
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
||||
|
||||
@@ -7,3 +7,15 @@ depends:
|
||||
xml:
|
||||
account.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.BudgetContext
|
||||
account.Budget
|
||||
account.BudgetLine
|
||||
account.BudgetLinePeriod
|
||||
account.CopyBudgetStart
|
||||
account.CreatePeriodsStart
|
||||
wizard:
|
||||
account.CopyBudget
|
||||
account.CreatePeriods
|
||||
|
||||
@@ -1,27 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, currency, purchase, sale
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Configuration,
|
||||
account.ConfigurationCashRoundingAccount,
|
||||
currency.Currency,
|
||||
module='account_cash_rounding', type_='model')
|
||||
Pool.register(
|
||||
account.Invoice,
|
||||
module='account_cash_rounding', type_='model',
|
||||
depends=['account_invoice'])
|
||||
Pool.register(
|
||||
purchase.Purchase,
|
||||
module='account_cash_rounding', type_='model',
|
||||
depends=['purchase'])
|
||||
Pool.register(
|
||||
sale.Sale,
|
||||
module='account_cash_rounding', type_='model',
|
||||
depends=['sale'])
|
||||
|
||||
@@ -13,3 +13,21 @@ xml:
|
||||
currency.xml
|
||||
purchase.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Configuration
|
||||
account.ConfigurationCashRoundingAccount
|
||||
currency.Currency
|
||||
|
||||
[register account_invoice]
|
||||
model:
|
||||
account.Invoice
|
||||
|
||||
[register purchase]
|
||||
model:
|
||||
purchase.Purchase
|
||||
|
||||
[register sale]
|
||||
model:
|
||||
sale.Sale
|
||||
|
||||
@@ -1,24 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Type,
|
||||
account.Move,
|
||||
account.MoveLine,
|
||||
account.Consolidation,
|
||||
account.ConsolidationBalanceSheetContext,
|
||||
account.ConsolidationIncomeStatementContext,
|
||||
module='account_consolidation', type_='model')
|
||||
Pool.register(
|
||||
account.ConsolidationStatement,
|
||||
module='account_consolidation', type_='report')
|
||||
Pool.register(
|
||||
account.Invoice,
|
||||
module='account_consolidation', type_='model',
|
||||
depends=['account_invoice'])
|
||||
|
||||
@@ -9,3 +9,18 @@ extras_depend:
|
||||
account_invoice
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Type
|
||||
account.Move
|
||||
account.MoveLine
|
||||
account.Consolidation
|
||||
account.ConsolidationBalanceSheetContext
|
||||
account.ConsolidationIncomeStatementContext
|
||||
report:
|
||||
account.ConsolidationStatement
|
||||
|
||||
[register account_invoice]
|
||||
model:
|
||||
account.Invoice
|
||||
|
||||
@@ -1,19 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, party
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Configuration,
|
||||
account.ConfigurationDefaultCreditLimitAmount,
|
||||
party.Party,
|
||||
party.PartyCreditLimitAmount,
|
||||
module='account_credit_limit', type_='model')
|
||||
Pool.register(
|
||||
account.Level,
|
||||
module='account_credit_limit', type_='model',
|
||||
depends=['account_dunning'])
|
||||
|
||||
@@ -12,3 +12,14 @@ xml:
|
||||
account.xml
|
||||
party.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Configuration
|
||||
account.ConfigurationDefaultCreditLimitAmount
|
||||
party.Party
|
||||
party.PartyCreditLimitAmount
|
||||
|
||||
[register account_dunning]
|
||||
model:
|
||||
account.Level
|
||||
|
||||
@@ -1,6 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
|
||||
def register():
|
||||
pass
|
||||
|
||||
@@ -1,26 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, invoice, party
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.AccountTypeTemplate,
|
||||
account.AccountType,
|
||||
invoice.Invoice,
|
||||
invoice.InvoiceLine,
|
||||
invoice.DepositRecallStart,
|
||||
party.Party,
|
||||
module='account_deposit', type_='model')
|
||||
Pool.register(
|
||||
account.Reconcile,
|
||||
invoice.DepositRecall,
|
||||
party.Erase,
|
||||
module='account_deposit', type_='wizard')
|
||||
Pool.register(
|
||||
account.Payment,
|
||||
module='account_deposit', type_='model',
|
||||
depends=['account_payment_clearing'])
|
||||
|
||||
@@ -18,3 +18,20 @@ xml:
|
||||
account_chart_es.xml
|
||||
account_chart_fr.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.AccountTypeTemplate
|
||||
account.AccountType
|
||||
invoice.Invoice
|
||||
invoice.InvoiceLine
|
||||
invoice.DepositRecallStart
|
||||
party.Party
|
||||
wizard:
|
||||
account.Reconcile
|
||||
invoice.DepositRecall
|
||||
party.Erase
|
||||
|
||||
[register account_payment_clearing]
|
||||
model:
|
||||
account.Payment
|
||||
|
||||
@@ -1,26 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, dunning, party
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
dunning.Procedure,
|
||||
dunning.Level,
|
||||
dunning.Dunning,
|
||||
dunning.CreateDunningStart,
|
||||
dunning.ProcessDunningStart,
|
||||
party.Party,
|
||||
party.PartyDunningProcedure,
|
||||
account.Configuration,
|
||||
account.ConfigurationDefaultDunningProcedure,
|
||||
account.MoveLine,
|
||||
module='account_dunning', type_='model')
|
||||
Pool.register(
|
||||
dunning.CreateDunning,
|
||||
dunning.ProcessDunning,
|
||||
dunning.RescheduleDunning,
|
||||
module='account_dunning', type_='wizard')
|
||||
|
||||
@@ -11,3 +11,20 @@ xml:
|
||||
party.xml
|
||||
account.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
dunning.Procedure
|
||||
dunning.Level
|
||||
dunning.Dunning
|
||||
dunning.CreateDunningStart
|
||||
dunning.ProcessDunningStart
|
||||
party.Party
|
||||
party.PartyDunningProcedure
|
||||
account.Configuration
|
||||
account.ConfigurationDefaultDunningProcedure
|
||||
account.MoveLine
|
||||
wizard:
|
||||
dunning.CreateDunning
|
||||
dunning.ProcessDunning
|
||||
dunning.RescheduleDunning
|
||||
|
||||
@@ -1,22 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, ir
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
ir.Email,
|
||||
account.Configuration,
|
||||
account.DunningLevel,
|
||||
account.Dunning,
|
||||
module='account_dunning_email', type_='model')
|
||||
Pool.register(
|
||||
account.ProcessDunning,
|
||||
module='account_dunning_email', type_='wizard')
|
||||
Pool.register(
|
||||
module='account_dunning_email', type_='report')
|
||||
|
||||
@@ -8,3 +8,12 @@ depends:
|
||||
party
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
ir.Email
|
||||
account.Configuration
|
||||
account.DunningLevel
|
||||
account.Dunning
|
||||
wizard:
|
||||
account.ProcessDunning
|
||||
|
||||
@@ -1,20 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, dunning
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
dunning.Fee,
|
||||
dunning.Level,
|
||||
dunning.Dunning,
|
||||
dunning.FeeDunningLevel,
|
||||
account.Move,
|
||||
module='account_dunning_fee', type_='model')
|
||||
Pool.register(
|
||||
dunning.Letter,
|
||||
module='account_dunning_fee', type_='report',
|
||||
depends=['account_dunning_letter'])
|
||||
|
||||
@@ -9,3 +9,15 @@ extras_depend:
|
||||
xml:
|
||||
dunning.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
dunning.Fee
|
||||
dunning.Level
|
||||
dunning.Dunning
|
||||
dunning.FeeDunningLevel
|
||||
account.Move
|
||||
|
||||
[register account_dunning_letter]
|
||||
report:
|
||||
dunning.Letter
|
||||
|
||||
@@ -1,18 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import dunning
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
dunning.Level,
|
||||
module='account_dunning_letter', type_='model')
|
||||
Pool.register(
|
||||
dunning.ProcessDunning,
|
||||
module='account_dunning_letter', type_='wizard')
|
||||
Pool.register(
|
||||
dunning.Letter,
|
||||
module='account_dunning_letter', type_='report')
|
||||
|
||||
@@ -8,3 +8,11 @@ depends:
|
||||
party
|
||||
xml:
|
||||
dunning.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
dunning.Level
|
||||
wizard:
|
||||
dunning.ProcessDunning
|
||||
report:
|
||||
dunning.Letter
|
||||
|
||||
@@ -1,41 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, account_payment, company, party, reporting_tax
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
reporting_tax.PrintAEATStart,
|
||||
account.TaxCodeTemplate,
|
||||
account.TaxCode,
|
||||
account.TaxTemplate,
|
||||
account.Tax,
|
||||
account.Invoice,
|
||||
company.Company,
|
||||
party.Party,
|
||||
party.Identifier,
|
||||
reporting_tax.ESVATList,
|
||||
reporting_tax.ESVATListContext,
|
||||
reporting_tax.ECOperationList,
|
||||
reporting_tax.ECOperationListContext,
|
||||
reporting_tax.ESVATBook,
|
||||
reporting_tax.ESVATBookContext,
|
||||
module='account_es', type_='model')
|
||||
Pool.register(
|
||||
reporting_tax.AEAT111,
|
||||
reporting_tax.AEAT115,
|
||||
reporting_tax.AEAT303,
|
||||
reporting_tax.AEAT347,
|
||||
reporting_tax.AEAT349,
|
||||
reporting_tax.VATBookReport,
|
||||
module='account_es', type_='report')
|
||||
Pool.register(
|
||||
account.CreateChart,
|
||||
reporting_tax.PrintAEAT,
|
||||
module='account_es', type_='wizard')
|
||||
Pool.register(
|
||||
account_payment.Journal,
|
||||
account_payment.Group,
|
||||
module='account_es', type_='model', depends=['account_payment_sepa'])
|
||||
|
||||
@@ -24,3 +24,36 @@ xml:
|
||||
message.xml
|
||||
party.xml
|
||||
account_payment.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
reporting_tax.PrintAEATStart
|
||||
account.TaxCodeTemplate
|
||||
account.TaxCode
|
||||
account.TaxTemplate
|
||||
account.Tax
|
||||
account.Invoice
|
||||
company.Company
|
||||
party.Party
|
||||
party.Identifier
|
||||
reporting_tax.ESVATList
|
||||
reporting_tax.ESVATListContext
|
||||
reporting_tax.ECOperationList
|
||||
reporting_tax.ECOperationListContext
|
||||
reporting_tax.ESVATBook
|
||||
reporting_tax.ESVATBookContext
|
||||
wizard:
|
||||
account.CreateChart
|
||||
reporting_tax.PrintAEAT
|
||||
report:
|
||||
reporting_tax.AEAT111
|
||||
reporting_tax.AEAT115
|
||||
reporting_tax.AEAT303
|
||||
reporting_tax.AEAT347
|
||||
reporting_tax.AEAT349
|
||||
reporting_tax.VATBookReport
|
||||
|
||||
[register account_payment_sepa]
|
||||
model:
|
||||
account_payment.Journal
|
||||
account_payment.Group
|
||||
|
||||
@@ -1,25 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, ir, party
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
ir.Cron,
|
||||
account.Configuration,
|
||||
account.CredentialSII,
|
||||
account.TaxTemplate,
|
||||
account.Tax,
|
||||
account.FiscalYear,
|
||||
account.Period,
|
||||
account.Invoice,
|
||||
account.InvoiceSII,
|
||||
party.Identifier,
|
||||
module='account_es_sii', type_='model')
|
||||
Pool.register(
|
||||
account.RenewFiscalYear,
|
||||
module='account_es_sii', type_='wizard')
|
||||
|
||||
@@ -9,3 +9,18 @@ xml:
|
||||
account.xml
|
||||
message.xml
|
||||
tax.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
ir.Cron
|
||||
account.Configuration
|
||||
account.CredentialSII
|
||||
account.TaxTemplate
|
||||
account.Tax
|
||||
account.FiscalYear
|
||||
account.Period
|
||||
account.Invoice
|
||||
account.InvoiceSII
|
||||
party.Identifier
|
||||
wizard:
|
||||
account.RenewFiscalYear
|
||||
|
||||
@@ -1,17 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.TaxTemplate,
|
||||
account.Tax,
|
||||
account.ECSalesList,
|
||||
account.ECSalesListContext,
|
||||
module='account_eu', type_='model')
|
||||
|
||||
@@ -9,3 +9,10 @@ depends:
|
||||
party
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.TaxTemplate
|
||||
account.Tax
|
||||
account.ECSalesList
|
||||
account.ECSalesListContext
|
||||
|
||||
@@ -1,17 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Configuration,
|
||||
account.ConfigurationExport,
|
||||
account.Move,
|
||||
account.MoveExport,
|
||||
module='account_export', type_='model')
|
||||
|
||||
@@ -7,3 +7,10 @@ depends:
|
||||
xml:
|
||||
account.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Configuration
|
||||
account.ConfigurationExport
|
||||
account.Move
|
||||
account.MoveExport
|
||||
|
||||
@@ -1,29 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, party
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
party.Configuration,
|
||||
party.Party,
|
||||
party.Identifier,
|
||||
account.Account,
|
||||
account.FiscalYear,
|
||||
account.Period,
|
||||
account.Journal,
|
||||
account.Move,
|
||||
account.MoveLine,
|
||||
account.TaxTemplate,
|
||||
account.Tax,
|
||||
account.TaxLine,
|
||||
account.MoveExport,
|
||||
module='account_export_winbooks', type_='model')
|
||||
Pool.register(
|
||||
account.RenewFiscalYear,
|
||||
module='account_export_winbooks', type_='wizard')
|
||||
|
||||
@@ -15,3 +15,21 @@ xml:
|
||||
account_be_nl.xml
|
||||
party.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
party.Configuration
|
||||
party.Party
|
||||
party.Identifier
|
||||
account.Account
|
||||
account.FiscalYear
|
||||
account.Period
|
||||
account.Journal
|
||||
account.Move
|
||||
account.MoveLine
|
||||
account.TaxTemplate
|
||||
account.Tax
|
||||
account.TaxLine
|
||||
account.MoveExport
|
||||
wizard:
|
||||
account.RenewFiscalYear
|
||||
|
||||
@@ -1,18 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.AccountTemplate,
|
||||
account.FrFECStart,
|
||||
account.FrFECResult,
|
||||
module='account_fr', type_='model')
|
||||
Pool.register(
|
||||
account.CreateChart,
|
||||
account.FrFEC,
|
||||
module='account_fr', type_='wizard')
|
||||
|
||||
@@ -12,3 +12,12 @@ xml:
|
||||
account.xml
|
||||
account_fr.xml
|
||||
tax_fr.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.AccountTemplate
|
||||
account.FrFECStart
|
||||
account.FrFECResult
|
||||
wizard:
|
||||
account.CreateChart
|
||||
account.FrFEC
|
||||
|
||||
@@ -1,27 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, edocument, ir, party
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Configuration,
|
||||
account.CredentialChorus,
|
||||
account.Invoice,
|
||||
account.InvoiceChorus,
|
||||
party.Party,
|
||||
ir.Cron,
|
||||
module='account_fr_chorus', type_='model')
|
||||
Pool.register(
|
||||
edocument.UNCEFACTInvoice,
|
||||
module='account_fr_chorus', type_='model',
|
||||
depends=['edocument_uncefact'])
|
||||
Pool.register(
|
||||
module='account_fr_chorus', type_='wizard')
|
||||
Pool.register(
|
||||
module='account_fr_chorus', type_='report')
|
||||
|
||||
@@ -13,3 +13,16 @@ xml:
|
||||
account.xml
|
||||
party.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Configuration
|
||||
account.CredentialChorus
|
||||
account.Invoice
|
||||
account.InvoiceChorus
|
||||
party.Party
|
||||
ir.Cron
|
||||
|
||||
[register edocument_uncefact]
|
||||
model:
|
||||
edocument.UNCEFACTInvoice
|
||||
|
||||
@@ -1,60 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, company, invoice, party, payment_term
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
payment_term.PaymentTerm,
|
||||
payment_term.PaymentTermLine,
|
||||
payment_term.PaymentTermLineRelativeDelta,
|
||||
payment_term.TestPaymentTermView,
|
||||
payment_term.TestPaymentTermViewResult,
|
||||
invoice.Invoice,
|
||||
invoice.InvoiceAdditionalMove,
|
||||
invoice.AlternativePayee,
|
||||
invoice.InvoicePaymentLine,
|
||||
invoice.InvoiceLine,
|
||||
invoice.InvoiceLineTax,
|
||||
invoice.InvoiceTax,
|
||||
invoice.PayInvoiceStart,
|
||||
invoice.PayInvoiceAsk,
|
||||
invoice.CreditInvoiceStart,
|
||||
invoice.InvoiceReportRevision,
|
||||
party.Address,
|
||||
party.ContactMechanism,
|
||||
party.Party,
|
||||
party.PartyPaymentTerm,
|
||||
account.Configuration,
|
||||
account.ConfigurationDefaultPaymentTerm,
|
||||
account.InvoiceSequence,
|
||||
# Match pattern migration fallbacks to Fiscalyear values so Period
|
||||
# must be registered before Fiscalyear
|
||||
account.Period,
|
||||
account.FiscalYear,
|
||||
account.Move,
|
||||
account.MoveLine,
|
||||
account.Reconciliation,
|
||||
invoice.PaymentMethod,
|
||||
company.Company,
|
||||
module='account_invoice', type_='model')
|
||||
Pool.register(
|
||||
payment_term.TestPaymentTerm,
|
||||
invoice.PayInvoice,
|
||||
invoice.CreditInvoice,
|
||||
invoice.RescheduleLinesToPay,
|
||||
invoice.DelegateLinesToPay,
|
||||
invoice.RefreshInvoiceReport,
|
||||
party.Replace,
|
||||
party.Erase,
|
||||
account.RenewFiscalYear,
|
||||
account.RescheduleLines,
|
||||
account.DelegateLines,
|
||||
account.CancelMoves,
|
||||
module='account_invoice', type_='wizard')
|
||||
Pool.register(
|
||||
invoice.InvoiceReport,
|
||||
module='account_invoice', type_='report')
|
||||
|
||||
@@ -16,3 +16,53 @@ xml:
|
||||
account.xml
|
||||
company.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
payment_term.PaymentTerm
|
||||
payment_term.PaymentTermLine
|
||||
payment_term.PaymentTermLineRelativeDelta
|
||||
payment_term.TestPaymentTermView
|
||||
payment_term.TestPaymentTermViewResult
|
||||
invoice.Invoice
|
||||
invoice.InvoiceAdditionalMove
|
||||
invoice.AlternativePayee
|
||||
invoice.InvoicePaymentLine
|
||||
invoice.InvoiceLine
|
||||
invoice.InvoiceLineTax
|
||||
invoice.InvoiceTax
|
||||
invoice.PayInvoiceStart
|
||||
invoice.PayInvoiceAsk
|
||||
invoice.CreditInvoiceStart
|
||||
invoice.InvoiceReportRevision
|
||||
party.Address
|
||||
party.ContactMechanism
|
||||
party.Party
|
||||
party.PartyPaymentTerm
|
||||
account.Configuration
|
||||
account.ConfigurationDefaultPaymentTerm
|
||||
account.InvoiceSequence
|
||||
# Match pattern migration fallbacks to Fiscalyear values so Period
|
||||
# must be registered before Fiscalyear
|
||||
account.Period
|
||||
account.FiscalYear
|
||||
account.Move
|
||||
account.MoveLine
|
||||
account.Reconciliation
|
||||
invoice.PaymentMethod
|
||||
company.Company
|
||||
wizard:
|
||||
payment_term.TestPaymentTerm
|
||||
invoice.PayInvoice
|
||||
invoice.CreditInvoice
|
||||
invoice.RescheduleLinesToPay
|
||||
invoice.DelegateLinesToPay
|
||||
invoice.RefreshInvoiceReport
|
||||
party.Replace
|
||||
party.Erase
|
||||
account.RenewFiscalYear
|
||||
account.RescheduleLines
|
||||
account.DelegateLines
|
||||
account.CancelMoves
|
||||
report:
|
||||
invoice.InvoiceReport
|
||||
|
||||
@@ -1,17 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import invoice
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
invoice.Invoice,
|
||||
invoice.InvoiceCorrectStart,
|
||||
module='account_invoice_correction', type_='model')
|
||||
Pool.register(
|
||||
invoice.InvoiceCorrect,
|
||||
module='account_invoice_correction', type_='wizard')
|
||||
|
||||
@@ -5,3 +5,10 @@ depends:
|
||||
account_invoice
|
||||
xml:
|
||||
invoice.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
invoice.Invoice
|
||||
invoice.InvoiceCorrectStart
|
||||
wizard:
|
||||
invoice.InvoiceCorrect
|
||||
|
||||
@@ -1,25 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Configuration,
|
||||
account.ConfigurationDefaultAccount,
|
||||
account.InvoiceDeferred,
|
||||
account.Move,
|
||||
account.Period,
|
||||
account.Invoice,
|
||||
account.InvoiceLine,
|
||||
module='account_invoice_defer', type_='model')
|
||||
Pool.register(
|
||||
account.InvoiceDeferredCreateMoves,
|
||||
module='account_invoice_defer', type_='wizard')
|
||||
Pool.register(
|
||||
module='account_invoice_defer', type_='report')
|
||||
|
||||
@@ -8,3 +8,15 @@ depends:
|
||||
xml:
|
||||
account.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Configuration
|
||||
account.ConfigurationDefaultAccount
|
||||
account.InvoiceDeferred
|
||||
account.Move
|
||||
account.Period
|
||||
account.Invoice
|
||||
account.InvoiceLine
|
||||
wizard:
|
||||
account.InvoiceDeferredCreateMoves
|
||||
|
||||
@@ -1,18 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, account_invoice, party
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
party.Party,
|
||||
party.Address,
|
||||
party.Identifier,
|
||||
account.Invoice,
|
||||
account_invoice.PaymentTerm,
|
||||
account_invoice.PaymentTermLine,
|
||||
account_invoice.PaymentTermLineRelativeDelta,
|
||||
module='account_invoice_history', type_='model')
|
||||
|
||||
@@ -3,3 +3,13 @@ version=7.7.0
|
||||
depends:
|
||||
account_invoice
|
||||
party
|
||||
|
||||
[register]
|
||||
model:
|
||||
party.Party
|
||||
party.Address
|
||||
party.Identifier
|
||||
account.Invoice
|
||||
account_invoice.PaymentTerm
|
||||
account_invoice.PaymentTermLine
|
||||
account_invoice.PaymentTermLineRelativeDelta
|
||||
|
||||
@@ -1,13 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import invoice
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
invoice.Invoice,
|
||||
invoice.InvoiceLine,
|
||||
module='account_invoice_line_standalone', type_='model')
|
||||
|
||||
@@ -5,3 +5,8 @@ depends:
|
||||
ir
|
||||
xml:
|
||||
invoice.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
invoice.Invoice
|
||||
invoice.InvoiceLine
|
||||
|
||||
@@ -1,14 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.InvoiceLine,
|
||||
module='account_invoice_secondary_unit', type_='model')
|
||||
|
||||
@@ -6,3 +6,7 @@ depends:
|
||||
product
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.InvoiceLine
|
||||
|
||||
@@ -1,16 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, stock
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Invoice,
|
||||
account.InvoiceLineStockMove,
|
||||
account.InvoiceLine,
|
||||
stock.Move,
|
||||
stock.ShipmentOut,
|
||||
module='account_invoice_stock', type_='model')
|
||||
|
||||
@@ -8,3 +8,11 @@ depends:
|
||||
xml:
|
||||
account.xml
|
||||
stock.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Invoice
|
||||
account.InvoiceLineStockMove
|
||||
account.InvoiceLine
|
||||
stock.Move
|
||||
stock.ShipmentOut
|
||||
|
||||
@@ -1,15 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Invoice,
|
||||
account.InvoiceWatermark,
|
||||
module='account_invoice_watermark', type_='report')
|
||||
|
||||
@@ -5,3 +5,8 @@ depends:
|
||||
ir
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
report:
|
||||
account.Invoice
|
||||
account.InvoiceWatermark
|
||||
|
||||
@@ -1,20 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Move,
|
||||
account.MoveLine,
|
||||
account.MoveLineGroup,
|
||||
account.MoveLineGroup_MoveLine,
|
||||
module='account_move_line_grouping', type_='model')
|
||||
Pool.register(
|
||||
account.OpenAccount,
|
||||
module='account_move_line_grouping', type_='wizard')
|
||||
|
||||
@@ -5,3 +5,12 @@ depends:
|
||||
ir
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Move
|
||||
account.MoveLine
|
||||
account.MoveLineGroup
|
||||
account.MoveLineGroup_MoveLine
|
||||
wizard:
|
||||
account.OpenAccount
|
||||
|
||||
@@ -1,49 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, party, payment
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
payment.Journal,
|
||||
payment.Group,
|
||||
payment.Payment,
|
||||
account.MoveLine,
|
||||
account.CreateDirectDebitStart,
|
||||
account.PayLineStart,
|
||||
account.PayLineAskJournal,
|
||||
account.Configuration,
|
||||
account.ConfigurationPaymentSequence,
|
||||
account.ConfigurationPaymentGroupSequence,
|
||||
party.Party,
|
||||
party.PartyPaymentDirectDebit,
|
||||
party.PartyReceptionDirectDebit,
|
||||
module='account_payment', type_='model')
|
||||
Pool.register(
|
||||
account.Invoice,
|
||||
module='account_payment', type_='model', depends=['account_invoice'])
|
||||
Pool.register(
|
||||
account.Statement,
|
||||
account.StatementLine,
|
||||
module='account_payment', type_='model', depends=['account_statement'])
|
||||
Pool.register(
|
||||
account.StatementRule,
|
||||
account.StatementRuleLine,
|
||||
module='account_payment', type_='model',
|
||||
depends=['account_statement_rule'])
|
||||
Pool.register(
|
||||
account.Dunning,
|
||||
module='account_payment', type_='model', depends=['account_dunning'])
|
||||
Pool.register(
|
||||
payment.ProcessPayment,
|
||||
account.CreateDirectDebit,
|
||||
account.PayLine,
|
||||
account.MoveCancel,
|
||||
account.MoveLineGroup,
|
||||
account.MoveLineReschedule,
|
||||
account.MoveLineDelegate,
|
||||
party.Replace,
|
||||
party.Erase,
|
||||
module='account_payment', type_='wizard')
|
||||
|
||||
@@ -17,3 +17,47 @@ xml:
|
||||
account.xml
|
||||
party.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
payment.Journal
|
||||
payment.Group
|
||||
payment.Payment
|
||||
account.MoveLine
|
||||
account.CreateDirectDebitStart
|
||||
account.PayLineStart
|
||||
account.PayLineAskJournal
|
||||
account.Configuration
|
||||
account.ConfigurationPaymentSequence
|
||||
account.ConfigurationPaymentGroupSequence
|
||||
party.Party
|
||||
party.PartyPaymentDirectDebit
|
||||
party.PartyReceptionDirectDebit
|
||||
wizard:
|
||||
payment.ProcessPayment
|
||||
account.CreateDirectDebit
|
||||
account.PayLine
|
||||
account.MoveCancel
|
||||
account.MoveLineGroup
|
||||
account.MoveLineReschedule
|
||||
account.MoveLineDelegate
|
||||
party.Replace
|
||||
party.Erase
|
||||
|
||||
[register account_dunning]
|
||||
model:
|
||||
account.Dunning
|
||||
|
||||
[register account_invoice]
|
||||
model:
|
||||
account.Invoice
|
||||
|
||||
[register account_statement]
|
||||
model:
|
||||
account.Statement
|
||||
account.StatementLine
|
||||
|
||||
[register account_statement_rule]
|
||||
model:
|
||||
account.StatementRule
|
||||
account.StatementRuleLine
|
||||
|
||||
@@ -1,31 +1,6 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from . import routes
|
||||
|
||||
from . import account, ir, party, routes
|
||||
|
||||
__all__ = ['register', 'routes']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
ir.Cron,
|
||||
account.PaymentJournal,
|
||||
account.PaymentGroup,
|
||||
account.Payment,
|
||||
account.PaymentBraintreeRefund,
|
||||
account.PaymentBraintreeAccount,
|
||||
account.PaymentBraintreeCustomer,
|
||||
account.PaymentBraintreeCustomerIdentical,
|
||||
account.PaymentBraintreeCustomerPaymentMethodDeleteAsk,
|
||||
party.Party,
|
||||
party.PartyReceptionDirectDebit,
|
||||
module='account_payment_braintree', type_='model')
|
||||
Pool.register(
|
||||
account.PaymentBraintreeCustomerPaymentMethodDelete,
|
||||
party.Replace,
|
||||
module='account_payment_braintree', type_='wizard')
|
||||
Pool.register(
|
||||
account.PaymentBraintreeCheckoutPage,
|
||||
module='account_payment_braintree', type_='report')
|
||||
__all__ = [routes]
|
||||
|
||||
@@ -10,3 +10,23 @@ xml:
|
||||
account.xml
|
||||
party.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
ir.Cron
|
||||
party.Party
|
||||
party.PartyReceptionDirectDebit
|
||||
account.PaymentJournal
|
||||
account.PaymentGroup
|
||||
account.Payment
|
||||
account.PaymentBraintreeRefund
|
||||
account.PaymentBraintreeAccount
|
||||
account.PaymentBraintreeCustomer
|
||||
account.PaymentBraintreeCustomerIdentical
|
||||
account.PaymentBraintreeCustomerPaymentMethodDeleteAsk
|
||||
wizard:
|
||||
account.PaymentBraintreeCustomerPaymentMethodDelete
|
||||
party.Replace
|
||||
report:
|
||||
account.PaymentBraintreeCheckoutPage
|
||||
|
||||
|
||||
@@ -1,33 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, ir, party, payment, statement
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
party.PartyReceptionDirectDebit,
|
||||
payment.Journal,
|
||||
payment.Payment,
|
||||
payment.Group,
|
||||
payment.SucceedStart,
|
||||
account.Move,
|
||||
account.MoveReconciliation,
|
||||
ir.Cron,
|
||||
module='account_payment_clearing', type_='model')
|
||||
Pool.register(
|
||||
statement.Payment,
|
||||
statement.PaymentGroup,
|
||||
statement.Statement,
|
||||
statement.StatementLine,
|
||||
module='account_payment_clearing', type_='model',
|
||||
depends=['account_statement'])
|
||||
Pool.register(
|
||||
statement.StatementRule,
|
||||
statement.StatementRuleLine,
|
||||
module='account_payment_clearing', type_='model',
|
||||
depends=['account_statement_rule'])
|
||||
Pool.register(
|
||||
payment.Succeed,
|
||||
module='account_payment_clearing', type_='wizard')
|
||||
|
||||
@@ -10,3 +10,28 @@ extras_depend:
|
||||
account_statement_rule
|
||||
xml:
|
||||
payment.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
ir.Cron
|
||||
party.PartyReceptionDirectDebit
|
||||
payment.Journal
|
||||
payment.Payment
|
||||
payment.Group
|
||||
payment.SucceedStart
|
||||
account.Move
|
||||
account.MoveReconciliation
|
||||
wizard:
|
||||
payment.Succeed
|
||||
|
||||
[register account_statement]
|
||||
model:
|
||||
statement.Payment
|
||||
statement.PaymentGroup
|
||||
statement.Statement
|
||||
statement.StatementLine
|
||||
|
||||
[register account_statement_rule]
|
||||
model:
|
||||
statement.StatementRule
|
||||
statement.StatementRuleLine
|
||||
|
||||
@@ -1,27 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, party, payment
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
payment.Journal,
|
||||
payment.Group,
|
||||
payment.Mandate,
|
||||
payment.Payment,
|
||||
payment.Message,
|
||||
party.Party,
|
||||
party.PartyReceptionDirectDebit,
|
||||
party.PartyIdentifier,
|
||||
account.Configuration,
|
||||
account.ConfigurationSepaMandateSequence,
|
||||
module='account_payment_sepa', type_='model')
|
||||
Pool.register(
|
||||
party.Replace,
|
||||
module='account_payment_sepa', type_='wizard')
|
||||
Pool.register(
|
||||
payment.MandateReport,
|
||||
payment.MessageReport,
|
||||
module='account_payment_sepa', type_='report')
|
||||
|
||||
@@ -14,3 +14,21 @@ xml:
|
||||
party.xml
|
||||
account.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
payment.Journal
|
||||
payment.Group
|
||||
payment.Mandate
|
||||
payment.Payment
|
||||
payment.Message
|
||||
party.Party
|
||||
party.PartyReceptionDirectDebit
|
||||
party.PartyIdentifier
|
||||
account.Configuration
|
||||
account.ConfigurationSepaMandateSequence
|
||||
wizard:
|
||||
party.Replace
|
||||
report:
|
||||
payment.MandateReport
|
||||
payment.MessageReport
|
||||
|
||||
@@ -1,12 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import payment
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
payment.Journal,
|
||||
payment.Group,
|
||||
module='account_payment_sepa_cfonb', type_='model')
|
||||
|
||||
@@ -6,3 +6,8 @@ depends:
|
||||
company
|
||||
bank
|
||||
party
|
||||
|
||||
[register]
|
||||
model:
|
||||
payment.Journal
|
||||
payment.Group
|
||||
|
||||
@@ -1,32 +1,6 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from . import routes
|
||||
|
||||
from . import ir, party, payment, routes
|
||||
|
||||
__all__ = ['register', 'routes']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
payment.Account,
|
||||
payment.Refund,
|
||||
payment.Customer,
|
||||
payment.CustomerFingerprint,
|
||||
payment.CustomerIdentical,
|
||||
payment.Journal,
|
||||
payment.Group,
|
||||
payment.Payment,
|
||||
payment.CustomerSourceDetachAsk,
|
||||
party.Party,
|
||||
party.PartyReceptionDirectDebit,
|
||||
ir.Cron,
|
||||
module='account_payment_stripe', type_='model')
|
||||
Pool.register(
|
||||
payment.CustomerSourceDetach,
|
||||
party.Replace,
|
||||
module='account_payment_stripe', type_='wizard')
|
||||
Pool.register(
|
||||
payment.CheckoutPage,
|
||||
module='account_payment_stripe', type_='report')
|
||||
__all__ = [routes]
|
||||
|
||||
@@ -9,3 +9,23 @@ xml:
|
||||
payment.xml
|
||||
party.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
ir.Cron
|
||||
party.Party
|
||||
party.PartyReceptionDirectDebit
|
||||
payment.Account
|
||||
payment.Refund
|
||||
payment.Customer
|
||||
payment.CustomerFingerprint
|
||||
payment.CustomerIdentical
|
||||
payment.Journal
|
||||
payment.Group
|
||||
payment.Payment
|
||||
payment.CustomerSourceDetachAsk
|
||||
wizard:
|
||||
payment.CustomerSourceDetach
|
||||
party.Replace
|
||||
report:
|
||||
payment.CheckoutPage
|
||||
|
||||
@@ -1,29 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, analytic_account, configuration, product
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
product.Category,
|
||||
product.CategoryAccount,
|
||||
product.CategoryCustomerTax,
|
||||
product.CategorySupplierTax,
|
||||
account.CreateChartProperties,
|
||||
product.Template,
|
||||
product.Product,
|
||||
product.TemplateAccountCategory,
|
||||
product.TemplateCategoryAll,
|
||||
configuration.Configuration,
|
||||
configuration.ConfigurationDefaultAccount,
|
||||
module='account_product', type_='model')
|
||||
Pool.register(
|
||||
account.MoveLine,
|
||||
analytic_account.Rule,
|
||||
module='account_product', type_='model', depends=['analytic_account'])
|
||||
Pool.register(
|
||||
account.CreateChart,
|
||||
module='account_product', type_='wizard')
|
||||
|
||||
@@ -13,3 +13,25 @@ xml:
|
||||
configuration.xml
|
||||
message.xml
|
||||
analytic_account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
product.Category
|
||||
product.CategoryAccount
|
||||
product.CategoryCustomerTax
|
||||
product.CategorySupplierTax
|
||||
account.CreateChartProperties
|
||||
product.Template
|
||||
product.Product
|
||||
product.TemplateAccountCategory
|
||||
product.TemplateCategoryAll
|
||||
configuration.Configuration
|
||||
configuration.ConfigurationDefaultAccount
|
||||
wizard:
|
||||
account.CreateChart
|
||||
|
||||
[register analytic_account]
|
||||
model:
|
||||
account.MoveLine
|
||||
analytic_account.Rule
|
||||
|
||||
|
||||
@@ -1,27 +1,11 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, ir
|
||||
from .account import AccountRuleAbstract, AccountRuleAccountAbstract
|
||||
|
||||
__all__ = ['register', 'AccountRuleAbstract', 'AccountRuleAccountAbstract']
|
||||
__all__ = ['AccountRuleAbstract', 'AccountRuleAccountAbstract']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
ir.Cron,
|
||||
account.Account,
|
||||
account.Move,
|
||||
account.AccountReceivableRule,
|
||||
account.AccountReceivableRuleAccount,
|
||||
module='account_receivable_rule', type_='model')
|
||||
Pool.register(
|
||||
account.AccountReceivableRule_Dunning,
|
||||
module='account_receivable_rule', type_='model',
|
||||
depends=['account_dunning'])
|
||||
Pool.register(
|
||||
account.Statement,
|
||||
module='account_receivable_rule', type_='model',
|
||||
depends=['account_statement'])
|
||||
def __getattr__(name):
|
||||
if name in {'AccountRuleAbstract', 'AccountRuleAccountAbstract'}:
|
||||
from . import account
|
||||
return getattr(account, name)
|
||||
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
||||
|
||||
@@ -11,3 +11,19 @@ extras_depend:
|
||||
xml:
|
||||
account.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
ir.Cron
|
||||
account.Account
|
||||
account.Move
|
||||
account.AccountReceivableRule
|
||||
account.AccountReceivableRuleAccount
|
||||
|
||||
[register account_dunning]
|
||||
model:
|
||||
account.AccountReceivableRule_Dunning
|
||||
|
||||
[register account_statement]
|
||||
model:
|
||||
account.Statement
|
||||
|
||||
@@ -1,40 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, party, product, purchase, sale, stock
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Configuration,
|
||||
account.AccountRule,
|
||||
party.Party,
|
||||
module='account_rule', type_='model')
|
||||
Pool.register(
|
||||
account.AccountRuleStock,
|
||||
module='account_rule', type_='model', depends=['stock'])
|
||||
Pool.register(
|
||||
product.Category,
|
||||
product.Template,
|
||||
module='account_rule', type_='model', depends=['product'])
|
||||
Pool.register(
|
||||
account.InvoiceLine,
|
||||
module='account_rule', type_='model', depends=['account_invoice'])
|
||||
Pool.register(
|
||||
account.InvoiceLineStock,
|
||||
module='account_rule', type_='model',
|
||||
depends=['account_invoice_stock'])
|
||||
Pool.register(
|
||||
purchase.Line,
|
||||
module='account_rule', type_='model', depends=['purchase'])
|
||||
Pool.register(
|
||||
sale.Line,
|
||||
module='account_rule', type_='model', depends=['sale'])
|
||||
Pool.register(
|
||||
stock.Move,
|
||||
module='account_rule', type_='model',
|
||||
depends=['stock'])
|
||||
|
||||
@@ -19,3 +19,35 @@ extras_depend:
|
||||
stock_consignment
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Configuration
|
||||
account.AccountRule
|
||||
party.Party
|
||||
|
||||
[register account_invoice]
|
||||
model:
|
||||
account.InvoiceLine
|
||||
|
||||
[register account_invoice_stock]
|
||||
model:
|
||||
account.InvoiceLineStock
|
||||
|
||||
[register product]
|
||||
model:
|
||||
product.Category
|
||||
product.Template
|
||||
|
||||
[register purchase]
|
||||
model:
|
||||
purchase.Line
|
||||
|
||||
[register sale]
|
||||
model:
|
||||
sale.Line
|
||||
|
||||
[register stock]
|
||||
model:
|
||||
stock.Move
|
||||
account.AccountRuleStock
|
||||
|
||||
@@ -1,30 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, bank, journal, party, statement
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
bank.Account,
|
||||
journal.Journal,
|
||||
statement.Statement,
|
||||
statement.Line,
|
||||
statement.LineGroup,
|
||||
account.Journal,
|
||||
account.Move,
|
||||
account.MoveLine,
|
||||
statement.Origin,
|
||||
statement.OriginInformation,
|
||||
statement.ImportStatementStart,
|
||||
module='account_statement', type_='model')
|
||||
Pool.register(
|
||||
party.Replace,
|
||||
statement.ImportStatement,
|
||||
statement.ReconcileStatement,
|
||||
module='account_statement', type_='wizard')
|
||||
Pool.register(
|
||||
statement.StatementReport,
|
||||
module='account_statement', type_='report')
|
||||
|
||||
@@ -12,3 +12,23 @@ xml:
|
||||
statement.xml
|
||||
journal.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
bank.Account
|
||||
journal.Journal
|
||||
statement.Statement
|
||||
statement.Line
|
||||
statement.LineGroup
|
||||
account.Journal
|
||||
account.Move
|
||||
account.MoveLine
|
||||
statement.Origin
|
||||
statement.OriginInformation
|
||||
statement.ImportStatementStart
|
||||
wizard:
|
||||
party.Replace
|
||||
statement.ImportStatement
|
||||
statement.ReconcileStatement
|
||||
report:
|
||||
statement.StatementReport
|
||||
|
||||
@@ -1,16 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import statement
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
statement.ImportStatementStart,
|
||||
module='account_statement_aeb43', type_='model')
|
||||
Pool.register(
|
||||
statement.ImportStatement,
|
||||
module='account_statement_aeb43', type_='wizard')
|
||||
|
||||
@@ -6,3 +6,9 @@ depends:
|
||||
ir
|
||||
xml:
|
||||
statement.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
statement.ImportStatementStart
|
||||
wizard:
|
||||
statement.ImportStatement
|
||||
|
||||
@@ -1,19 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.StatementImportStart,
|
||||
module='account_statement_coda', type_='model')
|
||||
Pool.register(
|
||||
account.StatementImport,
|
||||
module='account_statement_coda', type_='wizard')
|
||||
Pool.register(
|
||||
module='account_statement_coda', type_='report')
|
||||
|
||||
@@ -6,3 +6,9 @@ depends:
|
||||
ir
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.StatementImportStart
|
||||
wizard:
|
||||
account.StatementImport
|
||||
|
||||
@@ -1,19 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.StatementImportStart,
|
||||
module='account_statement_mt940', type_='model')
|
||||
Pool.register(
|
||||
account.StatementImport,
|
||||
module='account_statement_mt940', type_='wizard')
|
||||
Pool.register(
|
||||
module='account_statement_mt940', type_='report')
|
||||
|
||||
@@ -6,3 +6,9 @@ depends:
|
||||
ir
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.StatementImportStart
|
||||
wizard:
|
||||
account.StatementImport
|
||||
|
||||
@@ -1,19 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.StatementImportStart,
|
||||
module='account_statement_ofx', type_='model')
|
||||
Pool.register(
|
||||
account.StatementImport,
|
||||
module='account_statement_ofx', type_='wizard')
|
||||
Pool.register(
|
||||
module='account_statement_ofx', type_='report')
|
||||
|
||||
@@ -8,3 +8,9 @@ depends:
|
||||
xml:
|
||||
account.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.StatementImportStart
|
||||
wizard:
|
||||
account.StatementImport
|
||||
|
||||
@@ -1,22 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.Statement,
|
||||
account.StatementOrigin,
|
||||
account.StatementRule,
|
||||
account.StatementRuleInformation,
|
||||
account.StatementRuleLine,
|
||||
module='account_statement_rule', type_='model')
|
||||
Pool.register(
|
||||
module='account_statement_rule', type_='wizard')
|
||||
Pool.register(
|
||||
module='account_statement_rule', type_='report')
|
||||
|
||||
@@ -11,3 +11,12 @@ extras_depend:
|
||||
bank
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.Statement
|
||||
account.StatementOrigin
|
||||
account.StatementRule
|
||||
account.StatementRuleInformation
|
||||
account.StatementRuleLine
|
||||
|
||||
|
||||
@@ -1,17 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.StatementImportStart,
|
||||
module='account_statement_sepa', type_='model')
|
||||
Pool.register(
|
||||
account.StatementImport,
|
||||
module='account_statement_sepa', type_='wizard')
|
||||
|
||||
@@ -6,3 +6,9 @@ depends:
|
||||
ir
|
||||
xml:
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
account.StatementImportStart
|
||||
wizard:
|
||||
account.StatementImport
|
||||
|
||||
@@ -1,18 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, invoice, product, stock
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
product.Category,
|
||||
product.CategoryAccount,
|
||||
product.Template,
|
||||
product.Product,
|
||||
stock.Move,
|
||||
invoice.InvoiceLine,
|
||||
account.FiscalYear,
|
||||
module='account_stock_anglo_saxon', type_='model')
|
||||
|
||||
@@ -11,3 +11,13 @@ depends:
|
||||
xml:
|
||||
product.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
product.Category
|
||||
product.CategoryAccount
|
||||
product.Template
|
||||
product.Product
|
||||
account.FiscalYear
|
||||
invoice.InvoiceLine
|
||||
stock.Move
|
||||
|
||||
@@ -1,20 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, product, stock
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
stock.Move,
|
||||
product.Category,
|
||||
product.CategoryAccount,
|
||||
product.Template,
|
||||
product.Product,
|
||||
account.Configuration,
|
||||
account.ConfigurationStockJournal,
|
||||
account.FiscalYear,
|
||||
account.AccountMove,
|
||||
module='account_stock_continental', type_='model')
|
||||
|
||||
@@ -10,3 +10,16 @@ depends:
|
||||
xml:
|
||||
product.xml
|
||||
account.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
product.Category
|
||||
product.CategoryAccount
|
||||
product.Template
|
||||
product.Product
|
||||
account.Configuration
|
||||
account.ConfigurationStockJournal
|
||||
account.FiscalYear
|
||||
account.AccountMove
|
||||
stock.Move
|
||||
|
||||
|
||||
@@ -1,67 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import (
|
||||
account, account_stock_eu, carrier, company, country, customs, sale, stock)
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
country.Country,
|
||||
country.Subdivision,
|
||||
company.Company,
|
||||
account.FiscalYear,
|
||||
account_stock_eu.IntrastatTransaction,
|
||||
account_stock_eu.IntrastatTransport,
|
||||
account_stock_eu.IntrastatDeclaration,
|
||||
account_stock_eu.IntrastatDeclarationContext,
|
||||
account_stock_eu.IntrastatDeclarationLine,
|
||||
account_stock_eu.IntrastatDeclarationExportResult,
|
||||
customs.TariffCode,
|
||||
stock.Move,
|
||||
stock.ShipmentIn,
|
||||
stock.ShipmentInReturn,
|
||||
stock.ShipmentOut,
|
||||
stock.ShipmentOutReturn,
|
||||
stock.ShipmentInternal,
|
||||
module='account_stock_eu', type_='model')
|
||||
Pool.register(
|
||||
stock.Move_Production,
|
||||
module='account_stock_eu', type_='model',
|
||||
depends=['production'])
|
||||
Pool.register(
|
||||
account_stock_eu.IntrastatDeclarationLine_Incoterm,
|
||||
stock.Move_Incoterm,
|
||||
module='account_stock_eu', type_='model',
|
||||
depends=['incoterm'])
|
||||
Pool.register(
|
||||
sale.Sale_Incoterm,
|
||||
module='account_stock_eu', type_='model',
|
||||
depends=['sale', 'incoterm'])
|
||||
Pool.register(
|
||||
stock.Move_Consignment,
|
||||
module='account_stock_eu', type_='model',
|
||||
depends=['stock_consignment'])
|
||||
Pool.register(
|
||||
stock.ShipmentDrop,
|
||||
module='account_stock_eu', type_='model',
|
||||
depends=['sale_supply_drop_shipment'])
|
||||
Pool.register(
|
||||
carrier.Carrier,
|
||||
module='account_stock_eu', type_='model',
|
||||
depends=['carrier', 'incoterm'])
|
||||
Pool.register(
|
||||
account_stock_eu.IntrastatDeclarationExport,
|
||||
account_stock_eu.IntrastatDeclarationExport_BE,
|
||||
account_stock_eu.IntrastatDeclarationExport_ES,
|
||||
module='account_stock_eu', type_='wizard')
|
||||
Pool.register(
|
||||
account_stock_eu.IntrastatDeclarationExport_Incoterm,
|
||||
account_stock_eu.IntrastatDeclarationExport_BE_Incoterm,
|
||||
account_stock_eu.IntrastatDeclarationExport_ES_Incoterm,
|
||||
module='account_stock_eu', type_='wizard',
|
||||
depends=['incoterm'])
|
||||
|
||||
@@ -30,3 +30,56 @@ xml:
|
||||
account_stock_eu.xml
|
||||
stock.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
country.Country
|
||||
country.Subdivision
|
||||
company.Company
|
||||
customs.TariffCode
|
||||
account.FiscalYear
|
||||
account_stock_eu.IntrastatTransaction
|
||||
account_stock_eu.IntrastatTransport
|
||||
account_stock_eu.IntrastatDeclaration
|
||||
account_stock_eu.IntrastatDeclarationContext
|
||||
account_stock_eu.IntrastatDeclarationLine
|
||||
account_stock_eu.IntrastatDeclarationExportResult
|
||||
stock.Move
|
||||
stock.ShipmentIn
|
||||
stock.ShipmentInReturn
|
||||
stock.ShipmentOut
|
||||
stock.ShipmentOutReturn
|
||||
stock.ShipmentInternal
|
||||
wizard:
|
||||
account_stock_eu.IntrastatDeclarationExport
|
||||
account_stock_eu.IntrastatDeclarationExport_BE
|
||||
account_stock_eu.IntrastatDeclarationExport_ES
|
||||
|
||||
[register incoterm]
|
||||
model:
|
||||
account_stock_eu.IntrastatDeclarationLine_Incoterm
|
||||
stock.Move_Incoterm
|
||||
wizard:
|
||||
account_stock_eu.IntrastatDeclarationExport_Incoterm
|
||||
account_stock_eu.IntrastatDeclarationExport_BE_Incoterm
|
||||
account_stock_eu.IntrastatDeclarationExport_ES_Incoterm
|
||||
|
||||
[register incoterm carrier]
|
||||
model:
|
||||
carrier.Carrier
|
||||
|
||||
[register incoterm sale]
|
||||
model:
|
||||
sale.Sale_Incoterm
|
||||
|
||||
[register sale_supply_drop_shipment]
|
||||
model:
|
||||
stock.ShipmentDrop
|
||||
|
||||
[register stock_consignment]
|
||||
model:
|
||||
stock.Move_Consignment
|
||||
|
||||
[register production]
|
||||
model:
|
||||
stock.Move_Production
|
||||
|
||||
@@ -1,27 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account, product, stock
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
product.Template,
|
||||
product.Product,
|
||||
account.Configuration,
|
||||
account.ConfigurationLandedCostSequence,
|
||||
account.LandedCost,
|
||||
account.LandedCost_Shipment,
|
||||
account.LandedCost_ProductCategory,
|
||||
account.LandedCost_Product,
|
||||
account.LandedCostShow,
|
||||
account.LandedCostShowMove,
|
||||
account.InvoiceLine,
|
||||
stock.Move,
|
||||
module='account_stock_landed_cost', type_='model')
|
||||
Pool.register(
|
||||
account.PostLandedCost,
|
||||
account.ShowLandedCost,
|
||||
module='account_stock_landed_cost', type_='wizard')
|
||||
|
||||
@@ -15,3 +15,22 @@ xml:
|
||||
product.xml
|
||||
stock.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
product.Template
|
||||
product.Product
|
||||
account.Configuration
|
||||
account.ConfigurationLandedCostSequence
|
||||
account.LandedCost
|
||||
account.LandedCost_Shipment
|
||||
account.LandedCost_ProductCategory
|
||||
account.LandedCost_Product
|
||||
account.LandedCostShow
|
||||
account.LandedCostShowMove
|
||||
account.InvoiceLine
|
||||
stock.Move
|
||||
wizard:
|
||||
account.PostLandedCost
|
||||
account.ShowLandedCost
|
||||
|
||||
|
||||
@@ -1,12 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import account
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
account.LandedCost,
|
||||
module='account_stock_landed_cost_weight', type_='model')
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user