from rest_framework.serializers import ModelSerializer
from pcp_registro_entrega.models import RegistroEntrega
from pcp_registro_op.api.serializers import RegistroOpSerializer


class RegistroEntregaSerializer(ModelSerializer):
    op = RegistroOpSerializer()

    class Meta:
        model = RegistroEntrega
        fields = [
            'id', 'op', 'produzido', 'obs',
            'prev_entrega', 'entrega', 'cancelada',
            'status', 'statusent',
        ]

696fcce74f9b859c89775147c1cdaed67a8342ff
<mask token>

<mask token>


class RegistroEntregaSerializer(ModelSerializer):
    <mask token>


    class Meta:
        model = RegistroEntrega
        fields = ['id', 'op', 'produzido', 'obs', 'prev_entrega', 'entrega',
            'cancelada', 'status', 'statusent']

<mask token>


class RegistroEntregaSerializer(ModelSerializer):
    op = RegistroOpSerializer()


    class Meta:
        model = RegistroEntrega
        fields = ['id', 'op', 'produzido', 'obs', 'prev_entrega', 'entrega',
            'cancelada', 'status', 'statusent']

from rest_framework.serializers import ModelSerializer
from pcp_registro_entrega.models import RegistroEntrega
from pcp_registro_op.api.serializers import RegistroOpSerializer


class RegistroEntregaSerializer(ModelSerializer):
    op = RegistroOpSerializer()


    class Meta:
        model = RegistroEntrega
        fields = ['id', 'op', 'produzido', 'obs', 'prev_entrega', 'entrega',
            'cancelada', 'status', 'statusent']

from rest_framework.serializers import ModelSerializer
from pcp_registro_entrega.models import RegistroEntrega
from pcp_registro_op.api.serializers import RegistroOpSerializer


class RegistroEntregaSerializer(ModelSerializer):
    op = RegistroOpSerializer()

    class Meta:
        model = RegistroEntrega
        fields = [
            'id', 'op', 'produzido', 'obs',
            'prev_entrega', 'entrega', 'cancelada',
            'status', 'statusent',
        ]
