2014-12-02 12:55:52 +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-09-03 21:28:12 +02:00
|
|
|
|
2012-09-24 22:18:13 +02:00
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:43 +01:00
|
|
|
|
|
|
|
|
from . import (
|
|
|
|
|
configuration, invoice, party, product, sale, sale_reporting, stock)
|
2012-09-24 22:18:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
stock.Move,
|
|
|
|
|
sale.Sale,
|
|
|
|
|
sale.SaleIgnoredInvoice,
|
|
|
|
|
sale.SaleRecreatedInvoice,
|
|
|
|
|
sale.SaleLine,
|
|
|
|
|
sale.SaleLineTax,
|
|
|
|
|
sale.SaleLineIgnoredMove,
|
|
|
|
|
sale.SaleLineRecreatedMove,
|
2021-10-11 22:40:54 +02:00
|
|
|
party.Party,
|
2022-04-11 21:24:28 +02:00
|
|
|
party.PartyCustomerCurrency,
|
2021-10-11 22:40:54 +02:00
|
|
|
party.PartySaleMethod,
|
2021-01-19 15:00:08 +01:00
|
|
|
product.Configuration,
|
|
|
|
|
product.DefaultLeadTime,
|
2020-02-23 13:55:00 +01:00
|
|
|
product.Template,
|
2022-05-09 23:45:32 +02:00
|
|
|
product.ProductLeadTime,
|
2020-02-23 13:55:00 +01:00
|
|
|
product.Product,
|
|
|
|
|
product.SaleContext,
|
2020-03-01 12:33:53 +01:00
|
|
|
stock.ShipmentOut,
|
|
|
|
|
stock.ShipmentOutReturn,
|
|
|
|
|
sale.HandleShipmentExceptionAsk,
|
|
|
|
|
sale.HandleInvoiceExceptionAsk,
|
|
|
|
|
sale.ReturnSaleStart,
|
|
|
|
|
configuration.Configuration,
|
|
|
|
|
configuration.ConfigurationSequence,
|
|
|
|
|
configuration.ConfigurationSaleMethod,
|
2018-03-26 12:51:47 +02:00
|
|
|
sale_reporting.Context,
|
2021-09-04 19:30:02 +02:00
|
|
|
sale_reporting.Main,
|
|
|
|
|
sale_reporting.MainTimeseries,
|
2018-03-26 12:51:47 +02:00
|
|
|
sale_reporting.Customer,
|
|
|
|
|
sale_reporting.CustomerTimeseries,
|
2021-07-12 23:28:15 +02:00
|
|
|
sale_reporting.CustomerCategory,
|
|
|
|
|
sale_reporting.CustomerCategoryTimeseries,
|
|
|
|
|
sale_reporting.CustomerCategoryTree,
|
2018-03-26 12:51:47 +02:00
|
|
|
sale_reporting.Product,
|
|
|
|
|
sale_reporting.ProductTimeseries,
|
2021-06-25 01:13:46 +02:00
|
|
|
sale_reporting.ProductCategory,
|
|
|
|
|
sale_reporting.ProductCategoryTimeseries,
|
|
|
|
|
sale_reporting.ProductCategoryTree,
|
2022-09-12 21:31:32 +02:00
|
|
|
sale_reporting.RegionTree,
|
2018-03-26 12:51:47 +02:00
|
|
|
sale_reporting.Country,
|
|
|
|
|
sale_reporting.CountryTimeseries,
|
|
|
|
|
sale_reporting.Subdivision,
|
|
|
|
|
sale_reporting.SubdivisionTimeseries,
|
2022-09-12 21:31:32 +02:00
|
|
|
sale_reporting.CountryTree,
|
2020-03-01 12:33:53 +01:00
|
|
|
invoice.Invoice,
|
|
|
|
|
invoice.Line,
|
2012-09-24 22:18:13 +02:00
|
|
|
module='sale', type_='model')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
sale.OpenCustomer,
|
|
|
|
|
sale.HandleShipmentException,
|
|
|
|
|
sale.HandleInvoiceException,
|
|
|
|
|
sale.ReturnSale,
|
|
|
|
|
sale.ModifyHeader,
|
|
|
|
|
party.Replace,
|
|
|
|
|
party.Erase,
|
2022-09-12 21:31:32 +02:00
|
|
|
sale_reporting.OpenRegionTree,
|
|
|
|
|
sale_reporting.OpenCountryTree,
|
2012-09-24 22:18:13 +02:00
|
|
|
module='sale', type_='wizard')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
sale.SaleReport,
|
2012-09-24 22:18:13 +02:00
|
|
|
module='sale', type_='report')
|