Bug lot.qt
This commit is contained in:
@@ -207,10 +207,12 @@ def register():
|
||||
stock.AccountMoveLine,
|
||||
stock.AccountMove,
|
||||
stock.ContainerType,
|
||||
stock.ShipmentContainer,
|
||||
stock.ShipmentContainer,
|
||||
lot.Lot,
|
||||
lot.LotQt,
|
||||
stock.LotQt,
|
||||
# Temporarily disabled: added by 1b292e4 for linkage reports, but it
|
||||
# may leave lot.qt without the base ModelSQL fields in some pools.
|
||||
# stock.LotQt,
|
||||
lot.LotReport,
|
||||
lot.LotContext,
|
||||
lot.LotShippingStart,
|
||||
|
||||
@@ -27,7 +27,6 @@ import re
|
||||
import html
|
||||
from trytond.exceptions import UserError
|
||||
from trytond.modules.stock.shipment import SupplierShipping as BaseSupplierShipping
|
||||
from . import lot as purchase_trade_lot
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -2899,7 +2898,7 @@ class FindVessel(Wizard):
|
||||
return action, {}
|
||||
|
||||
|
||||
class LotQt(purchase_trade_lot.LotQt):
|
||||
class LotQt(metaclass=PoolMeta):
|
||||
__name__ = 'lot.qt'
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user