Editing a Django model after saving it
===

I have the following code:

models.py

    class TelefoneIP(models.Model):
            mac = models.CharField(max_length=12, help_text="Este campo deve ter 12 digitos")
            modelo = models.ForeignKey(ModeloTelefoneIP)
            cliente_atual = models.ForeignKey(Cliente)
            fornecedor = models.ForeignKey(Fornecedor)
            datacompra = models.DateField(verbose_name="Data de compra", null=True, blank=True)
            nfcompra = models.IntegerField(verbose_name="Nota fiscal de compra")
    
    class MovimetoTelefoneIP(models.Model):
            equipamento = models.ForeignKey(TelefoneIP)
            cliente = models.ForeignKey(Cliente)
            nfvenda = models.IntegerField(verbose_name="Nota fiscal de saída", null=True, blank=True)
            datavenda = models.DateField(verbose_name="Data de saída", null=True, blank=True)

admin.py:

    class TelefoneIPInline(admin.StackedInline):
            model = MovimetoTelefoneIP
            extra = 1
            list_filter = ['nome']
    
    class TelefoneIPAdmin(admin.ModelAdmin):
            list_display = ('mac', 'modelo', 'fornecedor', )
            list_filter = ['cliente_atual__nome']
            search_fields = ['mac']
            inlines = [TelefoneIPInline]

The question is, when I edit an Inline, can I set the value of cliente_atual (on TelefoneIP) as cliente (on MovimentoTelefoneIP) when I save it?

Thanks.
