Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

188
Views
Cómo eliminar segundos del campo de fecha y hora en odoo14

creé dos campos de fecha y hora en odoo14 como start_time y end_time

a.py

 start_time = fields.Datetime(string='Start Time', required=True) end_time = fields.Datetime(string='End Time', required=True)

a.xml

 <field name="start_time" widget="daterange" {"related_end_date": "end_time"}' required="1" decoration-danger="overlapping"/> <field name="end_time" widget="daterange" options='{"related_start_date": "start_time"}' required="1" decoration-danger="overlapping"/>

¿Cómo puedo eliminar solo la segunda parte? El formato de fecha y hora debe ser el formato de fecha y hora activo en la base de datos y no quiero crear ni editar el formato activo.

Por favor, ayúdame a arreglar esto.

Gracias.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!