Commit c40d54c9 by Juan

Base coordenadas de puntos de retiro

1 parent 87684007
......@@ -71,6 +71,16 @@ class trans_punto_retiro(models.Model):
column1='trans_transportista_id',
)
pr_coordenadas = fields.Char(string='Coordenas punto retiro',
readonly=True,
compute="compute_pr_coordenadas")
@api.depends('pr_coordenadas')
def compute_pr_coordenadas(self):
for rec in self:
rec.pr_coordenadas = "-32.946832, -60.640122"
@api.one
@api.constrains('pr_telefono')
def _requerir_tel(self):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!