Import prices

This commit is contained in:
2026-05-21 19:29:01 +02:00
parent f56f394ec3
commit 488fb15498

View File

@@ -3,10 +3,10 @@
from trytond.pool import Pool from trytond.pool import Pool
from . import ( from . import (
account, account,
configuration, configuration,
purchase, purchase,
sale, sale,
global_reporting, global_reporting,
stock, stock,
@@ -55,15 +55,18 @@ def register():
incoming.ImportSwift, incoming.ImportSwift,
lc.LCMT700, lc.LCMT700,
lc.LCMessage, lc.LCMessage,
lc.CreateLCStart, lc.CreateLCStart,
global_reporting.GRConfiguration, global_reporting.GRConfiguration,
configuration.Configuration, configuration.Configuration,
module='purchase_trade', type_='model') pricing.ImportPricesStart,
pricing.ImportPricesResult,
module='purchase_trade', type_='model')
Pool.register( Pool.register(
incoming.ImportSwift, incoming.ImportSwift,
incoming.PrepareDocuments, incoming.PrepareDocuments,
incoming.AnalyzeConditions, incoming.AnalyzeConditions,
lc.CreateLCWizard, lc.CreateLCWizard,
pricing.ImportPrices,
module='purchase_trade', type_='wizard' module='purchase_trade', type_='wizard'
) )
Pool.register( Pool.register(
@@ -107,13 +110,13 @@ def register():
purchase.FeeLots, purchase.FeeLots,
valuation.Valuation, valuation.Valuation,
valuation.ValuationLine, valuation.ValuationLine,
valuation.ValuationDyn, valuation.ValuationDyn,
valuation.ValuationReport, valuation.ValuationReport,
valuation.ValuationReportContext, valuation.ValuationReportContext,
valuation.ValuationProcessDimension, valuation.ValuationProcessDimension,
valuation.ValuationProcessStart, valuation.ValuationProcessStart,
valuation.ValuationProcessResult, valuation.ValuationProcessResult,
derivative.Derivative, derivative.Derivative,
derivative.DerivativeMatch, derivative.DerivativeMatch,
derivative.MatchWizardStart, derivative.MatchWizardStart,
derivative.DerivativeReport, derivative.DerivativeReport,
@@ -190,15 +193,15 @@ def register():
dimension.AnalyticDimensionAssignment, dimension.AnalyticDimensionAssignment,
weight_report.WeightReport, weight_report.WeightReport,
module='purchase', type_='model') module='purchase', type_='model')
Pool.register( Pool.register(
account.PhysicalTradeIFRS, account.PhysicalTradeIFRS,
module='purchase_trade', type_='model') module='purchase_trade', type_='model')
Pool.register( Pool.register(
configuration.AccountConfiguration, configuration.AccountConfiguration,
configuration.AccountConfigurationDefaultAccount, configuration.AccountConfigurationDefaultAccount,
invoice.InvoicePaddingReport, invoice.InvoicePaddingReport,
invoice.InvoicePaddingContext, invoice.InvoicePaddingContext,
module='purchase_trade', type_='model') module='purchase_trade', type_='model')
Pool.register( Pool.register(
invoice.Invoice, invoice.Invoice,
invoice.InvoiceLine, invoice.InvoiceLine,
@@ -248,12 +251,12 @@ def register():
sale.AnalyticDimensionAssignment, sale.AnalyticDimensionAssignment,
sale.PriceComposition, sale.PriceComposition,
module='sale', type_='model') module='sale', type_='model')
Pool.register( Pool.register(
lot.LotShipping, lot.LotShipping,
lot.LotMatching, lot.LotMatching,
lot.LotGoMatching, lot.LotGoMatching,
#lot.LotMatchingUnit, #lot.LotMatchingUnit,
lot.LotWeighing, lot.LotWeighing,
lot.CreateContracts, lot.CreateContracts,
lot.LotUnmatch, lot.LotUnmatch,
lot.LotUnship, lot.LotUnship,
@@ -270,24 +273,24 @@ def register():
purchase.InvoicePayment, purchase.InvoicePayment,
stock.ImportSoFWizard, stock.ImportSoFWizard,
dashboard.BotWizard, dashboard.BotWizard,
dashboard.DashboardLoader, dashboard.DashboardLoader,
forex.ForexReport, forex.ForexReport,
purchase.PnlReport, purchase.PnlReport,
purchase.PositionReport, purchase.PositionReport,
valuation.ValuationProcess, valuation.ValuationProcess,
derivative.DerivativeMatchWizard, derivative.DerivativeMatchWizard,
module='purchase', type_='wizard') module='purchase', type_='wizard')
Pool.register( Pool.register(
sale.SaleCreatePurchase, sale.SaleCreatePurchase,
sale.SaleAllocationsWizard, sale.SaleAllocationsWizard,
module='sale', type_='wizard') module='sale', type_='wizard')
Pool.register( Pool.register(
invoice.InvoiceReport, invoice.InvoiceReport,
invoice.SaleReport, invoice.SaleReport,
invoice.PurchaseReport, invoice.PurchaseReport,
stock.ShipmentShippingReport, stock.ShipmentShippingReport,
stock.ShipmentInsuranceReport, stock.ShipmentInsuranceReport,
stock.ShipmentCOOReport, stock.ShipmentCOOReport,
stock.ShipmentPackingListReport, stock.ShipmentPackingListReport,
module='purchase_trade', type_='report') module='purchase_trade', type_='report')