Send only the required fields when fetching a readonly view definition

issue11134
This commit is contained in:
Raimon Esteve 2022-04-09 12:32:03 +02:00
parent c571ca877d
commit bf8c2e5e58
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# copyright notices and license terms.
from trytond.model import fields
from trytond.pool import PoolMeta, Pool
from trytond.modules.stock.move import STATES, DEPENDS
from trytond.modules.stock.move import STATES
__all__ = ['StockMove']
@ -11,7 +11,7 @@ class StockMove(metaclass=PoolMeta):
__name__ = 'stock.move'
bulk_product = fields.Many2One('product.product', 'Bulk Product',
states=STATES, depends=DEPENDS)
states=STATES)
# TODO: check if is necessary
@classmethod