Files
tryton/__init__.py
T
Luciano Rossi (lukio) 5ae41734ae Add customer code for suppliers at party
Added a field customer_code into a new tab Supplier at Party model.
Also, added the customer_code at the purchase report.

issue5812
review34361002
2019-08-21 22:51:36 +02:00

51 lines
1.3 KiB
Python

# 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 .purchase import *
from .product import *
from .stock import *
from .configuration import *
from .invoice import *
from . import party
def register():
Pool.register(
Move,
Purchase,
PurchaseIgnoredInvoice,
PurchaseRecreatedInvoice,
PurchaseLine,
PurchaseLineTax,
PurchaseLineIgnoredMove,
PurchaseLineRecreatedMove,
Template,
Product,
ProductSupplier,
ProductSupplierPrice,
ShipmentIn,
ShipmentInReturn,
HandleShipmentExceptionAsk,
HandleInvoiceExceptionAsk,
Configuration,
ConfigurationSequence,
ConfigurationPurchaseMethod,
Invoice,
InvoiceLine,
Location,
party.Party,
party.CustomerCode,
module='purchase', type_='model')
Pool.register(
PurchaseReport,
module='purchase', type_='report')
Pool.register(
OpenSupplier,
HandleShipmentException,
HandleInvoiceException,
party.PartyReplace,
party.PartyErase,
ModifyHeader,
module='purchase', type_='wizard')