Bug lot.qt

This commit is contained in:
2026-07-14 11:39:39 +02:00
parent 7fc134f7a6
commit 07ee8b4f99
2 changed files with 5 additions and 4 deletions

View File

@@ -207,10 +207,12 @@ def register():
stock.AccountMoveLine, stock.AccountMoveLine,
stock.AccountMove, stock.AccountMove,
stock.ContainerType, stock.ContainerType,
stock.ShipmentContainer, stock.ShipmentContainer,
lot.Lot, lot.Lot,
lot.LotQt, 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.LotReport,
lot.LotContext, lot.LotContext,
lot.LotShippingStart, lot.LotShippingStart,

View File

@@ -27,7 +27,6 @@ import re
import html import html
from trytond.exceptions import UserError from trytond.exceptions import UserError
from trytond.modules.stock.shipment import SupplierShipping as BaseSupplierShipping from trytond.modules.stock.shipment import SupplierShipping as BaseSupplierShipping
from . import lot as purchase_trade_lot
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@@ -2899,7 +2898,7 @@ class FindVessel(Wizard):
return action, {} return action, {}
class LotQt(purchase_trade_lot.LotQt): class LotQt(metaclass=PoolMeta):
__name__ = 'lot.qt' __name__ = 'lot.qt'
@staticmethod @staticmethod