trytondo-sale_opportunity_m.../pending_call.py
camilogs 9b2c40d821
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: Se hace visible agenda de llamadas en vista tree de prospect_trace, closed #31
2023-08-13 21:05:57 -05:00

15 lines
452 B
Python

# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.model import ModelSQL, ModelView, fields
class PendingCall(ModelSQL, ModelView):
'Llamada pendiente a un prospecto'
__name__ = "sale.pending_call"
date = fields.Date('Date', required=True)
def get_rec_name(self, name):
if self.date:
return str(self.date)