Solucionar posible error al mostrar los campos de ContactMethod #24

Closed
opened 2023-08-09 14:14:29 -05:00 by camilogs · 0 comments
Owner
    def get_rec_name(self, name):
        fields_exist = self.name and self.position and self.value
        if fields_exist:
            return self.name + ' - ' + self.position + '  [' + self.value + ']'

Elegir solución adecuada

  1. Agregar validaciones necesarias para diferentes campos existentes
  2. Hacer campos obligatorios
``` def get_rec_name(self, name): fields_exist = self.name and self.position and self.value if fields_exist: return self.name + ' - ' + self.position + ' [' + self.value + ']' ``` Elegir solución adecuada 1. Agregar validaciones necesarias para diferentes campos existentes 2. Hacer campos obligatorios
camilogs referenced this issue from a commit 2023-08-09 19:15:47 -05:00
camilogs added spent time 2023-08-09 19:16:09 -05:00
10 minutes
camilogs added this to the Desarrollo milestone 2023-08-09 19:16:22 -05:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 10 minutes
camilogs
10 minutes
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: OneTeam/trytondo-sale_opportunity_management#24
No description provided.